Professional Documents
Culture Documents
Solaris Zones the running state will have the zone be booted into
the running state
zonecfg -z zone install
List zones
Zones are virtual process environments in Solaris 10 Create zone
(and newer) that allow system administrator to List available zones
isolate process in one zone from processes in another Create sparse root model zone (default)
zone. Zones have their own (chroot) storage zoneadm list -cv
zonecfg -z zone
environment which again separates data between zonecfg:zone> create Look at zone configuration
zones.
zonecfg -z zone info
Create whole root model zone
zonecfg -z zone Check current zone
This quick reference list the most commonly used zonecfg:zone> create -b zonename
commands involved managing Solaris zones. For a
Create zone using custom template
zones overview see the solaris_zones_intro quick
reference at http://www2.petervg.nl/quick_reference zonecfg -z zone -f template.zone
Log in and
run commands
Zone states Manage zone
Log in on zone's console (from global zone)
Undefined Create zone's root file system structure zlogin -C zone
zonecfg -z zone zonecfg -z zone zoneadm -z zone install Log in on zone (from global zone)
↓ zone: > create ↑
delete
Boot zone in ready mode zlogin zone
Configured zoneadm -z zone ready Log in on zone (from anywhere)
↓zoneadm -z zone install zoneadm -z uninstall ↑ Into running mode ssh zone_host_name
Installed zoneadm -z zone boot Run command in zone (from global zone)
↓zoneadm -z zone ready ↑ Reboot zone(from global zone) zlogin -c command zone
zoneadm -z zone boot Run command in zone (from anywhere)
Ready
↓zoneadm -z zone boot zoneadm -z zone halt ↑ Halt zone (from global zone) ssh zone cmd
Running This will not run the shutdown procedures!! Run command in zone ( from anywhere)
↓ zoneadm -z zone reboot zoneadm -z zone halt rsh zone command