abbend 发表于 2013-08-14 10:14

vxdctl license 命令提示No licensed features are available

cluster 3.0双机,其中db2系统盘挂了,从db1 复制了一份系统,修改了相关的ip、主机名、nodename、nodeid等信息。
但是用boot -x启动db2主机时,出了一堆问题。现在业务都在db1上单机运新。
操作系统solaris8,vmvx3.2



1、db2系统以boot -x方式启动后,系统提示vxvm报错
VxVM general startup...
vxvm:vxconfigd: ERROR: enable failed: Error in disk group configuration copies
      No valid disk found containing disk group; transactions are disabled.
vxvm: Vold is not enabled for transactions
      No volumes started
The system is coming up.Please wait.
2、进入系统后,执行以下命令,报错如下:
root@_db2#vxdctl enable
vxvm:vxconfigd: ERROR: enable failed: Error in disk group configuration copies
      Disk group has no valid configuration copies; transactions are disabled.
vxvm:vxdctl: ERROR: enable failed: Error in disk group configuration copies
root@_db2#
root@_db2#vxdisk list
vxvm:vxdisk: ERROR: Cannot get records from vxconfigd: Record not in disk group
root@_db2#
root@_db2#vxprint
vxvm:vxprint: ERROR: No disk groups loaded
3、执行手动添加rootdg失败
root@_db2#vxdctl add disk c1t0d0s7 type=simple
vxvm:vxdctl: WARNING: Device c1t0d0s7: Not currently in the configuration
root@_db2#vxdisk -f init c1t0d0s7 type=simple
vxvm:vxdisk: ERROR: Device c1t0d0s7: define failed:
      License has expired or is not available for operation

4、手动修改了/dev/rdsk/c1t0d0s7盘对应的hostid、groupid、diskid,由db2更改为db1,系统终于可以启动vxvm的rootdg
注:由于是db2主机,不知道此种修改是否会有其他隐患。
root@_db2#
root@_db2#vxdisk list
DEVICE       TYPE      DISK         GROUP      STATUS
c1t0d0s2   sliced    -            -            error
c1t0d0s7   simple    c1t0d0s7   rootdg       online
c1t1d0s2   sliced    -            -            error
c1t1d0s7   simple    -            -            online
c3t1d0s2   sliced    -            -            online
c3t9d0s2   sliced    -            -            online
-            -         c1t1d0s7   rootdg       failed was:c1t1d0s7
root@_db2#
root@_db2#vxprint
Disk group: rootdg
TY NAME         ASSOC      KSTATE   LENGTH   PLOFFS   STATE    TUTIL0PUTIL0
dg rootdg       rootdg       -      -      -      -      -       -
dm c1t0d0s7   c1t0d0s7   -      49855    -      -      -       -
dm c1t1d0s7   -            -      -      -      NODEVICE -       -
root@_db2#
root@_db2#vxdctl enable
vxvm:vxconfigd: WARNING: Disk c1t1d0s7 names group rootdg, but group ID differs
vxvm:vxconfigd: WARNING: Disk c1t1d0s7 in group rootdg: Disk device not found
vxvm:vxconfigd: ERROR: enable failed: License has expired or is not available for operation
      transactions are disabled.
vxvm:vxdctl: ERROR: enable failed: License has expired or is not available for operation

5、发现vxvm License无效,此问题还未能解决
root@_db2#vxdctl license
No licensed features are available
root@_db2#
root@_db2#vxlicense -p
vrts:vxlicense: INFO: Feature name: VxVM
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: No expiration date
vrts:vxlicense: INFO: Release Level: 25
vrts:vxlicense: INFO: Machine Class: All
vrts:vxlicense: INFO: Feature name: RAID
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: No expiration date
vrts:vxlicense: INFO: Release Level: 25
vrts:vxlicense: INFO: Machine Class: All
而db1为
root@_db1#vxdctl license
All features are available:
Mirroring
Concatenation
Disk-spanning
Striping
RAID-5
VxSmartSync

6、主机启动后识别到的两台D1000阵列硬盘也有问题
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c503f3932,0
       1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c507e0e01,0
       2. c3t0d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@0,0
       3. c3t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,700000/scsi@2/sd@1,0
       4. c3t2d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@2,0
       5. c3t3d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@3,0
       6. c3t8d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@8,0
       7. c3t9d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c3t4d0s0
          /pci@8,700000/scsi@2/sd@9,0
       8. c3t10d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@a,0
       9. c3t11d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@b,0
      10. c5t0d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@0,0
      11. c5t1d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@1,0
      12. c5t2d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@2,0
      13. c5t3d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@3,0
      14. c5t8d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@8,0
      15. c5t9d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@9,0
      16. c5t10d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@a,0
      17. c5t11d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@b,0

东方蜘蛛 发表于 2013-08-14 10:20

:-L LZ是HW的现场工程师吗?
3.2的vxvm是和hostid绑定的,找客户要,或者问问以前有没有收集过explorer。

znnnz 发表于 2013-08-14 11:08

LS一定是历史学家:mrgreen:

东方蜘蛛 发表于 2013-08-14 11:22

znnnz 发表于 2013-08-14 11:08 static/image/common/back.gif
LS一定是历史学家
solaris 8+sun cluster 3.0+vxvm3.2典型的HW的双机配置。:em06:

abbend 发表于 2013-08-14 16:02

回复 2# 东方蜘蛛


    多谢蜘蛛大侠。
原系统中只有在/etc/vx/elm目录下有95.lic和96.lic两个文件
新复制的系统也有。vxlicense -p显示有lic文件。

root@_db2#vxdctl license
No licensed features are available
root@_db2#
root@_db2#vxlicense -p
vrts:vxlicense: INFO: Feature name: VxVM
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: No expiration date
vrts:vxlicense: INFO: Release Level: 25
vrts:vxlicense: INFO: Machine Class: All
vrts:vxlicense: INFO: Feature name: RAID
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: No expiration date
vrts:vxlicense: INFO: Release Level: 25
vrts:vxlicense: INFO: Machine Class: All

abbend 发表于 2013-08-14 16:07

回复 3# znnnz


    高人,帮着想想办法啊,我都快愁死了,怎么就license无效了呢?

znnnz 发表于 2013-08-14 16:40

回复 6# abbend


    看现场有没有别的HW双机,从上面找一个license试试。

abbend 发表于 2013-08-14 18:47

回复 7# znnnz


    原系统中只有在/etc/vx/elm目录下有95.lic和96.lic两个文件
新复制的系统也有。vxlicense -p显示有lic文件.而且和之前收集的explorer中的95、96文件对比,没有什么区别啊

abbend 发表于 2013-08-15 16:19

回复 4# 东方蜘蛛

蜘蛛大师,给点建议吧,跪求了.

我现在db2是非集群模式启动的,阵列是2台D1000,阵列的硬盘识别也有问题.对这种D1000是不是已经集成了license?那个95lic和96.lic为什么不行呢?和非群集模式下的阵列识别有关系吗?

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c503f3932,0
       1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c503f383d,0
       2. c3t0d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@0,0
       3. c3t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,700000/scsi@2/sd@1,0
       4. c3t2d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@2,0
       5. c3t3d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@3,0
       6. c3t8d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@8,0
       7. c3t9d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c3t4d0s0
          /pci@8,700000/scsi@2/sd@9,0
       8. c3t10d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@a,0
       9. c3t11d0 <drive not available: reserved>
          /pci@8,700000/scsi@2/sd@b,0
      10. c5t0d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@0,0
      11. c5t1d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@1,0
      12. c5t2d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@2,0
      13. c5t3d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@3,0
      14. c5t8d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@8,0
      15. c5t9d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@9,0
      16. c5t10d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@a,0
      17. c5t11d0 <drive not available: reserved>
          /pci@8,700000/scsi@3/sd@b,0
   

abbend 发表于 2013-08-16 09:40

license问题解决了,从之前收集的explorer文件中重新倒入了95.lic和96.lic。

但是对于D1000阵列硬盘的识别问题依旧,有可能是db1的cluster保护起来了吗?
页: [1] 2
查看完整版本: vxdctl license 命令提示No licensed features are available