Operating System - HP-UX
1758290 Members
2291 Online
108868 Solutions
New Discussion юеВ

HP APA lanapplyconf error 219

 
Dima Kouznetsov
Advisor

HP APA lanapplyconf error 219

Hello,

I am getting the following error when trying to run the lanapplyconf command (hp-ux 11.31):

chx055a-root:/sbin/init.d> lanapplyconf
Reading ASCII file /etc/lanmon/lanconfig.ascii
Creating Fail-Over Group lan900
ERROR: Could not add Port 0 to Fail-Over Group lan900
ERROR: APA could not set LM Configuration for Fail-Over Group lan900. APA errno = 219.
ERROR: Creating Fail-Over Group failed lan900
Exiting: Error applying all of input file /etc/lanmon/lanconfig.ascii.

here is my /etc/rc.config.d/netconf:

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=132.201.93.37
SUBNET_MASK[0]=255.255.255.224
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
INTERFACE_MODULES[0]=""

/etc/rc.config.d/hp_apaportconf:

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

/etc/lanmon/lanconfig.ascii

FAILOVER_GROUP lan900
STATIONARY_IP 132.201.93.37
PRIMARY lan0 5
STANDBY lan2 3

lan0 is where the host IP address is assigned, and how I connect to the server. Please provide any suggestions that you may have as to why I am not able to add port 0.

Thank you very much,
Dima
4 REPLIES 4
lbseraph
Advisor

Re: HP APA lanapplyconf error 219

Could you post command 'lanshow -f' output here?

PS: APA documents download URL:
http://www.docs.hp.com/en/netcom.html#Auto%20Port%20Aggregation%20%28APA%29
lbseraph
Advisor

Re: HP APA lanapplyconf error 219

I think the command 'lanshow -f' output is too large, may submit it as attachment.
Dima Kouznetsov
Advisor

Re: HP APA lanapplyconf error 219

Thank you for the quick reply. The lanshow -f command is not available on my server, I believe it is part of a product that needs to downloaded. Is there something else comparable that I could run. Also, thank you for the document. That is the one I was following to do this installation.

Here is the output for lanscan, just in case:

chx055a-root:/root> lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/2/2/0 0x001B787CA48A 2 UP lan2 snap2 1 ETHER Yes 119
0/1/1/0 0x001B787CA488 0 UP lan0 snap0 2 ETHER Yes 119
0/1/1/1 0x001B787CA489 1 UP lan1 snap1 3 ETHER Yes 119
0/2/2/1 0x001B787CA48B 3 UP lan3 snap3 4 ETHER Yes 119
LinkAgg0 0x000000000000 900 DOWN lan900 snap900 6 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 7 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 8 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 9 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 10 ETHER Yes 119

Thanks,
Dima
lbseraph
Advisor

Re: HP APA lanapplyconf error 219

Sorry, I have forgotten that. Yes, lanshow is a tool developed by HP Expert Center. May you need log a case to HP Response Center to request this tool.

Have not enough info., I am not sure how to fix your error. May need you check confiugration step by step following the manual.

As I know, if some process has been using lan card, as a prerequisite the lan cards under LANMONITOR should not be used by any process however, will have the same error as your post. Then need to kill the process which using lan card. Or, may need lanshow tool to diagnosis.

Regards,
lbseraph