1)Input permanent license
# vxlicinst -k
2)Check license files,delete or remove demo license files
# cd /etc/vx/licenses/lic
# ls -l
# rm
or
# mv
3)Update license using commands
# hasys -updatelic -all
<<<<<< update system level licensing on all running systems in the cluster at one time.
or
# hasys -updatelic -sys
<<<<<< update the licensing on a specific node.
then
# haclus -updatelic
<<<<<< update licensing at the cluster level.
<<<<<< Note: Before running haclus -updatelic, make sure that system level licensing is updated by running hasys -updatelic on all of the nodes in the cluster.
# vxdctl license init
<<<<<< request that vxconfigd reread any persistently stored license information. this command forces vxconfigd to rescan the licenses, and to make the new licenses available.
# vxenablef -e full
<<<<<< enable licensed VxFS features