HP-UX HB v13.00 Ch-15 - Serviceguard
HP-UX Handbook – Rev 13.00 Page 68 (of 108)
Chapter 15 Serviceguard
October 29, 2013
Power failures – not documented in /etc/shutdownlog! Check MP logs.
In the event of a TOC, a system dump is performed on the failed node and numerous messages
are also displayed on the console.
You can use the following commands to check the status of your network and subnets:
netstat -in - to display LAN status and check to see if the package IP is assigned to a
NIC.
cmviewcl –v [–n node] – to see if a standby NIC has been invoked.
arp -a - to check the arp tables.
lanadmin - to display, test, and reset the LAN cards.
How to track down Networking Problems
While discovering the network (e.g. during cmcheckconf or cmapplyconf), Serviceguard
records ‘bridged networks’. Interfaces that can communicate on the link level are associated to
the same brigded net. Bridged networks are revealed using the older cmviewconf or newer
method:
root@rxg15u20:root# cmviewcl -v -f line | grep bridge
node:rxg15u18|interface:lan0|bridged_net=1
node:rxg15u18|interface:lan3|bridged_net=2
node:rxg15u18|interface:lan1|bridged_net=2
node:rxg15u20|interface:lan0|bridged_net=1
node:rxg15u20|interface:lan3|bridged_net=2
node:rxg15u20|interface:lan1|bridged_net=2
Network interfaces with the same ‘bridged net ID’ are on the same bridged net. A good starting
point for troubleshooting networking problems is cmquerycl –l net –v. To check the link
level connectivity between interfaces one may use the linkloop(1M) command. The
cmscancl(1M) script does this checking automatically for all interfaces on all nodes of the
cluster.
Example:
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x0017A4AB10D1 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x0017A4AB10D0 1 UP lan1 snap1 2 ETHER Yes 119
The following linkloop command checks the local link level connectivity from lan2 to lan1.
Please note that you need to specify the outgoing PPA (NMID for 10.x) with the –i option.