IPMP in a test subnet

IP multipathing (IPMP) can be used with probe-based failure detection in a test subnet. In this case the functionality changed with Solaris 9 onwards. The deprecated flag has been fully implemented as per the ifconfig man page. "An address associated with a deprecated interface will not be used as source address for outbound packets unless either there are no other addresses available on the interface or the application has bound to this address explicitly".
This means that test subnet of Solaris 9 and 10 systems will not become probe targets for each other. So, in case of an upgrade from Solaris 8 to Solaris 9 or higher you maybe need to change your configuration.
The major advantage is that you can use different IP's in test subnet than the IP data addresses. This save IP data addresses in the production network. Private network addresses as specified by rfc1918 (e.g. 10/8, 172.16/12, or 192.168/16) can be used in the test subnet as well.


Typical setup of IPMP with test subnet:

ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.16.51.123 netmask fffffe00 broadcast 10.16.51.255
        groupname ipmp0
        ether 0:3:ba:19:90:d9
ce0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
        inet 192.168.100.123 netmask ffffff00 broadcast 192.168.100.255
ce1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
        inet 192.168.100.122 netmask ffffff00 broadcast 192.168.100.255
        groupname ipmp0
        ether 0:3:ba:19:90:da

If all test partner hosts are also using IPMP for the test subnet you should be aware that test partners have the deprecated flag ON. In case of Solaris9 and Solaris 10, an interface which have the deprecated flag ON does not answer to "all hosts" multicast which are used for the automatic IPMP test partner detection (only used if the test subnet is without a defaultrouter). To solve this issue you can add a logical network interface with deprecated/nofailover flag OFF to answer the "all hosts" multicast.
e.g. (look to new interface ce0:2):

ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.16.51.123 netmask fffffe00 broadcast 10.16.51.255
        groupname ipmp0
        ether 0:3:ba:19:90:d9
ce0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
        inet 192.168.100.123 netmask ffffff00 broadcast 192.168.100.255
ce0:2: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.100.200 netmask ffffff00 broadcast 192.168.100.255
ce1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
        inet 192.168.100.122 netmask ffffff00 broadcast 192.168.100.255
        groupname ipmp0
        ether 0:3:ba:19:90:da

The hostname files for this example:
/etc/hostname.ce0
10.16.51.123 netmask + broadcast + group ipmp0 up \\
addif 192.168.100.123 netmask + broadcast + deprecated -failover up
addif 192.168.100.200 netmask + broadcast + up \\
/etc/hostname.ce1
192.168.100.122 netmask + broadcast + group ipmp0 deprecated -failover up



For more about IPMP you should refer to:
Infodoc 1010640.1: Summary of typical IPMP Configurations
Infodoc 1008064.1: IPMP Link-based Failure Detection with Solaris [TM] 10 Operating System (OS) and higher

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

I'm still mostly blogging around Solaris Cluster and support. Independently if for Sun Microsystems or Oracle. :-)

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today