1,查看license
GDGZ-WAP-PLAT1:~
# vxlicrep
VERITAS License Manager vxlicrep utility version 3.02.010
Copyright
(C) 1996-2005 VERITAS Software Corp. All Rights reserved.
Creating a report on all VERITAS products installed on this system
-----------------***********************-----------------
License Key =
P4CE-XGBU-UH7M-T4OP-XZPN-UFLC-P
Product
Name = VERITAS Cluster Server
License
Type = DEMO
OEM
ID = 4095
Demo End
Date = Wed Jul 23 00:00:00 2008
(19.0 days from now).
Features :=
Platform =
Linux
Version = 4.1
Tier =
Unused
Reserved = 0
Mode = VCS
可以发现这时的licenseType为DEMO
2,vxlicinst安装输入正式key后查看license
GDGZ-WAP-PLAT2:~ # vxlicrep
VERITAS License Manager vxlicrep utility version 3.02.010
Copyright
(C) 1996-2005 VERITAS Software Corp. All Rights reserved.
Creating a report on all VERITAS products installed on this system
-----------------***********************-----------------
License Key =
P4CE-XGBU-UH7M-T4OP-XZPN-UFLC-P
Product
Name = VERITAS Cluster Server
License
Type = DEMO
OEM
ID = 4095
Demo End
Date = Wed Jul 23 00:00:00 2008
(19.0 days from now).
Features :=
Platform =
Linux
Version = 4.1
Tier =
Unused
Reserved = 0
Mode = VCS
-----------------***********************-----------------
License Key = PZZG-ZPP6-C8ZY-E2T2-PRCX-UC
Product Name = VERITAS Cluster Server
Serial Number = 4992
License
Type = PERMANENT
OEM
ID = 2006
Features :=
Platform =
Linux
Version = 4.2
Tier =
Unused
Reserved = 0
Mode = VCS
发现此时可以看到有类型为DEMO和PERMANENT两种license.
我们需要删除临时license,保留永久license.
3,进入到/etc/vx/licenses/lic目录下
mv
P4CE-XGBU-UH7M-T4OP-XZPN-UFLC-P.vxlic /tmp/.
4,vxlicrep查看
GDGZ-WAP-PLAT1:/etc/vx/licenses/lic # vxlicrep
VERITAS License Manager vxlicrep utility version 3.02.010
Copyright
(C) 1996-2005 VERITAS Software Corp. All Rights reserved.
Creating a report on all VERITAS products installed on this system
-----------------***********************-----------------
License Key = PZZG-ZPP6-C8ZY-E2T2-PRCX-UC
Product Name = VERITAS Cluster Server
Serial Number = 4992
License
Type = PERMANENT
OEM
ID = 2006
Features :=
Platform =
Linux
Version = 4.2
Tier =
Unused
Reserved = 0
Mode = VCS
5,重启vcs
hastop -all -force
hastart