Install the license server component


Follow the steps in this section to install the license server component.

Prerequisites

  • You must first deploy the PX-Backup chart, and all components should be in running state.
  • On a worker node, set the value of the px/ls label to true by entering the following command:

    kubectl label node <NODE_NAME> px/ls=true
  • Enable SSH access on port 7070.

    1. On the node where you’ve set the value of the px/ls label to true, add the following line to the /etc/sysconfig/iptables file:

      -A INPUT -p tcp -m state --state NEW -m tcp --dport 7070 -j ACCEPT in /etc/sysconfig/iptables file
    2. Restart the iptables service by entering the following command:

      systemctl restart iptables.service
  • If you’re running PX-Central on Openshfift, then you must add a new service account to the privileged SCC. Enter the oc edit scc privileged command and add the following line to the users section, replacing <YOUR_NAMESPACE> with your namespace:

    system:serviceaccount:<YOUR_NAMESPACE>:pxcentral-license-server

Install the license server component

  1. Generate the install spec through the License Server and Monitoring spec generator.

    If you’re using Portworx for the PX-Central installation, select the Use storage class checkbox under the Storage section of the Spec Details tab, and enter the name of the storage class you used to install PX-Central.

    If your cluster is air-gapped, select the Air Gapped checkbox, and enter the following information:

    • Custom Registry: The hostname of your custom registry
    • Image Repository: The path to the required Docker images
    • Image Pull Secret(s): A comma-separated list of your image pull secrets.
  2. Using Helm, add the Portworx Enterprise repo to your cluster and update it:

    helm repo add portworx http://charts.portworx.io/ && helm repo update
  3. Install the license server component using either the --set flag or the values.yml file provided in the Step 2 section of the Complete tab of the spec generator.


Last edited: Tuesday, Sep 29, 2020