Switch your pay-as-you-go billing to an air-gapped cluster
When you convert a cluster with a pay-as-you-go billing model to an air-gapped cluster, you now have the option to transfer your Portworx license as well.
Follow the instructions on this page to transfer your pay-as-you-go Portworx license to your air-gapped cluster.
Prerequisite
- An air-gapped SaaS key for an air-gapped cluster, acquired by contacting the Pure Storage support team.
Move your license to an air-gapped cluster
- Delete the
px-saas-key
secret that was previously used to enable pay-as-you-go billing for your non-air-gapped environment.
-
Edit your StorageCluster spec and remove the following
env
section for theSAAS_ACCOUNT_KEY_STRING
environment variable:env:
- name: "SAAS_ACCOUNT_KEY_STRING"
valueFrom:
secretKeyRef:
name: px-saas-key
key: account-keyOnce it is removed, all Portworx pods will restart.
-
Once Portworx is online, run the following command:
pxctl license activate saas --key <pay-as-you-go-key>
-
Verify that the license is activated:
pxctl status
Status: PX is operational
Telemetry: Disabled or Unhealthy
Metering: Healthy
License: PX-Enterprise Usage-Based-Airgapped
Node ID: xxxxxxxx-xxxx-xxxx-xxxx-0d74f9801263
You can see that the license has been updated to PX-Enterprise Usage-Based-Airgapped
.