Dans un cluster PowerHA, il peut être utile de suivre l'activité Heartbeat des différents réseaux.
Pour cela, on utilise la commande 'lssrc -ls topsvcs' qui interroge le sous-système associé.
Cela retourne un rapport avec des indications sur les trames manquées( Missed beats)
Un exemple est donné ci-dessous :
# lssrc -ls topsvcs
Subsystem Group PID Status
topsvcs topsvcs 7405582 active
Network Name Indx Defd Mbrs St Adapter ID Group ID
net_ether_01_0 [ 0] 2 2 S 192.186.45.10 192.186.45.138
net_ether_01_0 [ 0] en0 0x43a93330 0x43a93332
HB Interval = 1.000 secs. Sensitivity = 10 missed beats
Missed HBs: Total: 0 Current group: 0
Packets sent : 106551 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 156218 ICMP 0 Dropped: 0
NIM's PID: 16974042
net_ether_adm_ [ 1] 2 2 S 192.186.49.10 192.186.49.138
net_ether_adm_ [ 1] en2 0x43a93331 0x43a93333
HB Interval = 1.000 secs. Sensitivity = 10 missed beats
Missed HBs: Total: 0 Current group: 0
Packets sent : 106546 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 159516 ICMP 0 Dropped: 0
NIM's PID: 15597604
diskhb_0 [ 2] 2 2 S 255.255.10.1 255.255.10.3
diskhb_0 [ 2] rhdiskpower0 0x83a9332f 0x83a93338
HB Interval = 3.000 secs. Sensitivity = 8 missed beats
Missed HBs: Total: 0 Current group: 0
Packets sent : 49671 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 52310 ICMP 0 Dropped: 0
NIM's PID: 8323078
diskhb_1 [ 3] 2 2 S 255.255.10.0 255.255.10.2
diskhb_1 [ 3] rhdiskpower2 0x83a9332e 0x83aab480
HB Interval = 3.000 secs. Sensitivity = 8 missed beats
Missed HBs: Total: 21 Current group: 0
Packets sent : 49636 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 52299 ICMP 0 Dropped: 0
NIM's PID: 17432686
2 locally connected Clients with PIDs:
haemd(11010068) hagsd(13565968)
Fast Failure Detection available but off.
Dead Man Switch Enabled:
reset interval = 1 seconds
trip interval = 48 seconds
Client Heartbeating Disabled.
Configuration Instance = 62
Daemon employs no security
Segments pinned: Text Data.
Text segment size: 862 KB. Static data segment size: 1497 KB.
Dynamic data segment size: 5825. Number of outstanding malloc: 278
User time 7 sec. System time 10 sec.
Number of page faults: 4. Process swapped out 0 times.
Number of nodes up: 2. Number of nodes down: 0.
Subsystem Group PID Status
topsvcs topsvcs 7405582 active
Network Name Indx Defd Mbrs St Adapter ID Group ID
net_ether_01_0 [ 0] 2 2 S 192.186.45.10 192.186.45.138
net_ether_01_0 [ 0] en0 0x43a93330 0x43a93332
HB Interval = 1.000 secs. Sensitivity = 10 missed beats
Missed HBs: Total: 0 Current group: 0
Packets sent : 106551 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 156218 ICMP 0 Dropped: 0
NIM's PID: 16974042
net_ether_adm_ [ 1] 2 2 S 192.186.49.10 192.186.49.138
net_ether_adm_ [ 1] en2 0x43a93331 0x43a93333
HB Interval = 1.000 secs. Sensitivity = 10 missed beats
Missed HBs: Total: 0 Current group: 0
Packets sent : 106546 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 159516 ICMP 0 Dropped: 0
NIM's PID: 15597604
diskhb_0 [ 2] 2 2 S 255.255.10.1 255.255.10.3
diskhb_0 [ 2] rhdiskpower0 0x83a9332f 0x83a93338
HB Interval = 3.000 secs. Sensitivity = 8 missed beats
Missed HBs: Total: 0 Current group: 0
Packets sent : 49671 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 52310 ICMP 0 Dropped: 0
NIM's PID: 8323078
diskhb_1 [ 3] 2 2 S 255.255.10.0 255.255.10.2
diskhb_1 [ 3] rhdiskpower2 0x83a9332e 0x83aab480
HB Interval = 3.000 secs. Sensitivity = 8 missed beats
Missed HBs: Total: 21 Current group: 0
Packets sent : 49636 ICMP 0 Errors: 0 No mbuf: 0
Packets received: 52299 ICMP 0 Dropped: 0
NIM's PID: 17432686
2 locally connected Clients with PIDs:
haemd(11010068) hagsd(13565968)
Fast Failure Detection available but off.
Dead Man Switch Enabled:
reset interval = 1 seconds
trip interval = 48 seconds
Client Heartbeating Disabled.
Configuration Instance = 62
Daemon employs no security
Segments pinned: Text Data.
Text segment size: 862 KB. Static data segment size: 1497 KB.
Dynamic data segment size: 5825. Number of outstanding malloc: 278
User time 7 sec. System time 10 sec.
Number of page faults: 4. Process swapped out 0 times.
Number of nodes up: 2. Number of nodes down: 0.