免费注册 查看新帖 |

Chinaunix

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

sun cluster 仲裁盘报错clquorum: (C400923) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-12-12 16:06 |只看该作者 |倒序浏览
  >>> Add a Shared Disk Quorum Device <<<

    If you are using a dual-ported disk, by default, Sun Cluster uses
    SCSI-2. If you are using disks that are connected to more than two
    nodes, or if you manually override the protocol from SCSI-2 to SCSI-3,
    by default, Sun Cluster uses SCSI-3.

    If you turn off SCSI fencing for disks, Sun Cluster uses software
    quorum, which is Sun Cluster software that emulates a form of SCSI
    Persistent Group Reservations (PGR).

    Warning: If you are using disks that do not support SCSI, such as
    Serial Advanced Technology Attachment (SATA) disks, turn off SCSI
    fencing.

    For more information about supported quorum device topologies, see the
    Sun Cluster documentation.

    Is it okay to continue (yes/no) [yes]?  

    Which global device do you want to use (d<N>)?  
    Which global device do you want to use (d<N>)?  d2

    Is it okay to proceed with the update (yes/no) [yes]?  

clquorum add d2
clquorum:  (C400923) Cannot find device "d2" to add.

Command failed.

   
Press Enter to continue:  

    Do you want to try again (yes/no)?
clquorum add d2
clquorum:  (C400923) Cannot find device "d2" to add.

# hostname
node1
# ./scdidadm -L
1        node1:/dev/rdsk/c0t0d0         /dev/did/rdsk/d1     
2        node1:/dev/rdsk/c1t0d0         /dev/did/rdsk/d2     
3        node1:/dev/rdsk/c2t0d0         /dev/did/rdsk/d3     
4        node1:/dev/rdsk/c3t0d0         /dev/did/rdsk/d4   
# hostname
node1
# ./scdidadm -L
1        node1:/dev/rdsk/c0t0d0         /dev/did/rdsk/d1     
2        node1:/dev/rdsk/c1t0d0         /dev/did/rdsk/d2     
3        node1:/dev/rdsk/c2t0d0         /dev/did/rdsk/d3     
4        node1:/dev/rdsk/c3t0d0         /dev/did/rdsk/d4     
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0      9.6G   5.1G   4.5G    54%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   7.5G   1.2M   7.5G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       9.6G   5.1G   4.5G    54%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   7.5G    72K   7.5G     1%    /tmp
swap                   7.5G    28K   7.5G     1%    /var/run
/dev/dsk/c1t0d0s4       13G    13M    12G     1%    /export/home
/dev/dsk/c1t0d0s6      996M   5.5M   931M     1%    /global/.devices/node@2
/dev/did/dsk/d2s6      996M   5.5M   931M     1%    /global/.devices/node@1


# hostname
node2
# ./scdidadm -L
1        node1:/dev/rdsk/c0t0d0         /dev/did/rdsk/d1     
2        node1:/dev/rdsk/c1t0d0         /dev/did/rdsk/d2     
3        node1:/dev/rdsk/c2t0d0         /dev/did/rdsk/d3     
4        node1:/dev/rdsk/c3t0d0         /dev/did/rdsk/d4
# df -h
ÎļtÏμí3               ′óD¡   óÃáË   ¿éóà èYá¿      1ò½óÔú
/dev/dsk/c1t0d0s0      9.6G   5.6G   3.9G    59%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   7.5G   1.2M   7.5G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       9.6G   5.6G   3.9G    59%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   7.5G    72K   7.5G     1%    /tmp
swap                   7.5G    28K   7.5G     1%    /var/run
/dev/dsk/c1t0d0s4       13G    13M    12G     1%    /export/home
/dev/dsk/c1t0d0s6      996M   5.5M   931M     1%    /global/.devices/node@2
/dev/did/dsk/d2s6      996M   5.5M   931M     1%    /global/.devices/node@1
#   
# ./cluster status

=== Cluster Nodes ===

--- Node Status ---

Node Name                                       Status
---------                                       ------
node1                                           Online
node2                                           Online


=== Cluster Transport Paths ===

Endpoint1               Endpoint2               Status
---------               ---------               ------
node1:e1000g2           node2:e1000g2           Path online
node1:e1000g1           node2:e1000g1           Path online


=== Cluster Quorum ===

--- Quorum Votes Summary ---

            Needed   Present   Possible
            ------   -------   --------
            1        1         1


--- Quorum Votes by Node ---

Node Name       Present       Possible       Status
---------       -------       --------       ------
node1           1             1              Online
node2           0             0              Online


=== Cluster Device Groups ===

--- Device Group Status ---

Device Group Name     Primary     Secondary     Status
-----------------     -------     ---------     ------


--- Spare, Inactive, and In Transition Nodes ---

Device Group Name   Spare Nodes   Inactive Nodes   In Transistion Nodes
-----------------   -----------   --------------   --------------------


--- Multi-owner Device Group Status ---

Device Group Name           Node Name           Status
-----------------           ---------           ------

=== Cluster Resource Groups ===

Group Name       Node Name       Suspended      State
----------       ---------       ---------      -----

=== Cluster Resources ===

Resource Name       Node Name       State       Status Message
-------------       ---------       -----       --------------
cluster:  (C383355) No response from daemon on node "node2".

=== Cluster DID Devices ===

Device Instance               Node              Status
---------------               ----              ------
/dev/did/rdsk/d2              node1             Ok

/dev/did/rdsk/d3              node1             Ok

/dev/did/rdsk/d4              node1             Ok


=== Zone Clusters ===

--- Zone Cluster Status ---

Name    Node Name    Zone HostName    Status    Zone Status
----    ---------    -------------    ------    -----------

论坛徽章:
0
2 [报告]
发表于 2014-12-12 16:09 |只看该作者
本帖最后由 jim567 于 2014-12-12 16:11 编辑

为什么节点1和节点2.都只是别node1的硬盘没有识别到node2的硬盘# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <DEFAULT cyl 4304 alt 2 hd 255 sec 63>
          /pci@0,0/pci15ad,1976@10/sd@0,0
       1. c2t0d0 <DEFAULT cyl 1021 alt 2 hd 128 sec 32>
          /pci@0,0/pci15ad,790@11/pci15ad,1976@5/sd@0,0
       2. c3t0d0 <DEFAULT cyl 2086 alt 2 hd 255 sec 63>
          /pci@0,0/pci15ad,790@11/pci15ad,1976@6/sd@0,0
Specify disk (enter its number): ^C


备注:1. c2t0d0 <DEFAULT cyl 1021 alt 2 hd 128 sec 32>
          /pci@0,0/pci15ad,790@11/pci15ad,1976@5/sd@0,0
       2. c3t0d0 <DEFAULT cyl 2086 alt 2 hd 255 sec 63>为共享盘

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <DEFAULT cyl 4174 alt 2 hd 255 sec 63>
          /pci@0,0/pci15ad,1976@10/sd@0,0
       1. c2t0d0 <DEFAULT cyl 2086 alt 2 hd 255 sec 63>
          /pci@0,0/pci15ad,790@11/pci15ad,1976@6/sd@0,0
       2. c3t0d0 <DEFAULT cyl 1021 alt 2 hd 128 sec 32>
          /pci@0,0/pci15ad,790@11/pci15ad,1976@5/sd@0,0
Specify disk (enter its number):
Specify disk (enter its number): ^C
# hostname      
node2

论坛徽章:
0
3 [报告]
发表于 2014-12-13 15:02 |只看该作者
结贴处理完毕。# ./scdidadm -L
1        node1:/dev/rdsk/c0t0d0         /dev/did/rdsk/d1     
2        node1:/dev/rdsk/c1t0d0         /dev/did/rdsk/d2     
3        node1:/dev/rdsk/c2t0d0         /dev/did/rdsk/d3     
3        node2:/dev/rdsk/c2t0d0         /dev/did/rdsk/d3     
4        node1:/dev/rdsk/c3t0d0         /dev/did/rdsk/d4     
4        node2:/dev/rdsk/c3t0d0         /dev/did/rdsk/d4     
5        node2:/dev/rdsk/c0t0d0         /dev/did/rdsk/d5     
6        node2:/dev/rdsk/c1t0d0         /dev/did/rdsk/d6
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP