免费注册 查看新帖 |

Chinaunix

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

求助怎么删除sun cluster中的offline device group? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-05 09:35 |只看该作者 |倒序浏览
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都不行

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
2 [报告]
发表于 2010-05-05 10:46 |只看该作者
教你个绝招,去CCR里面删{:3_186:}

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
3 [报告]
发表于 2010-05-05 10:50 |只看该作者
scconf -r -D test-dg-01 试试先

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
4 [报告]
发表于 2010-05-05 10:53 |只看该作者
# metaset -s setname -d -f -h nodelist

论坛徽章:
0
5 [报告]
发表于 2010-05-05 14:14 |只看该作者
在非cluster状态下建立一下同名的metaset磁盘组,起动cluster进行删除

论坛徽章:
1
技术图书徽章
日期:2014-04-24 15:56:22
6 [报告]
发表于 2010-05-05 18:04 |只看该作者
metaset -s <setname> -P

论坛徽章:
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
7 [报告]
发表于 2010-05-05 22:35 |只看该作者
metaset -s  -P
沙中有金 发表于 2010-05-05 18:04



-P 好像是在cluster中的信息是删除不掉的。

论坛徽章:
1
技术图书徽章
日期:2014-04-24 15:56:22
8 [报告]
发表于 2010-05-06 19:35 |只看该作者
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 &copy; 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.

论坛徽章:
0
9 [报告]
发表于 2010-05-06 21:11 |只看该作者
# scconf -r -D name=device-group-name   不可以吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP