1833091 Members
2841 Online
110050 Solutions
New Discussion

APA - Monitoring

 
Andi Rigauer
Regular Advisor

APA - Monitoring

Hi out there,

is anybody from you using APA (Auto Port Aggregation) for IP failover reasons?
How do you monitor a failover?

Thanks in advance
god, root where's the difference
4 REPLIES 4
melvyn burnard
Honored Contributor

Re: APA - Monitoring

go read through the manuals available at:
http://docs.hp.com/hpux/11i/index.html

in particular, read Chapter 5 of
http://docs.hp.com/hpux/onlinedocs/J4240-90016/J4240-90016.html Which discusses the Lan Monitor
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Andi Rigauer
Regular Advisor

Re: APA - Monitoring

I have APA already running and it works fine.
I just cannot find any documentation of the monitoring of a IP failover. There is no entry in any log. I also know already this documents.
They have no hints as well.
So the Question :
who is using APA and how do you monitor the failover?
god, root where's the difference
Kellogg Unix Team
Trusted Contributor

Re: APA - Monitoring

I am using it in a test environment (for now). Are you using LAN Monitor for failover?

With couple of commands ("netstat -in" and "lanscan -q") you would know if main or failover port is active, no? And that can be scripted to check and send you an email/page.

Just a thought.
...Manjeet
work is fun ! (my manager is standing behind me!!)
Jeff Arthur
Occasional Advisor

Re: APA - Monitoring

Hi,

I use lanscan -q to look at the state of aggregates.

All my aggregates are gigabit so i use
lanadmin -x card_info GBcardPPA to look at the link state of the cards.

Here is an example script to infer the current primary and standby from the output of lanscan -q

#!/usr/bin/ksh
LINKAGG=100
#LINKAGG should be set to the PPA number of the aggregated LAN interface you wish to monitor
lanscan -q | grep ^${LINKAGG} | awk '{print $2,$3}' | read AGGPORT1 AGGPORT2
echo "Current LIVE interface for aggregate lan${LINKAGG} is lan${AGGPORT1}"
echo "Current STANDBY interface for aggregate lan${LINKAGG} is lan${AGGPORT2}"
A noise annoys an oyster, a noisy noise annoys an oyster more.