HP_APAPORT_KEY[1]=902
HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO
NOTE:
Set the LACP_AUTO key 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 keys.
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.
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 or hubs on the same subnet to achieve switch/hub 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
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/hpapa start
# /sbin/init.d/hplm start
5.
If the device to be the link does not have the desired IP address, add the IP address for the
active port or link aggregation to
/etc/rc.config.d/netconf
. Editing that file or using
SMH will preserve the IP address permanently (across reboots).
Alternatively, you can also temporarily assign an IP address to the active link and change
the mode of the link and all standby links to LAN_MONITOR. For example,
ifconfig
lan1 192.5.5.138
6.
Query the system for possible link failover groups by entering the
lanqueryconf -s -c
/tmp/filename
command.
CAUTION:
Running
lanqueryconf -s
will overwrite the original
/etc/lanmon/
lanconfig.ascii
file.
This command queries the system and network for all possible failover groups. The results
of the query are placed in the
/tmp/filename
configuration file. This file contains data
similar to the following:
Editing configuration files for link aggregates
99