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)

Zone Installation (Task Map)

Installing and Booting Zones

(Optional) How to Verify a Configured Zone Before It Is Installed

How to Install a Configured Zone

How to Obtain the UUID of an Installed Non-Global Zone

How to Mark an Installed Non-Global Zone Incomplete

(Optional) How to Transition the Installed Zone to the Ready State

How to Boot a Zone

How to Boot a Zone in Single-User Mode

Where to Go From Here

Shutting Down, Halting, Rebooting, Uninstalling, Cloning, and Deleting Non-Global Zones (Task Map)

Shutting Down, Halting, Rebooting, and Uninstalling Zones

How to Shutdown a Zone

How to Halt a Zone

How to Reboot a Zone

How to Uninstall a Zone

Cloning a Non-Global Zone on the Same System

How to Clone a Zone

Moving a Non-Global Zone

How to Move a Zone That Is Not on Shared Storage

Deleting a Non-Global Zone From the System

How to Remove a Non-Global Zone

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

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

Glossary

Index

Moving a Non-Global Zone

This procedure is used to move the zone to a new location on the same system by changing the zonepath. The zone must be halted. The normal zonepath criteria described in Resource Types and Properties apply.

This information also applies to moving solaris10 branded zones. For information on solaris10 branded zones, see Part III, Oracle Solaris 10 Zones.


Note - You cannot move a zone that is present in other BEs. You can either delete those BEs first, or create a new zone at the new path by cloning the zone.



Note - You cannot move a zone on shared storage with a rootzpool resource to a different location on the system. A rename of the zonepath is supported.


How to Move a Zone That Is Not on Shared Storage

You must be the global administrator or a user with appropriate authorizations in the global zone to perform this procedure.

  1. Be superuser, or have equivalent authorizations.
  2. Halt the zone to be moved, db-zone in this procedure.
    global# zoneadm -z db-zone halt
  3. Use the zoneadm command with the move subcommand to move the zone to a new zonepath, /zones/db-zone.
    global# zoneadm -z db-zone move /zones/db-zone
  4. Verify the path.
    ID  NAME     STATUS       PATH                           BRAND      IP
     0  global   running      /                              solaris    shared
     -  my-zone  installed    /zones/my-zone                 solaris    excl  
     -  db-zone  installed    /zones/db-zone                 solaris    excl