-bash-5.1# vxdg import sharedg
VxVM vxdg ERROR V-5-1-19179 Disk group sharedg: import failed:
License has expired or is not available for CDS
Please refer to system log for details.
keys installed :STORAGE
-bash-5.1# vxkeyless display
STORAGE
With the vxlicrep command, you can notice that the license for CDS is enabled for VxFS and not for VxVM.
-bash-5.1# vxlicrep |grep -i sharing
VOLUME SHARING = Enabled
CROSS-PLATFORM DATA SHARING = Enabled
CROSS-PLATFORM DATA SHARING#VERITAS FILE SYSTEM= Enabled
VOLUME SHARING#VERITAS VOLUME MANAGER= Enabled
This issue exists only when keyless license is used. CDS feature for VxVM exists when the perpetual STORAGE license key is used.
If the customer uses keyless STORAGE, the customer can upgrade to ENTERPRISE, while the import DG is performed on the target OS.
Once the import DG is complete, the customer can revert back to STORAGE.
>> When using the ENTERPRISE LICENSE KEY, CDS is enabled for VxVM
-bash-5.1# vxkeyless set ENTERPRISE
Add: ENTERPRISE
Continue (y/n)?y
bash-5.1# vxlicrep |grep -i sharing
CROSS-PLATFORM DATA SHARING = Enabled
VOLUME SHARING = Enabled
CROSS-PLATFORM DATA SHARING = Enabled
CROSS-PLATFORM DATA SHARING#VERITAS FILE SYSTEM= Enabled
CROSS-PLATFORM DATA SHARING#VERITAS VOLUME MANAGER= Enabled
VOLUME SHARING#VERITAS VOLUME MANAGER= Enabld
-bash-5.1# vxdctl license init
-bash-5.1# vxdg import sharedg
-bash-5.1# vxdg list
NAME STATE ID
vvrdg enabled,cds 1695246047.24.abcd.xyz.cef.com
sharedg enabled,cds 1695313176.61.abcd
Without any arguments, the vxdctl license command prints the list of features which are currently available based on known licensing information.
After changing product levels with the vxkeyless command or the License option of the installer, run the vxdctl license init command to rescan the licenses and request vxconfigd to re-read any persistently stored license information.
Keyless license is part of InfoScale. VxVM for CDS, is expected to be enabled in STORAGE keyless key on the upcoming 8.0.2 Update 2 release .