Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Steps how to do a clean shutdown of a Solaris zone
Tuesday - Oct 1st 2013 - by - (0 comments)

In Solaris there's the command zoneadm to manage the zones. But what if you want to shut down a zone? What steps should you consider? Here we go:

1. Disable the autoboot

zonecfg -z zone01
zonecfg:zone01> set autoboot=false
zonecfg:zone01> verify
zonecfg:zone01> commit
zonecfg:zone01> exit

2. Make a clean shutdown of the zone
... Do not use "zoneadm -z zone01 halt" unless you don't care about the data anymore.

zlogin zone01 "shutdown -y -g0 -i 0"

3. Detach the zone from the global

zoneadm -z zone01 detach

 

 

Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Nagios Plugins nagios plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

7639 Days
until Death of Computers
Why?