免费注册 查看新帖 |

Chinaunix

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

如何在cluster 3.2中删除不用的metaset(高手请进...) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-13 13:31 |只看该作者 |倒序浏览
-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  rmt/1               -                   -
  Device group servers:  rmt/2               -                   -
  Device group servers:  rmt/3               -                   -
  Device group servers:  dg_cc               ismp-sun1           ismp-sun3
  Device group servers:  dg_ora              -                   -
  Device group servers:  dg_ora1             -                   -

说明.在这两个节点我把metaset都清空了.只是以scstat输出还有  Device group servers:  dg_ora              -                   -这个东东..我想删掉它.如何操作啊?
我试过以下做法:
1.reboot
2.scswitch -F -D dg_ora
scconf -r -D dg_ora
报错.scconf:  Failed to perform remove operation on a device group (dg_ora) - bad suboption(s) given for this device group type.
3.metaset -s dg_ora -P提示没有这个metaset
补:我删除metaset的时候是用命令metaset -s dg_ora -C purge
两个node打metaset都没有输出了.

[ 本帖最后由 aerolite007 于 2008-10-14 08:53 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-10-13 13:32 |只看该作者
我只是想删掉scstat -D时输出的dg_ora...谢谢兄弟们

论坛徽章:
0
3 [报告]
发表于 2008-10-13 14:17 |只看该作者
Use the scstat -D command to see if the cluster configuration
includes the disk set. If it does include the disk set, use the -P purge
option. The -P option purges the disk set and updates the CCR. If it
does not include the disk set, use the -C purge option. The -C option
purges the disk set without interacting with the Sun Cluster 3.x framework.

In a Sun Cluster 3.x environment -
If the disk set is in the Cluster Configuration Repository (CCR) (i.e. seen
in the scstat -D output), on each node within the configuration run the
command:

         metaset -s  -P

The node on which the command is run will be removed from the CCR for
that set. On the last node the set will be completely removed from the CCR.

在每个节点上运行metaset -s yourset -P,只有在无suncluster的情况下才使用metaset -s yourset -C purge
希望能起作用。

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
4 [报告]
发表于 2008-10-13 14:47 |只看该作者
我记得先得从cluster中删除,不能直接用metaset -C purge! 否则cluster中会有问题!

论坛徽章:
0
5 [报告]
发表于 2008-10-13 15:06 |只看该作者
如果metaset正常不要则么删,正确的删法应该如下面:
metaclear -s yourset -r d0
metaset -s yourset -d did
metaset -s yourset -d -h hostname

论坛徽章:
0
6 [报告]
发表于 2008-10-13 16:01 |只看该作者
和俺一样,不幸啊

论坛徽章:
0
7 [报告]
发表于 2008-10-13 18:48 |只看该作者
原帖由 syslog 于 2008-10-13 14:17 发表
Use the scstat -D command to see if the cluster configuration
includes the disk set. If it does include the disk set, use the -P purge
option. The -P option purges the disk set and updates th ...

我说过了.这个已经试过了...不行啊..大哥.有没有别的方法?

论坛徽章:
0
8 [报告]
发表于 2008-10-13 18:50 |只看该作者
原帖由 syslog 于 2008-10-13 15:06 发表
如果metaset正常不要则么删,正确的删法应该如下面:
metaclear -s yourset -r d0
metaset -s yourset -d did
metaset -s yourset -d -h hostname



你这是删metaset里的disk和主机...这个早就删了..正常删的..没有问题..

论坛徽章:
0
9 [报告]
发表于 2008-10-13 21:40 |只看该作者
我是没辙呢

正常删除metaset&device group
1.删除metadevice
2.删除did
3.删除metaset,在集群环境中用-P参数(每个节点都要运行一遍),在非集群环境中用-C

如果在非集群环境中用-C删除metaset,我也不知道咋办 我也想知道啊!!!!

论坛徽章:
0
10 [报告]
发表于 2008-10-13 22:08 |只看该作者
原帖由 yuhuohu 于 2008-10-13 21:40 发表
我是没辙呢

正常删除metaset&device group
1.删除metadevice
2.删除did
3.删除metaset,在集群环境中用-P参数(每个节点都要运行一遍),在非集群环境中用-C

如果在非集群环境中用-C删除metaset,我 ...

大哥.你天天上网时间很长嘛...哈哈
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP