Previous Topic: dpmzone-installzone Command--Install a Zone (Funclet)Next Topic: dpmzone-rebootzone Command--Reboot a Zone (Funclet)


dpmzone-movezone Command--Move a Zone (Funclet)

The dpmzone-movezone command lets you move a zone from one path to a new path.

This command has the following format:

dpmzone-movezone 
-host hostname 
-name zonename 
-new_path path
-host hostname

Specifies the Solaris Zones server. This parameter is case-sensitive.

-name zonename

Specifies the zone to move to a new location.

-new_path path

Defines the new path for the zone to move.

Example

Move a zone on host SolarisServer2:

dpmzone-movezone -host SolarisServer2 -name myzone1 
-new_path /opt/zones/myzone1