Sunteți pe pagina 1din 3

$ cat explorer.84f90b1e.adphx02-2019.01.11.05.21/sysconfig/ifconfig-a.

out
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
1
inet 127.0.0.1 netmask ff000000
aggr1: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500
index 2
inet 10.120.4.43 netmask ffffff00 broadcast 10.120.4.255
groupname sc_ipmp0
ether 90:e2:ba:a9:e5:dc
aggr1:2:
flags=1001040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,FIXEDMTU>
mtu 1500 index 2
inet 10.120.4.40 netmask ffffff00 broadcast 10.120.4.255
ixgbe1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index
4
inet 172.16.0.66 netmask ffffffc0 broadcast 172.16.0.127
ether 90:e2:ba:a9:e5:dd
ixgbe3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index
3
inet 172.16.0.130 netmask ffffffc0 broadcast 172.16.0.191
ether 90:e2:ba:a9:e4:cd
clprivnet0: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500
index 5
inet 172.16.2.2 netmask ffffff00 broadcast 172.16.2.255
ether 0:0:0:0:0:2

The Solaris aggregation named "aggr1" is configured using network interfaces "ixgbe0" and
"ixgbe2".

$ cat explorer.84f90b1e.adphx02-2019.01.11.05.21/netinfo/dladm/dladm_show-aggr_-L.out
key: 1 (0x0001) policy: L4 address: 90:e2:ba:a9:e5:dc (auto)
LACP mode: active LACP timer: short
device activity timeout aggregatable sync coll dist defaulted expired
ixgbe0 active short yes yes yes yes no no
ixgbe2 active short yes yes yes yes no no

# man ifconfig
...
-failover

Mark the logical interface as a non-failover interface.


Addresses assigned to non-failover logical interfaces
will not failover when the interface fails. Status
display shows NOFAILOVER as part of flags.

failover

Mark the logical interface as a failover interface. An


address assigned to such an interface will failover when
the interface fails. Status display does not show
NOFAILOVER as part of flags.

I'll try to explain how to link based IPMP is working.

A link based IPMP means the failure detection and repair method used by the mpathd daemon
differentiates the IPMP as probe based or link based.
In case of link based IPMP:
- The mpathd daemon uses the interface kernel driver to check the status of the interface.
- mpathd daemon observes the changes to IFF_RUNNING flag on the interface to determine
failure.
- One of the advantage of link based IPMP is it does not depend on external sources to send
ICMP reply to ensure the link status and it also saves IP addresses as it is not require any test
addresses for failure detection

How the IPMP will probe using the link-based mode?


- mpathd daemon is responsible to detect an interface failure . It uses a configuration file
/etc/default/mpathd to set various IPMP parameters.

The important parameters in mpathd configuration file are :


1. FAILURE_DETECTION_TIME : Time taken by mpathd to detect a NIC failure in ms (default
value – 10 seconds)
2. FAILBACK : To enable or disable fail-back after the failed link becomes available (default
value – yes)
3. TRACK_INTERFACES_ONLY_WITH_GROUPS – If turned on interfaces configured as part of
IPMP are only monitored (default value – yes)

Looking at your configuration we see that you have the default configuration.

#
#pragma ident "@(#)mpathd.dfl 1.2 00/07/17 SMI"
#
# Time taken by mpathd to detect a NIC failure in ms. The minimum time
# that can be specified is 100 ms.
#
FAILURE_DETECTION_TIME=10000
#
# Failback is enabled by default. To disable failback turn off this option
#
FAILBACK=yes
#
# By default only interfaces configured as part of multipathing groups
# are tracked. Turn off this option to track all network interfaces
# on the system
#
TRACK_INTERFACES_ONLY_WITH_GROUPS=yes

S-ar putea să vă placă și