In the following example,
stor_ipmp0_0 is the first IB network, and net22 is the first_net_ID.
stor_ipmp0_1 is the second IB network, and net23 is the second_net_ID.
# dladm show-part | grep stor_ipmp0_ stor_ipmp0_0 8503 net22 up f--- stor_ipmp0_1 8503 net23 up f---
# zonecfg -z zonename zonecfg:zonename> add anet zonecfg:zonename:anet> set linkname=first_net_ID zonecfg:zonename:anet> set lower-link=first_net_ID zonecfg:zonename:anet> set pkey=8503 zonecfg:zonename:anet> end zonecfg:zonename> add anet zonecfg:zonename:anet> set linkname=second_net_ID zonecfg:zonename:anet> set lower-link=second_net_ID zonecfg:zonename:anet> set pkey=8503 zonecfg:zonename:anet> end zonecfg:zonename> exit
where:
zonename is the management host name (or Admin Name that was shown in Oracle Exadata Deployment Assistant) for this zone
first_net_ID is the first network ID shown for stor_ipmp0_0 from Step 2
second_net_ID is the second network ID shown for stor_ipmp0_0 from Step 2
For example:
# zonecfg -z zonename zonecfg:zonename> add anet zonecfg:zonename:anet> set linkname=net22 zonecfg:zonename:anet> set lower-link=net22 zonecfg:zonename:anet> set pkey=8503 zonecfg:zonename:anet> end zonecfg:zonename> add anet zonecfg:zonename:anet> set linkname=net23 zonecfg:zonename:anet> set lower-link=net23 zonecfg:zonename:anet> set pkey=8503 zonecfg:zonename:anet> end zonecfg:zonename> exit
# zoneadm -z zonename reboot
For example:
# zoneadm -z scm7zdbadm02 reboot
# zlogin zonename
For example:
# zlogin scm7zdbadm02
# ipadm create-ip first_net_ID # ipadm create-ip second_net_ID
where:
For example:
# ipadm create-ip net22 # ipadm create-ip net23
# ipadm show-addr
Output similar to the following appears:
ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 net13/v4 static ok 169.254.182.77/24 stor_ipmp0/v4 static ok 192.168.28.2/22 bondeth0/v4 static ok 10.129.119.1/20 bondib0/v4 static ok 192.168.10.1/22 bondib1/v4 static ok 192.168.10.2/22 bondmgt0/v4 static ok 10.129.104.1/20 lo0/v6 static ok ::1/128
In the ADDR column for this line, the subnet is shown as 192.168.28.2, with a subnet mask of 22.
# ipadm create-ipmp -i first_net_ID,second_net_ID ipmp_group # ipadm create-addr -T static -a ip_address/22 ipmp_group/v4
where:
first_net_ID is the first network ID shown in the output from Step 2
second_net_ID is the second network ID shown in the output from Step 2
ipmp_group is the name of the IPMP group that you are creating
ip_address is an unused IP address from the same subnet as the stor_ipmp0 interface that you picked in Step 7
For example:
# ipadm create-ipmp -i net22,net23 stor_ipmp0 # ipadm create-addr -T static -a 192.168.28.101/22 stor_ipmp0/v4
# ipadm set-ifprop -p standby=on -m ip second_net_ID
where second_net_ID is the second network ID shown in the output from Step 2.
For example:
# ipadm set-ifprop -p standby=on -m ip net23
# ipmpstat -g
The second network interface should appear in parenthesis in the output. For example:
# ipmpstat -g GROUP GROUPNAME STATE FDT INTERFACES stor_ipmp0 stor_ipmp0 ok -- net22 (net23)