HP Auto Port Aggregation Administrator's Guide for HP-UX 11i v3 September 2008

1. Connect lan1 and lan2 to the same switch or to different switches or hubs on the same
subnet.
NOTE: Be sure that trunking is not enabled on the switch ports.
2. Obtain the station address for lan2 by issuing the nwmgr command, as follows:
# nwmgr
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ====== ============= =========
lan0 UP 0x080009D43696 iether 1000Base-SX
lan1 UP 0x0060B04B7B82 iether 1000Base-SX
lan2 UP 0x0060B04B7B83 iether 1000Base-SX
lan3 UP 0x001083953C1C iether 1000Base-SX
lan4 UP 0x001083953C1D iether 1000Base-SX
lan900 DOWN 0x000000000000 hp_apa hp_apa
lan901 DOWN 0x000000000000 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa
The station address is 0x0060B04B7B83.
3. Verify that there is link connectivity between lan1 and lan2, as follows:
# nwmgr --diag -A dest=0x0060B04B7B83 -S iether -I 1
#
If there is no link connectivity, resolve the connectivity issue between the devices.
4. Verify that an entry exists in the /etc/rc.config.d/hp_apaportconf file for the and
standby interfaces that sets the interfaces' port configuration mode to LAN_MONITOR.
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
5. Activate the configuration by entering:
# /sbin/init.d/hplm stop
# /sbin/init.d/hpapa stop
# /sbin/init.d/hpapa start
# /sbin/init.d/hplm start
6. If the device to be the link does not have the desired IP address, enter ifconfig to assign
the IP address. Also add an entry to the /etc/rc.config.d/netconf file to assign the
IP address permanently (or use SAM to do it).
# ifconfig lan1 192.1.1.153
7. Enter the lanqueryconf -s command to query the system for possible failover groups.
# lanqueryconf -s
ASCII output is in the /etc/lanmon/lanconfig.ascii file.
a. Verify that the content of the ASCII file is valid. Enter lancheckconf:
# lancheckconf
b. View the contents of the /etc/lanmon/lanconfig.ascii file and verify that it
contains the configuration information you want.
# cat /etc/lanmon/lanconfig.ascii
See “lanconfig.ascii File” (page 92) for an example of this file.
c. Verify that /etc/lanmon/lanconfig.ascii has the failover group configured, as
planned.
# cat /etc/lanmon/lanconfig.ascii
d. Edit the file, if needed, and enter lancheckconf again.
Editing Configuration Files for Link Aggregates 101