Revision [4150]

Last edited on 2011-09-13 19:10:03 by KenFong
Additions:
===Rebooting===
If the host needs a reboot, shutdown all zones with the halt command
zoneadm -z halt
If only the zone needs a reboot, use the reboot command
zoneadm -z reboot


Revision [3705]

Edited on 2010-04-29 19:10:35 by KenFong
Additions:
====Cloning a zone====
Export the config from the source zone. Then edit it to reflect the storage location and IP of the new zone
zonecfg -z vm1 export > vm2.cfg
vi vm2.cfg
Create the target zone with the edited config
zonecfg -z vm2 -f vm2.cfg
Shutdown the source zone and clone it to the target
zoneadm -z vm1 halt
zoneadm -z vm2 clone vm1
List zones
zoneadm list -vi
Boot up both zones, then login to the new zone and edit the various settings.
zoneadm -z vm2 boot
zlogin -C vm2


Revision [3700]

Edited on 2010-04-27 08:21:18 by KenFong
Additions:
pkg install SUNWtop
pkg install SUNWapch22
Deletions:
pkg install SUNWtop@3.8-0.111


Revision [3699]

Edited on 2010-04-27 08:19:47 by KenFong
Additions:
7. Install package
pkg search top
pkg install SUNWtop@3.8-0.111


Revision [3698]

Edited on 2010-04-27 08:17:42 by KenFong
Additions:
6. Get out of zlogin - Use the escape code ~.
vm1 console login: ~.
[Connection to zone 'vm1' console closed]


Revision [3697]

Edited on 2010-04-27 08:13:41 by KenFong
Additions:
root@knote:~# zoneadm list -v
ID NAME STATUS PATH BRAND IP
0 global running / native shared
2 vm1 running /rpool/zone1 ipkg shared
Deletions:
ID NAME STATUS PATH BRAND IP


Revision [3696]

Edited on 2010-04-27 08:05:09 by KenFong
Additions:
zonecfg:vm1:net> set physical=iprb0 # vm1 will be using iprb0:1
Deletions:
zonecfg:vm1:net> set physical=wpi0 # The only available physical interface here is the wireless one :)


Revision [3695]

Edited on 2010-04-27 08:02:18 by KenFong
Additions:
zoneadm -z vm1 boot
Deletions:
zoneadm -Z vm1 boot


Revision [3694]

Edited on 2010-04-27 07:55:51 by KenFong
Additions:
{{parent page="HomePage"}}
Deletions:
{{parent page="Home"}}


Revision [3693]

The oldest known version of this page was created on 2010-04-27 07:55:32 by KenFong
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki