F.4 Migrate a Zone to a New Host
You can migrate a zone from one physical host to another by running the following
procedure:
Note:
The zone is shut down during the migration process. If you require high
availability, ensure you use a clustered software solution.
1.
Log in to the compute node hosting the zone as the
root
user.
2.
Shutdown the zone by running the following command:
# zoneadm -z name_of_zone shutdown
Example:
# zoneadm -z zone04 shutdown
3.
Detach the zone by running the following command:
# zoneadm -z name_of_zone detach
Example:
# zoneadm -z zone04 detach
zoneadm: zone 'zone04': warning(s) occured during processing URI: 'iscsi://
192.168.14.133/luname.naa.600144f09c96cca900005190bfc4000a'
Could not remove one or more iSCSI discovery addresses because logical unit is in
use
Exported zone zpool: zone04_rpool
Unconfigured zone storage resource(s) from:
iscsi://192.168.14.133/luname.naa.600144f09c96cca900005190bfc4000a
#
4.
Create a directory on the storage appliance to which you can export the
configuration of the zone:
# mkdir -p directory
Example:
# mkdir -p /u01/common/general/zone04
5.
Export the configuration of the zone by running the following command:
# zonecfg -z name_of_zone export > directory/name_of_zone.cfg
Example:
# zonecfg -z zone04 export > /common/general/zone04/zone04.cfg
6.
Log in to the compute node you want to migrate the zone to as the
root
user.
7.
Import the zone from the configuration file you created in the previous step by
running the following command:
# zonecfg -z name_of_zone -f directory/name_of_zone.cfg
Migrate a Zone to a New Host
F-12 Oracle Exalogic Elastic Cloud Machine Owner's Guide
Содержание Exalogic Elastic Cloud
Страница 12: ...xii ...
Страница 70: ...Default Port Assignments 4 16 Machine Owner s Guide ...
Страница 82: ...Initial Network Configuration of Exalogic Machine 5 12 Machine Owner s Guide ...
Страница 102: ...Network Configuration Worksheets 6 20 Machine Owner s Guide ...
Страница 112: ...What Next 7 10 Machine Owner s Guide ...
Страница 134: ...Use the Phone Home Service to Manage the Storage Appliance 8 22 Machine Owner s Guide ...
Страница 162: ...Oracle Solaris Creating VNICs and Associating Them with VLANs 11 6 Machine Owner s Guide ...
Страница 248: ...Using Oracle Services in Oracle Enterprise Manager Ops Center 17 34 Oracle Exalogic Elastic Cloud Machine Owner s Guide ...
Страница 250: ...Using Oracle Services in Oracle Enterprise Manager Ops Center 17 36 Machine Owner s Guide ...
Страница 324: ...Power Distribution Unit Cabling Tables E 32 Machine Owner s Guide ...
Страница 338: ...Migrate a Zone to a New Host F 14 Machine Owner s Guide ...
Страница 342: ...Install Update and Remove RPMs Using Yum G 4 Machine Owner s Guide ...