如何在cluster 3.2中删除不用的metaset(高手请进...)
-- 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 编辑 ] 我只是想删掉scstat -D时输出的dg_ora...谢谢兄弟们 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
希望能起作用。:luya: 我记得先得从cluster中删除,不能直接用metaset -C purge! 否则cluster中会有问题! 如果metaset正常不要则么删,正确的删法应该如下面:
metaclear -s yourset -r d0
metaset -s yourset -d did
metaset -s yourset -d -h hostname 和俺一样,不幸啊:em17: 原帖由 syslog 于 2008-10-13 14:17 发表 http://bbs.chinaunix.net/images/common/back.gif
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 ...
我说过了.这个已经试过了...不行啊..大哥.有没有别的方法? 原帖由 syslog 于 2008-10-13 15:06 发表 http://bbs.chinaunix.net/images/common/back.gif
如果metaset正常不要则么删,正确的删法应该如下面:
metaclear -s yourset -r d0
metaset -s yourset -d did
metaset -s yourset -d -h hostname
你这是删metaset里的disk和主机...这个早就删了..正常删的..没有问题.. 我是没辙呢
正常删除metaset&device group
1.删除metadevice
2.删除did
3.删除metaset,在集群环境中用-P参数(每个节点都要运行一遍),在非集群环境中用-C
如果在非集群环境中用-C删除metaset,我也不知道咋办 我也想知道啊!!!!:em16: :em16: :em16: 原帖由 yuhuohu 于 2008-10-13 21:40 发表 http://bbs.chinaunix.net/images/common/back.gif
我是没辙呢
正常删除metaset&device group
1.删除metadevice
2.删除did
3.删除metaset,在集群环境中用-P参数(每个节点都要运行一遍),在非集群环境中用-C
如果在非集群环境中用-C删除metaset,我 ...
大哥.你天天上网时间很长嘛...哈哈