Enable the license server


Follow the procedure in this topic to enable the license server component.

If you installed the license server component using Helm, you can use Helm to enable it as well.

Prerequisites

Ensure the license server is installed.

Enable

To enable the license server using Helm:

  1. Update your Helm repository.

    helm repo update
  2. Retrieve all custom values you used during install. Generate a YAML file, replacing the <docs-namespace> with your namespace.

    helm get values --namespace <docs-namespace> <release-name> -o yaml > values.yaml
  3. Delete the post-install hook job.

    kubectl delete job pxcentral-post-install-hook --namespace <namespace>
  4. Remove the pxcentral-license-server deployment. Enter the following kubectl delete deployment command, replacing the <namespace> parameter to match your environment.

    kubectl delete deployment pxcentral-license-server -n <namespace>
  5. Run the following helm upgrade command to enable the license server, using the -f flag to pass the custom values.yaml file you generated above.

    helm upgrade <release-name> <repo-name>/px-central --namespace <namespace> -f values.yaml --set pxlicenseserver.enabled=true

    Replacing the following parameters:

    • <release-name>: the license server release to enable
    • <repo-name>: the Portworx Enterprise repository name
    • <docs-namespace>: the namespace matching your environment

Last edited: Monday, Aug 2, 2021