Managing Network Virtualization and Network Resources in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Configuring a CPU Pool for a Datalink

This section describes how to set the pool property for a datalink either when the link is created or later when the link requires further configuration.

How to Configure a CPU Pool for a Datalink

Before You Begin

You must have completed the following tasks:

  1. Set the link's pool property to the pool of CPUs that you created for the zone.
    • If the VNIC has not yet been created, use the following syntax:
      # dladm create-vnic -l link -p pool=pool VNIC
    • If the VNIC exists, use the following syntax:
      # dladm set-linkprop -p pool=pool VNIC
  2. Set the zone to use the VNIC.
    global# zonecfg -z zone
    zonecfg:zone> add net
    zonecfg:zone:net> set physical=VNIC
    zonecfg:zone:net> end
    
  3. Verify and commit the changes you have implemented and then exit the zone.
    zonecfg:zone> verify
    zonecfg:zone> commit
    zonecfg:zone> exit
Example 7-4  Assigning a Link's CPU Pool to a Zone

This example shows how a pool is assigned to a zone's datalink. The scenario is based on the configuration in Figure 7–1. The example assumes that a pool of CPUs named pool99 has already been configured for the zone. The pool is then assigned to a VNIC. Finally, the non-global zone zone1 is set to use the VNIC as the network interface.

# dladm create-vnic -l net1 -p pool=pool99 vnic1

# zonecfg -z zone1
zonecfg:zone1> add net
zonecfg:zone1:net> set physical=vnic1
zonecfg:zone1:net> end
zonecfg:zone1> verify
zonecfg:zone1> commit
zonecfg:zone1> exit