免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: shuaigej
打印 上一主题 下一主题

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

论坛徽章:
0
21 [报告]
发表于 2007-08-14 13:39 |只看该作者
真厉害.具体用错密码两机器还能都Offline.我通常弄到的都是Pending offline.你运气算好的了

论坛徽章:
0
22 [报告]
发表于 2007-08-14 13:42 |只看该作者
我重新设了资源,可还是不行啊?还是那个错误~
# ./scswitch -Z -g orareg
scswitch: Resource group orareg failed to start on chosen node and may fail over to other node(s)

论坛徽章:
0
23 [报告]
发表于 2007-08-14 13:50 |只看该作者
那密码到底是system/system还是system/manager呢?

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
24 [报告]
发表于 2007-08-14 13:54 |只看该作者
原帖由 shuaigej 于 2007-8-14 13:50 发表
那密码到底是system/system还是system/manager呢?

把资源组offline掉,手动启动,用system登录一下oracle不就知道了

论坛徽章:
0
25 [报告]
发表于 2007-08-14 14:00 |只看该作者
用system/system见资源成功了!谢谢蜘蛛叔叔,
但自动切换还是不成,请问Quorum devices是做什么用的阿?

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
26 [报告]
发表于 2007-08-14 14:33 |只看该作者
我倒,我刚发贴说了的
http://bbs.chinaunix.net/thread-975927-1-2.html

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
27 [报告]
发表于 2007-08-14 14:34 |只看该作者
怎么个切换不成功啊??

PS:不要在叫我叔叔了,说不定我还没你大呢 叫我蜘蛛就可以了

论坛徽章:
0
28 [报告]
发表于 2007-08-14 16:11 |只看该作者
虽然资源组online了,但是oraser资源提示错误:
我用system/system能建立资源组,可是连不上oracle;用system/manager能连上oracle,但是不能建立资源组~
# ./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 oralistener oradata oraser


-- Resource Groups --

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


-- 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: oralistener         F280-1              Online    Online
  Resource: oralistener         F280-2              Offline   Offline

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

  Resource: oraser              F280-1              Online    Unknown - Monitor stopped due to setup error or custom action.
  Resource: oraser              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

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

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

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
29 [报告]
发表于 2007-08-14 22:45 |只看该作者
原帖由 shuaigej 于 2007-8-14 16:11 发表
虽然资源组online了,但是oraser资源提示错误:
我用system/system能建立资源组,可是连不上oracle;用system/manager能连上oracle,但是不能建立资源组~
# ./scstat
------------------------------------- ...


这个状态应该是基本正常了,是你的oraser的监控没有起来,有可能是system/system的密码有问题,看看oracle的日志吧!

论坛徽章:
0
30 [报告]
发表于 2007-08-14 23:35 |只看该作者
根据以下信息:
"Aug 14 11:46:51 F280-1 Cluster.RGM.rgmd: [ID 443746 daemon.notice] resource oraser state on node F280-1 change to R_START_FAILED"

可以判断资源oraser在启动时有问题,查看目录"/var/opt/SUNWscor"下的日志,就可以找出cluster启动数据库失败的原因。

另外,建议在创建oracle listener和server资源的时候,请将两资源设置为依赖于oradata资源。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP