The movezone command lets you move a zone from one path to a new path.
This command has the following format:
dpmzone movezone [-sc sc_host] -host hostname -name zonename -new_path path [-pre] [-post] [-locale iso639value]
(Optional) Specifies the host name of the Service Controller.
Specifies the Solaris Zones server. This parameter is case-sensitive.
Specifies the zone to move to a new location.
Defines the new path of the zone.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example
Move a zone on host SolarisServer2:
dpmzone movezone -host SolarisServer2 -name myzone1 -new_path /opt/zones/myzone1
Copyright © 2013 CA. All rights reserved. |
|