To remove/uninstall DSM/ITCM agents from Unix based operating systems you can use:
lsm -e ca-dsm
lsm is a CA Installer/packager similar to RPM for Linux and PKGAdd for Sun Solaris.
LSM is however universal across all Unix/Linux Platforms.
ca-dsm is the overall parent product (which has sub products listed. If any of the sub-products are not uninstalled you may need to run steps 3 and 4.
What is the command to remove CA Client Automation Agents on UNIX and what files and folders should be cleaned up before a reinstall should take place ?
- Login into the machine (with a userid that has root privileges)
- Run lsm -e ca-dsm
- Run the following command to see if all of the CA-DSM PIF packages installed were removed.
lsm -l | grep PIF
Example of the output of the above command.
PIF CAI18N 184.108.40.206 Solaris
PIF ca-cs-cam 220.127.116.11 Solaris
Additional Notes: lsm will also list rpms by using lsm -l on LINUX. The CA CCS installs use RPM files.
RPM ca-cs-utils 11.2.09280 Linux
RPM ca-cs-cam 13.0.10 Linux
RPM ca-cs-etpki 3.2.1 Linux
The above listed should be also removed with the lsm -e ca-dsm
(Note: You can also make the uninstall silent by adding a -s switch (lsm -e ca-dsm -s))
- If any entries are displayed, please remove them using the following command
Warning! lsm is used by all CA Products if you have other CA products installed you should consult tech support before removing additional components.
lsm -e <PIFname> (second column in the above output)
example Output: lms -e CAI18N
- Remove everything from /opt/CA (ie rm -rf /opt/CA)
Warning! You may not want to remove this directory if there are other CA products installed into this directory. You may optionally choose to remove only /opt/CA/UnicenterDSM or /opt/CA/DSM
- Goto /etc (cd /etc) and delete the following files if they exist
Warning! You may not want to remove all of these files if there are other CA products installed. You may optionally choose to leave the files as they exist. Or consult tech support before removing these files.
- Now run the following command to confirm whether the uninstall was successful.
lsm -l | grep ca
The following are the normal ITCM 12.5 PIFs installed on a ITCM only system,
PIF CAI18N 18.104.22.168 LinuxPIF CAM 22.214.171.124 AnyPIF ca-cs-sysperf-liteagent 11.2.10059.0 LinuxPIF ca-cs-sysperf-liteagent-uam 12.0.0.0000 LinuxPIF ca-dsm 126.96.36.1997 LinuxPIF ca-dsm-agent-common 188.8.131.527 LinuxPIF ca-dsm-am-agent 184.108.40.2067 LinuxPIF ca-dsm-am-client-api 220.127.116.117 LinuxPIF ca-dsm-am-common 18.104.22.1687 LinuxPIF ca-dsm-am-sector-server-cli 22.214.171.1247 LinuxPIF ca-dsm-caf 126.96.36.1997 LinuxPIF ca-dsm-capki 188.8.131.527 LinuxPIF ca-dsm-cbb 184.108.40.2067 LinuxPIF ca-dsm-ccnf-agent 220.127.116.117 LinuxPIF ca-dsm-csm-agent 18.104.22.1687 LinuxPIF ca-dsm-dmprimer 22.214.171.1247 LinuxPIF ca-dsm-dmprimer-embedded 126.96.36.1997 LinuxPIF ca-dsm-dts-agent 188.8.131.527 LinuxPIF ca-dsm-dts-common 184.108.40.2067 LinuxPIF ca-dsm-dts-utils 220.127.116.117 LinuxPIF ca-dsm-plugin-common 18.104.22.1687 LinuxPIF ca-dsm-rc-agent 22.214.171.1247 LinuxPIF ca-dsm-rc-agt-mgr-common 126.96.36.1997 LinuxPIF ca-dsm-rc-agt-srv-mgr-common 188.8.131.527 LinuxPIF ca-dsm-script-interpreter 184.108.40.2067 LinuxPIF ca-dsm-sd-agent 220.127.116.117 LinuxPIF ca-dsm-sd-agt-mgr-common 18.104.22.1687 LinuxPIF ca-dsm-sd-agt-srv-mgr-common 22.214.171.1247 LinuxPIF ca-dsm-sd-installer 4.5.10070.0 LinuxPIF ca-dsm-tools 126.96.36.1997 LinuxPIF ca-dsm-utils 188.8.131.527 LinuxPIF ca-dsm-wrapper 184.108.40.2067 LinuxRPM ca-cs-utils 11.2.09280 LinuxRPM ca-cs-cam 13.0.10 LinuxRPM ca-cs-etpki 3.2.1 Linux