How to configure systemd for Linux Agent

Document ID : KB000010546
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Installation of ITCM Agent on Linux installs the startup scripts under /etc/rc.d folders.

Example :

Following files are created during installation of ITCM Agent. 

/etc/rc.d/init.d/CA-CCS 

/etc/rc.d/init.d/CA-cam 

/etc/rc.d/init.d/CA-DSM 

/etc/rc.d/rc0.d/K88CA-CCS -> ../init.d/CA-CCS 

/etc/rc.d/rc0.d/K89CA-cam -> ../init.d/CA-cam 

/etc/rc.d/rc0.d/K09CA-DSM -> /etc/rc.d/init.d/CA-DSM 

/etc/rc.d/rc1.d/K88CA-CCS -> ../init.d/CA-CCS 

/etc/rc.d/rc1.d/K89CA-cam -> ../init.d/CA-cam 

/etc/rc.d/rc1.d/K09CA-DSM -> /etc/rc.d/init.d/CA-DSM 

/etc/rc.d/rc2.d/K88CA-CCS -> ../init.d/CA-CCS 

/etc/rc.d/rc2.d/K89CA-cam -> ../init.d/CA-cam 

/etc/rc.d/rc2.d/K09CA-DSM -> /etc/rc.d/init.d/CA-DSM 

/etc/rc.d/rc3.d/K88CA-CCS -> ../init.d/CA-CCS 

/etc/rc.d/rc3.d/K89CA-cam -> ../init.d/CA-cam 

/etc/rc.d/rc3.d/S99CA-DSM -> /etc/rc.d/init.d/CA-DSM 

/etc/rc.d/rc4.d/K88CA-CCS -> ../init.d/CA-CCS 

/etc/rc.d/rc4.d/K89CA-cam -> ../init.d/CA-cam 

/etc/rc.d/rc4.d/S99CA-DSM -> /etc/rc.d/init.d/CA-DSM 

/etc/rc.d/rc5.d/K88CA-CCS -> ../init.d/CA-CCS 

/etc/rc.d/rc5.d/K89CA-cam -> ../init.d/CA-cam 

/etc/rc.d/rc5.d/S99CA-DSM -> /etc/rc.d/init.d/CA-DSM 

/etc/rc.d/rc6.d/K88CA-CCS -> ../init.d/CA-CCS 

/etc/rc.d/rc6.d/K89CA-cam -> ../init.d/CA-cam 

/etc/rc.d/rc6.d/K09CA-DSM -> /etc/rc.d/init.d/CA-DSM 

 

 

How to change this in order to have integration of startup scripts in systemd ?

 

 

Environment:
CA ITCM Agent on Linux
Instructions:

Integration in systemd

Attached script linux_install_systemd.sh could be used to change the startup method from rc.d to systemd.

linux_install_systemd.sh

 

Copy the attached file to the linux machine and execute the script :

chmod +x linux_install_systemd.sh

./linux_install_systemd.sh

 

Example :

 1.jpg

 

 After execution of the script, link files under /etc/rc*.d are deleted and following files are created or still present :

 

/etc/rc.d/init.d/CA-CCS

/etc/rc.d/init.d/CA-cam

/etc/rc.d/init.d/CA-DSM

/etc/systemd/system/CA-cam.service

/etc/systemd/system/CA-CCS.service

/etc/systemd/system/CA-DSM.service 

 

 

 

Remove integration in systemd

Attached script linux_uninstall_systemd.sh could be used to restore the default configuration (remove integration with systemd and add again integration with rc.d)

linux_uninstall_systemd.sh

 

Copy the attached file to the linux machine and execute the script :

chmod +x linux_uninstall_systemd.sh

./linux_uninstall_systemd.sh

 

Example :

 2.jpg

File Attachments:
TEC1885737.zip