How to remove keyless licensing and revert to permanent licenses keys

Problem

How to remove keyless licensing and revert to permanent licenses keys

Solution

 

This article is a part of a set about the message "WARNING V-365-1-1." Click here to start at the beginning: http://www.symantec.com/docs/TECH208477

 

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

StepDescriptionSyntax and Examples
a
Create a new, empty directory.

Syntax:

mkdir <new directory>


Example, with typical output:

# mkdir /var/tmp/licbackup
#

 
bCopy 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
#

 
cSave a copy of the vxlicrep output to the backup directory
Syntax:

vxlicrep -e > /<backup directory>


Example, with typical output:

# vxlicrep -e > /var/tmp/licbackup/vxlicrep.backup
#

 





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

Symantec License Manager vxlicinst utility version 3.02.51.010
Copyright (C) 1996-2010 Symantec Corporation. All rights reserved.

License key successfully installed for VERITAS Storage Foundation for Cluster File System
License key successfully installed for VERITAS File System
License key successfully installed for VERITAS Volume Manager
License key successfully installed for VERITAS Cluster Server

 





4. Use vxkeyless to disable and remove the "keyless" licenses

(Back to top)


Disable and remove the "keyless" licenses using vxkeyless.


Note: A warning will appear stating that a component will be removed. This affects only the keyless license. The permanent keys are not removed by this command.

 


Figure 2 - Using vxkeyless to disable and remove the "keyless" licenses


Syntax:

vxkeyless set NONE


Example, with typical output:

# vxkeyless set NONE
The following changes will take effect.
  Remove: SF Cluster File System Enterprise Edition with Cluster Server
Continue (y/n)? y

 





5. Reinitialize the licenses

(Back to top)


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

StepDescriptionSyntax and Examples
aUse vxdctl to reinitialize the licenses with Volume Manager.
Syntax:

vxdctl license init


Example, with typical output:

# vxdctl license init
 
bRestart CmdServer to reinitialize the licenses with Cluster Server (VCS).
Syntax:

i. hasys -freeze <node>

ii. ps -ef | grep CmdServer

iii. kill -9 <pid of CmdServer>

iv. /opt/VRTSvcs/bin/CmdServer

v. hasys -unfreeze <node>



Example, with typical output:

# hasys -freeze Server101

# ps -ef | grep -i cmdserver
root      2665  5469  0 15:48 pts/1    00:00:00 grep -i cmdserver
root      6427     1  0 Jul15 ?        00:00:00 /opt/VRTSvcs/bin/CmdServer

# kill -9 6427

# /opt/VRTSvcs/bin/CmdServer

# ps -ef | grep -i cmdserver
root      3898     1  0 15:50 ?        00:00:00 /opt/VRTSvcs/bin/CmdServer
root      3927  5469  0 15:50 pts/1    00:00:00 grep -i cmdserver

# hasys -unfreeze Server101

 
cUse vxdctl to verify that the licenses are detected
Syntax:

vxdctl license


Example, with typical output:

# vxdctl license
All features are available:
 Mirroring
 Root Mirroring
 Concatenation
 Disk-spanning
 Striping
 RAID-5
 VxSmartSync
 Array Snapshot Integration Feature
 Clustering-full
 FastResync
 DGSJ
 Site Awareness
 DMP (multipath enabled)
 CDS
 Dynamic LUN Expansion
 Hardware assisted copy
 DMP Native Support



Note: Specific features listed will vary, depending on the licensing.

dUse vxkeyless to verify that no "keyless" keys are detected.
Syntax:

vxkeyless display


Example, with typical output:

# vxkeyless display
No keys installed.

 

 


Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)