37
37
The service will be reconfigured to use the supplied information.
42
The OpenStack Dashboard charm supports HA in-conjunction with the hacluster
45
juju deploy hacluster dashboard-hacluster
46
juju set openstack-dashboard vip="192.168.1.200"
47
juju add-relation openstack-dashboard dashboard-hacluster
48
juju add-unit -n 2 openstack-dashboard
50
After addition of the extra 2 units completes, the dashboard will be
51
accessible on 192.168.1.200 with full load-balancing across all three units.
53
Please refer to the charm configuration for full details on all HA config
42
There are two mutually exclusive high availability options: using virtual
43
IP(s) or DNS. In both cases, a relationship to hacluster is required which
44
provides the corosync back end HA functionality.
46
To use virtual IP(s) the clustered nodes must be on the same subnet such that
47
the VIP is a valid IP on the subnet for one of the node's interfaces and each
48
node has an interface in said subnet. The VIP becomes a highly-available API
51
At a minimum, the config option 'vip' must be set in order to use virtual IP
52
HA. If multiple networks are being used, a VIP should be provided for each
53
network, separated by spaces. Optionally, vip_iface or vip_cidr may be
56
To use DNS high availability there are several prerequisites. However, DNS HA
57
does not require the clustered nodes to be on the same subnet.
58
Currently the DNS HA feature is only available for MAAS 2.0 or greater
59
environments. MAAS 2.0 requires Juju 2.0 or greater. The clustered nodes must
60
have static or "reserved" IP addresses registered in MAAS. The DNS hostname(s)
61
must be pre-registered in MAAS before use with DNS HA.
63
At a minimum, the config option 'dns-ha' must be set to true and at least one
64
of 'os-public-hostname', 'os-internal-hostname' or 'os-internal-hostname' must
65
be set in order to use DNS HA. One or more of the above hostnames may be set.
67
The charm will throw an exception in the following circumstances:
68
If neither 'vip' nor 'dns-ha' is set and the charm is related to hacluster
69
If both 'vip' and 'dns-ha' are set as they are mutually exclusive
70
If 'dns-ha' is set and none of the os-{admin,internal,public}-hostname(s) are
57
73
Use with a Load Balancing Proxy
58
74
===============================