Difference between revisions of "Bright:HA setup"
Jump to navigation
Jump to search
(Created page with "== Preparation for HA == Once installation of the first head node has been completed, the cluster may be converted to a HA cluster. In order to do this two steps must be com...") |
(No difference)
|
Latest revision as of 10:46, 27 February 2014
Preparation for HA
Once installation of the first head node has been completed, the cluster may be converted to a HA cluster.
In order to do this two steps must be completed:
- Obtain a new HA licence and activating it
- running the cmha-setup
cmha-setup
There are three steps to set up HA:
Preparation
- Power off all other nodes in the cluster to reduce the chance of problems
cmsh-setup
setup
configure- A licence check is done to determine that a valid HA licence is applied
- Set up the shared interface name and IP addresses are set. 0.0.0.0 can be used for DHCP.
- Set the hostname of the passive head node
- The failover network is set up
- Other Interfaces of the passive node are configured
Cloneing
The passive head node is installed using a clone of the active head node.
- Boot the Passive node using pxe
- Select "Start Rescue Environment"
- Run the following command
/cm/cm-clone-install ---failover- Enter the network interface to use
- Enter the root password
- Confirm the set up
- Cloning will then begin
- Once the cloning has finished return the the active head node and select "finalize"
- Reboot the passive node
- Check the status of the nodes:
[root@bright61 ~]# cmha status
Node Status: running in active master mode
Failover status:
bright61* -> master2
backupping [ OK ]
mysql [ OK ]
ping [ OK ]
status [ OK ]
master2 -> bright61*
backupping [ OK ]
mysql [ OK ]
ping [ OK ]
status [ OK ]