You are on page 1of 4

8/22/17 How to verify non-global solaris zone is installed

THE GEEK DIARY
How to verify non-global solaris zone is installed HO W TO S | BAS IC S | C O N C E P TS

By Sandeep (http://thegeekdiary.com/author/sandeep_patil/)

It is important that the zone is in the appropriate installed state before one can boot it up. The configured zone
has to be installed with the operating environment. That is, the zone configuration has to be instantiated and
packages have to be installed under the zone’s root path. The zone status should be marked as installed.

To check the current status of the zone, run the zoneadm command with the subcommand list together with the -
cv switches. The following zoneadm output confirms that the zone002 has been installed.

# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- zone002 installed /zones/zone002 native shared

If the zone is not yet installed, the status will be indicated as configured.

thegeekdiary.com/how-to-verify-non-global-solaris-zone-is-installed/ 1/4

To check whether the zone is in state detached. If the zonepath is empty.com Learn More thegeekdiary.xml # zoneadm -z zone002 attach -U Getting the list of files to remove Removing 4 files Remove 9 of 9 packages Installing 6103 files Add 10 of 10 packages Updating editable files The file /var/sadm/system/logs/update_log within the zone contains a log of the zone update. then the zone needs to be installed using zoneadm -z [zone_name] install Example: WordPress.xml.8/22/17 How to verify non-global solaris zone is installed # zoneadm list -cv ID NAME STATUS PATH BRAND IP 0 global running / native shared . then you can try to attach the zone to the system # ls -l /zones/zone002 total 12 drwxr-xr-x 12 root sys 50 Aug 18 14:40 dev drwxr-xr-x 2 root root 2 Feb 4 2014 lu drwxr-xr-x 19 root root 21 Aug 14 15:30 root -rw-r--r-.com/how-to-verify-non-global-solaris-zone-is-installed/ 2/4 .zone002 configured /zones/zone002 native shared In this case. the zone is either detached or will have to be installed by running the zoneadm -z install command. If you find the directories dev and root and SUNWdetached. check the content of the zonepath.com (Official Site) | Create Your Own Website Today Ad Start With A Custom Domain Name & Our Stunning Templates In Just Minutes! www. 1 root root 4511578 Aug 18 14:41 SUNWdetached.WordPress.

Apartments in Ultra luxury 2/3 BHK apartments on Sarjapur Road.com/how-to-verify-non-global-solaris-zone-is-installed/ 3/4 . Preparing to initialize [1026] packages on the zone. Determining zone package initialization order. The file contains a log of the zone installation. Zone is initialized. Once the zone is installed. Initialized [1026] packages on zone. Enquire Now Bangalore for a free Site visit. Initializing zone product registry.com/solaris-volume-manager-svm-command- line-reference-cheat-sheet/) Solaris ZFS command line reference (http://thegeekdiary. Copying [2552] files to the zone.com/ldoms-ovm-for-sparc-command-line-reference- cheat-sheet/) Solaris Volume Manager (SVM) command line reference (http://thegeekdiary.com/centos-rhel-7-firewalld-command-line-reference-cheat- sheet/) systemd command line reference (cheat sheet) (http://thegeekdiary.com/centos-rhel-7-systemd-command-line-reference- cheat-sheet/) SOLARIS IN TERVIEW QUESTION S thegeekdiary. Creating list of files to copy from the global zone. 8/22/17 How to verify non-global solaris zone is installed # zoneadm -z zone002 install Preparing to install zone .com/rhel-7-rhcsa-notes-cheat-sheets/) CentOS / RHEL 7 : firewalld Cheat Sheet (http://thegeekdiary.com/solaris-zfs-command-line-reference-cheat-sheet/) RHEL 7 – RHCSA Notes (Cheat Sheets) (http://thegeekdiary. CHEAT SHEETS LDOMs (OVM for SPARC) Command line reference (http://thegeekdiary. the zoneadm list -cv output will indicate the zone as installed.

com/the-ultimate-solaris-networking-interview- questions/) The ultimate ZFS interview questions (http://thegeekdiary.com/the-ultimate-solaris-volume- manager-svm-interview-questions/) The ultimate Solaris zones (containers) interview questions (http://thegeekdiary.com/most-commonly-used-alom-commands-cheat-sheet/) Most Commonly used ILOM commands (http://thegeekdiary.com/most-commonly-used-ilom-commands-cheat-sheet/) Most Commonly used LOM commands (http://thegeekdiary. XSCF.com/most-commonly-used-lom-commands-cheat-sheet/) Most commonly used XSCF commands (http://thegeekdiary. ELOM.com/the-ultimate-solaris-zones-containers- interview-questions/) The ultimate Solaris networking interview questions (http://thegeekdiary. RSC (http://thegeekdiary. 8/22/17 How to verify non-global solaris zone is installed SOLARIS IN TERVIEW QUESTION S The ultimate Solaris Volume Manager (SVM) interview questions (http://thegeekdiary.com/how-to-login-into-console- from-ilom-alom-lom-elom-xscf-rsc/) © 2017 · THE GEEK DIARY (HTTP://THEGEEKDIARY.COM) thegeekdiary. LOM.com/the-ultimate-zfs-interview-questions/) HARD W ARE CHEATS Most Commonly used ALOM commands (http://thegeekdiary. ALOM.com/most-commonly-used-xscf-commands-cheat-sheet/) Most Commonly used RSC commands (http://thegeekdiary.com/most-commonly-used-rsc-commands-cheat-sheet/) How to login into console from ILOM.com/how-to-verify-non-global-solaris-zone-is-installed/ 4/4 .