How to Configure and Install Solaris 11 Kernel Zones

After a brief introduction, Oracle Solaris 11 Certified Professional System Administrator Mick Hosegood will present (with demonstrations) the hardware and software requirements for Solaris 11 Kernel Zones, then demonstrate how to configure, install and manage Solaris 11 Zones.

This free Solaris 11 tutorial is divided into four separate lessons:

  1. Introduction, Requirements and Configuring for the Zone Installation (7:01)
    After a brief introduction, Certified Expert Mick Hosegood will present (with demonstrations) the hardware and software requirements for Solaris 11 Kernel Zones.
  2. Demonstration: Installing the Kernel Zone (3:46) (click on video below)
    In this lesson, Mick demonstrates how to do install a kernel zone.
  3. Demonstration: How to Boot the Zone (3:33)
    Learn How to Install Solaris 11 Zones! In lessons 1 and 2, OCP Mick Hosegood demonstrated how to check your hardware and software environments (prerequisites), how to configure a kernel zone and how to install a zone. In this lesson, Mick demonstrates how to boot a zone.
  4. Tips, Helpful Hints and Best Practices (2:13)
    In this lesson (4 of 4), Mick provides tips, helpful hints and best practices (including memory management) for Solaris 11 Kernel Zones.


Date: May 9, 2016

Contact SkillBuilders for Solaris support, training, mentoring and Oracle software licenses.

NOTE: Some corporate firewalls will not allow videos hosted by YouTube.


Demonstration: Installing the Kernel Zone

>> Mick:  Having configured the zone, we can now install it and we have a number of choices that we can use to configure the zone. 


Firstly, we can do something called a direct install where we don’t need any external media and it would take the current package settings from the global zone. We could use an ISO image of Solaris 11 and we could install from that. So we could do a basic straightforward install of a completely independent machine or we could use something called a unified archive which is another new Solaris 11 feature, which is an image of a system taken for backup or cloning purposes and which will be the subject of a later tutorial. 




Now we’re going to install the zone. 




Keeping our fingers’ crossed that everything is okay. If there are problems with memory like the ARC cache for example, or we don’t have sufficient resource, that won’t be apparent until we’ve actually tried to boot the zone having installed it. And I can show you an example of some of the errors that you may get. So the zone install will click along for about 15 minutes and so I’ll pause the recording for now and come back in a few minutes time. So you should see me re-appear fairly instantly. 




Okay, the zone installation here on the right-hand side in the terminal window seems to be progressing fairly nicely. Over on the left-hand side here is just a couple of notes about the storage that I can go through while the installation is progressing. 


By default the system will allocate a ZFS emulated volume under this location here, rpool/VARSHARE/zones/kzone1/disk0 and the install signs would be 18 gigabytes. If you look just above here you can see a zoneadm install command that specifies an alternate size of 15 gigabytes. 


It’s possible to allocate alternative storage of course which you may want to do on an external device which may also be a shared device like a SAN lan or SCSI lan or maybe even an NFS mounted file system. 




Being able to configure alternative storage is an important thing and it’s a slight technical challenge. It’s a little bit different to normal run of the mill zones and those sort of techniques together with full details of Solaris Kernel Zones are covered on our Solaris New Features Training and also the Solaris 11 Advanced Administration Course. Just move on a little bit more. 


Once we finish the install, we then boot the zone and we can log into the console device where we will then be asked to do system configuration. 




The installation’s done now if you look on the right-hand side you can see it took nearly 900 seconds, just very slightly short of 15 minutes. So we can get on and boot the new zone and configure it.

Copyright 2017

Free Online Registration Required

The tutorial session you want to view requires your registering with us.

It’s fast and easy, and totally FREE.

And best of all, once you are registered, you’ll also have access to all the other 100’s of FREE Video Tutorials we offer!