@Oliver Wilms
#1) make sure your ECP Server is willing to accept ECP AplicationServers:
.png)
#2) on your Application Server define your Data Server
%SYS>set Name="MainServer"
%SYS>set Properties("Address")="127.0.0.1"
%SYS>set Properties("Port")=1972
%SYS>s Status=##Class(Config.ECPServers).Create(Name,.Properties)
%SYS>zw Status
Status=1see docs: class Config.ECPServers
#3) connect to your Data Server
%SYS>set ecpstate=##class(SYS.ECP).GetServerConnState(Name)
%SYS>zw ecpstate
ecpstate=1 ;; Not Connected
%SYS>set tSC=##class(SYS.ECP).ServerAction(Name,3) ;; 3 - Change to Normal
%SYS>zw tSC
tSC=1
%SYS>set ecpstate3=##CLASS(SYS.ECP).GetServerConnState(Name)
%SYS>ZW ecpstate3
ecpstate3=5 ;; 5 - Normalsee docs: class SYS.ECP
#4) now in SMP:.png)
- Log in to post comments
.png)
.png)
.png)