1832094 Members
2901 Online
110038 Solutions
New Discussion

Re: APA Configuration

 
SOLVED
Go to solution
HP-FMS
Frequent Advisor

APA Configuration

Hi All

I have to know that how we can configure the APA in LAN Monitor method ...
If any body have an idea about APA so Please share with me....

i am waiting for the reply...

Thanks
Ravi
3 REPLIES 3
Ivan Krastev
Honored Contributor

Re: APA Configuration

See the attached file how to config APA lanmonitor mode.


regards,
ivan
Prasanth Thomas
Valued Contributor
Solution

Re: APA Configuration

Hi Ravi

Find the below steps....

Assign an IP address to the primary link by typing,
for example:
ifconfig lan1 192.5.5.138

To preserve the IP address across reboots, you need to add the IP
address for the primary port to /etc/rc.config.d/netconf.

(HP-UX 11.0 and 11i only) Edit the failover group and configuration
mode in the /etc/rc.config.d/hp_apaportconf file. Example,
to put
lan1 and lan2 into a failover group:


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


Ensure there is a physical connection between the interfaces (lan1,
lan2); then, to activate the configuration, type:

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


o To query which link aggregates are possible, type:
lanqueryconf -s

Running lanqueryconf -s will overwrite the original
/etc/lanmon/lanconfig.ascii.

Best Regards
Prasanth Thomas
Mustafa Gulercan
Respected Contributor

Re: APA Configuration

hi;
if this is first time you have configured a LAN Monitor failover group do the following;
1- Connect the physical devices that are to be in the failover group to the same switch ,or to different swithches on the same subnet to achive switch redundancy.
2- check that a linkloop between the devices succeeds.If it fails, resolve the physical connection between the devices.
3- In the /etc/rc.config.d/hp_apaportconf file, assign the primary and standby physical ports to LAN_MONITOR mode.
for example, to put lan1 and lan2 into a failover group:
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
4- Activate the configuration by entering:
/sbin/init.d/hplm stop
/sbin/init.d/hpapa stop
/sbin/init.d/hplm start
/sbin/init.d/hpapa start
*An error message similar to ERROR: Unable to open /etc/lanmon/lanconfig for reading. might appear.Ignore the message.

5- If the device to be the primary link does not have the desired IP address, add the IP address for the primary port or primary link aggregation to /etc/rc.config.d/netconf. Editing that file or using SAM will preservr the IP address permanently (across reboots)
Alternatively, you can also temporarily assign an IP address to primary link and change the mode of the primary link and all standby links to LAN_MONITOR.For example,
ifconfig lan1 192.1.1.150

6- Query the system for possible link failover groups by entering lanqueryconf -s .
The results of the query are placed in the /etc/lanmon/lanconfig.ascii configuration file. lanqueryconf -s will overwrite it.

7- Verfy that the configuration in the lanconfig.ascii is still valid by using the lancheckconf command.

8- Create the failover groups specified in the configuration in the configuration file by using the lanapplyconf command.
check the failover groups by using lanscan -q and netstat -in commands.

9- The failover groups is now operational.A reboot will restart the failover group as long as the /etc/lanmon/lanconfig.ascii file is intact.


a long writing for me :)
regards,
mustafa