How to remove keyless licensing and revert to permanent license keys on InfoScale products
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
(Back to top)
This article contains a procedure for removing and disabling "keyless" licenses and reverting to permanent license keys.
(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 Example, with typical output: # mkdir /var/tmp/licbackup |
| b | Copy the existing licenses into the backup directory. | Syntax: cp -Rp /etc/vx/licenses/lic 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 > /
|
(Back to top)
Add the permanent license keys using vxlicinst.
Figure 1 - Using vxlicinst to install license keys
| Syntax: # vxlicinst -k Example, with typical output: # vxlicinst -k ABCD-EFGH-IJKL-MNOP-QRST-UVWX-YZ |
(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 |
After updating the licensing, it is necessary to refresh Storage Foundation with the new information. This can be done without interrupting production.
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 licenseNote: 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 |