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.
Before You Begin
You must have completed the following tasks:
Created a processor set with its assigned number of CPUs
Created a pool with which the processor set will be associated
Associated the pool with the processor set
global# zonecfg -z zone zonecfg:zone> add net zonecfg:zone:net> set physical=VNIC zonecfg:zone:net> end
zonecfg:zone> verify zonecfg:zone> commit zonecfg:zone> exit
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