1833785 Members
2571 Online
110063 Solutions
New Discussion

APA LAN MONITOR Failover

 
SOLVED
Go to solution
Wayne Moyer
Advisor

APA LAN MONITOR Failover

I want to configure two NIC's for failover on a RP7440 server. I do not want to aggregate just failoer. Here is the info on the lans.
lan 0 1/0/1/1/0/6/0 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Co
mbo Adapter
lan 1 1/0/1/1/0/6/1 iether CLAIMED INTERFACE HP AB290-60001 PCI/PCI-X 1000Base-T 2-port U320 SCSI/2-port 1000B-T Co
mbo Adapter
lan 2 1/0/2/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 3 1/0/2/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 4 1/0/4/1/0 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 5 1/0/4/1/1 iether CLAIMED INTERFACE HP A7012-60601 PCI/PCI-X 1000Base-T Dual-port Adapter
and

lan0 1500 10.240.249.128 10.240.249.158 41180119 0 14657770 0 0
lo0 4136 127.0.0.0 127.0.0.1 3406502 0 3406602 0 0

and

hp_apaportconf

IS

HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR
#

I did not mane any changes to hp_apaconf

When I try to start the processes I get the following.



# /sbin/init.d/hpapa start
DLPI version is 2
/sbin/init.d/hpapa started.
Please be patient. This may take about 40 seconds.
HP_APA_MAX_LINKAGGS = 50
HP_APA_DEFAULT_PORT_MODE = MANUAL
/usr/sbin/hp_apa_util -S 0 LAN_MONITOR
/usr/sbin/hp_apa_util -S 2 LAN_MONITOR
/sbin/init.d/hpapa Completed successfully.
# /sbin/init.d/hplm start
DLPI version is 2
/sbin/init.d/hplm started.
/etc/lanmon/lanconfig.ascii not present on the system.
lanapplyconf will not be executed

# lanqueryconf -s
WARNING: None of the ports in subnet ( 2 ) have an IP address assigned
No Fail-Over Groups found. ASCII file not created
#
4 REPLIES 4
Juan M Leon
Trusted Contributor
Solution

Re: APA LAN MONITOR Failover

Wayne,

Here is info for the 2 files you need to configure
hp_apaportconf:HP_APAPORT_INTERFACE_NAME[0]=lan1
hp_apaportconf:HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
hp_apaportconf:HP_APAPORT_INTERFACE_NAME[1]=lan4
hp_apaportconf:HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR
hp_apaportconf:HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE HP_APAPORT_KEY HP_APAPORT_SYSTEM_PRIORITY"
hp_apaconf:HP_APA_START_LA_PPA=900
hp_apaconf:HP_APA_DEFAULT_PORT_MODE=MANUAL
hp_apaconf:HP_APA_INIT_ARGS="HP_APA_LOAD_BALANCE_MODE HP_APA_GROUP_CAPABILITY HP_APA_HOT_STANDBY HP_APA_MANUAL_LA HP_APA_INIT HP_APA_KEY"

Then fron the console do the following
/sbin/init.d/net stop
ifconfig lanX unplumb (for each lan that will be used in the APA)
/sbin/init.d/hpapa start
lanscan -q ( you should see lan 900 and all the ports assigned to that APA lan)
for example: 0
3
2
5
900 1 4
901

/sbin/init.d/net start

and your should be ok.
Jim Keeble
Trusted Contributor

Re: APA LAN MONITOR Failover

lan0 and lan2 must be on the same subnet/vlan . Test this using linkloop as follows:

linkloop -i 0

or

linkloop -i 2

You can get the station addresses by running "lanscan".
Wayne Moyer
Advisor

Re: APA LAN MONITOR Failover

Thanks for the information. Yes the linkloops do work OK. I will not have console access until Thursday when I can try the net stop command.
Wayne Moyer
Advisor

Re: APA LAN MONITOR Failover

Both responses produced a solution