Description
How to remove keyless licensing and revert to permanent license keys on InfoScale products
Table of Contents
1. Introduction
2. Back up the existing license directory
3. Use vxlicinst to add the permanent license keys
4. Use vxkeyless to disable and remove the "keyless" licenses
5. Force Storage Foundation to refresh the licenses
1. Introduction
(Back to top)
This article contains a procedure for removing and disabling "keyless" licenses and reverting to permanent license keys.
2. Back up the existing license directory
(Back to top)
As a precaution, make a copy of the contents of /etc/vx/licenses/lic, and save the output of vxlicrep. If needed, the license keys can be copied back in order to return the licensing to its previous state.
Table 1 - Backing up the existing licenses
Step | Description | Syntax and Examples |
a | Create a new, empty directory. |
Syntax: mkdir <new directory> Example, with typical output: # mkdir /var/tmp/licbackup |
b | Copy the existing licenses into the backup directory. | Syntax: cp -Rp /etc/vx/licenses/lic <backup directory> Example, with typical output: # cp -Rp /etc/vx/licenses/lic /var/tmp/licbackup |
c | Save a copy of the vxlicrep output to the backup directory | Syntax: vxlicrep > /<backup directory> [From Infoscale 7.4 onwards]
|
3. Use vxlicinst to add the permanent license keys
(Back to top)
Add the permanent license keys using vxlicinst.
Figure 1 - Using vxlicinst to install license keys
Syntax: # vxlicinst -k <license key> Example, with typical output: # vxlicinst -k ABCD-EFGH-IJKL-MNOP-QRST-UVWX-YZ |
4. Use vxkeyless to disable and remove the "keyless" licenses
(Back to top)
Disable and remove the "keyless" licenses using vxkeyless.
Figure 2 - Using vxkeyless to disable and remove the "keyless" licenses
Syntax: vxkeyless set NONE Example, with typical output: # vxkeyless set NONE |
5. Reinitialize the licenses
After updating the licensing, it is necessary to refresh Storage Foundation with the new information. This can be done without interrupting production.
- For Volume Manager, use vxdctl to reinitialize the licenses.
- For Cluster Server (VCS), restart CmdServer.
Table 2 - Using vxdctl and restarting CmdSvr to reinitialize the licenses
Step | Description | Syntax and Examples |
a | Use vxdctl to reinitialize the licenses with Volume Manager. | Syntax: vxdctl license init Example, with typical output: # vxdctl license init |
b | Restart CmdServer to reinitialize the licenses with Cluster Server (VCS). | Syntax: |
c | Use vxdctl to verify that the licenses are detected | Syntax: vxdctl license Example, with typical output: # vxdctl license
Note: Specific features listed will vary, depending on the licensing.
|
d | Use vxkeyless to verify that no "keyless" keys are detected. | Syntax: vxkeyless display Example, with typical output: # vxkeyless display |