iGateway (EEM) and CA Directory (dxserver) systemd startup scripts
search cancel

iGateway (EEM) and CA Directory (dxserver) systemd startup scripts

book

Article ID: 219392

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

Example systemd startup scripts for iGateway and dxserver.   They are not officially supported by any product teams, but are sample scripts that do seem to work at several installations.

Resolution

systemctl cat igateway


# /etc/systemd/system/igateway.service
[Unit]
Description=CA iTechnology iGateway service
After=local-fs.target remote-fs.target network.online.target sockets.target chronyd.service vasd.service
Wants=network-online.target
 
[Service]
Type=forking
WorkingDirectory=/opt/CA/SharedComponents/iTechnology
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/bin/sh /opt/CA/SharedComponents/iTechnology/S99igateway start
ExecStop=/bin/sh /opt/CA/SharedComponents/iTechnology/S99igateway stop
 
 
[Install]
WantedBy=multi-user.target

## note:  use appropriate path instead of /bin/sh  

iGateway needs DXserver,  ad you would need a new dxserver systemd service.

Here is an example:

systemctl cat dxserver.service
# /etc/systemd/system/dxserver.service
[Unit]
Description=CA Directory service
After=local-fs.target remote-fs.target network.online.target sockets.target chronyd.service vasd.service
Wants=network-online.target

[Service]
Type=forking
WorkingDirectory=/opt/CA/SharedComponents/CADirectory/dxserver
Restart=no
TimeoutSec=2min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/bin/sh /etc/rc.d/init.d/dxserver start
ExecStop=/bin/sh /etc/rc.d/init.d/dxserver stop

[Install]
WantedBy=multi-user.target

## note:  use appropriate path instead of /bin/sh  

-- Create the files above with 755 privileges   (/etc/systemd/system/igateway.service  and /etc/systemd/system/dxserver.service) with the contents above

-- systemctl enable dxserver.service   ## this enables the service

-- systemctl enable igateway.service   ## this enables the service 

Additional Information

  • The CA Directory team confirmed that there is no formal support for Directory and systemd scripts yet.  The ones that we provided earlier are examples.
  • Another example from communities: Symantec Access Management - Systemd unit file
  • Up vote the related Idea for increased product management attention for possible future product release inclusions.