| Document Information Preface Solaris Virtualization Product Overview Part I Resource Management 1.  Introduction to Solaris Resource Management 2.  Projects and Tasks (Overview) 3.  Administering Projects and Tasks 4.  Extended Accounting (Overview) 5.  Administering Extended Accounting (Tasks) 6.  Resource Controls (Overview) 7.  Administering Resource Controls (Tasks) 8.  Fair Share Scheduler (Overview) 9.  Administering the Fair Share Scheduler (Tasks) 10.  Physical Memory Control Using the Resource Capping Daemon (Overview) 11.  Administering the Resource Capping Daemon (Tasks) 12.  Resource Pools (Overview) 13.  Creating and Administering Resource Pools (Tasks) 14.  Resource Management Configuration Example 15.  Resource Control Functionality in the Solaris Management Console Part II Zones 16.  Introduction to Solaris Zones 17.  Non-Global Zone Configuration (Overview) 18.  Planning and Configuring Non-Global Zones (Tasks) 19.  About Installing, Halting, Cloning, and Uninstalling Non-Global Zones (Overview) 20.  Installing, Booting, Halting, Uninstalling,  and Cloning Non-Global Zones (Tasks) 21.  Non-Global Zone Login (Overview) 22.  Logging In to Non-Global Zones (Tasks) 23.  Moving and Migrating Non-Global Zones (Tasks) 24.  About Packages and Patches on a Solaris System With Zones Installed (Overview) 25.  Adding and Removing Packages and Patches on a Solaris System With Zones Installed (Tasks) 26.  Solaris Zones Administration (Overview) 27.  Administering Solaris Zones (Tasks) Using the ppriv Utility How to List Solaris Privileges in the Global Zone How to List the Non-Global Zone's Privilege Set How to List a Non-Global Zone's Privilege Set With Verbose Output Using DTrace in a Non-Global Zone How to Use DTrace Checking the Status of SMF Services in a Non-Global Zone How to Check the Status of SMF Services From the Command Line How to Check the Status of SMF Services From Within a Zone Mounting File Systems in Running Non-Global Zones How to Import Raw and Block Devices by Using zonecfg How to Mount the File System Manually How to Place a File System in /etc/vfstab to Be Mounted When the Zone Boots How to Mount a File System From the Global Zone Into a Non-Global Zone Adding Non-Global Zone Access to Specific File Systems in the Global Zone How to Add Access to CD or DVD Media in a Non-Global Zone How to Add a Writable Directory under /usr in a Non-Global Zone How to Export Home Directories in the Global Zone Into a Non-Global Zone Using IP Network Multipathing on a Solaris System With Zones Installed How to Use IP Network Multipathing in Exclusive-IP Non-Global Zones How to Extend IP Network Multipathing Functionality to Shared-IP Non-Global Zones Using the Fair Share Scheduler on a Solaris System With Zones Installed How to Set FSS Shares in the Global Zone Using the prctl Command How to Change the zone.cpu-shares Value in a Zone Dynamically Using Rights Profiles in Zone Administration How to Assign the Zone Management Profile Backing Up a Solaris System With Installed Zones How to Use ufsdump to Perform Backups How to Create a UFS Snapshot Using fssnap How to Use find and cpio to Perform Backups How to Print a Copy of a Zone Configuration Restoring a Non-Global Zone How to Restore an Individual Non-Global Zone 28.  Troubleshooting Miscellaneous Solaris Zones Problems Part III Branded Zones 29.  About Branded Zones and the Linux Branded Zone 30.  Planning the lx Branded Zone Configuration (Overview) 31.  Configuring the lx Branded Zone (Tasks) 32.  About Installing, Booting, Halting, Cloning, and Uninstalling lx Branded Zones (Overview) 33.  Installing, Booting, Halting, Uninstalling and Cloning lx Branded Zones (Tasks) 34.  Logging In to lx Branded Zones (Tasks) 35.  Moving and Migrating lx Branded Zones (Tasks) 36.  Administering and Running Applications in lx Branded Zones (Tasks) Part IV Sun xVM 37.  Sun xVM Hypervisor System Requirements 38.  Booting and Running the Sun xVM Hypervisor 39.  Xvnc 40.  Using virt-install to Install a Domain 41.  xVM System Administration 42.  Troubleshooting Miscellaneous Sun xVM Problems Glossary Index |       	 
             
Administering Data-Links in Exclusive-IP Non-Global ZonesThe dladm command is used from the global zone to administer data-links. How to Use dladm show-linkpropThe dladm command can be used with the show-linkprop subcommand to show
the assignment of data-links to running exclusive-IP zones.  You must be the global administrator in the global zone to administer data-links. 
Become superuser, or assume the Primary Administrator role.To create the role and assign the role to a user, see
Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.Show the assignment of data-links on the system.global# dladm show-linkprop Example 27-1 Using dladm  With the show-linkprop  subcommand
 In the first screen, zone 49bge, which is assigned bge0 has not been booted global# dladm show-linkprop
LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE
bge0         zone            --             --             --
ath0         channel         6              --             --
ath0         powermode       ?              off            off,fast,max
ath0         radio           ?              on             on,off
ath0         speed           11             -- 
1,2,5.5,6,9,11,12,18,24,36,48,54
ath0         zone            --             --             --Zone 49bge is booted. global# zoneadm -z 49bge bootThe command dladm show-linkprop is run again. Note that the bge0 link is now assigned to 49bge. global# dladm show-linkprop
LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE
bge0         zone            49bge          --             --
ath0         channel         6              --             --
ath0         powermode       ?              off            off,fast,max
ath0         radio           ?              on             on,off
ath0         speed           11             -- 
1,2,5.5,6,9,11,12,18,24,36,48,54
ath0         zone            --             --             --
 How to Use dladm set-linkpropThe dladm command can be used with the set-linkprop subcommand to temporarily
assign data-links to running exclusive-IP zones. Persistent assignment must be made through the
zonecfg command. You must be the global administrator in the global zone to administer data-links. 
Become superuser, or assume the Primary Administrator role.To create the role and assign the role to a user, see
Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.Use dladm set-linkprop with the -t to add bge0 to a running zone
called excl.global# dladm set-linkprop -t -p zone=excl bge0
LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE
bge0         zone            excl           --             -- 
 Tip - The -p option produces a display using a stable machine-parseable format. 
 How to Use dladm reset-linkpropThe dladm command can be used with the reset-linkprop subcommand to reset
the bge0 link value to unassigned. 
Become superuser, or assume the Primary Administrator role.To create the role and assign the role to a user, see
Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.Use dladm reset-linkprop with the -t to undo the zone assignment of the
bge0 device.global# dladm set-linkprop -t -p zone=excl bge0
LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE
bge0         zone            excl           --             -- 
 Tip - The -p option produces a display using a stable machine-parseable format. 
 TroubleshootingIf the running zone is using the device, the reassignment fails and an
error message is displayed. See Exclusive-IP Zone Is Using Device, so dladm reset-linkprop Fails. |