求助怎么删除sun cluster中的offline device group?
root@suntest02 # scstat
------------------------------------------------------------------
-- Cluster Nodes --
Node name Status
--------- ------
Cluster node: suntest01 Online
Cluster node: suntest02 Online
------------------------------------------------------------------
-- Cluster Transport Paths --
Endpoint Endpoint Status
-------- -------- ------
Transport path: suntest01:bge2 suntest02:bge2 Path online
Transport path: suntest01:bge1 suntest02:bge1 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: suntest01 1 1 Online
Node votes: suntest02 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: /dev/did/rdsk/d3s2 1 1 Online
------------------------------------------------------------------
-- Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
Device group servers: test-dg-01 - -
Device group servers: test-dg-02 - -
Device group servers: test-dg-03 - -
-- Device Group Status --
Device Group Status
------------ ------
Device group status: test-dg-01 Offline
Device group status: test-dg-02 Offline
Device group status: test-dg-03 Offline
-- Multi-owner Device Groups --
Device Group Online Status
------------ -------------
------------------------------------------------------------------
-- Resource Groups and Resources --
Group Name Resources
---------- ---------
Resources: sybase-rg serverip
-- Resource Groups --
Group Name Node Name State
---------- --------- -----
Group: sybase-rg suntest02 Online
Group: sybase-rg suntest01 Offline
-- Resources --
Resource Name Node Name State Status Message
------------- --------- ----- --------------
Resource: serverip suntest02 Online Online - LogicalHostname online.
Resource: serverip suntest01 Offline Offline
------------------------------------------------------------------
-- IPMP Groups --
Node Name Group Status Adapter Status
--------- ----- ------ ------- ------
IPMP Group: suntest01 sc_ipmp0 Online bge0 Online
IPMP Group: suntest02 sc_ipmp0 Online bge0 Online
------------------------------------------------------------------
root@suntest02 #
磁阵已经被全部格式化掉了,磁盘组找不到磁盘了,所以offline
metaset -s test-dg-01 -d -h suntest01 suntest02都不行
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
# scconf -r -D name=device-group-name 不可以吗?
Document Audience: SPECTRUM
Document ID: 48682
Title: Sun[TM] Cluster 3.X: The scstat -D Command Shows a Diskset That No Longer Exists
Copyright Notice: Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved
Update Date: Tue Mar 07 00:00:00 MST 2006
Products: Sun Cluster 3.0, Sun Cluster 3.1
Technical Areas: Clustering
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Keyword(s):sun cluster 3.x, device, dcs, metaset, purge
Problem Statement Top
In a Sun[TM] Cluster 3.X configuration with Solaris[TM] Volume Manager, the customer deletes a diskset. Output from the metaset command shows that the diskset does not exist, but output from the scstat -D command shows that the cluster still has information about the diskset.
Resolution Top
If you have Sun Cluster 3.1 or you have Sun Cluster 3.0 with the Sun Cluster Diagnostic Toolkit installed, execute the following:
# /usr/cluster/dtk/bin/dcs_config -c remove -s <metaset name>
Alternatively, if the customer does not have Sun Cluster 3.1 and is unwilling to use the diagnostic tookit, you can use execute the following :
for solaris 8 : install (in not already present) SDS 4.2.1 patch 108693-24 or newer
for solaris 9 : install (in not already present) SVM patch 113994-12 or newer
follow the patch README install instructions.
then :
on each node within the configuration run the command:
# metaset -s <setname> -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.
-P 好像是在cluster中的信息是删除不掉的。
metaset -s <setname> -P
在非cluster状态下建立一下同名的metaset磁盘组,起动cluster进行删除
# metaset -s setname -d -f -h nodelist
scconf -r -D test-dg-01 试试先
教你个绝招,去CCR里面删{:3_186:}