Uninstall Codar

Uninstalling Codar removes the CSA_HOME directory and all of its contents. If all the contents in CSA_HOME are not deleted, you must manually delete them and the CSA_HOME directory.

If you installed an embedded Operations Orchestration instance with Codar (you installed Operations Orchestration with Codar using the Codar installer), the embedded Operations Orchestration instance is removed. If you are using Codar with an external Operations Orchestration instance (you installed Operations Orchestration separately from Codar), the external Operations Orchestration instance is not removed.

Note The Codar database is NOT updated or uninstalled.

Uninstall Codar on Windows

To uninstall Codar on Windows, complete the following steps:

  1. Log in as the user who installed Codar (for example, codaruser).

  2. Stop the Codar service:

    1. On the server that hosts Codar, navigate to Start >Administrative Tools > Services.

    2. Right-click on theCodar service and select Stop.

    3. If you installed an embedded Operations Orchestration instance, right-click on the Operations Orchestration Central service and select Stop.
  1. Verify that the services were stopped.

    If the Codar service is still running, open a command prompt, navigate to CSA_HOME\jboss-as\bin, and run the following command:

    jboss-cli.bat --connect --command=:shutdown

  2. Close all instances of Windows Explorer, close all command prompts, and exit all programs that are running on the system.
  3. Navigate to Control Panel > Uninstall a program.
  4. Right-click on HPE  Codar and select Uninstall/Change.
  5. Click Uninstall.
  6. Delete the CSA_HOME directory and any remaining contents, if they exist.
  7. If they exist, delete all Codar entries from the following file:

    C:\Program Files\Zero G Registry\.com.zerog.registry.xml

Uninstall Codar on Linux

To uninstall Codar on Linux, complete the following steps:

  1. Log in as the user who installed Codar (for example, codaruser).

  2. Stop the Codar service, by typing:

    service codar stop

  3. If you installed an embedded Operations Orchestration instance, as the root user, type:

    <embeddedOOinstallation>/central/bin/central stop.

    For example, type /usr/local/hpe/codar/OO/central/bin/central stop

  4. Verify that the services were stopped. For example, if Codar was installed in /usr/local/hpe/codar, enter the following:

    ps -ef | grep /usr/local/hpe/codar
    ps -ef | grep central

    If there are Codar or Operations Orchestration services running, repeat step 2 or kill the Codar and Operations Orchestration services.

  5. Go to the CSA_HOME/_HPE_CODAR_1_60_0_installation directory, and enter the following:

    cd CSA_HOME/_HPE_CODAR_1_60_0_installation

  6. Uninstall Codar. Enter the following:

    ./Change\ HPE\ Cloud\ Service\ Automation\ Installation

  7. Confirm that you want to uninstall Codar.

  8. When uninstallation completes, log in as root and do the following:

    1. If all the contents in CSA_HOME are not deleted, you must manually delete them and the CSA_HOME directory.

    2. Delete the Codar service scripts. Enter the following:

      rm /etc/init.d/codar

    3. If they exist, delete all Codar entries from the following file:

      /home/codaruser/.com.zerog.registry.xml

    4. Optionally, remove the codaruser user and codargrp group.