Uninstalling the Policy Agent on Linux

  1. Decrypt all encrypted disks as described in Decrypting a Disk Using the webGUI.

    Important: If you uninstall the Policy Agent without decrypting the disks, all access to the encrypted files will be lost because the encryption keys are deleted during the uninstall procedure.

  2. Make sure that the Policy Agent can be uninstalled on the VM. To do so, expand the VM in the webGUI and look at the Policy Agent Uninstallation Allowed field on the Details tab. If this field is set to No, click No, select Yes from the drop-down list, then click Save.

    Tip: If you want to uninstall the Policy Agent from multiple VMs in this Cloud VM Set, you can change this property at the Cloud VM Set level and propagate the change to all VMs in the Cloud VM Set. For more information, see Changing Cloud VM Set Properties.

  3. Log into the VM as root.
  4. Run the shell command hcs-client-agent-5.2-build.number.run uninstall. For example:

    # sh hcs-client-agent-5.2-12345.run uninstall
    Creating directory hcs-agent-agent
    Verifying archive integrity... All good.
    Uncompressing hcs-agent-agent.run.............
    Data on all encrypted volumes will be lost. Proceed with uninstall? (yes/no) yes
    Encrypted device /dev/sdb1 detached; decrypted contents no longer visible
    Encrypted device /dev/sdc1 detached; decrypted contents no longer visible
    Encrypted device /dev/sdd1 detached; decrypted contents no longer visible
    Stopping hcld... done
    Uninstall successful