Operating System - HP-UX
1824170 Members
2664 Online
109669 Solutions
New Discussion юеВ

Testing APA failover from command line on hpux 11.11

 
Daniel Neeves
Advisor

Testing APA failover from command line on hpux 11.11

Is it possible to test the failover of an APA interface when configured in LAN_MONITOR mode. I've tried ifconfig lan* down on one of the interfaces that makes up the failover group but this has no effect. I have no physical access to the server to pull the network cable out. Any ideas ?

Dan
Like Ya Know !!
4 REPLIES 4
Court Campbell
Honored Contributor

Re: Testing APA failover from command line on hpux 11.11

Get with your network admin and have him/her disable the port on the network side.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Steven E. Protter
Exalted Contributor

Re: Testing APA failover from command line on hpux 11.11

Shalom,

The only realistic tests would involve shutting down one of the network swtich ports or pulling one of the cables.

Anything else will give you a false sense of security which you can't rely on.

A good test is a hands on test.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ketan Kotak
Advisor

Re: Testing APA failover from command line on hpux 11.11

Hi Dan,

Other way is to do Reset of the PRIMARY interface, using interactive mode of lanamdin command:
$ echo "lan ppa r q" | lanadmin


And immediately check the FOG (Fail-Over Group) config using following command:
$ lanadmin -x -i

You will see which port is active and which is not. Active means it carries the traffic at that point in time.

You can also do ping to remote IP using the IP you configured on this FOG and check the stats using lanadmin -g command.

hope this helps.
Regards,
+ Ketan Kotak
Daniel Neeves
Advisor

Re: Testing APA failover from command line on hpux 11.11

Thanks Ketan, worked a treat.
Like Ya Know !!