-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathha.yml
26 lines (24 loc) · 845 Bytes
/
ha.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pe_creds: &pe_creds
# Specify a user with permission to make API calls.
pe_credential: pe_user # credential reference from "vaults" in global.yml file
# Not supported for single node cluster
ha_reservation: &ha_reservation
enable_failover: true
num_host_failure_to_tolerate: 1
clusters:
# configure the below clusters in the site
valid-cluster-01-ip:
cluster_name: cluster-name-1
# Use global pe creds for authentication
<<: *pe_creds
# Use global HA reservation config
ha_reservation:
<<: *ha_reservation
valid-cluster-02-ip:
cluster_name: cluster-name-2
# can be defined locally as well
pe_credential: pe_user # credential reference from "vaults" in global.yml file
# can be defined locally as well
ha_reservation:
enable_failover: true
num_host_failure_to_tolerate: 2