1831593 Members
2936 Online
110027 Solutions
New Discussion

APA Configuration

 
SOLVED
Go to solution
hpuxrox
Respected Contributor

APA Configuration

I am trying to setup APA for failover only. All I want to do it have card1 fail to card2 when card one fails. My configuration is as follows,

hp_apaconf

HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_HOT_STANDBY[0]=ON
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_MANUAL_LA[0]="0,1"

hp_apaportconf
HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
HP_APAPORT_INTERFACE_NAME[1]=lan1
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR

lanconfig.ascii
NODE_NAME testbox
POLLING_INTERVAL 10000000
DEAD_COUNT 3
LM_RAPID_ARP off
LM_RAPID_ARP_INTERVAL 1000000
LM_RAPID_ARP_COUNT 10
FAILOVER_GROUP lan900
STATIONARY_IP 11.55.46.55
STANDBY lan1 3
PRIMARY lan0 5


This is the ERROR i am receiving

# /sbin/init.d/hpapa start
/sbin/init.d/hpapa started.
Please be patient. This may take about 40 seconds.
/usr/sbin/hp_apa_util -S 0 LAN_MONITOR
/usr/sbin/hp_apa_util -S 1 LAN_MONITOR
lan900
/usr/sbin/lanadmin -X -l LB_MAC 900
New Load Balancing = 2
/usr/sbin/lanadmin -X -y ON 900
New Hot Standby = ON
/usr/sbin/lanadmin -X -a 0 1 900
ERROR: Error: The mode of the port 0 is invalid for this command
/sbin/init.d/hpapa Completed with failures.

# /sbin/init.d/hplm start
/sbin/init.d/hplm started.
Reading ASCII file /etc/lanmon/lanconfig.ascii
WARNING: Failed link-level connectivity checks for ports in Fail-Over Group 900.
For more information, see nettl log messages for HP_APA.
Creating Fail-Over Group lan900
Updated binary file /etc/lanmon/lanconfig
/sbin/init.d/hplm Completed successfully.

3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: APA Configuration

Shalom Yates,

It says there is not link on one of the two cards.

You can use the linkloop command to test this.

Note that many cisco switches require special configuration to support APA, which has two ip addresses potenially spanning two switch ports.

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
Ivan Krastev
Honored Contributor

Re: APA Configuration

See this document for editing files and configuring APA for failover - http://docs.hp.com/en/J4240-90037/apcs01.html#v1510169


regards,
ivan
hpuxrox
Respected Contributor

Re: APA Configuration

Needed to set the switch to span the ports, thanks