My Oracle Support Banner

Solaris Cluster 4.x How to Change IPMP Network Interface in Solaris Cluster after "scinstall" (Doc ID 2094372.1)

Last updated on AUGUST 02, 2018

Applies to:

Solaris Cluster - Version 4.0 to 4.3 [Release 4.0 to 4.3]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)

Goal

To illustrate by example the commands required to change, remove and create an ipmp group in an Solaris Cluster (OSC) 4.x environment after Solaris Cluster was installed and configured with scinstall command.

The background for this exercise starts with a non-clustered pair which have two v4 public networks which were placed into ipmp groups by scinstall.

One node is shown in this example.

# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
aggr0 ip ok -- --
aggr0/v4 static ok -- 10.<a>.<b>.<c>/24 <----<<< Primary Public Network
lo0 loopback ok -- --
lo0/v4 static ok -- 127.0.0.1/8
lo0/v6 static ok -- ::1/128
net4 ip ok -- --
net4/v4 static ok -- 10.<e>.<f>.<g>/21 <----<<< Backup Network
net6 ip ok -- --
net6/v4 static ok -- 169.<h>.<i>.<k>/24


After running scinstall and selecting net1 and net3 for the cluster interconnects:

# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
aggr0 ip ok sc_ipmp1 --
clprivnet0 ip ok -- --
clprivnet0/? static ok -- 10.<e>.<l>.<m>/28
lo0 loopback ok -- --
lo0/v4 static ok -- 127.0.0.1/8
lo0/v6 static ok -- ::1/128
net1 ip ok -- --
net1/? static ok -- 10.<e>.<l>.<n>/30
net3 ip ok -- --
net3/? static ok -- 10.<e>.<l>.<p>/30
net4 ip ok sc_ipmp0 --
net6 ip ok -- --
net6/v4 static ok -- 169.<h>.<i>.<k>/24
sc_ipmp0 ipmp ok -- --
sc_ipmp0/static1 static ok -- 10.<e>.<f>.<g>/21 <----<<< Was net4
sc_ipmp1 ipmp ok -- --
sc_ipmp1/static1 static ok -- 10.<a>.<b>.<c>/24 <----<<< Was aggr0


From here a Resource Group (RG) was created and in it a SUNW.LogicalHostname resource using -N sc_ipmp0. Chosing sc_ipmp0 was a mistake. The appropriate ipmp group is sc_ipmp1 for this resource vip hostname.

The resolution to this mis-configuration would normally be very simple:

# clrs disable <lhost-rs> (This was done and left offline while the network was re-configured)
# clrs set -p NetIfList=sc_ipmp1 <lhost-rs>
# clrs enable <lhost-rs>

  

Note that if any Network_aware resources had also been created and enabled in this
RG which has the Implicit_network_dependencies property set to True (the default),
they would have to be disabled first.

You can see the value for this property by running:

# clrg show -p Implicit_network_dependencies <rg_name>

or

# scrgadm -pvv | grep 'Res Group network dependencies:' | grep <rg_name>

However, the desired result was actually for the primary public network (aggr0) to be in sc_ipmp0
and to remove net0 from ipmp control.

This will also prevent net0 from being used in any SUNW.Logicalhostname or SUNW.SharedAddress
resource in the future as ipmp is required for such Resource Types (RTs).

  

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.