Uninstalling a LifeCycle Manager Service on AIX

A script is created to uninstall an LifeCycle Manager Service, and clean the AIX environment accordingly.

Note: Ensure that all products and middleware are uninstalled or unregistered from the LifeCycle Manager Service before you uninstall the Service.
  1. In the LifeCycle Manager Client Hosts tab, right-click the server where the LifeCycle Manager Service is installed.
  2. Select Host > Unregister Host.
  3. Click OK or View log.
  4. Log on to the AIX server as user root.
  5. Navigate to this folder LCM_service_installation_path/script.
  6. Run the command uninstallLcmService.ksh.
  7. Run the command cat /u01/app/LCM10/lcmservices.txt to verify that the service is removed. The LifeCycle Manager Service should not appear in the list.
  8. Open the file /etc/services and verify that ports reserved for the LifeCycle Manager Service are removed from the file.
  9. If only one service is installed:
    1. Go to the folder /u01/app/LCM10/ and remove the contents.
    2. Remove these files:
      
      /etc/rc.d/init.d/lcm10
      /etc/rc.d/init.d/lcm10-services
    3. In the file /u01/app/lcm/.profile, there are two generated functions called startlcm and stoplcm. Remove everything from #Start of Generated functions for LifeCycleManager (LCM) until #End of Generated functions for LifeCycleManager (LCM).