免费注册 查看新帖 |

Chinaunix

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

[MCSG] 求助,实施中出现问题,在线急等!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-08-26 11:26 |只看该作者 |倒序浏览
各位好心的大神,在双机实施过程中,报了好多错误,麻烦各位大神帮忙看下,感激不尽~~~

hrbweb1[/]#cmcheckconf -v -C /etc/cmcluster/cluster.ascii
Begin cluster verification...
Checking cluster file: /etc/cmcluster/cluster.ascii
Checking nodes ... Done
Checking existing configuration ... Done
Gathering storage information
Found 3 devices on node hrbweb1
Found 10 devices on node hrbweb2
Analysis of 13 devices should take approximately 3 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 3 volume groups on node hrbweb1
Found 3 volume groups on node hrbweb2
Analysis of 6 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Note: Disks were discovered which are not in use by either LVM or VxVM.
      Use pvcreate(1M) to initialize a disk for LVM or,
      use vxdiskadm(1M) to initialize a disk for VxVM.
Gathering network information
Beginning network probing (this may take a while)
Completed network probing
Begin file consistency checking
/etc/nsswitch.conf not found
-rw-r--r--   1 root       root          1585 Mar 31  2010 /etc/cmcluster/cmclfiles2check
-r--r--r--   1 root       root           524 Oct 22  2009 /etc/cmcluster/cmignoretypes.conf
-r--------   1 bin        bin            118 Oct 22  2009 /etc/cmcluster/cmknowncmds
-rw-r--r--   1 root       root           667 Oct 22  2009 /etc/cmcluster/cmnotdisk.conf
-rw-r--r--   1 root       root           622 Aug 26 09:20 /etc/hosts
-r--r--r--   1 bin        bin          12662 Jan  1  2001 /etc/services
cksum: can't open /etc/nsswitch.conf: No such file or directory
1244500118 1585 /etc/cmcluster/cmclfiles2check
1788176357 622 /etc/hosts
3636266105 12662 /etc/services
61360265 524 /etc/cmcluster/cmignoretypes.conf
344617849 118 /etc/cmcluster/cmknowncmds
1390752988 667 /etc/cmcluster/cmnotdisk.conf
WARNING: /etc/cmcluster/cmclfiles2check is different across nodes hrbweb1 hrbweb2
WARNING: /etc/hosts is different across nodes hrbweb1 hrbweb2
WARNING: /etc/nsswitch.conf is different across nodes hrbweb1 hrbweb2
WARNING: /etc/services is different across nodes hrbweb1 hrbweb2
WARNING: /etc/cmcluster/cmignoretypes.conf is different across nodes hrbweb1 hrbweb2
WARNING: /etc/cmcluster/cmknowncmds is different across nodes hrbweb1 hrbweb2
WARNING: /etc/cmcluster/cmnotdisk.conf is different across nodes hrbweb1 hrbweb2
ERROR: /etc/cmcluster/cmclfiles2check permissions could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmclfiles2check has permissions "-rw-r--r--" on nodes hrbweb1
ERROR: /etc/cmcluster/cmclfiles2check owner could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmclfiles2check has owner "root/root" on nodes hrbweb1
ERROR: /etc/cmcluster/cmclfiles2check checksum could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmclfiles2check has different content on nodes hrbweb1
ERROR: /etc/cmcluster/cmclfiles2check timestamp could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmclfiles2check has timestamp "Mar 31  2010" on nodes hrbweb1
ERROR: /etc/hosts permissions could not be checked on nodes hrbweb2:  <error>/etc/hosts has permissions "-r--r--r--" on nodes hrbweb1
ERROR: /etc/hosts owner could not be checked on nodes hrbweb2:  <error>/etc/hosts has owner "root/root" on nodes hrbweb1
ERROR: /etc/hosts checksum could not be checked on nodes hrbweb2:  <error>/etc/hosts has different content on nodes hrbweb1
ERROR: /etc/hosts timestamp could not be checked on nodes hrbweb2:  <error>/etc/hosts has timestamp "Aug 26 09:20" on nodes hrbweb1
ERROR: /etc/nsswitch.conf permissions could not be checked on nodes hrbweb2:  <error>/etc/nsswitch.conf has permissions "-rwxrwxrwx" on nodes hrbweb1
ERROR: /etc/nsswitch.conf owner could not be checked on nodes hrbweb2:  <error>/etc/nsswitch.conf has owner "root/sys" on nodes hrbweb1
ERROR: /etc/nsswitch.conf checksum could not be checked on nodes hrbweb2:  <error>/etc/nsswitch.conf has different content on nodes hrbweb1
ERROR: /etc/nsswitch.conf timestamp could not be checked on nodes hrbweb2:  <error>/etc/nsswitch.conf has timestamp "Aug 26 09:52" on nodes hrbweb1
ERROR: /etc/services permissions could not be checked on nodes hrbweb2:  <error>/etc/services has permissions "-r--r--r--" on nodes hrbweb1
ERROR: /etc/services owner could not be checked on nodes hrbweb2:  <error>/etc/services has owner "bin/bin" on nodes hrbweb1
ERROR: /etc/services checksum could not be checked on nodes hrbweb2:  <error>/etc/services has different content on nodes hrbweb1
ERROR: /etc/services timestamp could not be checked on nodes hrbweb2:  <error>/etc/services has timestamp "Aug 22 16:39" on nodes hrbweb1
ERROR: /etc/cmcluster/cmignoretypes.conf permissions could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmignoretypes.conf has permissions "-r--r--r--" on nodes hrbweb1
ERROR: /etc/cmcluster/cmignoretypes.conf owner could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmignoretypes.conf has owner "root/root" on nodes hrbweb1
ERROR: /etc/cmcluster/cmignoretypes.conf checksum could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmignoretypes.conf has different content on nodes hrbweb1
ERROR: /etc/cmcluster/cmignoretypes.conf timestamp could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmignoretypes.conf has timestamp "Oct 22  2009" on nodes hrbweb1
ERROR: /etc/cmcluster/cmknowncmds permissions could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmknowncmds has permissions "-r--------" on nodes hrbweb1
ERROR: /etc/cmcluster/cmknowncmds owner could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmknowncmds has owner "bin/bin" on nodes hrbweb1
ERROR: /etc/cmcluster/cmknowncmds checksum could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmknowncmds has different content on nodes hrbweb1
ERROR: /etc/cmcluster/cmknowncmds timestamp could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmknowncmds has timestamp "Oct 22  2009" on nodes hrbweb1
ERROR: /etc/cmcluster/cmnotdisk.conf permissions could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmnotdisk.conf has permissions "-rw-r--r--" on nodes hrbweb1
ERROR: /etc/cmcluster/cmnotdisk.conf owner could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmnotdisk.conf has owner "root/root" on nodes hrbweb1
ERROR: /etc/cmcluster/cmnotdisk.conf checksum could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmnotdisk.conf has different content on nodes hrbweb1
ERROR: /etc/cmcluster/cmnotdisk.conf timestamp could not be checked on nodes hrbweb2:  <error>/etc/cmcluster/cmnotdisk.conf has timestamp "Oct 22  2009" on nodes hrbweb1
Command 'cat /etc/cmcluster/cmclfiles2check | /usr/sbin/cmcompare -W -v -n hrbweb1 -n hrbweb2' exited with status 2
WARNING: Unable to check consistency of all files listed in /etc/cmcluster/cmclfiles2check
First cluster lock physical volume "/dev/dsk/c8t0d2" on node "hrbweb2" does not belong to first cluster lock volume group "/dev/vglock". Specify a physical volume that belongs to first volume group.
Maximum configured packages parameter is 300.
Configuring 0 package(s).
cmcheckconf: Unable to verify cluster file: /etc/cmcluster/cluster.ascii.

论坛徽章:
0
2 [报告]
发表于 2012-08-26 12:49 |只看该作者
回复 1# dalong42


    这个问题解决了,是mc的版本更新了。。。所以命令不一样了。。。无语了。。。。

评分

参与人数 1可用积分 +5 收起 理由
lbseraph + 5 谢谢分享经验!

查看全部评分

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
3 [报告]
发表于 2012-08-27 21:25 |只看该作者
回复 2# dalong42

应该说明原来是什么版本,现在用了什么版本后就好了。:wink:

论坛徽章:
0
4 [报告]
发表于 2012-09-18 21:12 |只看该作者
回复 3# lbseraph


      版主,刚才我在另一个帖子解决了一个问题,对于本帖这个问题今天我配置过程中同样遇到了,并且也是成功解决。但是发现并不如我以上所说的那样,是版本造成的。。。这里跟大家说声对不住了。。。当时发帖的时候,其实并不是我配置的,是另一位工程师,我来帮他论坛求助,所以当后来我问他如何解决时,便告诉了我那个版本问题的结论。
    今天,当我看到这些错误,并没有按照错误提示按部就班操作,因为在我另一帖子里面也说明了,就是不要盲目跟着报错走,一定要去看日志。所以我去tail了一下syslog,发现一个非常规的error:
    Error opening known commands file: /etc/cmcluster/cmknowncmds (No such file or directory)
      于是我同样去对比两台主机/etc/cmcluster/路径下的文件,发现果然是1号主机没有该文件,很诧异,估计可能是以前工程师在配置出现问题后,想重置,然后进行了清理。。。
    解决方法依旧很简单,cp一份~到此,我想该贴可以终结了,我之前说的版本不一样,也就是11.18到11.20,但是这两个版本我都配置过,大体应该差不多。其实总结感受,除了上面提到过的不要盲目的被报错信息引导,还一个重点就是如果认为某一个文件没有用处了,个人建议mv,rm少做,要不有时候哭都没地方。并且一些重要文件编辑前,一定要去cp一份,否则后果很严重~~~借以此帖,与大家分享,谢谢版主的热心回复和加分~

评分

参与人数 1可用积分 +10 收起 理由
lbseraph + 10 谢谢分享经验!

查看全部评分

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
5 [报告]
发表于 2012-09-19 08:18 |只看该作者
针对上面的情况,还有个方法是重新安装MCSG软件之后打patch再配置,从零开始做。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP