Backing up and restoring
You can back up and restore Suite License Service.
Procedure
-
To back up Suite License
Service, complete the following steps:
- Back up a snapshot of all MongoDB collections.
- Save the Suite License Service certificate authority (CA) key pair secret.
- Make a note of the
licenseId
andregistrationKey
by entering the following command:oc get -n ibm-sls licenseservice/sls NAME VERSION STATUS INITIALIZED LICENSEID REGISTRATIONKEY AGE sls 3.4.1 Ready Initialized 0242ac110002 0121e6f8-a9ac-5d84-825f-ac455803d3c4 28d
-
To restore Suite License
Service, complete the following steps:
- Restore the all MongoDB collections.
- Restore the Suite License
Service CA keypair secret and set the
ca.secretName
value in the LicenseService CR. - Create a secret that is called
sls-bootstrap
with thelicenseId
andregistrationKey
set:apiVersion: v1 kind: Secret metadata: name: sls-bootstrap stringData: licensingId: 0242ac110002 registrationKey: 0121e6f8-a9ac-5d84-825f-ac455803d3c4
- Reapply the LicenseService CR.
- Upload the license file again.
- Reregister application suites.