免费注册 查看新帖 |

Chinaunix

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

nas和sun cluster集成的重点须知!! [复制链接]

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-13 00:00 |只看该作者 |倒序浏览
去掉该贴的隐藏属性,向公众开放几天。
###################################
需要更改部分启动脚本,确认在cluster启动之前,nas已经准备好了。


举例:
I have configured a nas quorum device, following these documents:
Sun Cluster 3.1 With Network-Attached Storage Devices Manual for Solaris OS
Sun Cluster System Administration Guide for Solaris OS ---> How to Add a Network Appliance Network-Attached Storage (NAS) Quorum Device.
Server names are: alamo and tannenberg:
Netapp Filer name is cannonau.admin
Steps:
Setup a NAS device and a LUN
Install in both nodes ,Software to support NetApp filer with Sun Cluster.
#pkgadd NTAPclnas
Add the NAS device to the cluster:
#scnas -a -h cannonau.admin -t netapp -o userid=root
Add the NAS volume to the cluster (this volume contain the LUN):
#scnasdir -a -h cannonau.admin -d /vol/QUORUM_UKT (maybe this step is not necessary)
Add Network Appliance quorum devices:
#scconf -a -q name=ukt_canno,type=netapp_nas,filer=cannonau.admin,lun_id=1
Up to here it seems everything is ok:
[root@alamo:/>>scstat -q
-- Quorum Summary --
Quorum votes possible: 3
Quorum votes needed: 2
Quorum votes present: 2
-- Quorum Votes by Node --
Node Name Present Possible Status
--------- ------- -------- ------
Node votes: alamo 1 1 Online
Node votes: tannenberg 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: ukt_canno 1 1 Online
Problems:
After rebooting tannenberg, the server starts without problem, but with this warning:
NOTICE: CMM: Node tannenberg: joined cluster.
WARNING: CMM: Reading reservation keys from quorum device ukt_canno failed.
When reboot alamo, the server panic:
tannenberg console login: Sep 28 14:47:58 tannenberg cl_runtime: NOTICE: CMM: Node alamo (nodeid =
panic[cpu1]/thread=3000349f7e0: CMM: Cluster lost operational quorum; aborting.

When the servers starts, they show this logs and warning:
from tannenberg:
NOTICE: CMM: Node tannenberg: joined cluster.
NOTICE: CCR: Waiting for repository synchronization to finish.
WARNING: CMM: Reading reservation keys from quorum device ukt_canno failed.
From alamo:
NOTICE: clcomm: Path alamo:hme0 - tannenberg:hme0 being initiated
NOTICE: CMM: Node tannenberg (nodeid: 2, incarnation #: 1127911851) has become reachable.
NOTICE: clcomm: Path alamo:hme0 - tannenberg:hme0 online
WARNING: CMM: Reading reservation keys from quorum device ukt_canno failed.
Besides, when the server are up the quorum is Offline:
[root@tannenberg:/>>scstat -q
-- Quorum Summary --
Quorum votes possible: 3
Quorum votes needed: 2
Quorum votes present: 2
-- Quorum Votes by Node --
Node Name Present Possible Status
--------- ------- -------- ------
Node votes: alamo 1 1 Online
Node votes: tannenberg 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: ukt_canno 0 1 Offline



处理方法:
The problem doesn't seem to be about routing. As you said, our NAS device is on the same network the cluster is.
The cluster is starting in rcS.d, while the network interfaces are getting up in rc2.d. This causes the cluster not being able to reach the NAS device - and the quorum iSCSI itself -, because there are no interfaces plumbed.

We've finally solved the problem by moving the original /etc/rcS.d/S72bootcluster.sh to level 2 scripts, just after S72inetsvc, and before S72sc_update*


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/43/showart_338855.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP