Hello Experts,
We are using Service Manager to start AE in our project. Now we are planning to
1.Include the SAP agents Installed on Automic server to the Service Manager,
2.Include the OS Agents Installed on other Server to the Service Manager on AE.
For starting the AE we are using the below lines in the UC4.SMD file
VAR SRV_STARTPATH;/opt/UC4/server/bin
VAR CP_STARTCMD;*SRV_STARTPATH/ucsrvcp *SRV_STARTPATH/ucsrv.ini -svc%port%
VAR WP_STARTCMD;*SRV_STARTPATH/ucsrvwp *SRV_STARTPATH/ucsrv.ini -svc%port%
VAR WP_STARTCMD_COLD;*WP_STARTCMD -parm"StartMode=Cold"
VAR WP_STARTCMD_STOP;*WP_STARTCMD -parm"SystemStop=Yes"
VAR WP_STARTCMD_COLDSTOP;*WP_STARTCMD -parm"StartMode=Cold;SystemStop=Yes"
!
DEFINE UC4 CP1;*CP_STARTCMD;*SRV_STARTPATH
DEFINE UC4 CP2;*CP_STARTCMD;*SRV_STARTPATH
DEFINE UC4 WP1;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COL
DSTOP)
DEFINE UC4 WP2;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COL
DSTOP)
DEFINE UC4 WP3;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COL
DSTOP)
DEFINE UC4 WP4;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COL
DSTOP)
DEFINE UC4 WP5;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COL
DSTOP)
DEFINE UC4 WP6;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COL
DSTOP)
DEFINE UC4 WP7;*WP_STARTCMD;*SRV_STARTPATH;START1=(Coldstart,*WP_STARTCMD_COLD);START2=(Systemstop,*WP_STARTCMD_STOP);START3=(Coldstart with Systemstop,*WP_STARTCMD_COL
DSTOP)
DEFINE UC4 Unix-Agent;/UC4/agents/unix/server/bin/ucxjlx6;/opt/UC4/agents/unix/server/bin/ucxjlx6.ini
As far as I know for the Service Manager to start and stop the OS agents installed on other servers uses the 8871 port. The port from UC4 server to target is opened.
We are using Linux server and agents installed on Linux servers.
Now I need the lines to be included in UC4.SMD file for SAP agents and OS Agents stop and start.
Please help me writing the lines for starting and starting the agents.
Thanks,
Sreekanth