Installing and Configuring OpenStack (Juno) in Oracle® Solaris

Exit Print View

Updated: June 2016
 
 

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

Before You Begin

Make sure of the following:

  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.

    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
  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 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.

  7. Log in to the Horizon dashboard.

    See Using the OpenStack Dashboard.