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 |
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)
13. Creating and Administering Resource Pools (Tasks)
14. Resource Management Configuration Example
15. Introduction to Oracle Solaris Zones
16. Non-Global Zone Configuration (Overview)
17. Planning and Configuring Non-Global Zones (Tasks)
Planning and Configuring a Non-Global Zone (Task Map)
Evaluating the Current System Setup
Determine the Zone Host Name and the Network Requirements
Shared-IP Zone Network Address
Exclusive-IP Zone Network Address
Creating, Revising, and Deleting Non-Global Zone Configurations (Task Map)
Configuring, Verifying, and Committing a Zone
Script to Configure Multiple Zones
How to Display the Configuration of a Non-Global Zone
Using the zonecfg Command to Modify a Zone Configuration
How to Modify a Resource Type in a Zone Configuration
How to Clear a Property in a Zone Configuration
Using the zonecfg Command to Revert or Remove a Zone Configuration
How to Revert a Zone Configuration
How to Delete a Zone Configuration
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)
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
You can also use the zonecfg command to do the following:
Modify a resource type in a zone configuration
Clear a property value in a zone configuration
Add a dedicated device to a zone
Modify a zone's privilege set
Add and remove storage
You can select a resource type and modify the specification for that resource.
You must be the global administrator in the global zone or a user with the correct rights profile to perform this procedure.
global# zonecfg -z my-zone
zonecfg:my-zone> select rctl name=zone.cpu-shares
zonecfg:my-zone:rctl> remove value (priv=privileged,limit=20,action=none)
zonecfg:my-zone:rctl> add value (priv=privileged,limit=10,action=none)
zonecfg:my-zone:rctl> end
zonecfg:my-zone> commit
zonecfg:my-zone> exit
Note that even if you did not explicitly type commit at the prompt, a commit is automatically attempted when you type exit or an EOF occurs.
Committed changes made through zonecfg take effect the next time the zone is booted.
Use this procedure to reset a standalone property.
global# zonecfg -z my-zone
zonecfg:my-zone> clear pool
zonecfg:my-zone> commit
zonecfg:my-zone> exit
Note that even if you did not explicitly type commit at the prompt, a commit is automatically attempted when you type exit or an EOF occurs.
Committed changes made through zonecfg take effect the next time the zone is booted.
This procedure can be used to rename zones that are in either the configured state or the installed state.
Note that zones with either rootzpool or zpool resources cannot be renamed in the installed state because the zonename is part of the existing zpool name. To rename these zones, see “Renaming Zones on Shared Storage” at the end of this procedure.
You must be the global administrator in the global zone or a user with the correct rights profile to perform this procedure.
global# zonecfg -z my-zone
zonecfg:my-zone> set zonename=newzone
zonecfg:newzone> commit
zonecfg:newzone> exit
Committed changes made through zonecfg take effect the next time the zone is booted.
A zone in the installed state that has either rootzpool or zpool resources cannot be renamed because the zonename is part of the existing zpool name. To rename a zone on shared storage that has been installed and has online zpools, perform the following steps. The zone my-zone is renamed in this procedure.
Detach the zone, my-zone in this procedure:
# zoneadm -z my-zone detach
Rename the zone by using the zonecfg command.
# zonecfg -z my-zone ; "set zonename=newname ; set zonepath=/store/newname"
Use zoneadm attach to reattach the zone.
# zoneadm -z newname attach
The following specification places a scanning device in a non-global zone configuration.
You must be the global administrator in the global zone or a user with appropriate authorizations to perform this procedure.
zonecfg:my-zone> add device
zonecfg:my-zone:device> set match=/dev/scsi/scanner/c3t4*
zonecfg:my-zone:device> end
zonecfg:my-zone> exit
This procedure is used to persistently set shares in the global zone.
You must be the global administrator in the global zone or a user in the global zone with the correct rights profile to perform this procedure.
# zonecfg -z global
zonecfg:global> set cpu-shares=5
zonecfg:global> exit