Uninstalling the server software

When you want to install a new version of server software or to reinstall when an installation fails, you can uninstall the server software and its components from the Ubuntu platform.

Before you begin

You must have completed the following tasks:
  • Installed Rational® Test Automation Server software.

  • Closed Rational® Test Automation Server, any open web browsers, and all other applications that are enabled by Rational® Test Automation Server.

Procedure

  1. Log in to the Ubuntu server as a non-root user.
  2. Run the following command to stop the workload that is running:
    kubectl delete all,cm,secret -lexecution-marker -n test-system
  3. Run the following command to uninstall the server software:
    helm uninstall {my-ots} -n test-system
    The PersistentVolumeClaims and PersistentVolumes that were created during the installation are not deleted automatically. If you reinstall the server software, the user data is reused unless you specifically delete those volumes.
    Note: You must substitute {my-ots} with the release name that you provided for the server.
  4. Optional: Run the following commands to delete the entire Kubernetes environment, including all user data:
    cd hcl-onetest-base
    sudo ./ubuntu-wipe.sh --confirm

    After you run this command, the system returns to the same state as if ubuntu-init.sh was never run.

Results

You have uninstalled the server software from the Ubuntu platform.