zoukankan      html  css  js  c++  java
  • OpenStack kolla 多 region 部署配置

    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:(region_one_vip:regionOne的keystone IP)

     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 }}

     两个region节点都要执行kolla-ansible deploy

  • 相关阅读:
    ubuntu 下redis的安装简介
    Oracle 的几种循环方式介绍
    NIO 概述 与 通信实例
    io 的一些简单说明及使用
    webSocket的 原理 及 实现
    事务 与事务的 隔离级别 简单说明
    case 函数的简单使用记录下
    java HttpClient 忽略证书的信任的实现 MySSLProtocolSocketFactory
    南京小吃八绝
    JavaScript图表库(百度)
  • 原文地址:https://www.cnblogs.com/wangjq19920210/p/10330692.html
Copyright © 2011-2022 走看看