User Tools

Site Tools


clusters_install

This is an old revision of the document!


yum install rgmanager lvm2-cluster gfs2-utils
Note that installing only the rgmanager will pull in all necessary dependencies to create an HA cluster from the HighAvailability channel. The lvm2-cluster and gfs2-utils packages are part of ResilientStorage channel and may not be needed by your site.
On both nodes install:
yum groupinstall 'High Availability' 'Resilient Storage'
On main web management server
yum install luci
On both nodes:
# service ricci start
Starting system message bus:                               [  OK  ]
Starting oddjobd:                                          [  OK  ]
generating SSL certificates...  done
Generating NSS database...  done
Starting ricci:                                            [  OK  ]
# passwd ricci
Changing password for user ricci.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
On main node:
# service luci start
Adding following auto-detected host IDs (IP addresses/domain names), corresponding to `mysql-cluster-1' address, to the configuration of self-managed certificate `/var/lib/luci/etc/cacert.config' (you can change them by editing `/var/lib/luci/etc/cacert.config', removing the generated certificate `/var/lib/luci/certs/host.pem' and restarting luci):
        (none suitable found, you can still do it manually as mentioned above)

Generating a 2048 bit RSA private key
writing new private key to '/var/lib/luci/certs/host.pem'
Start luci...                                              [  OK  ]
Point your web browser to https://mysql-cluster-1:8084 (or equivalent) to access luci
In your browser go to the following address and log in using the servers root account:
https://x.x.x.x:8084
Once you have located the 'Create New Cluster' section, enter the parameters for the cluster you are creating
(Password field is the ricci password)
Once all is complete click 'Create Cluster'
# clustat
Cluster Status for mysql Cluster @ Tue May 10 18:58:49 2016
Member Status: Quorate

 Member Name                                                     ID   Status
 ------ ----                                                     ---- ------
 mysql-cluster-1                                                     1 Online, Local
 mysql-cluster-1                                                     1 Online


clusters_install.1462906871.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki