免费注册 查看新帖 |

Chinaunix

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

双机不能自动加载磁盘组 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-19 16:18 |只看该作者 |倒序浏览
刚搭建好的双机环境(sc3.0和vxvm3.5),注册好磁盘组(node1为主节点),但双机重起时,cluster不能自动加载磁盘组,需要手动加载,信息如下:

node1# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
c0t0d0s2     sliced    -            -            error
c0t0d0s7     simple    c0t0d0s7     rootdg       online
c0t1d0s2     sliced    -            -            error
c2t19d0s2    sliced    -            -            online
c2t20d0s2    sliced    -            -            online
c2t21d0s2    sliced    -            -            online
c2t22d0s2    sliced    -            -            online
node1# scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     node1               Online
  Cluster node:     node2               Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint            Endpoint            Status
                    --------            --------            ------
  Transport path:   node1:qfe1          node2:qfe1          Path online
  Transport path:   node1:qfe0          node2:qfe0          Path online

------------------------------------------------------------------

-- Quorum Summary --

  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3


-- Quorum Votes by Node --

                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       node1               1        1       Online
  Node votes:       node2               1        1       Online


-- Quorum Votes by Device --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d8s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  oradg               -                   -


-- Device Group Status --

                              Device Group        Status              
                              ------------        ------              
  Device group status:        oradg               Offline

------------------------------------------------------------------
------------------------------------------------------------------



手动加载后:
node1# scswitch -z -D oradg -h node1
node1# scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     node1               Online
  Cluster node:     node2               Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint            Endpoint            Status
                    --------            --------            ------
  Transport path:   node1:qfe1          node2:qfe1          Path online
  Transport path:   node1:qfe0          node2:qfe0          Path online

------------------------------------------------------------------

-- Quorum Summary --

  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3


-- Quorum Votes by Node --

                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       node1               1        1       Online
  Node votes:       node2               1        1       Online


-- Quorum Votes by Device --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d8s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  oradg               node1               node2


-- Device Group Status --

                              Device Group        Status              
                              ------------        ------              
  Device group status:        oradg               Online

------------------------------------------------------------------
------------------------------------------------------------------

论坛徽章:
0
2 [报告]
发表于 2006-10-20 08:54 |只看该作者
自己up一下

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
3 [报告]
发表于 2006-10-20 10:06 |只看该作者
需要把磁盘组注册到cluster里面作为一个资源去拉磁盘组,呵呵!

论坛徽章:
0
4 [报告]
发表于 2006-10-20 13:58 |只看该作者
你的HAstorage资源呢?...另外...
c0t0d0s2     sliced    -            -            error
c0t0d0s7     simple    c0t0d0s7     rootdg       online
c0t1d0s2     sliced    -            -            error

vxprint -ht贴出来看看

论坛徽章:
0
5 [报告]
发表于 2006-10-23 10:00 |只看该作者
磁盘组我把它Unregister重新注册过,又在双机里加了资源组和资源,不知是不是加了资源组和资源就好了,以前也试着Unregister重新注册,不过不管用。

下面是现在开机后的状态:
node1# scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     node1               Online
  Cluster node:     node2               Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint            Endpoint            Status
                    --------            --------            ------
  Transport path:   node1:qfe1          node2:qfe1          Path online
  Transport path:   node1:qfe0          node2:qfe0          Path online

------------------------------------------------------------------

-- Quorum Summary --

  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3


-- Quorum Votes by Node --

                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       node1               1        1       Online
  Node votes:       node2               1        1       Online


-- Quorum Votes by Device --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d8s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  oradg               node1               node2


-- Device Group Status --

                              Device Group        Status              
                              ------------        ------              
  Device group status:        oradg               Online

------------------------------------------------------------------

-- Resource Groups and Resources --

            Group Name          Resources
            ----------          ---------
Resources: orarg               res1


-- Resource Groups --

            Group Name          Node Name           State
            ----------          ---------           -----
     Group: orarg               node1               Unmanaged
     Group: orarg               node2               Unmanaged


-- Resources --

            Resource Name       Node Name           State     Status Message
            -------------       ---------           -----     --------------
  Resource: res1                node1               Offline   Offline
  Resource: res1                node2               Offline   Offline

------------------------------------------------------------------
node1# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
c0t0d0s2     sliced    -            -            error
c0t0d0s7     simple    c0t0d0s7     rootdg       online
c0t1d0s2     sliced    -            -            error
c2t19d0s2    sliced    oradg01      oradg        online
c2t20d0s2    sliced    oradg02      oradg        online
c2t21d0s2    sliced    oradg03      oradg        online
c2t22d0s2    sliced    oradg04      oradg        online
node1#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP