Installing and Configuring OpenStack in Oracle® Solaris 11.2

Exit Print View

Updated: April 2015
 
 

Installing and Configuring Heat

Heat is OpenStack's orchestration engine that enables you to deploy cloud applications based on templates that you create. You install Heat on the same node as Keystone.

How to Configure Heat

Before You Begin

You must configure Keystone first as described in the How to Install and Configure Keystone before performing this task.

  1. Install the Heat package.
    controller# pkg install heat
  2. Run the Heat setup script.
    controller# OS_SERVICE_ENDPOINT=http://$CONTROLLER_ADM_NODE \
    SERVICE_HOST=$CONTROLLER_ADM_NODE \
    OS_AUTH_URL=http://$CONTROLLER_ADM_NODE:5000/v2.0 \
    OS_USERNAME=admin OS_PASSWORD=secrete OS_TENANT_NAME=demo \
    /usr/demo/openstack/keystone/heat-keystone-setup
  3. Configure Heat by either uncommenting or setting the parameters in these configuration files:
    • /etc/heat/heat.conf

      [database]
      connection = mysql://heat:heat@$CONTROLLER_ADM_NODE/heat
      
      [keystone_authtoken]
      auth_uri = http://$CONTROLLER_ADM_NODE:5000/v2.0
      identity_uri = http://$CONTROLLER_ADM_NODE:35357
      admin_tenant_name = tenant
      admin_user = heat
      admin_password = service-password
      
    • /etc/heat/api-paste.ini

      [filter:authtoken]
      auth_uri = http://$CONTROLLER_ADM_NODE:5000/v2.0/
      identity_uri = http://$CONTROLLER_ADM_NODE:35357
      admin_tenant_name = tenant
      admin_user = heat
      admin_password = service-password
      
  4. Enable the heat service.
    controller# svcadm enable -rs heat-api heat-db heat-engine \
    heat-api-cfn heat-api-cloudwatch