Installing and Configuring OpenStack in Oracle® Solaris 11.2

Exit Print View

Updated: April 2015
 
 

How to Configure the Compute Node

  1. (Optional) Install and configure NTP.

    See Installing Network Time Protocol.

  2. Install the Nova package.
    compute1# pkg install nova
  3. Restart the Remote Access Daemon (RAD).

    Nova uses RAD to communicate with the Oracle Solaris Zones framework.

    compute1# svcadm restart rad:local
  4. Specify authentication configuration information.

    Uncomment and set the following parameters in the /etc/nova/api-paste.ini file. These parameters specify the location of the Keystone API service and the Nova authentication information.

    auth_uri = http://controller-name:5000/v2.0
    identity_uri = http://controller-name:35357
    admin_tenant_name = service
    admin_user = nova
    admin_password = nova-password
  5. Configure authentication and database parameters as well as relevant services.

    Uncomment and set the following parameters in the /etc/nova/nova.conf file. These parameters specify additional Keystone authentication service endpoints, the Glance API service, the Neutron API service, the RabbitMQ service, and the database URI for the database specific to Nova.

    keystone_ec2_url=http://controller-name:5000/v2.0/ec2tokens
    glance_host=controller-name
    neutron_url=http://controller-name:9696
    neutron_admin_username=neutron
    neutron_admin_password=neutron-password
    neutron_admin_tenant_name=service
    neutron_admin_auth_url=http://controller-name:5000/v2.0
    rabbit_host=controller-name
    connection=mysql://nova:nova@controller-name/nova
  6. Install the EVS package on the Compute node.
    # pkg install evs
  7. Create an SSH public key on the Compute node for the root user.

    This key will enable the Solaris Zones framework to access the EVS controller.

    Use the ssh-keygen command as the root user, and create the key for the root user.

    compute1# su - root -c "ssh-keygen -N '' -f /root/.ssh/id_rsa -t rsa"
  8. Copy the key to the EVS controller node.

    Copy the SSH public key generated in the previous step, /root/.ssh/id_rsa.pub, to the node where the EVS controller is running, which is the Network node in this configuration. This key will be referenced when configuring the EVS controller on the Network node.

    After this step, you can register Glance images. See Creating an Image and Adding an Image to the Image Store.

  9. Enable the Nova compute service.
    compute1# svcadm enable nova-compute