search

Custom Search

mardi 16 octobre 2012

Cloning a Solaris Zone


This procedure describes how to clone a Solaris Zone.

That is make a new working zone from an existing zone.

List the zones :



On the global zone, use the zoneadm list -vc  :

 

Use the export option with zonecfg -z to create a configuration file.

# zonecfg -z <zone name> export <file name>

Edit the configuration file created in the previous step and change the parameters

# vi <new zone name>.cfg


Use zoneadm -z with the halt


# zoneadm -z <zonename> halt

Now clone your halted zone with :

# zoneadm -z <new zone> clone <existing zone>

# zoneadm -z <new zone> boot

Use zlogin -c to the new zone and configure the language, timezone and netw ork parameters.

# zlogin -C <new zone>





Aucun commentaire:

Enregistrer un commentaire