Skip to content

Uninstallation

This guide briefly explains uninstalling pSeven Enterprise and uninstalling its packages from Windows extension nodes. pSeven Enterprise uninstallation is required when you upgrade your deployment to a new version. Uninstalling extension nodes is normally not required during version upgrades.

Uninstalling pSeven Enterprise

You can uninstall pSeven Enterprise using Helm. Use the following command:

helm uninstall pseven-rl -n pseven-ns

Here pseven⁠-⁠rl and pseven⁠-⁠ns stand for the pSeven Enterprise release name and the installation namespace. Those are example names used in the pSeven Enterprise administration guides. If you are using another names, replace pseven⁠-⁠rl and pseven⁠-⁠ns with the names that you actually use.

The uninstall command does not remove several Kubernetes objects created by pSeven Enterprise. For a complete uninstallation, remove those manually:

  • Cluster-wide objects:
    • The pSeven Enterprise launcher ClusterRole and its ClusterRoleBinding
    • The pSeven Enterprise priority classes
    • The PersistentVolume objects related to the pSeven Enterprise data storages
  • Objects in the pSeven Enterprise installation namespace:
    • The pSeven Enterprise launcher ServiceAccount
    • The pSeven Enterprise launcher Role and its RoleBinding
    • The PersistentVolumeClaim objects related to the pSeven Enterprise data storages

Uninstalling extension nodes

There is no single uninstaller for extension nodes. Uninstallation is done individually on every node, either manually or by restoring to a previously created system restore point.

Before uninstallation, create a backup copy of the block_environment.ini file from the installation directory (find its path in the DA__P7__RELEASE_DIR environment variable). That file may contain settings related to engineering software installed on the node, and may be useful if you are going to reinstall the extension node package later.

Manual uninstallation steps:

  • Remove HTCondor, OpenVPN, Python 3, Miniconda 2 and Miniconda 3 from the system, using the Programs and Features applet from the Control Panel.

    Miniconda 2 is installed only in pSeven Enterprise versions v2021.04 or earlier. Versions since v2021.04.20 install only Miniconda 3.

  • For a complete cleanup, revert other changes listed in section System changes of the extension node deployment guide.