clusters_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
clusters_install [2016/05/10 18:50] – luke7858 | clusters_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 |
</ | </ | ||
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' | + | yum groupinstall 'High Availability' |
</ | </ | ||
On main web management server | On main web management server | ||
<sxh bash> | <sxh bash> | ||
- | yum install luci | + | yum install luci -y ; chkconfig luci on |
</ | </ | ||
On both nodes: | On both nodes: | ||
Line 24: | Line 33: | ||
</ | </ | ||
<sxh bash> | <sxh bash> | ||
- | ]# passwd ricci | + | # passwd ricci |
Changing password for user ricci. | Changing password for user ricci. | ||
New password: | New password: | ||
Line 41: | Line 50: | ||
Point your web browser to https:// | Point your web browser to https:// | ||
</ | </ | ||
+ | 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 | ||
+ | </ | ||
+ | ^ 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> | ||
https:// | https:// | ||
</ | </ | ||
+ | Once you have located the ' | ||
+ | \\ | ||
+ | (Password field is the ricci password) | ||
+ | \\ | ||
+ | Once all is complete click ' | ||
<sxh bash> | <sxh bash> | ||
+ | # clustat | ||
+ | Cluster Status for mysql Cluster @ Wed May 11 06:28:39 2016 | ||
+ | Member Status: Quorate | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
+ | \\ | ||
+ | === Configuring Fencing === | ||
+ | Now we must configure the fencing method | ||
<sxh bash> | <sxh bash> | ||
clusters_install.1462906223.txt.gz · Last modified: 2024/05/23 07:26 (external edit)