如何更换vcs的临时license

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值