免费注册 查看新帖 |

Chinaunix

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

cluster.framework 求教 stderr metaset there are no existing database [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-09-26 16:12 |只看该作者 |倒序浏览
Solaris Cluster issue, Log as following:

root@sunha02 # scswitch -z -g oracle-rg -h sunha01  
scswitch: Resource group oracle-rg failed to start on chosen node and may fail over to other node(s)


syslog 如下
Sep 19 14:50:25 sunha01 Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hafoip_prenet_start> for resource <plmmcsg>, resource group <oracle-rg>, timeout <300> seconds
Sep 19 14:50:26 sunha01 Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hafoip_prenet_start> completed successfully for resource <plmmcsg>, resource group <oracle-rg>, time used: 0% of timeout <300 seconds>
Sep 19 14:50:26 sunha01 Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hastorageplus_prenet_start> for resource <oracle-ha>, resource group <oracle-rg>, timeout <1800> seconds
Sep 19 14:50:28 sunha01 Cluster.Framework: [ID 801593 daemon.notice] stdout: becoming primary for plmds
Sep 19 14:50:29 sunha01 Cluster.Framework: [ID 801593 daemon.error] stderr: metaset: sunha01: plmds: there are no existing databases
Sep 19 14:50:29 sunha01 Cluster.Framework: [ID 801593 daemon.error] stderr: metaset: sunha01: plmds: must be owner of the set for this command
Sep 19 14:51:04 sunha01 Cluster.Framework: [ID 801593 daemon.notice] stdout: becoming primary for plmds
Sep 19 14:51:05 sunha01 Cluster.Framework: [ID 801593 daemon.error] stderr: metaset: sunha01: plmds: there are no existing databases
Sep 19 14:51:05 sunha01 Cluster.Framework: [ID 801593 daemon.error] stderr: metaset: sunha01: plmds: must be owner of the set for this command
Sep 19 14:51:08 sunha01 SC[SUNW.HAStoragePlus:2,oracle-rg,oracle-ha,hastorageplus_prenet_start_private]: [ID 500133 daemon.warning] Device switchover of global service plmds associated with path /u02 to this node failed: Node failed to become the primary.
Sep 19 14:51:08 sunha01 SC[SUNW.HAStoragePlus:2,oracle-rg,oracle-ha,hastorageplus_prenet_start_private]: [ID 500133 daemon.warning] Device switchover of global service plmds associated with path /u03 to this node failed: Node failed to become the primary.
Sep 19 14:51:08 sunha01 SC[SUNW.HAStoragePlus:2,oracle-rg,oracle-ha,hastorageplus_prenet_start_private]: [ID 790080 daemon.error] Global service plmds associated with path /u02 is unable to become a primary on node 1.
Sep 19 14:51:08 sunha01 Cluster.RGM.rgmd: [ID 938318 daemon.error] Method <hastorageplus_prenet_start> failed on resource <oracle-ha> in resource group <oracle-rg> [exit code <1>, time used: 2% of timeout <1800 seconds>]
Sep 19 14:51:08 sunha01 Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hastorageplus_stop> for resource <oracle-ha>, resource group <oracle-rg>, timeout <1800> seconds
Sep 19 14:51:08 sunha01 Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hastorageplus_stop> completed successfully for resource <oracle-ha>, resource group <oracle-rg>, time used: 0% of timeout <1800 seconds>
Sep 19 14:51:08 sunha01 Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hafoip_stop> for resource <plmmcsg>, resource group <oracle-rg>, timeout <300> seconds
Sep 19 14:51:08 sunha01 ip: [ID 347787 kern.notice] TCP_IOC_ABORT_CONN: local = 192.168.099.070:0, remote = 000.000.000.000:0, start = -2, end = 6
Sep 19 14:51:08 sunha01 ip: [ID 440816 kern.notice] TCP_IOC_ABORT_CONN: aborted 0 connection
Sep 19 14:51:08 sunha01 Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hafoip_stop> completed successfully for resource <plmmcsg>, resource group <oracle-rg>, time used: 0% of timeout <300 seconds>
Sep 19 14:51:08 sunha01 Cluster.RGM.rgmd: [ID 707948 daemon.notice] launching method <hastorageplus_postnet_stop> for resource <oracle-ha>, resource group <oracle-rg>, timeout <1800> seconds
Sep 19 14:51:09 sunha01 Cluster.RGM.rgmd: [ID 736390 daemon.notice] method <hastorageplus_postnet_stop> completed successfully for resource <oracle-ha>, resource group <oracle-rg>, time used: 0% of timeout <1800 seconds>


求教原因, 请各位大侠赐教

论坛徽章:
0
2 [报告]
发表于 2012-09-26 17:02 |只看该作者
metadb检查本地metadb是否正常
format检查共享硬盘是否正常,如果正常,检查分区表s7是否存在

论坛徽章:
0
3 [报告]
发表于 2012-09-26 17:39 |只看该作者
多谢楼上  

if it maybe caused by bug 6426463?

论坛徽章:
0
4 [报告]
发表于 2012-09-26 20:13 |只看该作者
不好意思,我是菜鸟, 各位大侠 ,发现如下问题,不知如何修复?

节点1 的metadb 比节点2 要少,不知道是否存在问题?
sunha01>#metadb
        flags           first blk       block count
     a m  p  luo        16              8192            /dev/dsk/c0t0d0s7
     a    p  luo        8208            8192            /dev/dsk/c0t0d0s7
     a    p  luo        16400           8192            /dev/dsk/c0t0d0s7
     a    p  luo        16              8192            /dev/dsk/c0t1d0s7
     a    p  luo        8208            8192            /dev/dsk/c0t1d0s7
     a    p  luo        16400           8192            /dev/dsk/c0t1d0s7

root@sunha02 # metadb
        flags           first blk       block count
     a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t0d0s7
     a    p  luo        16              8192            /dev/dsk/c1t1d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t1d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t1d0s7
     a    p  luo        16              8192            /dev/dsk/c1t2d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t2d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t2d0s7
     a    p  luo        16              8192            /dev/dsk/c1t3d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t3d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t3d0s7
     a    p  luo        16              8192            /dev/dsk/c1t4d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t4d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t4d0s7
     a    p  luo        16              8192            /dev/dsk/c1t5d0s7
     a    p  luo        8208            8192            /dev/dsk/c1t5d0s7
     a    p  luo        16400           8192            /dev/dsk/c1t5d0s7
root@sunha02 #

论坛徽章:
0
5 [报告]
发表于 2012-09-26 22:38 |只看该作者
metadb  -d/a
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP