JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Administration: Oracle Solaris Zones, Oracle Solaris 10 Zones, and Resource Management     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Part I Oracle Solaris Resource Management

1.  Introduction to 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

Part II Oracle Solaris Zones

15.  Introduction to Oracle Solaris Zones

16.  Non-Global Zone Configuration (Overview)

17.  Planning and Configuring Non-Global Zones (Tasks)

18.  About Installing, Shutting Down, Halting, Uninstalling, and Cloning Non-Global Zones (Overview)

19.  Installing, Booting, Shutting Down, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)

20.  Non-Global Zone Login (Overview)

21.  Logging In to Non-Global Zones (Tasks)

22.  About Zone Migrations and the zonep2vchk Tool

23.  Migrating Oracle Solaris Systems and Migrating Non-Global Zones (Tasks)

24.  About Automatic Installation and Packages on an Oracle Solaris 11.1 System With Zones Installed

25.  Oracle Solaris Zones Administration (Overview)

26.  Administering Oracle Solaris Zones (Tasks)

Using the ppriv Utility

How to List Oracle 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 the zonestat Utility in a Non-Global Zone

How to Use the zonestat Utility to Display a Summary of CPU and Memory Utilization

How to Use the zonestat Utility to Report on the Default pset

Using zonestat to Report Total and High Utilization

How to Obtain Network Bandwidth Utilization for Exclusive-IP Zones

Reporting Per-Zone fstype Statistics for all Zones

How to Use the -z Option to Monitor Activity in Specific Zones

How to Display Per-Zone fstype Statistics for all Zones

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 Use LOFS to Mount a File System

How to Delegate a ZFS Dataset to 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

Using IP Network Multipathing on an Oracle 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

Administering Data-Links in Exclusive-IP Non-Global Zones

How to Use dladm show-linkprop

How to Use dladm to Assign Temporary Data-Links

How to Use dladm reset-linkprop

Using the Fair Share Scheduler on an Oracle 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 an Oracle Solaris System With Installed Zones

How to Use ZFSsend to Perform Backups

How to Print a Copy of a Zone Configuration

Recreating a Non-Global Zone

How to Recreate an Individual Non-Global Zone

27.  Configuring and Administering Immutable Zones

28.  Troubleshooting Miscellaneous Oracle Solaris Zones Problems

Part III Oracle Solaris 10 Zones

29.  Introduction to Oracle Solaris 10 Zones

30.  Assessing an Oracle Solaris 10 System and Creating an Archive

31.  (Optional) Migrating an Oracle Solaris 10 native Non-Global Zone Into an Oracle Solaris 10 Zone

32.  Configuring the solaris10 Branded Zone

33.  Installing the solaris10 Branded Zone

34.  Booting a Zone, Logging in, and Zone Migration

Glossary

Index

Administering Data-Links in Exclusive-IP Non-Global Zones

The dladm command is used from the global zone to administer data-links.

How to Use dladm show-linkprop

The 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 or a user granted the appropriate authorizations in the global zone to administer data-links.

  1. Become root or assume an equivalent role.
  2. Show the assignment of data-links on the system.
    global# dladm show-linkprop

Example 26-1 Using dladm With the show-linkprop subcommand

  1. In the first screen, zone 49bge, which is assigned bge0 has not been booted.

    global# dladm show-linkprop
    LINK     PROPERTY        PERM   VALUE        DEFAULT        POSSIBLE
    bge0     zone            rw     --           --             --
    vsw0     speed           r-     1000         1000           --
    vsw0     autopush        rw     --           --             --
    vsw0     zone            rw     --           --             --
    vsw0     duplex          r-     full         full           half,full
    vsw0     state           r-     up           up             up,down
    vsw0     adv_autoneg_cap --     --           0              1,0
    vsw0     mtu             rw     1500         1500           1500
    vsw0     flowctrl        --     --           no             no,tx,rx,bi,pfc,
                                                                auto
    ...
  2. Boot zone 49bge.

    global# zoneadm -z 49bge boot
  3. Execute the command dladm show-linkprop again. Note that the bge0 link is now assigned to 49bge.

    global# dladm show-linkprop
    LINK     PROPERTY        PERM   VALUE        DEFAULT        POSSIBLE
    bge0     zone            rw     49bge        --             --
    vsw0     speed           r-     1000         1000           --
    vsw0     autopush        rw     --           --             --
    vsw0     zone            rw     --           --             --
    vsw0     duplex          r-     full         full           half,full
    vsw0     state           r-     up           up             up,down
    vsw0     adv_autoneg_cap --     --           0              1,0
    vsw0     mtu             rw     1500         1500           1500
    vsw0     flowctrl        --     --           no             no,tx,rx,bi,pfc,
                                                                auto
    ...

Example 26-2 How to Display the Data-Link Name and Physical Location When Using Vanity Naming

Device physical locations are shown in the LOCATION field. To view the data-link name and physical location information for a device, use the -L option.

global# dladm show-phys -L
LINK         DEVICE        LOCATION
net0         e1000g0       MB
net1         e1000g1       MB
net2         e1000g2       MB
net3         e1000g3       MB
net4         ibp0          MB/RISER0/PCIE0/PORT1
net5         ibp1          MB/RISER0/PCIE0/PORT2
net6         eoib2         MB/RISER0/PCIE0/PORT1/cloud-nm2gw-2/1A-ETH-2
net7         eoib4         MB/RISER0/PCIE0/PORT2/cloud-nm2gw-2/1A-ETH-2

How to Use dladm to Assign Temporary Data-Links

The 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 or a user granted the appropriate authorizations in the global zone to administer data-links.

  1. Become root or assume an equivalent role.
  2. Use dladm set-linkprop with the -t to add bge0 to a running zone called zoneA.
    global# dladm set-linkprop -t -p zone bge0
    LINK     PROPERTY        PERM   VALUE        DEFAULT        POSSIBLE
    bge0     zone            rw     zoneA        --             --

    Tip - The -p option produces a display using a stable machine-parseable format.


How to Use dladm reset-linkprop

The dladm command can be used with the reset-linkprop subcommand to reset the bge0 link value to unassigned.

  1. Become root or assume an equivalent role.
  2. Use dladm reset-linkprop with the -t option to undo the zone assignment of the bge0 device.
    global# dladm reset-linkprop -t -p zone bge0
    LINK     PROPERTY        PERM   VALUE        DEFAULT        POSSIBLE
    bge0     zone            rw     zoneA        --             --

    Tip - The -p option produces a display using a stable machine-parseable format.


Troubleshooting

If 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.