Installing and Configuring OpenStack in Oracle® Solaris 11.2

Exit Print View

Updated: April 2015

How to Install Juno OpenStack into a Kernel Zone Using the Unified Archive File

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.

  1. Create a kernel zone.
    # zonecfg -z kzone-name create -t SYSsolaris-kz

    This step creates a kernel zone based on the Oracle Solaris template called SYSsolaris-kz.

  2. Configure the kernel zone.

    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
  3. (Optional) Check your configuration.
    # zonecfg -z kzone-name info
  4. Install the kernel zone.

    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.

  5. Boot the zone.
    # zoneadm -z kzone-name boot
  6. Log into the zone console to complete the configuration.
    # 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.