Before You Begin
The system that hosts the kernel zone must satisfy the virtualization requirements specified in OpenStack Installation Requirements. Ensure also that the OpenStack Unified Archive file has been downloaded to the system. See How to Download the Image File.
# zonecfg -z kzone-name create -t SYSsolaris-kz
This step creates a kernel zone based on the Oracle Solaris template called SYSsolaris-kz.
The following example configures the zone with 8 virtual CPUs and a limit of 12 GB of physical memory. See the zonecfg(1M) man page for descriptions of configurable resources.
# zonecfg -z kzone-name zonecfg:OpenStackKZ> add virtual-cpu zonecfg:OpenStackKZ:virtual-cpu> set ncpus=8 zonecfg:OpenStackKZ:virtual-cpu> end zonecfg:OpenStackKZ> select capped-memory zonecfg:OpenStackKZ:capped-memory> set physical=12g zonecfg:OpenStackKZ:capped-memory> end zonecfg:OpenStackKZ> verify zonecfg:OpenStackKZ> exit
# zonecfg -z kzone-name info
In the following example, 50 Gb of disk space is used for the kernel zone to ensure sufficient space to create volumes for the VM instances.
# zoneadm -z kzone-name install -a archive-path -x install-size=50g
where archive-path refers to the full pathname of the location of the downloaded Juno OpenStack Unified Archive.
# zoneadm -z kzone-name boot
# zlogin -C kzone-name
The SCI Tool is displayed to configure the system. If you do not see the SCI Tool, press the Enter key or press Ctrl-L to redraw the screen.