User Tools

Site Tools


clusters_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
clusters_install [2016/05/10 19:01] luke7858clusters_install [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +^ Service ^ Description ^
 +| ricci | Cluster management daemon (Remote cluster and storage management) \\ Default port 11111 \\ Propagates updated cluster configuration from (and to) cluster nodes| 
 +| luci | Luci is a web-based HA administration application \\ Luci can handle most common cluster tasks - avoiding the need for manual configuration changes \\ - Configure whole clusters \\ - add, remove, reboot and configure nodes \\ - Service management \\ - Resource management \\ - Failover Domains \\ - Global Fencing|
 +| cman | Red Hat Cluster Manager \\ Performs cluster management in HA add-on \\ Runs on each cluster node and handles communication between nodes in the cluster|
 +| rgmanager | Cluster resource group manager - it is layered on to of magma (API) \\ Provides cold failover of resource collected into groups.  |
 +| modcluster | |
 +| clvmd | Cluster LVM Daemon \\  All clusters must have this running on them to provide LVM metadata updates | 
 +\\
 +\\
 <sxh bash> <sxh bash>
-yum install rgmanager lvm2-cluster gfs2-utils+yum install rgmanager lvm2-cluster gfs2-utils -y
 </sxh> </sxh>
 Note that installing only the rgmanager will pull in all necessary dependencies to create an HA Note that installing only the rgmanager will pull in all necessary dependencies to create an HA
Line 8: Line 17:
 On both nodes install: On both nodes install:
 <sxh bash> <sxh bash>
-yum groupinstall 'High Availability' 'Resilient Storage'+yum groupinstall 'High Availability' 'Resilient Storage' -y
 </sxh> </sxh>
 On main web management server On main web management server
 <sxh bash> <sxh bash>
-yum install luci+yum install luci -y ; chkconfig luci on
 </sxh> </sxh>
 On both nodes: On both nodes:
Line 41: Line 50:
 Point your web browser to https://mysql-cluster-1:8084 (or equivalent) to access luci Point your web browser to https://mysql-cluster-1:8084 (or equivalent) to access luci
 </sxh> </sxh>
 +Add the following IP table rules to your servers:
 +<sxh bash>
 +iptables -I INPUT 1 -p tcp --dport 5404 -j ACCEPT
 +iptables -I INPUT 1 -p udp --dport 5404 -j ACCEPT
 +iptables -I INPUT 1 -p tcp --dport 5405  -j ACCEPT
 +iptables -I INPUT 1 -p udp --dport 5405  -j ACCEPT
 +iptables -I INPUT 1 -p tcp --dport 11111 -j ACCEPT
 +iptables -I INPUT 1 -p tcp --dport 21064  -j ACCEPT
 +iptables -I INPUT 1 -p tcp --dport 16851  -j ACCEPT
 +iptables -I INPUT 1 -p tcp --dport 8084  -j ACCEPT
 +iptables -I INPUT 1 -p tcp --dport 443  -j ACCEPT
 +</sxh>
 +^ Port ^ Protocol ^ Description ^
 +| 5404, 5405 | | |
 +| 11111 | |  |
 +| 21064 | | |
 +| 16851 | | |
 +| 8084 | | |
 +| 443 | tcp | |
 In your browser go to the following address and log in using the servers root account: In your browser go to the following address and log in using the servers root account:
 <sxh bash> <sxh bash>
Line 52: Line 80:
 <sxh bash> <sxh bash>
 # clustat # clustat
-Cluster Status for mysql Cluster @ Tue May 10 18:58:49 2016+Cluster Status for mysql Cluster @ Wed May 11 06:28:39 2016
 Member Status: Quorate Member Status: Quorate
  
- Member Name                                                     ID   Status + Member Name                                                ID   Status 
- ------ ----                                                     ---- ------ + ------ ----                                                ---- ------ 
- mysql-cluster-1                                                     1 Online, Local + mysql-cluster-1                                                1 Online, Local 
- mysql-cluster-1                                                     1 Online+ mysql-cluster-2                                                2 Offline
 </sxh> </sxh>
 +\\
 +=== Configuring Fencing ===
 +Now we must configure the fencing method
 <sxh bash> <sxh bash>
  
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