OpenStack Juno : Configure Heat#22015/01/27 |
Install OpenStack Orchestration Service (Heat).
This example shows to install Orchestration Services on the existing environment like follows.
For example, install and configure Orchestration Services on the Network Node. | +------------------+ | +------------------------+ | [ Control Node ] | | | [ Network Node ] | | Keystone |10.0.0.30 | 10.0.0.50| DHCP,L3,L2 Agent | | Glance |------------+------------| Metadata Agent | | Nova API |eth0 | eth0| Heat API,API-CFN | | Neutron Server | | | Heat Engine | +------------------+ | +------------------------+ eth0|10.0.0.51 +--------------------+ | [ Compute Node ] | | Nova Compute | | L2 Agent | +--------------------+ |
Install and configure Heat services on the Network Node on this section.
|
|
[1] | Install Heat services. |
[root@network ~]# yum --enablerepo=openstack-juno,epel -y install openstack-heat-api openstack-heat-api-cfn openstack-heat-engine python-heatclient
|
[2] | Configure Heat services. |
[root@network ~]# mv /etc/heat/heat.conf /etc/heat/heat.conf.org
[root@network ~]#
vi /etc/heat/heat.conf # create new
[DEFAULT]
deferred_auth_method=trusts trusts_delegated_roles=heat_stack_owner # Heat installed server heat_metadata_server_url=http://10.0.0.50:8000 heat_waitcondition_server_url=http://10.0.0.50:8000/v1/waitcondition heat_watch_server_url=http://10.0.0.50:8003 heat_stack_user_role=heat_stack_user # Heat donmain ID stack_user_domain=f1fd51925eed483a88bff3053d16b1b7 # Heat domain admin name stack_domain_admin=heat_domain_admin # Heat domain admin's password stack_domain_admin_password=domainpassword # RabbitMQ server rabbit_host=10.0.0.30 rabbit_port=5672 # RabbitMQ userID rabbit_userid=guest # RabbitMQ user7s password rabbit_password=password rpc_backend=rabbit verbose=True
[database]
# connection info for MariaDB connection=mysql://heat:password@10.0.0.30/heat
[ec2authtoken]
# Keystone server auth_uri=http://10.0.0.30:35357/v2.0
[heat_api]
bind_host=0.0.0.0 bind_port=8004
[heat_api_cfn]
bind_host=0.0.0.0 bind_port=8000
[keystone_authtoken]
# Keystone server auth_host=10.0.0.30 auth_port=35357 auth_protocol=http auth_uri=http://10.0.0.30:35357/v2.0 # Heat admin user admin_user=heat # Heat admin user's password admin_password=servicepassword # Heat admin user's tenant admin_tenant_name=service chgrp heat /etc/heat/heat.conf [root@network ~]# chmod 640 /etc/heat/heat.conf [root@network ~]# heat-manage db_sync [root@network ~]# systemctl start openstack-heat-api openstack-heat-api-cfn openstack-heat-engine [root@network ~]# systemctl enable openstack-heat-api openstack-heat-api-cfn openstack-heat-engine |
Sponsored Link |
|