免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 9776 | 回复: 11
打印 上一主题 下一主题

vxdctl license 命令提示No licensed features are available [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-08-14 10:14 |只看该作者 |倒序浏览
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    TUTIL0  PUTIL0
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 [95]
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 [96]
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

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
2 [报告]
发表于 2013-08-14 10:20 |只看该作者
LZ是HW的现场工程师吗?
3.2的vxvm是和hostid绑定的,找客户要,或者问问以前有没有收集过explorer。

论坛徽章:
20
申猴
日期:2013-09-12 19:39:05狮子座
日期:2014-07-20 21:19:51寅虎
日期:2014-08-16 18:37:47水瓶座
日期:2014-10-15 18:58:25天蝎座
日期:2015-01-22 18:19:15NBA常规赛纪念章
日期:2015-05-04 22:32:032015亚冠之胡齐斯坦钢铁
日期:2015-06-03 11:28:502015亚冠之吉达阿赫利
日期:2015-09-19 12:41:47午马
日期:2013-09-18 14:36:40戌狗
日期:2013-09-18 14:44:39处女座
日期:2013-09-24 17:46:41CU十二周年纪念徽章
日期:2013-10-24 15:41:34
3 [报告]
发表于 2013-08-14 11:08 |只看该作者
LS一定是历史学家

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
4 [报告]
发表于 2013-08-14 11:22 |只看该作者
znnnz 发表于 2013-08-14 11:08
LS一定是历史学家

solaris 8+sun cluster 3.0+vxvm3.2典型的HW的双机配置。

论坛徽章:
0
5 [报告]
发表于 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 [95]
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 [96]
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

论坛徽章:
0
6 [报告]
发表于 2013-08-14 16:07 |只看该作者
回复 3# znnnz


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

论坛徽章:
20
申猴
日期:2013-09-12 19:39:05狮子座
日期:2014-07-20 21:19:51寅虎
日期:2014-08-16 18:37:47水瓶座
日期:2014-10-15 18:58:25天蝎座
日期:2015-01-22 18:19:15NBA常规赛纪念章
日期:2015-05-04 22:32:032015亚冠之胡齐斯坦钢铁
日期:2015-06-03 11:28:502015亚冠之吉达阿赫利
日期:2015-09-19 12:41:47午马
日期:2013-09-18 14:36:40戌狗
日期:2013-09-18 14:44:39处女座
日期:2013-09-24 17:46:41CU十二周年纪念徽章
日期:2013-10-24 15:41:34
7 [报告]
发表于 2013-08-14 16:40 |只看该作者
回复 6# abbend


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

论坛徽章:
0
8 [报告]
发表于 2013-08-14 18:47 |只看该作者
回复 7# znnnz


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

论坛徽章:
0
9 [报告]
发表于 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
   

论坛徽章:
0
10 [报告]
发表于 2013-08-16 09:40 |只看该作者
license问题解决了,从之前收集的explorer文件中重新倒入了95.lic和96.lic。

但是对于D1000阵列硬盘的识别问题依旧,有可能是db1的cluster保护起来了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP