首页 > 应用开发 > IT综合 > SUN E6500双机hang住处理
因为IOS升级的需要,9月23号零晨2:00重启了两台CISCO4006核心交换机,导致一套SMP业务双机(SUN E6500 +A35300FC+Solaris8+SC2.2)系统挂住。
SMP两台主机均网络不正常,无法ping通网络,用串口线连接到主机串口上,在OK状态下执行go后没有反应,即系统已经hang住。
因重启了两台CISCO4006核心交换机,导致网络中断,以致双机系统挂住。
1、 用串口登录,重启两台主机;
2、 系统正常启动后检查系统状态是否正常;
3、 按以下方法启动双机的主备机:
1)、查看当前双机状态:
Smp1#hastat
2)、启动双机的主机:
Smp1#scadmin startcluster smp smpcluster #scadmin startcluster localnodename clustname
3)、检查是否已经启动
Smp1#hastat
4)、启动双机的备机:
Smp2#scadmin startnode
5)、检查双机是否启动正常:
Smp1#hastat
Getting Information from all the nodes ......
HIGH AVAILABILITY CONFIGURATION AND STATUS
-------------------------------------------
LIST OF NODES CONFIGURED IN
smp1 smp2
CURRENT MEMBERS OF THE CLUSTER
smp1 is a cluster member
smp2 is a cluster member
CONFIGURATION STATE OF THE CLUSTER
Configuration State on smp1: Stable
Configuration State on smp2: Stable
UPTIME OF NODES IN THE CLUSTER
uptime of smp1: 4:49pm up 85 day(s), 23:41, 13 users, load average: 1.59, 1.59, 1.58
uptime of smp2: 4:49pm up 463 day(s), 1:35, 1 user, load average: 1.43, 1.40, 1.41
LOGICAL HOSTS MASTERED BY THE CLUSTER MEMBERS
Logical Hosts Mastered on smp1:
smp
Logical Hosts for which smp1 is Backup Node:
None
Logical Hosts Mastered on smp2:
None
Logical Hosts for which smp2 is Backup Node:
smp
LOGICAL HOSTS IN MAINTENANCE STATE
None
STATUS OF PRIVATE NETS IN THE CLUSTER
Status of Interconnects on smp1:
interconnect0: selected
interconnect1: up
Status of private nets on smp1:
To smp1 - UP
To smp2 - UP
Status of Interconnects on smp2:
interconnect0: selected
interconnect1: up
Status of private nets on smp2:
To smp1 - UP
To smp2 - UP
STATUS OF PUBLIC NETS IN THE CLUSTER
Status of Public Network On smp1:
bkggrp r_adp status fo_time live_adp
nafo0 hme0:hme3 OK NEVER hme0
Status of Public Network On smp2:
bkggrp r_adp status fo_time live_adp
nafo0 hme0:hme3 OK NEVER hme0
STATUS OF DATA SERVICES RUNNING IN THE CLUSTER
Status Of Registered Data Services
iinsmp: On
Status Of Data Services Running On smp1
No Status Method for Data Service "iinsmp"
Status Of Data Services Running On smp2
Data Service "iinsmp":
Not being managed on this system
RECENT ERROR MESSAGES FROM THE CLUSTER
Recent Error Messages on smp1
Aug 14 17:57:29 smp1 snmpXdmid: Error in parsing packet from agent.
Aug 14 17:59:28 smp1 snmpdx: agent 1.3.6.1.4.1.42 not responding
Aug 15 09:03:44 smp1 su: 'su root' failed for ruser on /dev/pts/6
Aug 15 09:03:54 smp1 last message repeated 1 time
Aug 15 11:45:05 smp1 su: 'su root' failed for ruser on /dev/pts/9
Aug 15 12:07:40 smp1 automountd[482]: No network locking on 192.19.3.6 : contact admin to install server change
Aug 15 16:48:17 smp1 su: 'su root' failed for ruser on /dev/pts/6
Recent Error Messages on smp2
Aug 14 17:44:10 smp2 snmpdx: session_send_loopback_request() failed
Aug 14 17:44:12 smp2 snmpdx: error while receiving a pdu from 136.100.168.119.2481: The message has a wrong version (1)
Aug 14 17:44:24 smp2 last message repeated 4 times
Aug 14 17:59:10 smp2 snmpdx: agent relay-agent not responding
Aug 14 17:59:10 smp2 snmpXdmid: Error in parsing packet from agent.
Aug 14 18:01:10 smp2 snmpdx: agent 1.3.6.1.4.1.42 not responding
Aug 15 10:46:19 smp2 login: REPEATED LOGIN FAILURES ON /dev/pts/0 FROM smp1
建议:重启交换机时一定要进行风险评估,确保不会对主机系统有影响。
总结:因为智能网的SUN设备双机用的是SC2.2与小灵通的SC3.0差别较大,需要掌握双机常用操作:
root@smp12 # scadmin
Missing required parameter
Usage:
scadmin [-a] [-f] startcluster localnodename clustname
scadmin [-a] [-f] startnode [clustname]
scadmin [-a] stopnode [clustname]
scadmin abortpartition localnodename clustname
scadmin continuepartition localnodename clustname
scadmin reldisks [clustname]
scadmin resdisks [clustname]
scadmin reserve cXtYdZ
scadmin switch clustname [-m] logical-hosts ...
scadmin switch clustname dest-host logical-hosts ...
scadmin switch clustname -r
例如:
启主机:
Smp11# scadmin startcluster smp smpcluster #在主机上执行
启备机:
Smp12#scadmin startnode #在备机上执行
切换双机:
Smp11# scadmin switch smp12 smpwork #从smp11切换到smp12上
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9479798/viewspace-1040838/ ,如需转载,请注明出处,否则将追究法律责任。