免费注册 查看新帖 |

Chinaunix

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

Sun Cluster 3.x中如何恢复Quorum Device Offline状态 [复制链接]

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-01 00:45 |只看该作者 |倒序浏览
一.查看到的状态是offline状态,如下所示:
# scstat -q
.............
.............
-- Quorum Votes by Device --
                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d4s2  0        1       Offline /*d4是offline状态  
............
...........
[email=root@ser1]root@ser1[/email]
# scdidadm -L
1        ser1:/dev/rdsk/c0t0d0      /dev/did/rdsk/d1
2        ser1:/dev/rdsk/c1t0d0      /dev/did/rdsk/d2
3        ser1:/dev/rdsk/c1t1d0      /dev/did/rdsk/d3
4        ser1:/dev/rdsk/c4t0d0      /dev/did/rdsk/d4
4        ser2:/dev/rdsk/c4t2d0      /dev/did/rdsk/d4
5        ser1:/dev/rdsk/c4t0d1      /dev/did/rdsk/d5
5        ser2:/dev/rdsk/c4t2d1      /dev/did/rdsk/d5
6        ser1:/dev/rdsk/c4t0d2      /dev/did/rdsk/d6
6        ser2:/dev/rdsk/c4t2d2      /dev/did/rdsk/d6
7        ser1:/dev/rdsk/c5t0d0      /dev/did/rdsk/d7
7        ser2:/dev/rdsk/c5t2d0      /dev/did/rdsk/d7
8        ser1:/dev/rdsk/c5t0d1      /dev/did/rdsk/d8
8        ser2:/dev/rdsk/c5t2d1      /dev/did/rdsk/d8
9        ser1:/dev/rdsk/c5t0d2      /dev/did/rdsk/d9
9        ser2:/dev/rdsk/c5t2d2      /dev/did/rdsk/d9
10       ser2:/dev/rdsk/c0t0d0      /dev/did/rdsk/d10
11       ser2:/dev/rdsk/c1t0d0      /dev/did/rdsk/d11
13       ser2:/dev/rdsk/c1t1d0      /dev/did/rdsk/d13
二.按照下列方法在ser1或ser2任一台机上作一下操作:
# scsetup
  *** Main Menu ***
    Please select from one of the following options:
        1) Quorum
        2) Resource groups
        3) Cluster interconnect
        4) Device groups and volumes
        5) Private hostnames
        6) New nodes
        7) Other cluster properties
        ?) Help with menu options
        q) Quit
    Option:  1
*** Quorum Menu ***
    Please select from one of the following options:
        1) Add a quorum disk
        2) Remove a quorum disk
        ?) Help
        q) Return to the Main Menu
    Option:  1
>>> Add a Quorum Disk
    This option is used to add a quorum disk to the cluster
    configuration. SCSI-2 disks can be used for dual-ported quorum
    devices. However, SCSI-3 PGR disks must be used when there are more
    than two node-to-disk paths. You can use a disk containing user data
    or one that is a member of a device group as a quorum device. For
    more information on supported quorum device topologies, see the Sun
    Cluster documentation.
    Each quorum disk must be connected to at least two nodes. Adding a
    quorum device automatically configures node-to-disk paths for all
    nodes attached to the disk. Later, if you add more nodes to the
    cluster, you might need to update these paths by removing then adding
    back the quorum device.
    Is it okay to continue (yes/no) [yes]?  
    Which global device do you want to use (d)? d7 /*用d7代替d4
    Is it okay to proceed with the update (yes/no) [yes]?  yes
   scconf -a -q globaldev=d7  
三.再查看状态:
# scstat -q
-- Quorum Votes by Device --
                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
Device votes:     /dev/did/rdsk/d4s2  0    1       Offline
Device votes:     /dev/did/rdsk/d7s2  1    1       Online
这是就会看到现在有两个quorum设备,一个offline,一个是online的,下一步只需将offline的删除即可!
# scconf -r -q globaldev=d4
                    


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

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP