码迷,mamicode.com
首页 > 其他好文 > 详细

OpenStack kolla 多 region 部署配置

时间:2019-01-28 16:41:29      阅读:433      评论:0      收藏:0      [点我收藏+]

标签:mes   action   ble   names   cat   ova   open   _for   services   

region one:

1 cat /etc/kolla/globals.yml
2 
3 openstack_region_name: "RegionOne"
4 multiple_regions_names:
5     - "{{ openstack_region_name }}"
6     - "RegionTwo"
7 
8 enable_keystone: "yes"

 

region two:

 1 cat /etc/kolla/globals.yml
 2 
 3 openstack_region_name: "RegionTwo"
 4 
 5 kolla_internal_fqdn_r1: region_one_vip
 6 keystone_admin_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn_r1 }}:{{ keystone_admin_port }}"
 7 keystone_internal_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn_r1 }}:{{ keystone_public_port }}"
 8 
 9 openstack_auth:
10     auth_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn_r1 }}:{{ keystone_admin_port }}"
11     username: "admin"
12     password: "{{ keystone_admin_password }}"
13     project_name: "admin"
14     domain_name: "default"
15 
16 enable_keystone: "no"

 

region two:

1 [root@controller ~]# cat /etc/kolla/config/global.conf 
2 [keystone_authtoken]
3 auth_uri = {{ keystone_internal_url }}
4 auth_url = {{ keystone_admin_url }}

 

1 [root@controller ~]# cat /etc/kolla/config/mistral.conf 
2 [keystone_authtoken]
3 auth_uri = {{ keystone_internal_url }}/v3
4 auth_url = {{ keystone_admin_url }}/v3
5 [openstack_actions]
6 default_region = RegionTwo  

 

 1 [root@controller ~]# cat /etc/kolla/config/heat.conf 
 2 [DEFAULT]
 3 region_name_for_services = RegionTwo  
 4 [trustee]
 5 auth_uri = {{ keystone_internal_url }}
 6 auth_url = {{ keystone_internal_url }}
 7 [ec2authtoken]
 8 auth_uri = {{ keystone_internal_url }}
 9 [clients_keystone]
10 auth_uri = {{ keystone_internal_url }}

 

1 [root@controller ~]# cat /etc/kolla/config/nova.conf 
2 [placement]
3 auth_url = {{ keystone_admin_url }}

 

OpenStack kolla 多 region 部署配置

标签:mes   action   ble   names   cat   ova   open   _for   services   

原文地址:https://www.cnblogs.com/wangjq19920210/p/10330692.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!