- 论坛徽章:
- 0
|
os版本是53-05-csp ha的版本是5.3 ,以及打上最新的fix,由于是测试,用sevice-ip做为资源组,下面是一些拓扑和配置信息
# ./clilsif -S
ZHQZA_boot boot net_ether_01 ether public ZHQZ_A 192.1.2.93 en0 255.255.255.0
ZHQZA_stdy boot net_ether_01 ether public ZHQZ_A 192.1.1.93 en2 255.255.255.0
ZHQZ_service service net_ether_01 ether public ZHQZ_A 130.1.1.93 255.255.255.0
ZHQZAtty0 service net_rs232_01 rs232 serial ZHQZ_A /dev/tty0
ZHQZB_boot boot net_ether_01 ether public ZHQZ_B 192.1.2.91 en0 255.255.255.0
ZHQZB_stdy boot net_ether_01 ether public ZHQZ_B 192.1.1.91 en2 255.255.255.0
ZHQZ_service service net_ether_01 ether public ZHQZ_B 130.1.1.93 255.255.255.0
ZHQZBtty0 service net_rs232_01 rs232 serial ZHQZ_B /dev/tty0
# ./cllscf
Cluster Name: zhqzcluster
Cluster Connection Authentication Mode: Standard
Cluster Message Authentication Mode: None
Cluster Message Encryption: None
Use Persistent Labels for Communication: No
There were 2 networks defined : net_ether_01, net_rs232_01
There are 2 nodes in this cluster.
NODE ZHQZ_A:
This node has 2 service IP label(s):
Service IP Label ZHQZ_service:
IP address: 130.1.1.93
Hardware Address:
Network: net_ether_01
Attribute: public
Aliased Address?: Enable
Service IP Label ZHQZ_service has 2 communication interfaces.
(Alternate Service) Communication Interface 1: ZHQZA_boot
IP address: 192.1.2.93
Network: net_ether_01
Attribute: public
Alias address for heartbeat:
(Alternate Service) Communication Interface 2: ZHQZA_stdy
IP address: 192.1.1.93
Network: net_ether_01
Attribute: public
Alias address for heartbeat:
Service IP Label ZHQZ_service has no communication interfaces for recovery.
Service IP Label ZHQZAtty0:
IP address: /dev/tty0
Hardware Address:
Network: net_rs232_01
Attribute: serial
Aliased Address?: Disable
Service IP Label ZHQZAtty0 has no communication interfaces.
Service IP Label ZHQZAtty0 has no communication interfaces for recovery.
NODE ZHQZ_B:
This node has 2 service IP label(s):
Service IP Label ZHQZ_service:
IP address: 130.1.1.93
Hardware Address:
Network: net_ether_01
Attribute: public
Aliased Address?: Enable
Service IP Label ZHQZ_service has 2 communication interfaces.
(Alternate Service) Communication Interface 1: ZHQZB_boot
IP address: 192.1.2.91
Network: net_ether_01
Attribute: public
Alias address for heartbeat:
(Alternate Service) Communication Interface 2: ZHQZB_stdy
IP address: 192.1.1.91
Network: net_ether_01
Attribute: public
Alias address for heartbeat:
Service IP Label ZHQZ_service has no communication interfaces for recovery.
Service IP Label ZHQZBtty0:
IP address: /dev/tty0
Hardware Address:
Network: net_rs232_01
Attribute: serial
Aliased Address?: Disable
Service IP Label ZHQZBtty0 has no communication interfaces.
Service IP Label ZHQZBtty0 has no communication interfaces for recovery.
Breakdown of network connections:
Connections to network net_ether_01
Node ZHQZ_A is connected to network net_ether_01 by these interfaces:
ZHQZA_boot
ZHQZA_stdy
ZHQZ_service
Node ZHQZ_B is connected to network net_ether_01 by these interfaces:
ZHQZB_boot
ZHQZB_stdy
ZHQZ_service
Connections to network net_rs232_01
Node ZHQZ_A is connected to network net_rs232_01 by these interfaces:
ZHQZAtty0
Node ZHQZ_B is connected to network net_rs232_01 by these interfaces:
ZHQZBtty0
lssrc -ls topsvcs
Subsystem Group PID Status
topsvcs topsvcs 323822 active
Network Name Indx Defd Mbrs St Adapter ID Group ID
net_ether_01_0 [ 0] 2 1 S 192.1.2.91 192.1.2.91
net_ether_01_0 [ 0] en0 0x47fdc011 0x47fdc025
HB Interval = 2.000 secs. Sensitivity = 12 missed beats
Missed HBs: Total: 12 Current group: 0
Packets sent : 377 ICMP 11 Errors: 0 No mbuf: 0
Packets received: 498 ICMP 53 Dropped: 0
NIM's PID: 327848
net_ether_01_1 [ 1] 2 0 D 192.1.1.91
net_ether_01_1 [ 1] en2
HB Interval = 2.000 secs. Sensitivity = 12 missed beats
Missed HBs: Total: 12 Current group: 12
Packets sent : 291 ICMP 11 Errors: 0 No mbuf: 0
Packets received: 486 ICMP 53 Dropped: 0
NIM's PID: 323904
rs232_0 [ 2] 2 0 D 255.255.0.1
rs232_0 [ 2] tty0
HB Interval = 2.000 secs. Sensitivity = 5 missed beats
Missed HBs: Total: 5 Current group: 0
Packets sent : 803 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 365 ICMP 0 Dropped: 0
NIM's PID: 299346
2 locally connected Clients with PIDs:
haemd(389516) hagsd(393352)
Dead Man Switch Enabled:
reset interval = 1 seconds
trip interval = 48 seconds
Configuration Instance = 7
Daemon employs no security
Segments pinned: Text Data.
Text segment size: 784 KB. Static data segment size: 1526 KB.
Dynamic data segment size: 3841. Number of outstanding malloc: 175
User time 0 sec. System time 0 sec.
Number of page faults: 0. Process swapped out 0 times.
Number of nodes up: 1. Number of nodes down: 1.
Nodes up : 2
# ./cllsnode
NODE ZHQZ_A:
Interfaces to network net_ether_01
Communication Interface: Name ZHQZA_boot, Attribute public, IP address 192.1.2.93
Communication Interface: Name ZHQZA_stdy, Attribute public, IP address 192.1.1.93
Communication Interface: Name ZHQZ_service, Attribute public, IP address 130.1.1.93
Interfaces to network net_rs232_01
Communication Interface: Name ZHQZAtty0, Attribute serial, IP address /dev/tty0
NODE ZHQZ_B:
Interfaces to network net_ether_01
Communication Interface: Name ZHQZB_boot, Attribute public, IP address 192.1.2.91
Communication Interface: Name ZHQZB_stdy, Attribute public, IP address 192.1.1.91
Communication Interface: Name ZHQZ_service, Attribute public, IP address 130.1.1.93
Interfaces to network net_rs232_01
Communication Interface: Name ZHQZBtty0, Attribute serial, IP address /dev/tty0
# ./cllsres
FORCED_VARYON="false"
FSCHECK_TOOL="fsck"
FS_BEFORE_IPADDR="false"
RECOVERY_METHOD="sequential"
SERVICE_LABEL="ZHQZ_service"
SSA_DISK_FENCING="false"
VG_AUTO_IMPORT="false"
资源组是默认的cascading资源组,碰到的问题是两块网卡全部down下去,资源不漂移,另外一台机器不接管,用halt -q关去一台机器,另外一台机器不接管,用errpt查看有topsvcs grpsvcs haemd报错,用ps -ef |grep cluster 查看进程,发现有haemd和harmd的进程. |
|