How do I remove DSM/ITCM agents from Linux/Unix machines?
search cancel

How do I remove DSM/ITCM agents from Linux/Unix machines?

book

Article ID: 22104

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

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 ?

Environment

CA Client Automation - All supported versions

Resolution

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.

 

    1. Login into the machine (with a userid that has root privileges)
    2. Run lsm -e ca-dsm
    3. 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 11.0.7.0 Solaris
      PIF ca-cs-cam 12.0.63.0 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))
    4. 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
    5. 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
    6. 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.

      profile.CA
      csh_login.CA
      profile.itrm
      profile.uni
      csh.login.uni
      ca_sd.conf.old
      rc2.d/S*camf
      cadmuuid
    7. 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                         11.0.7.1             LinuxPIF      CAM                            13.0.10.1            AnyPIF      ca-cs-sysperf-liteagent        11.2.10059.0         LinuxPIF      ca-cs-sysperf-liteagent-uam    12.0.0.0000          LinuxPIF      ca-dsm                         12.5.0.2307          LinuxPIF      ca-dsm-agent-common            12.5.0.2307          LinuxPIF      ca-dsm-am-agent                12.5.0.2307          LinuxPIF      ca-dsm-am-client-api           12.5.0.2307          LinuxPIF      ca-dsm-am-common               12.5.0.2307          LinuxPIF      ca-dsm-am-sector-server-cli    12.5.0.2307          LinuxPIF      ca-dsm-caf                     12.5.0.2307          LinuxPIF      ca-dsm-capki                   12.5.0.2307          LinuxPIF      ca-dsm-cbb                     12.5.0.2307          LinuxPIF      ca-dsm-ccnf-agent              12.5.0.2307          LinuxPIF      ca-dsm-csm-agent               12.5.0.2307          LinuxPIF      ca-dsm-dmprimer                12.5.0.2307          LinuxPIF      ca-dsm-dmprimer-embedded       12.5.0.2307          LinuxPIF      ca-dsm-dts-agent               12.5.0.2307          LinuxPIF      ca-dsm-dts-common              12.5.0.2307          LinuxPIF      ca-dsm-dts-utils               12.5.0.2307          LinuxPIF      ca-dsm-plugin-common           12.5.0.2307          LinuxPIF      ca-dsm-rc-agent                12.5.0.2307          LinuxPIF      ca-dsm-rc-agt-mgr-common       12.5.0.2307          LinuxPIF      ca-dsm-rc-agt-srv-mgr-common   12.5.0.2307          LinuxPIF      ca-dsm-script-interpreter      12.5.0.2307          LinuxPIF      ca-dsm-sd-agent                12.5.0.2307          LinuxPIF      ca-dsm-sd-agt-mgr-common       12.5.0.2307          LinuxPIF      ca-dsm-sd-agt-srv-mgr-common   12.5.0.2307          LinuxPIF      ca-dsm-sd-installer            4.5.10070.0          LinuxPIF      ca-dsm-tools                   12.5.0.2307          LinuxPIF      ca-dsm-utils                   12.5.0.2307          LinuxPIF      ca-dsm-wrapper                 12.5.0.2307          LinuxRPM      ca-cs-utils                    11.2.09280           LinuxRPM      ca-cs-cam                      13.0.10              LinuxRPM      ca-cs-etpki                    3.2.1                Linux