Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Extend IP Network Multipathing Functionality to Shared-IP Non-Global Zones

Use this procedure to configure IPMP in the global zone and extend the IPMP functionality to non-global zones.

Each address, or logical interface, should be associated with a non-global zone when you configure the zone. See Using the zonecfg Command in Introduction to Oracle Solaris Zones and How to Configure the Zone for instructions.

This procedure accomplishes the following:

  • The cards net0 and net1 are configured together in an IPMP group whose interface is ipmp0.

  • A data address of ipmp0, 192.168.0.1, is associated with the non-global zone my-zone.

  • The net0 card is set as the zone's physical interface.

In a running zone, you can use the ipadm command to make the association. See Shared-IP Network Interfaces and the ipadm(1M) man page for more information.

You must be the global administrator or a user granted the appropriate authorizations in the global zone to perform this procedure.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. In the global zone, configure IPMP groups as described in Configuring IPMP Groups in Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle Solaris 11.2 .
  3. Use the zonecfg command to configure the zone. When you configure the net resource, add address 192.168.0.1 and physical interface net0 to the zone my-zone:
    zonecfg:my-zone> add net
    zonecfg:my-zone:net> set address=192.168.0.1
    zonecfg:my-zone:net> set physical=net0
    zonecfg:my-zone:net> end

    Only net0 would be visible in non-global zone my-zone.

If net0 Subsequently Fails

If net0 subsequently fails, because 192.168.0.1 is assigned to ipmp0, then that address continues to be available through net1. The availability of the address also applies to my-zone. However, after net0 has failed, then net1 becomes the visible interface of my-zone.