Before You Begin
The target system that hosts the kernel zone satisfies the virtualization requirements.
Installation requirements are discussed in Planning for an OpenStack Configuration.
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.
See the zonecfg(1M) man page for descriptions of configurable resources.
The following example configures the zone with 8 virtual CPUs and a limit of 12 GB of physical memory.
# zonecfg -z kzone-name zonecfg:OpenStackKZ> select 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 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.