From eea6d3e39b398715897a27f7e2f4d4cf2c77f2fe Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 22 May 2013 11:46:29 +0100 Subject: [PATCH] Tidy README.md --- README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ba8eba2..bdeb7f4 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,15 @@ hardware. To deploy the charm: - juju deploy hacluster mysql-hacluster + juju deploy hacluster mysql-hacluster To enable HA clustering support (for mysql for example): - juju deploy -n 2 mysql - juju deploy -n 3 ceph - juju set mysql vip="192.168.21.1" - juju add-relation mysql ceph - juju add-relation mysql mysql-hacluster + juju deploy -n 2 mysql + juju deploy -n 3 ceph + juju set mysql vip="192.168.21.1" + juju add-relation mysql ceph + juju add-relation mysql mysql-hacluster The principle charm must have explicit support for the hacluster interface in order for clustering to occur - otherwise nothing actually get configured. @@ -34,10 +34,12 @@ in order for clustering to occur - otherwise nothing actually get configured. The hacluster interface supports a number of different cluster configuration options. -## Mandatory +## Mandatory Relation Data - corosync\_bindiface: The network interface to use for cluster messaging. - corosync\_mcastport: The multicast port to use for cluster messaging. +All principle charms must provide basic corosync configuration: + + corosync\_bindiface: The network interface to use for cluster messaging. + corosync\_mcastport: The multicast port to use for cluster messaging. ## Resource Configuration