免费注册 查看新帖 |

Chinaunix

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

cluster无法添加和删除共享磁盘组,提示不是diskset的所有人...为什么 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-17 10:58 |只看该作者 |倒序浏览
偶想用sds划逻辑卷,但是现在无法对现有的diskset做操作.删除也不行....请各位帮忙


#scstat

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     sun890-1            Online
  Cluster node:     sun890-2            Online

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

-- Cluster Transport Paths --

                    Endpoint            Endpoint            Status
                    --------            --------            ------
  Transport path:   sun890-1:eri0       sun890-2:eri0       Path online
  Transport path:   sun890-1:ce2        sun890-2:ce2        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:       sun890-1            1        1       Online
  Node votes:       sun890-2            1        1       Online


-- Quorum Votes by Device --

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

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

-- Device Group Servers --

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


-- Device Group Status --

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


-- Multi-owner Device Groups --

                              Device Group        Online Status
                              ------------        -------------

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

-- IPMP Groups --

              Node Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------







bash-2.05# metaset            

Set name = oraset, Set number = 1

Host                Owner
  sun890-1           
  sun890-2           

Driv Dbase
d9   Yes





bash-2.05# scdidadm -L
1        sun890-1:/dev/rdsk/c0t0d0      /dev/did/rdsk/d1     
2        sun890-1:/dev/rdsk/c1t0d0      /dev/did/rdsk/d2     
3        sun890-1:/dev/rdsk/c1t4d0      /dev/did/rdsk/d3     
4        sun890-1:/dev/rdsk/c1t3d0      /dev/did/rdsk/d4     
5        sun890-1:/dev/rdsk/c1t5d0      /dev/did/rdsk/d5     
6        sun890-1:/dev/rdsk/c1t1d0      /dev/did/rdsk/d6     
7        sun890-1:/dev/rdsk/c1t2d0      /dev/did/rdsk/d7     
8        sun890-1:/dev/rdsk/c2t40d2     /dev/did/rdsk/d8     
8        sun890-2:/dev/rdsk/c2t44d2     /dev/did/rdsk/d8     
9        sun890-1:/dev/rdsk/c2t40d1     /dev/did/rdsk/d9     
9        sun890-2:/dev/rdsk/c2t44d1     /dev/did/rdsk/d9     
10       sun890-1:/dev/rdsk/c2t40d0     /dev/did/rdsk/d10   
10       sun890-2:/dev/rdsk/c2t44d0     /dev/did/rdsk/d10   
11       sun890-2:/dev/rdsk/c0t0d0      /dev/did/rdsk/d11   
12       sun890-2:/dev/rdsk/c1t0d0      /dev/did/rdsk/d12   
13       sun890-2:/dev/rdsk/c1t1d0      /dev/did/rdsk/d13   
14       sun890-2:/dev/rdsk/c1t3d0      /dev/did/rdsk/d14   
15       sun890-2:/dev/rdsk/c1t4d0      /dev/did/rdsk/d15   
16       sun890-2:/dev/rdsk/c1t5d0      /dev/did/rdsk/d16   
17       sun890-2:/dev/rdsk/c1t2d0      /dev/did/rdsk/d17



现在

bash-2.05# metaset -s oraset -a /dev/did/rdsk/d10
metaset: sun890-2: oraset: must be owner of the set for this command


bash-2.05# metaset -s oraset -d /dev/did/rdsk/d9
metaset: sun890-2: oraset: must be owner of the set for this command

bash-2.05# metaset -s oraset -d -C /dev/did/rdsk/d9
bash-2.05# metaset

Set name = oraset, Set number = 1

Host                Owner
  sun890-1           
  sun890-2           

Driv Dbase

d9   Yes

论坛徽章:
0
2 [报告]
发表于 2005-12-17 12:24 |只看该作者
1、使节点sun890-1变成oraset的owner
root@sun890-1# metaset -s oraset -t
2、确认节点sun890-1已经成为oraset的owner
root@sun890-1# metaset
Set name = oraset, Set number = 1

Host                Owner
  sun890-1        yes   
  sun890-2           

Driv Dbase

d9   Yes
3、在节点sun890-1上对oraset操作
root@sun890-1# metaset -s oraset -a /dev/did/rdsk/d10

论坛徽章:
0
3 [报告]
发表于 2005-12-17 12:44 |只看该作者
还没用过metaset命令,学习一把!

论坛徽章:
0
4 [报告]
发表于 2005-12-18 12:55 |只看该作者
多谢楼上.
现在又在阵列上画出了一个LUN,diskset名叫oracleset做但是用
#metaset -s racleset -a -M -h sun890-1 sun890-2
提示sun890-2不是成员,不在成员列表中...
如果在sun890-2上做,又说sun890-1不在成员列表中.晕

论坛徽章:
0
5 [报告]
发表于 2005-12-18 13:42 |只看该作者
原帖由 昵称不要起太长 于 2005-12-18 12:55 发表
多谢楼上.
现在又在阵列上画出了一个LUN,diskset名叫oracleset做但是用
#metaset -s racleset -a -M -h sun890-1 sun890-2
提示sun890-2不是成员,不在成员列表中...
如果在sun890-2上做,又说sun890-1不在成员 ...


应该是这样的:
# devfsadm -C
# scdidadm -r
# scgdevs
# metaset -s oracleset -a -h sun890-1 sun890-2
# metaset -s oracleset -a -m sun890-1 sun890-2
# metaset -s oracleset -a /dev/did/rdsk/dx
# metaset

论坛徽章:
0
6 [报告]
发表于 2005-12-18 13:47 |只看该作者
请问devfsadm -C和scgdevs是做什么的
还有这个所谓的成员列表是什么意思.hjp1973 真是高人+好人啊

论坛徽章:
0
7 [报告]
发表于 2005-12-18 14:34 |只看该作者
原帖由 昵称不要起太长 于 2005-12-18 13:47 发表
请问devfsadm -C和scgdevs是做什么的
还有这个所谓的成员列表是什么意思.hjp1973 真是高人+好人啊


devfsadm -C:重新检测磁盘设备,并清除无效的磁盘设备连接
scgdevs:将新增设备写入全局设备中
很少用-M参数:A multi-node disk set configuration,  created  with  the  -M
     option  to metaset, provides for a disk set with shared own-
     ership among multiple hosts. All owners  can  simultaneously
     access  disks  in  the  set.  This  option exists to support
     high-availability applications and does not attempt to  pro-
     tect against overlapping writes. Protection against overlap-
     ping writes is the responsibility of  the  application  that
     issues  the writes. Multi-node disk sets do not support RAID
     5 volumes or transactional volumes (trans metadevices).

[ 本帖最后由 hjp1973 于 2005-12-18 15:08 编辑 ]

论坛徽章:
0
8 [报告]
发表于 2005-12-19 14:09 |只看该作者
用了,可还是不行啊,还是出同样的提示

论坛徽章:
0
9 [报告]
发表于 2005-12-19 16:35 |只看该作者
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP