sun cluster 3.x中如何恢复quorum device offline状态-凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 635603
  • 博文数量: 128
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 1464
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-27 20:44
个人简介

just do it

文章分类

全部博文(128)

文章存档

2023年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(17)

2015年(16)

2014年(39)

2013年(34)

2012年(10)

分类:

2018-05-10 09:26:46

原文地址: 作者:东方蜘蛛

一.查看到的状态是offline状态,如下所示:
# scstat -q 

.............
.............
 -- quorum votes by device --

                    device name         present possible status
                    -----------         ------- -------- ------
  device votes:     /dev/did/rdsk/d4s2  0        1       offline /*d4是offline状态 

............
...........
# 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
                   

阅读(1198) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图