HP Auto Port Aggregation Administrator's Guide HP-UX 11i v3 (766140-001, March 2014)

3. Activate the new configuration by entering:
# /sbin/init.d/hplm stop
1
# /sbin/init.d/hpapa stop
2
# /sbin/init.d/hpapa start
# /sbin/init.d/hplm start
3
1
If failover groups are also configured.
2
This can interrupt traffic on existing link aggregates.
3
For configuring failover groups.
FEC_AUTO port configuration mode
To configure load balancing and group capability for link aggregate 901 with MAC-based load
balancing, do the following:
1. Edit the /etc/rc.config.d/hp_apaconf file and add the following entries:
HP_APA_INTERFACE_NAME[0]=lan901
HP_APA_LOAD_BALANCE_MODE[0]=LB_PORT
HP_APA_GROUP_CAPABILITY[0]=901
2. Edit the /etc/rc.config.d/hp_apaportconf file and add the following entries to put
lan1 and lan2 into link aggregate 901:
HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_GROUP_CAPABILITY[0]=901
HP_APAPORT_CONFIG_MODE[0]=FEC_AUTO
HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_GROUP_CAPABILITY[1]=901
HP_APAPORT_CONFIG_MODE[1]=FEC_AUTO
3. Activate the new configuration by entering:
# /sbin/init.d/hplm stop
1
# /sbin/init.d/hpapa stop
2
# /sbin/init.d/hpapa start
# /sbin/init.d/hplm start
3
1
If failover groups are also configured.
2
This can interrupt traffic on existing link aggregates.
3
For configuring failover groups.
NOTE: Set the group capability in the previous examples to be the same as that of the link
aggregate to which it belongs. Ports going to different link aggregates should have different group
capabilities.
Editing configuration files for failover groups
If you are configuring a failover group for the first time, or if you have changed the failover group
configuration, do the following:
1. Connect the physical devices that are to be in the failover group to the same switch, or to
different switches on the same subnet to achieve switch redundancy.
NOTE: Be sure that trunking is not enabled on the switch ports.
2. Check that there is link connectivity between the devices (nwmgr --diag). If it fails, resolve
the physical connection between the devices.
3. Edit the /etc/rc.config.d/hp_apaportconf file and assign the active and standby
physical ports to LAN_MONITOR mode. For example, the following entries put lan1 and
lan2 into a failover group:
HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
86 Configuring HP APA by editing files