eSight双机告警veritas为临时license

发布时间:  2017-02-03 浏览次数:  102 下载次数:  0
问题描述
现网eSight双机,veritas已经导入正式license,但告警仍提示license为临时license。
处理过程

详细步骤参考:https://www.veritas.com/support/en_US/article.000018493


1,备份现有license:新建文件路径,并将现有license复制至该路径。

   命令:mkdir <new directory>

         cp -Rp /etc/vx/licenses/lic <backup directory>

         vxlicrep -e > /<backup directory>

   例如:# mkdir /var/tmp/licbackup

         # cp -Rp /etc/vx/licenses/lic /var/tmp/licbackup

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

2,使用vxlicinst工具增加license,如eSight产品文档描述。

3,使用vxkeyless命令去使能keyless license

   命令:vxkeyless set NONE

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

4,重新初始化license

   命令:vxdctl license init【初始化Volume Manager】

         hasys -freeze <node> 【重启CmdServer,初始化Cluster Server]

         ps -ef | grep CmdServer

         kill -9 <pid of CmdServer>

         /opt/VRTSvcs/bin/CmdServer

         hasys -unfreeze <node>

         vxdctl license

         vxkeyless display

   例如:# vxdctl license init

         # 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
  

          # vxdctl license          

          # vxkeyless display

            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             
           # vxkeyless display
            No keys installed.
            

解决方案
加载正式license后,临时licensse仍存在,系统检测到后仍会有提示,需删除临时license。

END