1826388 Members
4565 Online
109692 Solutions
New Discussion

Proactive Failover!!!!

 
SOLVED
Go to solution
Delcho Tuhchiev
Frequent Advisor

Proactive Failover!!!!

Hi all,

I've a question about LAN Failover.
I want to create LAN monitor failover group using an HP APA link agregation as the active link and one physical link as a standby link.
Is somebody already have a similar working configuration? Please give me a set where to start or some example configuration.


5 REPLIES 5
Delcho Tuhchiev
Frequent Advisor

Re: Proactive Failover!!!!

For more clearness :))) what I want please see the attached file
10x in advance
Ian P Smith
Advisor
Solution

Re: Proactive Failover!!!!

Not an expert but I did this about 4 years ago. Here's the config from a server I configured:

Obtain info from ioscan:

e.g.

(hostname:root)# ioscan -fuC lan
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
lan 0 1/0/1/1/0/4/0 igelan CLAIMED INTERFACE HP A6794-60001 PCI 1000Base-T
lan 1 1/0/8/1/0/6/0 igelan CLAIMED INTERFACE HP A9782-60001 PCI/PCI-X 1000Base-SX FC/GigE Combo Adapter
lan 2 1/0/10/1/0/6/0 igelan CLAIMED INTERFACE HP A9782-60001 PCI/PCI-X 1000Base-SX FC/GigE Combo Adapter




You need to edit the following files:

/etc/lanmon/lanconfig.ascii

e.g.
FAILOVER_GROUP lan900
STATIONARY_IP
PRIMARY lan1 5
STANDBY lan2 1
~


/etc/rc.config.d/hp_apaconf

e.g.

HP_APA_START_LA_PPA=900
HP_APA_DEFAULT_PORT_MODE=MANUAL

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"

# End of hp_apaconf configuration file

/etc/rc.config.d/hp_apaportconf

e.g.
#####################################################################
HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR

###########################################################################
# The HP_APAPORT_INIT_ARGS are reserved by HP. They are NOT user changable.

HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE HP_APAPORT_KEY HP_APAPORT_SYSTEM_PRIORITY
"

# End of hp_apaportconf configuration file

Lanscan -q shows I have 2 cards in my lan failover group

(hostname:root)# lanscan -q
0
900 1 2

Ian P Smith
Advisor

Re: Proactive Failover!!!!

Found a useful document in this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1170348

Explains it much better than I can :o)
Hasan  Atasoy
Honored Contributor

Re: Proactive Failover!!!!




firstly , configure your sistem as normal network configuration

ioscan -funC lan
gives you lan0 and lan1 as netwok cards and lan0 configured.

lan0 is configured in /etc/rc.config.d/netconf as

INTERFACE_NAME[1]="lan0"
IP_ADDRESS[1]="192.168.x.x"
SUBNET_MASK[1]="255.255.255.0"
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]="up"
DHCP_ENABLE[1]=0



APA configuration

1. /etc/rc.config.d/hp_apaportconf file

HP_APAPORT_INIT_ARGS="HP_APAPORT_GROUP_CAPABILITY HP_APAPORT_PRIORITY HP_APAPORT_CONFIG_MODE HP_APAPORT_KEY HP_APAPORT_SYSTEM_PRIORITY"

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

2. /etc/rc.config.d/hp_apaconf file

HP_APA_START_LA_PPA=900
HP_APA_DEFAULT_PORT_MODE=MANUAL

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"


execute the commands


/sbin/init.d/hplm stop
/sbin/init.d/hpapa stop
/sbin/init.d/hpapa start
/sbin/init.d/hplm start



lanqueryconf -s
lancheckconf
lanapplyconf


ifconfig lan900
ifconfig lan901

at this point you will see lan900 interface as configured


ifconfig lan900


Delcho Tuhchiev
Frequent Advisor

Re: Proactive Failover!!!!

10x to all