<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Bright%3AHA_setup</id>
	<title>Bright:HA setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Bright%3AHA_setup"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Bright:HA_setup&amp;action=history"/>
	<updated>2026-05-04T16:08:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Bright:HA_setup&amp;diff=4090&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;== 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...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Bright:HA_setup&amp;diff=4090&amp;oldid=prev"/>
		<updated>2014-02-27T10:46:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== 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...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Preparation for HA ==&lt;br /&gt;
&lt;br /&gt;
Once installation of the first head node has been completed, the cluster may be converted to a HA cluster.&lt;br /&gt;
&lt;br /&gt;
In order to do this two steps must be completed:&lt;br /&gt;
&lt;br /&gt;
* Obtain a new HA licence and activating it&lt;br /&gt;
* running the cmha-setup&lt;br /&gt;
&lt;br /&gt;
== cmha-setup ==&lt;br /&gt;
&lt;br /&gt;
There are three steps to set up HA:&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
* Power off all other nodes in the cluster to reduce the chance of problems&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
cmsh-setup&lt;br /&gt;
setup&lt;br /&gt;
configure&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* A licence check is done to determine that a valid HA licence is applied&lt;br /&gt;
* Set up the shared interface name and IP addresses are set. 0.0.0.0 can be used for DHCP.&lt;br /&gt;
* Set the hostname of the passive head node&lt;br /&gt;
* The failover network is set up&lt;br /&gt;
* Other Interfaces of the passive node are configured&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Cloneing ===&lt;br /&gt;
&lt;br /&gt;
The passive head node is installed using a clone of the active head node.&lt;br /&gt;
&lt;br /&gt;
# Boot the Passive node using pxe&lt;br /&gt;
# Select &amp;quot;Start Rescue Environment&amp;quot;&lt;br /&gt;
# Run the following command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
/cm/cm-clone-install ---failover&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Enter the network interface to use&lt;br /&gt;
# Enter the root password&lt;br /&gt;
# Confirm the set up&lt;br /&gt;
# Cloning will then begin&lt;br /&gt;
# Once the cloning has finished return the the active head node and select &amp;quot;finalize&amp;quot;&lt;br /&gt;
# Reboot the passive node&lt;br /&gt;
# Check the status of the nodes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@bright61 ~]# cmha status&lt;br /&gt;
Node Status: running in active master mode&lt;br /&gt;
&lt;br /&gt;
Failover status:&lt;br /&gt;
bright61* -&amp;gt; master2&lt;br /&gt;
    backupping   [ OK ]&lt;br /&gt;
    mysql        [ OK ]&lt;br /&gt;
    ping         [ OK ]&lt;br /&gt;
    status       [ OK ]&lt;br /&gt;
master2 -&amp;gt; bright61*&lt;br /&gt;
   backupping    [ OK ]&lt;br /&gt;
   mysql         [ OK ]&lt;br /&gt;
   ping          [ OK ]&lt;br /&gt;
   status        [ OK ]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Shared Storage ===&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>