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
No comments yet.
AWS Android Ansible Apache Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Coding Consul Containers CouchDB DB DNS Database Databases Docker ELK Elasticsearch Filebeat FreeBSD Galera Git GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Influx Internet Java KVM Kibana Kodi Kubernetes LVM LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS Office OpenSearch PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Python Rancher Rant Redis Roundcube SSL Samba Seafile Security Shell SmartOS Solaris Surveillance Systemd TLS Tomcat Ubuntu Unix VMWare VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder