Sunny Verma Hacluster
- By Sunny Verma
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 0 | 19 Mar 2021 |
juju deploy sunny-verma-hacluster
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
cluster_count | int
Default: 2
Number of peer units required to bootstrap cluster services. . If less that 3 is specified, the cluster will be configured to ignore any quorum problems; with 3 or more units, quorum will be enforced and services will be stopped in the event of a loss of quorum.
-
corosync_bindiface | string
Default network interface on which HA cluster will bind to communication with the other members of the HA Cluster.
-
corosync_key | string
Default: 64RxJNcCkwo8EJYBsaacitUvbQp5AW4YolJi5/2urYZYp2jfLxY+3IUCOaAUJHPle4Yqfy+WBXO0I/6ASSAjj9jaiHVNaxmVhhjcmyBqy2vtPf+m+0VxVjUXlkTyYsODwobeDdO3SIkbIABGfjLTu29yqPTsfbvSYr6skRb9ne0=
This value will become the Corosync authentication key. To generate a suitable value use: . sudo corosync-keygen sudo cat /etc/corosync/authkey | base64 -w 0 . This configuration element is mandatory and the service will fail on install if it is not provided. The value must be base64 encoded.
-
corosync_mcastaddr | string
Default: 226.94.1.1
Multicast IP address to use for exchanging messages over the network. If multiple clusters are on the same bindnetaddr network, this value can be changed.
-
corosync_mcastport | int
Default multicast port number that will be used to communicate between HA Cluster nodes.
-
corosync_transport | string
Default: multicast
Two supported modes are multicast (udp) or unicast (udpu)
-
debug | boolean
Enable debug logging
-
maas_credentials | string
MAAS credentials (required for STONITH).
-
maas_source | string
Default: ppa:maas/stable
PPA for python3-maas-client: . - ppa:maas/stable - ppa:maas/next . The last option should be used in conjunction with the key configuration option. Used when service_dns is set on the primary charm for DNS HA
-
maas_url | string
MAAS API endpoint (required for STONITH).
-
monitor_host | string
One or more IPs, separated by space, that will be used as a saftey check 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 resources (VIP, shared disk...).
-
monitor_interval | string
Default: 5s
Time period between checks of resource health. It consists of a number and a time factor, e.g. 5s = 5 seconds. 2m = 2 minutes.
-
nagios_context | string
Default: juju
Used by the nrpe-external-master subordinate charm. 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: . juju-postgresql-0 . If you're running multiple environments with the same services in them this allows you to differentiate between them.
-
nagios_servicegroups | string
A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
-
netmtu | int
Specifies the corosync.conf network mtu. If unset, the default corosync.conf value is used (currently 1500). See 'man corosync.conf' for detailed information on this config option.
-
prefer-ipv6 | boolean
If True enables IPv6 support. The charm will expect network interfaces to be configured with an IPv6 address. If set to False (default) IPv4 is expected. . NOTE: these charms do not currently support IPv6 privacy extension. In order for this charm to function correctly, the privacy extension must be disabled and a non-temporary address must be configured/available on your network interface.
-
stonith_enabled | string
Default: False
Enable resource fencing (aka STONITH) for every node in the cluster. This requires MAAS credentials be provided and each node's power parameters are properly configured in its invenvory.