1830492 Members
2794 Online
110005 Solutions
New Discussion

Configuring APA

 
SOLVED
Go to solution
Olga_1
Regular Advisor

Configuring APA

Hello,

I have HP-UX B.11.23 U ia64 server.
I am trying to configure APA

Here is the scenario:
lan0 and lan2 are connected to the same switch#2 and are grouped into lan900 for load balancing
lan1 is connected to switch #1
LAN Monitor is used for failover

Please let me know if the configuration is correct.

As well as please tell me how switch#1 and swithch #2 should be configured.

/etc/rc.config.d/hp_apaconf


HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_GROUP_CAPABILITY[0]=900


/etc/rc.config.d/netconf

INTERFACE_NAME[0]=lan900
IP_ADDRESS[0]=XX.XXX.XX.XX
SUBNET_MASK[0]=255.255.XXX.0
BROADCAST_ADDRESS[0]=1X.XXX.XX.XXX
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""


/etc/rc.config.d/hp_apaportconf

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_GROUP_CAPABILITY[0]=900
HP_APAPORT_CONFIG_MODE[0]=FEC_AUTO

HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_GROUP_CAPABILITY[1]=900
HP_APAPORT_CONFIG_MODE[1]=FEC_AUTO

HP_APAPORT_INTERFACE_NAME[3]=lan900
HP_APAPORT_CONFIG_MODE[3]= LAN_MONITOR
HP_APAPORT_GROUP_CAPABILITY[3]=901
HP_ APAPORT_ PRIORITY [3]=5

HP_APAPORT_INTERFACE_NAME[4]=lan1
HP_APAPORT_CONFIG_MODE[4]= LAN_MONITOR
HP_APAPORT_GROUP_CAPABILITY[4]=901
HP_ APAPORT_ PRIORITY [4]=3


/etc/lanmon/lanconfig.ascii

Edit the file:

FAILOVER_GROUP lan901

STATIONARY_IP XX.XXX.XX.XX
# Primary/Standby Interface Priority : Cost
# –––––––––––––––––––––––+–––––––––––––+––––––––––––––––
PRIMARY lan900 5 : 1
STANDBY lan1 3 : 1

Thank you.
2 REPLIES 2
Ketan Kotak
Advisor
Solution

Re: Configuring APA

For LAN Monitor Fail-Over Group (FOG) to work correctly and detect switch or card failure, both switches #1 and #2 should have a connection between them.

The requirement is that, if you can pass a linkloop between Primary and Standby Port(s) in side of FOG, that is valid configuration.

Hope this helps.
+ Ketan Kotak
Thomas J. Harrold
Trusted Contributor

Re: Configuring APA

Depending on your network topology, be careful. You may need to turn on Spanning Tree Protocol, if by connecting the two swithes, you create multiple paths within your network.

-tjh
I learn something new everyday. (usually because I break something new everyday)