There is confusion regarding the proper startup order and the presence of legacy init.d scripts (such as S99igateway) in AutoSys 24.1 environments running on RHEL 8 or 9.
Users may see old scripts in /etc/init.d/ and need clarity on how to manage these services using systemd.
In clean installations of AutoSys 24.1 on modern Linux distributions, systemd is the standard for service management. Legacy init.d scripts may remain after upgrades or in environments where they were manually retained.
Furthermore, if EEM is not installed on the local WCC server, the iGateway service is not required, leading to confusion when legacy scripts are present.
In environments where EEM and WCC are installed on the same machine, the services must be started in the following sequence:
Note: CA-CCS (Common Components) does not require a dedicated startup script as it is initiated by other components as needed.
If EEM is hosted on a remote server and is not installed locally on the WCC host, the S99igateway script is not required and can be removed from /etc/init.d/.
Official documentation currently lacks specific examples for dxserver and igateway systemd files. Use the following examples to migrate from init.d to systemd on RHEL 8/9.
A. DXServer Service File (/etc/systemd/system/dxserver.service)
[Unit]Description=Broadcom DXserver ServiceAfter=network.target network-online.target
[Service]Type=forkingUser=dsaGroup=etrdir# Remove limits just like iGatewayTasksMax=infinityLimitNOFILE=131072LimitNPROC=infinity# Note: Adjust the paths below if your dxserver start script is located elsewhereExecStart=/bin/bash -c 'source /opt/CA/SharedComponents/CADirectory/dxserver/install/.dxprofile; /opt/CA/SharedComponents/CADirectory/dxserver/bin/dxserver start all'ExecStop=/bin/bash -c 'source /opt/CA/SharedComponents/CADirectory/dxserver/install/.dxprofile; /opt/CA/SharedComponents/CADirectory/dxserver/bin/dxserver stop all'RemainAfterExit=yes
[Install]WantedBy=multi-user.target
B. iGateway Service File (/etc/systemd/system/igatewayd.service)
[Unit]Description=Autosys iGateway ServiceAfter=network.target network-online.target
[Service]Type=forking# Remove systemd resource limits that choke the Broadcom JVMTasksMax=infinityLimitNOFILE=131072LimitNPROC=infinityLimitCORE=infinityExecStart=/bin/bash -c 'source /etc/profile; /opt/CA/SharedComponents/iTechnology/S99igateway start'ExecStop=/bin/bash -c 'source /etc/profile; /opt/CA/SharedComponents/iTechnology/S99igateway stop'RemainAfterExit=yes
[Install]WantedBy=multi-user.target
755 permissions.systemctl daemon-reloadsystemctl enable dxserver.servicesystemctl enable igatewayd.service