diff options
| author | Michal Jastrzebski (inc0) <michal.jastrzebski@intel.com> | 2015-06-02 04:54:15 +0200 |
|---|---|---|
| committer | Michal Jastrzebski (inc0) <michal.jastrzebski@intel.com> | 2015-06-22 17:18:44 +0200 |
| commit | 52f49094356ca70495e3bc606751d55104726881 (patch) | |
| tree | e7f66b145f3400a9d3134c469fcd0220dcbd0252 /tools | |
| parent | 2dbde4ad8e2dfdc89701cae48a1fc77f5489ddda (diff) | |
| download | kolla-52f49094356ca70495e3bc606751d55104726881.tar.gz kolla-52f49094356ca70495e3bc606751d55104726881.zip | |
Keepalived container
This patch contains keepalived container for yum-based distros.
Change-Id: I8e3ea7a61ad6c27b25b635e7aeeff5ef04a807b4
Implements: blueprint keepalived-container
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/genenv | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/genenv b/tools/genenv index 5fdc8a7ba..49d311312 100755 --- a/tools/genenv +++ b/tools/genenv @@ -197,6 +197,10 @@ CINDER_VOLUME_BACKEND_NAME=LVM_iSCSI57 CINDER_VOLUME_DRIVER=cinder.volume.drivers.lvm.LVMISCSIDriver CINDER_ENABLED_BACKEND=lvm57 +# Keepalived +# Here we define pairs hostname:priority. Priorities have to be unique +KEEPALIVED_HOST_PRIORITIES=host1:100,host2:99 + cat > ./openrc <<EOF export OS_AUTH_URL="http://${KEYSTONE_PUBLIC_SERVICE_HOST}:5000/v2.0" export OS_USERNAME=$ADMIN_TENANT_NAME @@ -345,6 +349,8 @@ INIT_GLANCE_DB=$INIT_GLANCE_DB INIT_HEAT_DB=$INIT_HEAT_DB INIT_KEYSTONE_DB=$INIT_KEYSTONE_DB INIT_NOVA_DB=$INIT_NOVA_DB +KEEPALIVED_HOST_PRIORITIES=$KEEPALIVED_HOST_PRIORITIES + EOF echo Please customize your FLAT_INTERFACE to a different network then your echo main network. The FLAT_INTERFACE is used for inter-VM communication. |
