1752773 Members
4818 Online
108789 Solutions
New Discussion юеВ

Re: APA error

 
SOLVED
Go to solution
mjos
Super Advisor

Re: APA error

# HP_APA_INTERFACE_NAME[0]=lan900
# HP_APA_LOAD_BALANCE_MODE[0]=LB_CPU
# HP_APA_GROUP_CAPABILITY[0]=3
# HP_APA_HOT_STANDBY[0]=off

HP_APA_START_LA_PPA=900
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"
#####################################################################

HP_APA_DEFAULT_PORT_MODE=MANUAL

Do i need to uncomment & put the below entries -
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_MANUAL_LA[0]=0,1
HP_APA_HOT_STANDBY[0]=on
Michal Kapalka (mikap)
Honored Contributor

Re: APA error

yes,

and let me know if its working.

mikap
mjos
Super Advisor

Re: APA error

Thanks Michal, can you please let me know how do i test it. I made the changed in the hp_apaconf file, now how do i test it.

Thanks.
Michal Kapalka (mikap)
Honored Contributor

Re: APA error

Hi,

if you can reboot the server, them do it, if not you need tu restart the services, for APA,

If you are done editing all configuration modes, activate the
configuration by typing:
/sbin/init.d/hplm stop {optional--for failover groups}
/sbin/init.d/hpapa stop and then
/sbin/init.d/hpapa start
/sbin/init.d/hplm start {optional--for failover groups}

and if you check the

lanscan -qa and you see both adapters joined to the lan900 interface it sholud be working.

But actulay if I configure a server, I reboot the server and them test ping for example other server and disconnect a primary LAN interface for you LAN 0, and check if the APA is working.

mikap
mjos
Super Advisor

Re: APA error

I got the below error while trying to start the services -

#/sbin/init.d/hpapa start
/sbin/init.d/hpapa started.
Please be patient. This may take about 40 seconds.
HP_APA_DEFAULT_PORT_MODE = MANUAL
/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.
Michal Kapalka (mikap)
Honored Contributor

Re: APA error

Hi,
that strange, could you send a information ???

ioscan -fnC lan

lanscan && lanscan -qa

mikap
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: APA error

Hi,

read this docu ist a quick guide for APA.

mikap
mjos
Super Advisor

Re: APA error


#ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
lan 1 0/2/1/0/4/0 iether CLAIMED INTERFACE HP AB545-60001 PCI/PCI-X 1000Base-T 4-port 1000B-T Adapter
lan 2 0/2/1/0/4/1 iether CLAIMED INTERFACE HP AB545-60001 PCI/PCI-X 1000Base-T 4-port 1000B-T Adapter
lan 3 0/2/1/0/6/0 iether CLAIMED INTERFACE HP AB545-60001 PCI/PCI-X 1000Base-T 4-port 1000B-T Adapter
lan 4 0/2/1/0/6/1 iether CLAIMED INTERFACE HP AB545-60001 PCI/PCI-X 1000Base-T 4-port 1000B-T Adapter
#lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/2/1/0/4/0 0x001E0B887708 1 UP lan1 snap1 2 ETHER Yes 119
0/2/1/0/4/1 0x001E0B887709 2 UP lan2 snap2 3 ETHER Yes 119
0/2/1/0/6/0 0x001E0B88770A 3 UP lan3 snap3 4 ETHER Yes 119
0/2/1/0/6/1 0x001E0B88770B 4 UP lan4 snap4 5 ETHER Yes 119
LinkAgg0 0x001A4BF2E082 900 UP lan900 snap900 8 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 9 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 10 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 11 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 12 ETHER Yes 119
#lanscan -qa
0x001E0B887708 1
0x001E0B887709 2
0x001E0B88770A 3
0x001E0B88770B 4
0x001A4BF2E082 900 0
0x000000000000 901
0x000000000000 902
0x000000000000 903
0x000000000000 904

Michal Kapalka (mikap)
Honored Contributor

Re: APA error

hi,

the error is that you would like to bind to APA two diferent type of lan card.


and the lan0 is from core/IO, please try to

make APA configuration with a LAN1 <=> LAN2,

It's 4 port LAN card, so if this card failed the servers is without network, it will be better to have 2x 2 PORT cards.


mikap






mjos
Super Advisor

Re: APA error

I edited the hp_apaconf file & made the below changed, replaced 0,1 with 1,2

HP_APA_MANUAL_LA[0]=1,2

Stopped & started hpapa & found it is giving the error for port 1 now

nh1a1t16#/sbin/init.d/hpapa start
/sbin/init.d/hpapa started.
Please be patient. This may take about 40 seconds.
HP_APA_DEFAULT_PORT_MODE = MANUAL
/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 1 2 900
ERROR: Error: The mode of the port 1 is invalid for this command