Cleanup config.yaml

Change-Id: Ib2f5729fb83b38b55babbea19c975fde77dc9ee7
This commit is contained in:
Shane Peters 2017-06-06 10:15:44 -04:00 committed by Edward Hope-Morley
parent 3101266105
commit eedc70ccb6
1 changed files with 27 additions and 27 deletions

View File

@ -26,14 +26,14 @@ options:
description: | description: |
Multicast IP address to use for exchanging messages over the network. Multicast IP address to use for exchanging messages over the network.
If multiple clusters are on the same bindnetaddr network, this value If multiple clusters are on the same bindnetaddr network, this value
can be changed. Only used when corosync_transport = multicast. can be changed. Only used when corosync_transport = multicast.
corosync_bindiface: corosync_bindiface:
type: string type: string
default: default:
description: | description: |
Default network interface on which HA cluster will bind to communication Default network interface on which HA cluster will bind to communication
with the other members of the HA Cluster. Defaults to the network with the other members of the HA Cluster. Defaults to the network
interface hosting the units private-address. Only used when interface hosting the units private-address. Only used when
corosync_transport = multicast. corosync_transport = multicast.
corosync_mcastport: corosync_mcastport:
type: int type: int
@ -52,26 +52,26 @@ options:
sudo cat /etc/corosync/authkey | base64 -w 0 sudo cat /etc/corosync/authkey | base64 -w 0
. .
This configuration element is mandatory and the service will fail on This configuration element is mandatory and the service will fail on
install if it is not provided. The value must be base64 encoded. install if it is not provided. The value must be base64 encoded.
service_start_timeout: service_start_timeout:
type: int type: int
default: 180 default: 180
description: | description: |
Systemd override value for corosync and pacemaker service start timeout in seconds. Systemd override value for corosync and pacemaker service start timeout
Set value to -1 turn off timeout for the services. in seconds. Set value to -1 turn off timeout for the services.
service_stop_timeout: service_stop_timeout:
type: int type: int
default: 60 default: 60
description: | description: |
Systemd override value for corosync and pacemaker service stop timeout in seconds. Systemd override value for corosync and pacemaker service stop timeout
Set value to -1 turn off timeout for the services. seconds. Set value to -1 turn off timeout for the services.
stonith_enabled: stonith_enabled:
type: string type: string
default: 'False' default: 'False'
description: | description: |
Enable resource fencing (aka STONITH) for every node in the cluster. Enable resource fencing (aka STONITH) for every node in the cluster.
This requires MAAS credentials be provided and each node's power This requires MAAS credentials be provided and each node's power
parameters are properly configured in its invenvory. parameters are properly configured in its inventory.
maas_url: maas_url:
type: string type: string
default: default:
@ -81,17 +81,16 @@ options:
default: default:
description: MAAS credentials (required for STONITH). description: MAAS credentials (required for STONITH).
maas_source: maas_source:
type: string type: string
default: ppa:maas/stable default: ppa:maas/stable
description: | description: |
PPA for python3-maas-client: PPA for python3-maas-client:
. .
- ppa:maas/stable - ppa:maas/stable
- ppa:maas/next - ppa:maas/next
. .
The last option should be used in conjunction with the key configuration The last option should be used in conjunction with the key configuration
option. option. Used when service_dns is set on the primary charm for DNS HA.
Used when service_dns is set on the primary charm for DNS HA
cluster_count: cluster_count:
type: int type: int
default: 3 default: 3
@ -107,9 +106,9 @@ options:
type: string type: string
default: default:
description: | description: |
One or more IPs, separated by space, that will be used as a saftey check One or more IPs, separated by space, that will be used as a safety check
for avoiding split brain situations. Nodes in the cluster will ping these for avoiding split brain situations. Nodes in the cluster will ping these
IPs periodicaly. Node that can not ping monitor_host will not run shared IPs periodically. Node that can not ping monitor_host will not run shared
resources (VIP, shared disk...). resources (VIP, shared disk...).
monitor_interval: monitor_interval:
type: string type: string
@ -124,21 +123,22 @@ options:
Specifies the corosync.conf network mtu. If unset, the default Specifies the corosync.conf network mtu. If unset, the default
corosync.conf value is used (currently 1500). See 'man corosync.conf' for corosync.conf value is used (currently 1500). See 'man corosync.conf' for
detailed information on this config option. detailed information on this config option.
# Monitoring config
nagios_context: nagios_context:
default: "juju"
type: string type: string
default: "juju"
description: | description: |
Used by the nrpe-external-master subordinate charm. Used by the nrpe-external-master subordinate charm.
A string that will be prepended to instance name to set the host name A string that will be prepended to instance name to set the host name
in nagios. So for instance the hostname would be something like: in nagios. So for instance the hostname would be something like:
. .
juju-postgresql-0 juju-postgresql-0
. .
If you're running multiple environments with the same services in them If you're running multiple environments with the same services in them
this allows you to differentiate between them. this allows you to differentiate between them.
nagios_servicegroups: nagios_servicegroups:
default: ""
type: string type: string
default: ""
description: | description: |
A comma-separated list of nagios servicegroups. A comma-separated list of nagios servicegroups. If left empty, the
If left empty, the nagios_context will be used as the servicegroup nagios_context will be used as the servicegroup.