首页 > 数据库 > 数据库开发技术 > OpenStack离线Train版安装(十五)
在控制节点安装Heat编排服务
官方参考:https://docs.openstack.org/install-guide/openstack-services.htmlhttps://docs.openstack.org/train/install/https://docs.openstack.org/heat/train/https://docs.openstack.org/heat/train/install/https://docs.openstack.org/heat/train/install/install-rdo.htmlhttps://docs.openstack.org/heat/train/install/verify.htmlhttps://docs.openstack.org/heat/train/install/launch-instance.htmlhttps://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/https://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/common/get_started_orchestration.html
https://docs.openstack.org/heat/train/install/install-rdo.html
#用数据库连接客户端以 root 用户连接到数据库服务器:
mysql -uroot -proot
#创建 heat 数据库:
create database heat;
#对heat数据库授予恰当的权限:
grant all privileges on heat.* to 'heat'@'localhost' identified by 'heat';
grant all privileges on heat.* to 'heat'@'%' identified by 'heat';
flush privileges;
show databases;
select user,host from mysql.user;
#退出数据库客户端。
exit
请自行设置HEAT_DBPASS为合适的密码。
cd
source admin-openrc.sh
(1)创建heat 用户:
openstack user create --domain default --password=heat heat
[root@controller ~]# openstack user create --domain default --password=heat heat
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | default |
| enabled | True |
| id | ac931b57e9e64189a78c595a9a817088 |
| name | heat |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+
[root@controller ~]#
or
openstack user create --domain default --password-prompt heat
(2)添加 admin 角色到 heat 用户上
openstack role add --project service --user heat admin
[root@controller ~]# openstack role add --project service --user heat admin
[root@controller ~]#
注意:这个命令执行后没有输出。
(3)创建heat和 heat-cfn 服务实体
openstack service create --name heat \
--description "Orchestration" orchestration
openstack service create --name heat-cfn \
--description "Orchestration" cloudformation
[root@controller ~]# openstack service create --name heat \
> --description "Orchestration" orchestration
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | Orchestration |
| enabled | True |
| id | 1a55ed1ccc4349d8b1da6b8778e21ef2 |
| name | heat |
| type | orchestration |
+-------------+----------------------------------+
[root@controller ~]# openstack service create --name heat-cfn \
> --description "Orchestration" cloudformation
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | Orchestration |
| enabled | True |
| id | 3ae79eee90a74ecf86399c6de2006071 |
| name | heat-cfn |
| type | cloudformation |
+-------------+----------------------------------+
[root@controller ~]#
openstack endpoint create --region RegionOne \
orchestration public http://controller:8004/v1/%\(tenant_id\)s
openstack endpoint create --region RegionOne \
orchestration internal http://controller:8004/v1/%\(tenant_id\)s
openstack endpoint create --region RegionOne \
orchestration admin http://controller:8004/v1/%\(tenant_id\)s
openstack endpoint create --region RegionOne \
cloudformation public http://controller:8000/v1
openstack endpoint create --region RegionOne \
cloudformation internal http://controller:8000/v1
openstack endpoint create --region RegionOne \
cloudformation admin http://controller:8000/v1
[root@controller ~]# openstack endpoint create --region RegionOne \
> orchestration public http://controller:8004/v1/%\(tenant_id\)s
+--------------+-----------------------------------------+
| Field | Value |
+--------------+-----------------------------------------+
| enabled | True |
| id | 173e748ea8f14406b68874cf7a29323d |
| interface | public |
| region | RegionOne |
| region_id | RegionOne |
| service_id | 1a55ed1ccc4349d8b1da6b8778e21ef2 |
| service_name | heat |
| service_type | orchestration |
| url | http://controller:8004/v1/%(tenant_id)s |
+--------------+-----------------------------------------+
[root@controller ~]#
[root@controller ~]# openstack endpoint create --region RegionOne \
> orchestration internal http://controller:8004/v1/%\(tenant_id\)s
+--------------+-----------------------------------------+
| Field | Value |
+--------------+-----------------------------------------+
| enabled | True |
| id | bdecf3ff4dcb49ff83a27faff2de37e0 |
| interface | internal |
| region | RegionOne |
| region_id | RegionOne |
| service_id | 1a55ed1ccc4349d8b1da6b8778e21ef2 |
| service_name | heat |
| service_type | orchestration |
| url | http://controller:8004/v1/%(tenant_id)s |
+--------------+-----------------------------------------+
[root@controller ~]#
[root@controller ~]# openstack endpoint create --region RegionOne \
> orchestration admin http://controller:8004/v1/%\(tenant_id\)s
+--------------+-----------------------------------------+
| Field | Value |
+--------------+-----------------------------------------+
| enabled | True |
| id | d508d9b8825c42a9bdd88bd24bb886a4 |
| interface | admin |
| region | RegionOne |
| region_id | RegionOne |
| service_id | 1a55ed1ccc4349d8b1da6b8778e21ef2 |
| service_name | heat |
| service_type | orchestration |
| url | http://controller:8004/v1/%(tenant_id)s |
+--------------+-----------------------------------------+
[root@controller ~]#
[root@controller ~]#
[root@controller ~]# openstack endpoint create --region RegionOne \
> cloudformation public http://controller:8000/v1
+--------------+----------------------------------+
| Field | Value |
+--------------+----------------------------------+
| enabled | True |
| id | 42d0341175bb48ffb287674a40f104f4 |
| interface | public |
| region | RegionOne |
| region_id | RegionOne |
| service_id | 3ae79eee90a74ecf86399c6de2006071 |
| service_name | heat-cfn |
| service_type | cloudformation |
| url | http://controller:8000/v1 |
+--------------+----------------------------------+
[root@controller ~]#
[root@controller ~]# openstack endpoint create --region RegionOne \
> cloudformation internal http://controller:8000/v1
+--------------+----------------------------------+
| Field | Value |
+--------------+----------------------------------+
| enabled | True |
| id | d904b38d2f40451d8ecbdc275f1024e8 |
| interface | internal |
| region | RegionOne |
| region_id | RegionOne |
| service_id | 3ae79eee90a74ecf86399c6de2006071 |
| service_name | heat-cfn |
| service_type | cloudformation |
| url | http://controller:8000/v1 |
+--------------+----------------------------------+
[root@controller ~]#
[root@controller ~]# openstack endpoint create --region RegionOne \
> cloudformation admin http://controller:8000/v1
+--------------+----------------------------------+
| Field | Value |
+--------------+----------------------------------+
| enabled | True |
| id | 51815d86e1d6461a82a5fbc9efcb05c1 |
| interface | admin |
| region | RegionOne |
| region_id | RegionOne |
| service_id | 3ae79eee90a74ecf86399c6de2006071 |
| service_name | heat-cfn |
| service_type | cloudformation |
| url | http://controller:8000/v1 |
+--------------+----------------------------------+
[root@controller ~]#
(1)为栈创建 heat 包含项目和用户的域
openstack domain create --description "Stack projects and users" heat
[root@controller ~]# openstack domain create --description "Stack projects and users" heat
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | Stack projects and users |
| enabled | True |
| id | 5f1d8c2173ba49cbbab5d4e4c6c6f328 |
| name | heat |
| options | {} |
| tags | [] |
+-------------+----------------------------------+
[root@controller ~]#
(2)在 heat 域中创建管理项目和用户的heat_domain_admin用户:
openstack user create --domain heat --password=heat heat_domain_admin
[root@controller ~]# openstack user create --domain heat --password=heat heat_domain_admin
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | 5f1d8c2173ba49cbbab5d4e4c6c6f328 |
| enabled | True |
| id | da962738465549628ebb37094596fba8 |
| name | heat_domain_admin |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+
[root@controller ~]#
or
openstack user create --domain heat --password-prompt heat_domain_admin
(3)添加admin角色到 heat 域中的heat_domain_admin用户,启用heat_domain_admin用户管理栈的管理权限
openstack role add --domain heat --user-domain heat --user heat_domain_admin admin
注意:这个命令执行后没有输出。
[root@controller ~]# openstack role add --domain heat --user-domain heat --user heat_domain_admin admin
[root@controller ~]#
(4)创建 heat_stack_owner 角色:
openstack role create heat_stack_owner
[root@controller ~]# openstack role create heat_stack_owner
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | None |
| domain_id | None |
| id | a52306d98269486787bb9d25ec37405b |
| name | heat_stack_owner |
| options | {} |
+-------------+----------------------------------+
[root@controller ~]#
(5)添加heat_stack_owner 角色到default项目和heat_domain_admin用户,启用heat_domain_admin用户管理栈。
openstack role add --project default --user heat_domain_admin heat_stack_owner
注意:这个命令执行后没有输出。必须添加 heat_stack_owner 角色到每个管理栈的用户。
[root@controller ~]# openstack role add --project default --user heat_domain_admin heat_stack_owner
[root@controller ~]#
(6)创建 heat_stack_user 角色
openstack role create heat_stack_user
[root@controller ~]# openstack role create heat_stack_user
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | None |
| domain_id | None |
| id | 362d7125a8724b72be6ef406392e87bb |
| name | heat_stack_user |
| options | {} |
+-------------+----------------------------------+
[root@controller ~]#
yum install openstack-heat-api openstack-heat-api-cfn \
openstack-heat-engine -y
/etc/heat/heat.conf
(1)备份文件
cp -p /etc/heat/heat.conf{,.bak}
(2)详细配置
方法一:
在 [database] 部分,配置数据库访问:
[database]
...
connection = mysql+pymysql://heat:HEAT_DBPASS@controller/heat
将 HEAT_DBPASS 替换为之前设置heat数据库步骤中的Orchestration 数据库密码。
在 [DEFAULT]部分,配置 “RabbitMQ” 消息队列访问:
[DEFAULT]
...
transport_url = rabbit://openstack:RABBIT_USER_PASS@controller
用你在 “RabbitMQ” 中为 “openstack” 用户选择的密码替换 “RABBIT_USER_PASS”。
在[keystone_authtoken], [trustee],[clients_keystone] 部分,配置认证服务访问
[keystone_authtoken]
...
www_authenticate_uri = http://controller:5000
auth_url = http://controller:5000
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = heat
password = HEAT_USER_PASS
[trustee]
...
auth_type = password
auth_url = http://controller:5000
username = heat
password = HEAT_USER_PASS
user_domain_name = Default
[clients_keystone]
...
auth_uri = http://controller:5000
将HEAT_PASS 替换为在认证服务中为 heat 用户选择的密码
在[DEFAULT] 部分,配置元数据和等待条件url:
[DEFAULT]
...
heat_metadata_server_url = http://controller:8000
heat_waitcondition_server_url = http://controller:8000/v1/waitcondition
在 [DEFAULT] 部分,配置栈域与管理凭据:
[DEFAULT]
...
stack_domain_admin = heat_domain_admin
stack_domain_admin_password = HEAT_DOMAIN_USER_PASS
stack_user_domain_name = heat
方法二:
cd
touch controller-node-heat.conf.sh
vim controller-node-heat.conf.sh
controller-node-heat.conf.sh文件内容
#!bin/bash
#controller-node-heat.conf.sh
openstack-config --set /etc/heat/heat.conf database connection mysql+pymysql://heat:heat@controller/heat
openstack-config --set /etc/heat/heat.conf DEFAULT transport_url rabbit://openstack:openstack@controller
openstack-config --set /etc/heat/heat.conf keystone_authtoken www_authenticate_uri http://controller:5000
openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_url http://controller:5000
openstack-config --set /etc/heat/heat.conf keystone_authtoken memcached_servers controller:11211
openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_type password
openstack-config --set /etc/heat/heat.conf keystone_authtoken project_domain_name Default
openstack-config --set /etc/heat/heat.conf keystone_authtoken user_domain_name Default
openstack-config --set /etc/heat/heat.conf keystone_authtoken project_name service
openstack-config --set /etc/heat/heat.conf keystone_authtoken username heat
openstack-config --set /etc/heat/heat.conf keystone_authtoken password heat
openstack-config --set /etc/heat/heat.conf trustee auth_type password
openstack-config --set /etc/heat/heat.conf trustee auth_url http://controller:5000
openstack-config --set /etc/heat/heat.conf trustee username heat
openstack-config --set /etc/heat/heat.conf trustee password heat
openstack-config --set /etc/heat/heat.conf trustee user_domain_name Default
openstack-config --set /etc/heat/heat.conf clients_keystone auth_uri http://controller:5000
openstack-config --set /etc/heat/heat.conf DEFAULT heat_metadata_server_url http://controller:8000
openstack-config --set /etc/heat/heat.conf DEFAULT heat_waitcondition_server_url http://controller:8000/v1/waitcondition
openstack-config --set /etc/heat/heat.conf DEFAULT stack_domain_admin heat_domain_admin
openstack-config --set /etc/heat/heat.conf DEFAULT stack_domain_admin_password heat
openstack-config --set /etc/heat/heat.conf DEFAULT stack_user_domain_name heat
echo "Result of Configuration"
egrep -v '(^$|^#)' /etc/heat/heat.conf
bash controller-node-heat.conf.sh
su -s /bin/sh -c "heat-manage db_sync" heat
忽略输出中任何不推荐使用的信息。
[root@controller ~]# su -s /bin/sh -c "heat-manage db_sync" heat
2022-10-07 20:36:35.548 74689 INFO migrate.versioning.api [-] 70 -> 71...
2022-10-07 20:36:35.671 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.671 74689 INFO migrate.versioning.api [-] 71 -> 72...
2022-10-07 20:36:35.694 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.694 74689 INFO migrate.versioning.api [-] 72 -> 73...
2022-10-07 20:36:35.733 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.734 74689 INFO migrate.versioning.api [-] 73 -> 74...
2022-10-07 20:36:35.739 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.739 74689 INFO migrate.versioning.api [-] 74 -> 75...
2022-10-07 20:36:35.744 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.745 74689 INFO migrate.versioning.api [-] 75 -> 76...
2022-10-07 20:36:35.750 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.750 74689 INFO migrate.versioning.api [-] 76 -> 77...
2022-10-07 20:36:35.755 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.756 74689 INFO migrate.versioning.api [-] 77 -> 78...
2022-10-07 20:36:35.761 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.761 74689 INFO migrate.versioning.api [-] 78 -> 79...
2022-10-07 20:36:35.822 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.823 74689 INFO migrate.versioning.api [-] 79 -> 80...
2022-10-07 20:36:35.871 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.873 74689 INFO migrate.versioning.api [-] 80 -> 81...
2022-10-07 20:36:35.881 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.881 74689 INFO migrate.versioning.api [-] 81 -> 82...
2022-10-07 20:36:35.887 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.887 74689 INFO migrate.versioning.api [-] 82 -> 83...
2022-10-07 20:36:35.893 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.893 74689 INFO migrate.versioning.api [-] 83 -> 84...
2022-10-07 20:36:35.898 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.898 74689 INFO migrate.versioning.api [-] 84 -> 85...
2022-10-07 20:36:35.904 74689 INFO migrate.versioning.api [-] done
2022-10-07 20:36:35.904 74689 INFO migrate.versioning.api [-] 85 -> 86...
2022-10-07 20:36:35.975 74689 INFO migrate.versioning.api [-] done
[root@controller ~]#
systemctl enable openstack-heat-api.service \
openstack-heat-api-cfn.service openstack-heat-engine.service
systemctl restart openstack-heat-api.service \
openstack-heat-api-cfn.service openstack-heat-engine.service
systemctl list-unit-files |grep openstack-heat*
[root@controller ~]# systemctl enable openstack-heat-api.service \
> openstack-heat-api-cfn.service openstack-heat-engine.service
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-heat-api.service to /usr/lib/systemd/system/openstack-heat-api.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-heat-api-cfn.service to /usr/lib/systemd/system/openstack-heat-api-cfn.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-heat-engine.service to /usr/lib/systemd/system/openstack-heat-engine.service.
[root@controller ~]#
[root@controller ~]# systemctl restart openstack-heat-api.service \
> openstack-heat-api-cfn.service openstack-heat-engine.service
[root@controller ~]#
[root@controller ~]# systemctl list-unit-files |grep openstack-heat*
openstack-heat-api-cfn.service enabled
openstack-heat-api.service enabled
openstack-heat-engine.service enabled
[root@controller ~]#
https://docs.openstack.org/heat/train/install/verify.html
cd
source admin-openrc.sh
openstack service list
openstack orchestration service list
[root@controller ~]# openstack service list
+----------------------------------+-----------+----------------+
| ID | Name | Type |
+----------------------------------+-----------+----------------+
| 1a55ed1ccc4349d8b1da6b8778e21ef2 | heat | orchestration |
| 2d9dd2bf52184ae888ec2969eaa8238e | cinderv3 | volumev3 |
| 30a0d08cbd3041d2b5652a9bf3bd5070 | neutron | network |
| 3ae79eee90a74ecf86399c6de2006071 | heat-cfn | cloudformation |
| 46231f24a26b401babd2788f9ec7bdda | placement | placement |
| 54c27478a1b4493cb8e33c601404d2e1 | nova | compute |
| 61262721689646d6a9955a8e131d9bd5 | keystone | identity |
| 941e7fec75014013bb1f3edfe4befad8 | glance | image |
| f59bc47ab93d4e789f1d10322044e631 | cinderv2 | volumev2 |
+----------------------------------+-----------+----------------+
[root@controller ~]#
[root@controller ~]# openstack orchestration service list
+------------+-------------+--------------------------------------+------------+--------+----------------------------+--------+
| Hostname | Binary | Engine ID | Host | Topic | Updated At | Status |
+------------+-------------+--------------------------------------+------------+--------+----------------------------+--------+
| controller | heat-engine | b88ac05f-0702-4f86-8ac7-b8b2b6476db2 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 2591852b-8d8c-4dcf-86fd-58cb738ffc45 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | a9338301-d034-4c95-9c00-e59ac503a264 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 8cd32c4b-bccb-432b-95f5-cd5e4003afa9 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 9be2a1e2-1a1f-466f-81e0-af66d27c53b1 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | ee4c3343-53e3-4821-acf5-13e9df62cda5 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 698f5a07-e379-4c46-89a8-85b416151877 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | a28624c1-d47d-48a7-818d-159d5e7acf08 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | add457c7-dd9c-478d-b29d-925800067c85 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 7ccbaa53-95bc-4d22-9d00-68edb62a719c | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 8dedc262-b220-4f8d-9ad4-e8791bf35839 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 61824a36-915e-449f-a66a-0012f0000885 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 8d38f761-a761-47bd-9547-ad9425635a22 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 0e81383f-d726-420e-982a-46fc4d713c00 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 4d402d2b-6af2-4c8b-93fd-5d0ceb535ea4 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 3dd6519d-b258-414a-a7e7-e27710ba6e93 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | d2914205-5e74-43c1-8817-321ad6eb6508 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | bcd22164-f62a-4c4d-8c1d-eb88a1100117 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | b3964ef9-08d3-41c1-a230-e6fa35ac19c7 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 7d05ce07-6a12-413d-94e0-8fa8824abb92 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 2c82b77c-c825-444d-bef1-4e857d69358c | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | a0194827-2d4f-4fb7-bbb0-9151c3d8301a | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 0ed98de7-69db-434e-86b7-fb7d00994282 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | f8ef5d51-73a7-47f3-b311-a6ba1177e4d8 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 412e990c-c5f4-4ee2-bd55-1d36ec529bfa | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | c5d67f93-f946-4585-93d9-f9e4203aa693 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 54149ea3-3ee4-4bd6-ac3c-eef859d4e10c | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 47c4507f-a059-4b12-b053-38f47aabac8b | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 0d33044b-7c8c-4d92-821e-e3ca66043f39 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 7f4fa7f2-e4d8-4ab1-8b0f-63d9f9a1b8a7 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 57382fa7-1c4f-45fd-b812-1e666bbd37c9 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 7bb54093-7fa5-4d00-b140-d89933da7b4f | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 21887384-63a6-41b2-9ae3-563a299aad8f | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | e9d9ed36-87d2-4332-90ce-c6c2941b876d | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | f956ddad-73ed-4975-b950-23e2f51d999e | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | e836eff1-0cbb-498b-a4d9-a353905ad63f | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 4124e90a-6ded-4130-8711-511a5d907ac9 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 0d5b8bb8-38c4-4498-a08b-f68b3d0aa5ea | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 90de3c17-4063-439c-a27d-1a1076b745aa | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | fcd0fb0d-abbe-49d5-8710-3cc058001361 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 553a513e-f9c4-404c-9a4e-2ccac52f19f2 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | a1daf83a-9f5b-4bcf-bb76-19d544156382 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 4a30f1e8-bb11-44be-9530-7a67b4a7eb5b | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 08945160-6f60-422c-a75a-82c6d64b3f34 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | f78ce615-ae7b-4bef-a650-d4b7b7bd3ed6 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | e266d71c-0ec5-440d-b4e9-438e9febc995 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | e5305a7d-1373-475c-b24f-2336eec868a9 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 148ae86e-ff29-4c30-89be-b2e66b6ca3b2 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 86435e04-3d8f-4489-8bc3-71bbf036c487 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | f6750d07-13f3-4e75-9fc3-a8c2c9f5d373 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 5c057f97-a4b3-43ef-b14e-34c5bc3bcb80 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 5d1bb109-924c-49d9-9bfd-8c72100bff4a | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 96672b61-028e-48bc-9e6c-49be3d2eb52f | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 39570d0f-642b-4207-a952-a71e7124ad7f | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 79efbb25-3f16-4035-b9f5-bef1506085fb | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | ce645d14-6cf5-4c60-9eb2-db811bea3eb1 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 642238ef-76f8-4e21-8e4d-fdc3aaf7abf0 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 11f04df4-93b7-4be6-8173-35d52885853a | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 2eb2af56-58ce-4fc5-b5bc-add370d4e1db | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 706e6beb-c4ab-4b4f-95aa-7aa0ef1ccc2f | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | e253ef11-0cf6-4068-a5c3-6d1dabc7f658 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 1b7dfd97-718a-4d12-af9a-7469fdaafcb7 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | b635dc5c-c72a-4cf6-abcb-2147887e3dfd | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | e51978d3-9acd-4eda-b37e-0f71e6bdd140 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 538ca7e1-7487-4b4b-ae77-50429adb5fd6 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 741e617c-0253-4151-8cdf-ea48c4ccdb0a | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | cecd68c3-cfe2-4511-9256-050b60867380 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | a4aac2d3-d964-4e50-993c-1a88955ed8ba | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | a3e2677e-7786-4b25-b5ec-04c4a7af7ff2 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 47f65bb6-f108-4a82-925d-ddfc0148d097 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 0f4e7a23-e318-45b1-9497-1742edd155a8 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 1fa92536-04cf-4c42-b677-074c65278b29 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 05c5d290-f162-4f7f-9c71-6080ac7f2c79 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | abeccce4-82ab-429d-aee1-a1a465bd78bb | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | c70071f4-603e-4e75-8393-cd843c1d6619 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | b6618c4c-a2a2-40d5-a5b6-aa8ad1abbb50 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 2a8725f3-5f3f-4f46-98b5-6892bb824354 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | 2c46a688-fea2-4a2b-9c29-02290f6fd4bc | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | f083d464-49e8-42ec-a1a0-64ae29537224 | controller | engine | 2022-10-07T12:38:54.000000 | up |
| controller | heat-engine | d635643d-8595-4f7b-92c7-cc087dd25f8e | controller | engine | 2022-10-07T12:38:54.000000 | up |
+------------+-------------+--------------------------------------+------------+--------+----------------------------+--------+
[root@controller ~]#
该输出显示表明在控制节点上有应该四个heat-engine组件。
依次使用以下命令:
ps aux | grep heat
ps -A | grep heat
netstat -ltunp | grep 8000
netstat -ltunp | grep 8004
具体过程如下:
[root@controller ~]# ps aux | grep heat
heat 74854 1.5 0.0 566108 104380 ? Ss 20:37 0:02 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74861 1.2 0.0 565176 103420 ? Ss 20:37 0:02 /usr/bin/python2 /usr/bin/heat-api-cfn --config-file /usr/share/hea/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74862 2.8 0.0 601776 135892 ? Ss 20:37 0:04 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74893 0.0 0.0 566108 84960 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74894 0.0 0.0 566108 84972 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74895 0.0 0.0 566108 84972 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74896 0.0 0.0 566108 84968 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74897 0.0 0.0 566108 84976 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74898 0.0 0.0 566108 84980 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74899 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74900 0.0 0.0 566108 84976 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74901 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74902 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74903 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74904 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74905 0.0 0.0 566108 84980 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74906 0.0 0.0 566108 84976 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74907 0.0 0.0 566108 84976 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74908 0.0 0.0 566108 84972 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74909 0.0 0.0 566108 84976 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74910 0.0 0.0 566108 84976 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74911 0.0 0.0 566108 84980 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74912 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74913 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74914 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74915 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74916 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74917 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74918 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74919 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74920 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74921 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74922 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74923 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74924 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74925 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74926 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74927 0.0 0.0 566108 84980 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74928 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74929 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74930 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74931 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74932 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74933 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74934 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74935 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74936 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74937 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74938 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74939 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74940 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74941 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74942 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74943 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74944 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74945 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74946 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74947 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74948 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74949 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74950 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74951 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74952 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74953 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74954 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74955 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74956 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74957 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74958 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74959 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74960 0.0 0.0 566108 84980 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74961 0.0 0.0 566108 84980 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74962 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74963 1.1 0.0 568500 88596 ? S 20:37 0:01 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74964 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74965 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74966 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74967 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74968 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74969 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74970 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74971 0.0 0.0 566108 84988 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74972 0.0 0.0 566108 84984 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-api --config-file /usr/share/heat/heat-dist.conf --config-file /etc/heat/heat.conf
heat 74973 0.2 0.0 607112 122652 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74974 0.2 0.0 607088 122500 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74975 0.2 0.0 607092 122632 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74976 0.2 0.0 607100 122512 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74977 0.2 0.0 607108 122648 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74978 0.2 0.0 607092 122500 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74979 0.2 0.0 607052 122484 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74980 0.2 0.0 607056 122484 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74981 0.2 0.0 607072 122556 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74982 1.3 0.0 607848 123540 ? S 20:37 0:02 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74983 0.2 0.0 607084 122636 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74984 0.2 0.0 607052 122652 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74985 0.2 0.0 607064 122484 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74986 0.2 0.0 607060 122492 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74987 0.2 0.0 607032 122644 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74988 0.2 0.0 607060 122628 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74989 0.2 0.0 607088 122520 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74990 0.2 0.0 607092 122548 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74991 0.2 0.0 607052 122664 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74992 0.2 0.0 607056 122496 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74993 0.2 0.0 607076 122608 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74994 0.2 0.0 607056 122664 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74995 0.2 0.0 607056 122508 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74996 0.2 0.0 607056 122508 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74997 0.2 0.0 607060 122656 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74998 0.2 0.0 607068 122500 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 74999 0.2 0.0 607072 122664 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75000 0.2 0.0 607104 122512 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75001 0.2 0.0 607060 122540 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75002 0.2 0.0 607064 122528 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75003 0.2 0.0 607080 122600 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75004 0.2 0.0 607064 122516 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75005 0.2 0.0 607060 122500 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75006 0.2 0.0 607064 122572 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75007 0.2 0.0 607060 122652 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75008 0.2 0.0 607080 122668 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75009 0.2 0.0 607040 122644 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75010 0.2 0.0 607052 122524 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75011 0.2 0.0 607064 122516 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75012 0.2 0.0 607068 122496 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75013 0.2 0.0 607072 122588 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75014 0.2 0.0 607080 122664 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75015 0.2 0.0 607060 122544 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75016 0.2 0.0 607064 122672 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75017 0.2 0.0 607064 122684 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75018 0.2 0.0 607060 122704 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75019 0.2 0.0 607064 122664 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75020 0.2 0.0 607068 122700 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75021 0.2 0.0 607060 122648 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75022 0.2 0.0 607056 122692 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75023 0.2 0.0 607072 122668 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75024 0.2 0.0 607060 122684 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75025 0.2 0.0 607060 122688 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75026 0.2 0.0 607068 122692 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75027 0.2 0.0 607108 122708 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75028 0.2 0.0 607068 122660 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75029 0.2 0.0 607080 122672 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75030 0.2 0.0 607052 122560 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75031 0.2 0.0 607084 122688 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75032 0.2 0.0 607112 122588 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75033 0.2 0.0 607108 122696 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75034 0.2 0.0 607072 122720 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75035 0.2 0.0 607112 122716 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75036 0.2 0.0 607128 122688 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75037 0.2 0.0 607132 122700 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75038 0.2 0.0 607084 122700 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75039 0.2 0.0 607088 122700 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75040 0.2 0.0 607096 122652 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75041 0.2 0.0 607064 122672 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75042 0.2 0.0 607112 122688 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75043 0.2 0.0 607092 122700 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75044 0.2 0.0 607112 122744 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75045 0.2 0.0 607060 122580 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75046 0.2 0.0 607060 122704 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75047 0.2 0.0 607064 122708 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75048 0.2 0.0 607316 122724 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75049 0.2 0.0 607056 122720 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75050 0.2 0.0 607052 122696 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75051 0.2 0.0 607072 122744 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
heat 75052 0.2 0.0 607064 122720 ? S 20:37 0:00 /usr/bin/python2 /usr/bin/heat-engine --config-file /usr/share/heatheat-dist.conf --config-file /etc/heat/heat.conf
root 75622 0.0 0.0 112712 976 pts/1 S+ 20:40 0:00 grep --color=auto heat
[root@controller ~]#
[root@controller ~]# ps -A | grep heat
74854 ? 00:00:02 heat-api
74861 ? 00:00:02 heat-api-cfn
74862 ? 00:00:05 heat-engine
74893 ? 00:00:00 heat-api
74894 ? 00:00:00 heat-api
74895 ? 00:00:00 heat-api
74896 ? 00:00:00 heat-api
74897 ? 00:00:00 heat-api
74898 ? 00:00:00 heat-api
74899 ? 00:00:00 heat-api
74900 ? 00:00:00 heat-api
74901 ? 00:00:00 heat-api
74902 ? 00:00:00 heat-api
74903 ? 00:00:00 heat-api
74904 ? 00:00:00 heat-api
74905 ? 00:00:00 heat-api
74906 ? 00:00:00 heat-api
74907 ? 00:00:00 heat-api
74908 ? 00:00:00 heat-api
74909 ? 00:00:00 heat-api
74910 ? 00:00:00 heat-api
74911 ? 00:00:00 heat-api
74912 ? 00:00:00 heat-api
74913 ? 00:00:00 heat-api
74914 ? 00:00:00 heat-api
74915 ? 00:00:00 heat-api
74916 ? 00:00:00 heat-api
74917 ? 00:00:00 heat-api
74918 ? 00:00:00 heat-api
74919 ? 00:00:00 heat-api
74920 ? 00:00:00 heat-api
74921 ? 00:00:00 heat-api
74922 ? 00:00:00 heat-api
74923 ? 00:00:00 heat-api
74924 ? 00:00:00 heat-api
74925 ? 00:00:00 heat-api
74926 ? 00:00:00 heat-api
74927 ? 00:00:00 heat-api
74928 ? 00:00:00 heat-api
74929 ? 00:00:00 heat-api
74930 ? 00:00:00 heat-api
74931 ? 00:00:00 heat-api
74932 ? 00:00:00 heat-api
74933 ? 00:00:00 heat-api
74934 ? 00:00:00 heat-api
74935 ? 00:00:00 heat-api
74936 ? 00:00:00 heat-api
74937 ? 00:00:00 heat-api
74938 ? 00:00:00 heat-api
74939 ? 00:00:00 heat-api
74940 ? 00:00:00 heat-api
74941 ? 00:00:00 heat-api
74942 ? 00:00:00 heat-api
74943 ? 00:00:00 heat-api
74944 ? 00:00:00 heat-api
74945 ? 00:00:00 heat-api
74946 ? 00:00:00 heat-api
74947 ? 00:00:00 heat-api
74948 ? 00:00:00 heat-api
74949 ? 00:00:00 heat-api
74950 ? 00:00:00 heat-api
74951 ? 00:00:00 heat-api
74952 ? 00:00:00 heat-api
74953 ? 00:00:00 heat-api
74954 ? 00:00:00 heat-api
74955 ? 00:00:00 heat-api
74956 ? 00:00:00 heat-api
74957 ? 00:00:00 heat-api
74958 ? 00:00:00 heat-api
74959 ? 00:00:00 heat-api
74960 ? 00:00:00 heat-api
74961 ? 00:00:00 heat-api
74962 ? 00:00:00 heat-api
74963 ? 00:00:03 heat-api
74964 ? 00:00:00 heat-api
74965 ? 00:00:00 heat-api
74966 ? 00:00:00 heat-api
74967 ? 00:00:00 heat-api
74968 ? 00:00:00 heat-api
74969 ? 00:00:00 heat-api
74970 ? 00:00:00 heat-api
74971 ? 00:00:00 heat-api
74972 ? 00:00:00 heat-api
74973 ? 00:00:00 heat-engine
74974 ? 00:00:00 heat-engine
74975 ? 00:00:00 heat-engine
74976 ? 00:00:00 heat-engine
74977 ? 00:00:00 heat-engine
74978 ? 00:00:00 heat-engine
74979 ? 00:00:00 heat-engine
74980 ? 00:00:00 heat-engine
74981 ? 00:00:00 heat-engine
74982 ? 00:00:03 heat-engine
74983 ? 00:00:00 heat-engine
74984 ? 00:00:00 heat-engine
74985 ? 00:00:00 heat-engine
74986 ? 00:00:00 heat-engine
74987 ? 00:00:00 heat-engine
74988 ? 00:00:00 heat-engine
74989 ? 00:00:00 heat-engine
74990 ? 00:00:00 heat-engine
74991 ? 00:00:00 heat-engine
74992 ? 00:00:00 heat-engine
74993 ? 00:00:00 heat-engine
74994 ? 00:00:00 heat-engine
74995 ? 00:00:00 heat-engine
74996 ? 00:00:00 heat-engine
74997 ? 00:00:00 heat-engine
74998 ? 00:00:00 heat-engine
74999 ? 00:00:00 heat-engine
75000 ? 00:00:00 heat-engine
75001 ? 00:00:00 heat-engine
75002 ? 00:00:00 heat-engine
75003 ? 00:00:00 heat-engine
75004 ? 00:00:00 heat-engine
75005 ? 00:00:00 heat-engine
75006 ? 00:00:00 heat-engine
75007 ? 00:00:00 heat-engine
75008 ? 00:00:00 heat-engine
75009 ? 00:00:00 heat-engine
75010 ? 00:00:00 heat-engine
75011 ? 00:00:00 heat-engine
75012 ? 00:00:00 heat-engine
75013 ? 00:00:00 heat-engine
75014 ? 00:00:00 heat-engine
75015 ? 00:00:00 heat-engine
75016 ? 00:00:00 heat-engine
75017 ? 00:00:00 heat-engine
75018 ? 00:00:00 heat-engine
75019 ? 00:00:00 heat-engine
75020 ? 00:00:00 heat-engine
75021 ? 00:00:00 heat-engine
75022 ? 00:00:00 heat-engine
75023 ? 00:00:00 heat-engine
75024 ? 00:00:00 heat-engine
75025 ? 00:00:00 heat-engine
75026 ? 00:00:00 heat-engine
75027 ? 00:00:00 heat-engine
75028 ? 00:00:00 heat-engine
75029 ? 00:00:00 heat-engine
75030 ? 00:00:00 heat-engine
75031 ? 00:00:00 heat-engine
75032 ? 00:00:00 heat-engine
75033 ? 00:00:00 heat-engine
75034 ? 00:00:00 heat-engine
75035 ? 00:00:00 heat-engine
75036 ? 00:00:00 heat-engine
75037 ? 00:00:00 heat-engine
75038 ? 00:00:00 heat-engine
75039 ? 00:00:00 heat-engine
75040 ? 00:00:00 heat-engine
75041 ? 00:00:00 heat-engine
75042 ? 00:00:00 heat-engine
75043 ? 00:00:00 heat-engine
75044 ? 00:00:00 heat-engine
75045 ? 00:00:00 heat-engine
75046 ? 00:00:00 heat-engine
75047 ? 00:00:00 heat-engine
75048 ? 00:00:00 heat-engine
75049 ? 00:00:00 heat-engine
75050 ? 00:00:00 heat-engine
75051 ? 00:00:00 heat-engine
75052 ? 00:00:00 heat-engine
[root@controller ~]#
[root@controller ~]# netstat -ltunp | grep 8000
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 74861/python2
[root@controller ~]#
[root@controller ~]# netstat -ltunp | grep 8004
tcp 0 0 0.0.0.0:8004 0.0.0.0:* LISTEN 74854/python2
[root@controller ~]#
官方文档https://docs.openstack.org/heat/train/install/launch-instance.htmlhttps://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/launch-instance.html#launch-instance
Orchestration服务使用模版来描述栈。想要学习模版语言,参考Heat developer documentation http://docs.openstack.org/developer/heat/template_guide/index.html中的the Template Guide http://docs.openstack.org/developer/heat/index.html 。
创建一个demo-template.yml文件:
echo "heat_template_version: 2015-10-15
description: Launch a basic instance with CirrOS image using the
``m1.1c256m10g`` flavor, ``mykey`` key, and one network.
parameters:
NetID:
type: string
description: Network ID to use for the instance.
resources:
server:
type: OS::Nova::Server
properties:
image: cirros-0.3.5
flavor: m1.1c256m10g
key_name: mykey
networks:
- network: { get_param: NetID }
outputs:
instance_name:
description: Name of the instance.
value: { get_attr: [ server, name ] }
instance_ip:
description: IP address of the instance.
value: { get_attr: [ server, first_address ] }" > demo-template.yml
使用demo-template.yml 模版创建一个栈。
source admin-openrc.sh
[root@controller ~]# source admin-openrc.sh
[root@controller ~]#
openstack network list
[root@controller ~]# openstack network list
+--------------------------------------+----------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+----------+--------------------------------------+
| 9bd1d5c7-ebb2-4cec-998d-93c435c467a9 | provider | 5ebb721c-1e0e-4f9f-ba93-c5016d5a98bd |
+--------------------------------------+----------+--------------------------------------+
[root@controller ~]#
例如,使用提供者网络
export NET_ID=$(openstack network list | awk '/ provider / { print $2 }')
[root@controller ~]# export NET_ID=$(openstack network list | awk '/ provider / { print $2 }')
[root@controller ~]#
[root@controller ~]# echo $NET_ID
9bd1d5c7-ebb2-4cec-998d-93c435c467a9
[root@controller ~]#
openstack stack create -t demo-template.yml --parameter "NetID=$NET_ID" stack
[root@controller ~]# openstack stack create -t demo-template.yml --parameter "NetID=$NET_ID" stack
+---------------------+-------------------------------------------------------------------------------------------------------+
| Field | Value |
+---------------------+-------------------------------------------------------------------------------------------------------+
| id | baa38cfa-98b9-4d85-aab4-d98c0769ca3c |
| stack_name | stack |
| description | Launch a basic instance with CirrOS image using the m1.1c256m10g flavor, mykey key, and one network. |
| creation_time | 2022-10-07T14:05:26Z |
| updated_time | None |
| stack_status | CREATE_IN_PROGRESS |
| stack_status_reason | Stack CREATE started |
+---------------------+-------------------------------------------------------------------------------------------------------+
[root@controller ~]#
openstack stack list
[root@controller ~]# openstack stack list
+--------------------------------------+------------+----------------------------------+-----------------+----------------------+--------------+
| ID | Stack Name | Project | Stack Status | Creation Time | Updated Time |
+--------------------------------------+------------+----------------------------------+-----------------+----------------------+--------------+
| baa38cfa-98b9-4d85-aab4-d98c0769ca3c | stack | e7173611b01143458f97c72e5728925a | CREATE_COMPLETE | 2022-10-07T14:05:26Z | None |
+--------------------------------------+------------+----------------------------------+-----------------+----------------------+--------------+
[root@controller ~]#
[root@controller ~]# openstack stack output show --all stack
+---------------+-------------------------------------------------+
| Field | Value |
+---------------+-------------------------------------------------+
| instance_name | { |
| | "output_value": "stack-server-x3yukehdepec", |
| | "output_key": "instance_name", |
| | "description": "Name of the instance." |
| | } |
| instance_ip | { |
| | "output_value": "10.224.4.115", |
| | "output_key": "instance_ip", |
| | "description": "IP address of the instance." |
| | } |
+---------------+-------------------------------------------------+
[root@controller ~]#
[root@controller ~]# openstack server list
+--------------------------------------+---------------------------+--------+-----------------------+--------------+--------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+---------------------------+--------+-----------------------+--------------+--------------+
| e93d04a6-c4d5-4322-8d1b-d5b493a251ba | stack-server-x3yukehdepec | ACTIVE | provider=10.224.4.115 | cirros-0.3.5 | m1.1c256m10g |
| f9f3de10-066a-4f93-ae61-040a61cd73e0 | provider-instance | ACTIVE | provider=10.224.4.8 | cirros-0.3.5 | m1.1c256m10g |
+--------------------------------------+---------------------------+--------+-----------------------+--------------+--------------+
[root@controller ~]#
openstack stack delete --yes stack
有什么吐槽或反馈意见,直接告诉我!
我会解决您说的问题,进一步更好的服务您哦!
温馨提示:如出现二维码失效也可直接添加微信号:ysc13803862469。
原文作者:超哥的IT私房菜;如有侵权,请联系管理员删除。