免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2080 | 回复: 10

cluster 2.2. 节点重起后。无法加入 [复制链接]

论坛徽章:
0
发表于 2005-11-22 14:17 |显示全部楼层
cluster 2.2 + oracle 805

oracle 在node1上边。node1重起后。oracle 发生切换 .

node1起动后。无法加入cluster中

root@node1 # scadmin startnode
Assuming a default cluster name of aaa
Starting Sun Cluster software - joining the aaa cluster
scadmin: errors encountered.




more /var/adm/messages
Nov 22 14:17:16 node1 ID[SUNWcluster.pnm.pnmd.2005]: pnmd daemon is shutting down
Nov 22 14:17:16 node1 ID[SUNWcluster.sma.smad.1102]: smad: Cluster 'aaa' monitoring
Nov 22 14:17:18 node1 ID[SUNWcluster.pnm.pnmd.2001]: initial: Bk_gp (nafo0) using primary adp (hme0)
Nov 22 14:17:18 node1 ID[SUNWcluster.pnm.pnmd.2002]: initial: Bk_gp (nafo0) Status (OK); Adp (hme0) Status (OK)
Nov 22 14:17:18 node1 ID[SUNWcluster.reconf.ccd.1701]: aaa aborting ccdd.
Nov 22 14:17:18 node1 ID[SUNWcluster.reconf.ccd.1702]: aaa aborting ccdd completed.
Nov 22 14:17:19 node1 ID[SUNWcluster.sma.smad.1105]: smad: Cluster 'aaa' no longer running
Nov 22 14:17:19 node1 ID[SUNWcluster.reconf.1201]: Reconfiguration step abort completed
Nov 22 14:17:20 node1 ID[SUNWcluster.clustd.transition.4010]: cluster aborted on this node (node1)


同志帮忙呀!

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
发表于 2005-11-22 14:28 |显示全部楼层
把node2的/etc/opt/SUNWcluster/conf目录用tar命令备份一下,然后ftp到node1上,然后把node1的/etc/opt/SUNWcluster/conf目录也用tar命令备份一下,再用node2上传过来的的conf目录覆盖node1的conf目录,切记做好备份!
# cd /etc/opt/SUNWcluster     这个目录一下只有conf目录
# tar cvf - . > ./node2conf.tar

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
发表于 2005-11-22 14:31 |显示全部楼层
信息太少,这个方法不到万不得以不要用!能不能多贴一些信息出来看看!
# hastat
# vxdisk list
# vxprint -ht
# dmesg

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
发表于 2005-11-22 15:11 |显示全部楼层
lz呢??

论坛徽章:
0
发表于 2005-11-22 22:26 |显示全部楼层
我己经把ccd.database 从另一台机子copy 过了。可是现还不行

现在的情况是两边单独scadmin startcluster都可以。但是scadmin statnode不能加入

Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <QUANTUM-ATLAS_V_36_SCA-QL6B cyl 20821 alt 2 hd 8 sec 427>
          /pci@1f,4000/scsi@3/sd@0,0
       1. c0t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,4000/scsi@3/sd@3,0
       2. c1t8d0 <drive not available: reserved>
          /pci@1f,2000/scsi@1,1/sd@8,0
       3. c1t9d0 <drive not available: reserved>
          /pci@1f,2000/scsi@1,1/sd@9,0


c1t8d0和c1t9d0为共享磁盘。

root@node1 # hastat
Getting Information from all the nodes ......
              HIGH AVAILABILITY CONFIGURATION AND STATUS
              -------------------------------------------

LIST OF NODES CONFIGURED IN <aaa> CLUSTER
      node1 node2

CURRENT MEMBERS OF THE CLUSTER

     node1 not a cluster member

     node2 is a cluster member

CONFIGURATION STATE OF THE CLUSTER

     Configuration State on node1 : Down

     Configuration State on node2: Stable

UPTIME OF NODES IN THE CLUSTER

     uptime of node1:         10:27pm  up 10:29,  2 users,  load average: 0.02, 0.01, 0.01

     uptime of node2:         10:27pm  up 2 day(s),  6:52,  2 users,  load average: 0.04, 0.04, 0.05

LOGICAL HOSTS MASTERED BY THE CLUSTER MEMBERS

     node1 is not a cluster member

Logical Hosts Mastered on node2:
        ora-server
Logical Hosts for which node2 is Backup Node:
        None

LOGICAL HOSTS IN MAINTENANCE STATE

     None

STATUS OF PRIVATE NETS IN THE CLUSTER

     Status of Interconnects on node1:
        interconnect0: unknown
        interconnect1: unknown
     Status of private nets on node1:
        To node1 - Down
        To node2 - Down

     Status of Interconnects on node2:
        interconnect0: selected
        interconnect1: up
     Status of private nets on node2:
        To node1 - Down
        To node2 - UP

STATUS OF PUBLIC NETS IN THE CLUSTER

Status of Public Network On node1:

     Public Net Monitoring Not running on node1

Status of Public Network On node2:

bkggrp  r_adp   status  fo_time live_adp
nafo0   hme0    OK      NEVER   hme0

STATUS OF DATA SERVICES RUNNING IN THE CLUSTER

Status Of Registered Data Services

       Unable to determine status because this node is not a cluster member.

Status Of Data Services Running On node1
       No Data Services are running

Status Of Data Services Running On node2
       Data Service "oracle":
       Database Status on node2:
        oracle8 - running;


RECENT  ERROR MESSAGES FROM THE CLUSTER

Recent Error Messages on node1

Nov 22 14:17:18 node1 ID[SUNWcluster.pnm.pnmd.2002]: initial: Bk_gp (nafo0) Status (OK); Adp (hme0) Status (OK)
Nov 22 14:17:18 node1 ID[SUNWcluster.reconf.ccd.1701]: aaa aborting ccdd.
Nov 22 14:17:18 node1 ID[SUNWcluster.reconf.ccd.1702]: aaa aborting ccdd completed.
Nov 22 14:17:19 node1 ID[SUNWcluster.sma.smad.1105]: smad: Cluster 'aaa' no longer running
Nov 22 14:17:19 node1 ID[SUNWcluster.reconf.1201]: Reconfiguration step abort completed
Nov 22 14:17:20 node1 ID[SUNWcluster.clustd.transition.4010]: cluster aborted on this node (node1)
Nov 22 22:26:06 node1 unix:     Vendor 'SEAGATE', product 'ST318203LSUN18G', (unknown capacity)

Recent Error Messages on node2

Nov 22 14:17:33 node2 ID[SUNWcluster.reconf.1201]: Reconfiguration Step 11 completed
Nov 22 14:17:33 node2 ID[SUNWcluster.reconf.1200]: Reconfiguration Step 12 started
Nov 22 14:17:35 node2 ID[SUNWcluster.reconf.1201]: Reconfiguration Step 12 completed
Nov 22 14:17:35 node2 ID[SUNWcluster.clustd.1930]: aaa node 0 (node1) is not a cluster member
Nov 22 14:17:35 node2 ID[SUNWcluster.clustd.1920]: aaa node 1 (node2) is a cluster member
Nov 22 14:17:35 node2 ID[SUNWcluster.clustd.1940]: aaa cluster reconf #5 finished
Nov 22 14:17:35 node2 netfmd[24376]: Starting up

论坛徽章:
0
发表于 2005-11-22 22:29 |显示全部楼层
谢谢东方兄
rcp -r conf node1:/etc/opt/SUNWcluster
成功了

不过我原来,己经把node1 的ccd.database用node2的ccd.database覆盖了。为什么不行呢

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
发表于 2005-11-22 23:09 |显示全部楼层
CCD要考就全部考,小声告诉你两个节点的必须全部是一模一样的!

论坛徽章:
0
发表于 2005-11-23 09:15 |显示全部楼层
个人认为cluster。2.2 做的比较烂

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
发表于 2005-11-23 12:58 |显示全部楼层
那你还用?

论坛徽章:
0
发表于 2005-11-23 13:03 |显示全部楼层
原帖由 lyh003473 于 2005-11-23 09:15 发表
个人认为cluster。2.2 做的比较烂


用现在的眼光来看N年前的东西,当然看什么都不顺眼啦!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP