Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

APA port failover test on remote server

SOLVED
Go to solution
jerrym
Trusted Contributor

APA port failover test on remote server

How can I test that APA fails over without pulling the lan cable.

 

HP-UX  B.11.11 U 9000/800

 

 

1 REPLY
jerrym
Trusted Contributor
Solution

Re: APA port failover test on remote server

Never mind. Here is how you can test failover without pulling a cable.

 

glance -l

 

Observe which interface of the APA is being talked across (Packet Rate In).

 

lanadmin -X -d 3 900    <-- Where "3" is lan3 of the bonded APA

 

glance again to ensure traffic has been routed to other NIC of APA

 

lanadmin -X -a 3 900    <-- Add back in the interface.

 

glance again to ensure traffic is still on the other interface.

 

Double-check /etc/rc.config.d/hp_apaportconf that the lower-number (higher priority) is given to the lan NIC you want the primary traffic across. -- I had to use 0, above, for lan0 since the priorities are reversed for some reason. 0 being a lower priority than 1. ???

 

 

HP_APAPORT_INTERFACE_NAME[0]=lan3

HP_APAPORT_GROUP_CAPABILITY[0]=900

HP_APAPORT_PRIORITY[0]=0

HP_APAPORT_CONFIG_MODE[0]=MANUAL

 

HP_APAPORT_INTERFACE_NAME[1]=lan0

HP_APAPORT_GROUP_CAPABILITY[1]=900

HP_APAPORT_PRIORITY[1]=1

HP_APAPORT_CONFIG_MODE[1]=MANUAL