免费注册 查看新帖 |

Chinaunix

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

cluster的Pending online问题,即资源组错误,问题已解决~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-14 10:25 |只看该作者 |倒序浏览
我资源组一启动就报Pending online,然后过半天就offline了,请大家帮忙了~
如:

# scswitch -Z -g orareg
scswitch: Resource group orareg failed to start on chosen node and may fail over to other node(s)

[ 本帖最后由 shuaigej 于 2007-8-15 14:16 编辑 ]

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
2 [报告]
发表于 2007-08-14 10:27 |只看该作者
信息不全,怎么这么惜墨如金那!就不能把scstat全贴出来

只看资源组怎么可能知道是由于哪个资源引起的呢?最好把你启动资源组到资源组offline的时候的messages抓下来!

论坛徽章:
0
3 [报告]
发表于 2007-08-14 10:29 |只看该作者
# scswitch -Z -g orareg
scswitch: Resource group orareg failed to start on chosen node and may fail over to other node(s)

# ./scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     F280-1              Online
  Cluster node:     F280-2              Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint               Endpoint               Status
                    --------               --------               ------
  Transport path:   F280-1:hme1            F280-2:hme1            Path online
  Transport path:   F280-1:hme0            F280-2:hme0            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:       F280-1              1        1       Online
  Node votes:       F280-2              1        1       Online


-- Quorum Votes by Device --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d2s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  oraset              F280-1              F280-2


-- Device Group Status --

                              Device Group        Status              
                              ------------        ------              
  Device group status:        oraset              Online


-- Multi-owner Device Groups --

                              Device Group        Online Status
                              ------------        -------------

------------------------------------------------------------------

-- Resource Groups and Resources --

            Group Name          Resources
            ----------          ---------
Resources: orareg              oracle oradata oraser oralistener
Resources: orarg               -


-- Resource Groups --

            Group Name          Node Name           State
            ----------          ---------           -----
     Group: orareg              F280-1              Offline
     Group: orareg              F280-2              Offline

     Group: orarg               F280-1              Unmanaged
     Group: orarg               F280-2              Unmanaged


-- Resources --

            Resource Name       Node Name           State     Status Message
            -------------       ---------           -----     --------------
  Resource: oracle              F280-1              Offline   Offline - LogicalHostname offline.
  Resource: oracle              F280-2              Offline   Offline - LogicalHostname offline.

  Resource: oradata             F280-1              Offline   Offline
  Resource: oradata             F280-2              Offline   Offline

  Resource: oraser              F280-1              Offline   Offline
  Resource: oraser              F280-2              Offline   Offline

  Resource: oralistener         F280-1              Offline   Offline
  Resource: oralistener         F280-2              Offline   Offline

------------------------------------------------------------------

-- IPMP Groups --

              Node Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------
  IPMP Group: F280-1              xxml    Online         ge0       Offline
  IPMP Group: F280-1              xxml    Online         eri0      Online

  IPMP Group: F280-2              xxml    Online         hme2      Offline
  IPMP Group: F280-2              xxml    Online         eri0      Online

------------------------------------------------------------------

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
4 [报告]
发表于 2007-08-14 10:33 |只看该作者
倒,把orareg拉一下,在另外开一个窗口用tail -f /var/adm/messages监控日志变化情况直到又回到offline,然后贴上来!

论坛徽章:
0
5 [报告]
发表于 2007-08-14 10:39 |只看该作者
Aug 14 10:37:36 F280-1 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource oralistener status msg on node F280-1 change to <Stopping>
Aug 14 10:37:37 F280-1 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource oralistener status msg on node F280-1 change to <>
Aug 14 10:37:37 F280-1 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource oralistener status on node F280-1 change to R_FM_OFFLINE
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <bin/oracle_listener_stop> completed successfully for resource <oralistener>, resource group <orareg>, time used: 1% of timeout <300 seconds>
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource oralistener state on node F280-1 change to R_OFFLINE
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource oracle state on node F280-1 change to R_STOPPING
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hafoip_stop> for resource <oracle>, resource group <orareg>, timeout <300> seconds
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource oracle status on node F280-1 change to R_FM_UNKNOWN
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource oracle status msg on node F280-1 change to <Stopping>
Aug 14 10:37:40 F280-1 ip: [ID 989783 kern.notice] TCP_IOC_ABORT_CONN: local = 211.071.036.050:0, remote = 000.000.000.000:0, start = -2, end = 6
Aug 14 10:37:40 F280-1 ip: [ID 440816 kern.notice] TCP_IOC_ABORT_CONN: aborted 0 connection
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource oracle status on node F280-1 change to R_FM_OFFLINE
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource oracle status msg on node F280-1 change to <LogicalHostname offline.>
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hafoip_stop> completed successfully for resource <oracle>, resource group <orareg>, time used: 0% of timeout <300 seconds>
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource oracle state on node F280-1 change to R_OFFLINE
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource oradata state on node F280-1 change to R_POSTNET_STOPPING
Aug 14 10:37:40 F280-1 Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hastorageplus_postnet_stop> for resource <oradata>, resource group <orareg>, timeout <1800> seconds
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hastorageplus_postnet_stop> completed successfully for resource <oradata>, resource group <orareg>, time used: 0% of timeout <1800 seconds>
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource oradata state on node F280-1 change to R_OFFLINE
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource oradata status on node F280-1 change to R_FM_OFFLINE
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource oradata status msg on node F280-1 change to <>
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 529407 daemon.notice] resource group orareg state on node F280-1 change to RG_OFFLINE_START_FAILED
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 529407 daemon.notice] resource group orareg state on node F280-1 change to RG_OFFLINE
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 447451 daemon.error] Not attempting to start resource group <orareg> on node <F280-1> because this resource group has already failed to start on this node 2 or more times in the past 3600 seconds
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 447451 daemon.error] Not attempting to start resource group <orareg> on node <F280-2> because this resource group has already failed to start on this node 2 or more times in the past 3600 seconds
Aug 14 10:37:41 F280-1 Cluster.RGM.rgmd: [ID 674214 daemon.notice] rebalance: no primary node is currently found for resource group <orareg>.

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
6 [报告]
发表于 2007-08-14 10:43 |只看该作者
倒,把orareg拉一下,在另外开一个窗口用tail -f /var/adm/messages监控日志变化情况直到又回到offline,然后贴上来!

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
7 [报告]
发表于 2007-08-14 10:46 |只看该作者
1.有没有看oracle的日志?
2.在两个节点手动启动oracle能启动吗?连接客户端有没有问题?
3.在orareg启动的时候有没有用scstat -g监控是在哪个资源哪里有问题?

lz能不能一次行把问题描述的清楚一下啊,是你在问问题还是在我问问题啊!累死我鸟

论坛徽章:
0
8 [报告]
发表于 2007-08-14 10:46 |只看该作者
蜘蛛叔叔,我贴了阿~
# ./scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     F280-1              Online
  Cluster node:     F280-2              Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint               Endpoint               Status
                    --------               --------               ------
  Transport path:   F280-1:hme1            F280-2:hme1            Path online
  Transport path:   F280-1:hme0            F280-2:hme0            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:       F280-1              1        1       Online
  Node votes:       F280-2              1        1       Online


-- Quorum Votes by Device --

                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d2s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------
  Device group servers:  oraset              F280-1              F280-2


-- Device Group Status --

                              Device Group        Status              
                              ------------        ------              
  Device group status:        oraset              Online


-- Multi-owner Device Groups --

                              Device Group        Online Status
                              ------------        -------------

------------------------------------------------------------------

-- Resource Groups and Resources --

            Group Name          Resources
            ----------          ---------
Resources: orareg              oracle oradata oraser oralistener
Resources: orarg               -


-- Resource Groups --

            Group Name          Node Name           State
            ----------          ---------           -----
     Group: orareg              F280-1              Pending online
     Group: orareg              F280-2              Offline


     Group: orarg               F280-1              Unmanaged
     Group: orarg               F280-2              Unmanaged


-- Resources --

            Resource Name       Node Name           State     Status Message
            -------------       ---------           -----     --------------
  Resource: oracle              F280-1              Online    Online - LogicalHostname online.
  Resource: oracle              F280-2              Offline   Offline - LogicalHostname offline.

  Resource: oradata             F280-1              Online    Online
  Resource: oradata             F280-2              Offline   Offline

  Resource: oraser              F280-1              Starting  Unknown
  Resource: oraser              F280-2              Offline   Offline

  Resource: oralistener         F280-1              Starting  Unknown
  Resource: oralistener         F280-2              Offline   Offline

  
------------------------------------------------------------------

-- IPMP Groups --

              Node Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------
  IPMP Group: F280-1              xxml    Online         ge0       Offline
  IPMP Group: F280-1              xxml    Online         eri0      Online

  IPMP Group: F280-2              xxml    Online         hme2      Offline
  IPMP Group: F280-2              xxml    Online         eri0      Online

------------------------------------------------------------------

论坛徽章:
0
9 [报告]
发表于 2007-08-14 10:48 |只看该作者
对不起蜘蛛叔叔,
在两个节点能手动启动oracle,连接客户端也没问题
我又在上面贴了scstat的内容了~
几个资源都能启动~上面的是它还没运行完我就截图了~

[ 本帖最后由 shuaigej 于 2007-8-14 10:50 编辑 ]

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
10 [报告]
发表于 2007-08-14 11:05 |只看该作者
1.oralistener 这个能不能online?
2.oraser 能不能起来?
这个就是我让你用scstat -g不断看的原因,首先先定位到底是哪个起不来?你给我的我只看到前面两个是正常的!

3.把这两个资源删掉,再反过来注册一下试试,我习惯先注册oralistener

PS:我有很老吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP