summaryrefslogtreecommitdiffstats
path: root/inventory
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-07-17 15:43:02 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-07-17 15:43:02 -0400
commita599005dc0ec7dcca64d4f60b7fb7ab5cb959ebc (patch)
treec180cb0f246cd3354b0a8d1b837623059d69db5d /inventory
parent167bee246f1a032a99e3003dc1b75c1307269973 (diff)
parent0a021c047bfb3fe5710be1e7de8cd577455f53c2 (diff)
downloadopenshift-a599005dc0ec7dcca64d4f60b7fb7ab5cb959ebc.tar.gz
openshift-a599005dc0ec7dcca64d4f60b7fb7ab5cb959ebc.tar.bz2
openshift-a599005dc0ec7dcca64d4f60b7fb7ab5cb959ebc.tar.xz
openshift-a599005dc0ec7dcca64d4f60b7fb7ab5cb959ebc.zip
Merge pull request #348 from detiber/ha_master
Ha master
Diffstat (limited to 'inventory')
-rw-r--r--inventory/byo/hosts.example20
1 files changed, 18 insertions, 2 deletions
diff --git a/inventory/byo/hosts.example b/inventory/byo/hosts.example
index 41216dd89..56f4da5a2 100644
--- a/inventory/byo/hosts.example
+++ b/inventory/byo/hosts.example
@@ -38,14 +38,30 @@ deployment_type=enterprise
# Allow all auth
#openshift_master_identity_providers=[{'name': 'allow_all', 'login': 'true', 'challenge': 'true', 'kind': 'AllowAllPasswordIdentityProvider'}]
+# master cluster ha variables using pacemaker or RHEL HA
+#openshift_master_cluster_password=openshift_cluster
+#openshift_master_cluster_vip=192.168.133.25
+#openshift_master_cluster_public_vip=192.168.133.25
+#openshift_master_cluster_hostname=openshift-ansible.test.example.com
+#openshift_master_cluster_public_hostname=openshift-ansible.test.example.com
+
+# master cluster ha variables when using a different HA solution
+# For installation the value of openshift_master_cluster_hostname must resolve
+# to the first master defined in the inventory.
+# The HA solution must be manually configured after installation and must ensure
+# that openshift-master is running on a single master host.
+#openshift_master_cluster_hostname=openshift-ansible.test.example.com
+#openshift_master_cluster_public_hostname=openshift-ansible.test.example.com
+#openshift_master_cluster_defer_ha=True
+
# host group for masters
[masters]
-ose3-master-ansible.test.example.com
+ose3-master[1:3]-ansible.test.example.com
[etcd]
ose3-etcd[1:3]-ansible.test.example.com
# host group for nodes
[nodes]
-ose3-master-ansible.test.example.com openshift_scheduleable=False
+ose3-master[1:3]-ansible.test.example.com openshift_scheduleable=False
ose3-node[1:2]-ansible.test.example.com openshift_node_labels="{'region': 'primary', 'zone': 'default'}"