免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-13 13:31 |只看该作者 |倒序浏览
-- Device Group Servers --\r\n\r\n                         Device Group        Primary             Secondary\r\n                         ------------        -------             ---------\r\n  Device group servers:  rmt/1               -                   -\r\n  Device group servers:  rmt/2               -                   -\r\n  Device group servers:  rmt/3               -                   -\r\n  Device group servers:  dg_cc               ismp-sun1           ismp-sun3\r\n  Device group servers:  dg_ora              -                   -\r\n  Device group servers:  dg_ora1             -                   -\r\n\r\n说明.在这两个节点我把metaset都清空了.只是以scstat输出还有  Device group servers:  dg_ora              -                   -这个东东..我想删掉它.如何操作啊?\r\n我试过以下做法:\r\n1.reboot\r\n2.scswitch -F -D dg_ora\r\nscconf -r -D dg_ora\r\n报错.scconf:  Failed to perform remove operation on a device group (dg_ora) - bad suboption(s) given for this device group type.\r\n3.metaset -s dg_ora -P提示没有这个metaset\r\n补:我删除metaset的时候是用命令metaset -s dg_ora -C purge\r\n两个node打metaset都没有输出了.\n\n[ 本帖最后由 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 \r\nincludes the disk set. If it does include the disk set, use the -P purge \r\noption. The -P option purges the disk set and updates the CCR. If it \r\ndoes not include the disk set, use the -C purge option. The -C option \r\npurges the disk set without interacting with the Sun Cluster 3.x framework.\r\n\r\nIn a Sun Cluster 3.x environment -\r\nIf the disk set is in the Cluster Configuration Repository (CCR) (i.e. seen\r\nin the scstat -D output), on each node within the configuration run the\r\ncommand:\r\n\r\n         metaset -s  -P\r\n\r\nThe node on which the command is run will be removed from the CCR for \r\nthat set. On the last node the set will be completely removed from the CCR.\r\n\r\n在每个节点上运行metaset -s yourset -P,只有在无suncluster的情况下才使用metaset -s yourset -C purge\r\n希望能起作用。

论坛徽章:
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正常不要则么删,正确的删法应该如下面:\r\nmetaclear -s yourset -r d0\r\nmetaset -s yourset -d did\r\nmetaset -s yourset -d -h hostname

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

论坛徽章:
0
7 [报告]
发表于 2008-10-13 21:40 |只看该作者
我是没辙呢\r\n\r\n正常删除metaset&device group\r\n1.删除metadevice\r\n2.删除did\r\n3.删除metaset,在集群环境中用-P参数(每个节点都要运行一遍),在非集群环境中用-C\r\n\r\n如果在非集群环境中用-C删除metaset,我也不知道咋办 我也想知道啊!!!!

论坛徽章:
0
8 [报告]
发表于 2008-10-14 10:34 |只看该作者
得找个SUN公司的大婶问问\n\n[ 本帖最后由 FreeWare 于 2008-10-14 11:01 编辑 ]

论坛徽章:
0
9 [报告]
发表于 2008-10-14 17:20 |只看该作者
得了...没办法...搞不定.让我reinstall....我不想啊

论坛徽章:
0
10 [报告]
发表于 2008-10-14 18:23 |只看该作者
算了..再建一个metaset不管它了...哈哈
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP