Академический Документы
Профессиональный Документы
Культура Документы
I have been trying to post about redhat cluster from quite long time.But today only I got a time to write
about it. Redhat Linux become quite popular and most of the low end and mid-range server are migrating
from Unix to Redhat Linux.Once of the recent survey stated that RISC servers(Oracles SPARC/IBMs
POWER) shipment is keep on reducing every year and X86 servers shipment has been increased rapidly.
Itanium(HP-UX) is not in that competition at all.Since Redhat Linux is emerging in the market and most of
the companies are building redhat cluster for High Availability.
So Let me start from Redhat Cluster packages installation and many more posts will follow about redhat
cluster configuration soon.
System Configuration:
UANODE1 cluster node 1 (192.168.2.200)
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
1/18
7/28/2014
Arch
Version
Repository
Size
=========================================================================
Installing:
rgmanager
x86_64
3.0.12.1-12.el6
dvd-ha
184 k
x86_64
1.0.5-6.el6
dvd-ha
116 k
clusterlib
x86_64
3.0.12.1-32.el6
dvd-ha
96 k
cman
x86_64
3.0.12.1-32.el6
dvd-ha
434 k
corosync
x86_64
1.4.1-7.el6
dvd-ha
189 k
corosynclib
x86_64
1.4.1-7.el6
dvd-ha
173 k
fence-agents
x86_64
3.1.5-17.el6
dvd
150 k
fence-virt
x86_64
0.2.3-9.el6
dvd-ha
ipmitool
x86_64
1.8.11-13.el6
dvd
328 k
libibverbs
x86_64
1.1.6-4.el6
dvd
45 k
librdmacm
x86_64
1.0.15-2.el6
dvd
29 k
modcluster
x86_64
0.16.2-18.el6
dvd-ha
191 k
net-snmp-utils
x86_64
1:5.5-41.el6
dvd
170 k
openais
x86_64
1.1.1-7.el6
dvd-ha
192 k
openaislib
x86_64
1.1.1-7.el6
dvd-ha
82 k
perl-Net-Telnet
noarch
3.03-11.el6
dvd
55 k
pexpect
noarch
2.3-6.el6
dvd
147 k
python-suds
noarch
0.4.1-3.el6
dvd
218 k
resource-agents
x86_64
3.9.2-12.el6
dvd-ha
474 k
ricci
x86_64
0.16.2-55.el6
dvd-ha
626 k
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
36 k
2/18
7/28/2014
sg3_utils
x86_64
1.28-4.el6
dvd
471 k
telnet
x86_64
1:0.17-47.el6
dvd
58 k
Transaction Summary
=======================================================================
Install
22 Package(s)
2.9
00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libibverbs-1.1.6-4.el6.x86_64
1/22
Installing : librdmacm-1.0.15-2.el6.x86_64
2/22
Installing : corosynclib-1.4.1-7.el6.x86_64
3/22
Installing : corosync-1.4.1-7.el6.x86_64
4/22
Installing : clusterlib-3.0.12.1-32.el6.x86_64
5/22
Installing : modcluster-0.16.2-18.el6.x86_64
6/22
Installing : openaislib-1.1.1-7.el6.x86_64
7/22
Installing : openais-1.1.1-7.el6.x86_64
8/22
Installing : ricci-0.16.2-55.el6.x86_64
9/22
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
3/18
7/28/2014
Installing : pexpect-2.3-6.el6.noarch
10/22
Installing : perl-Net-Telnet-3.03-11.el6.noarch
11/22
Installing : 1:telnet-0.17-47.el6.x86_64
12/22
Installing : cluster-glue-libs-1.0.5-6.el6.x86_64
13/22
Installing : resource-agents-3.9.2-12.el6.x86_64
14/22
Installing : 1:net-snmp-utils-5.5-41.el6.x86_64
15/22
Installing : ipmitool-1.8.11-13.el6.x86_64
16/22
Installing : python-suds-0.4.1-3.el6.noarch
17/22
Installing : fence-virt-0.2.3-9.el6.x86_64
18/22
Installing : sg3_utils-1.28-4.el6.x86_64
19/22
Installing : fence-agents-3.1.5-17.el6.x86_64
20/22
Installing : cman-3.0.12.1-32.el6.x86_64
21/22
Installing : rgmanager-3.0.12.1-12.el6.x86_64
22/22
dvd-ha/productid
| 1.7 kB
00:00 ...
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
4/18
7/28/2014
2/22
Verifying : sg3_utils-1.28-4.el6.x86_64
3/22
Verifying : fence-virt-0.2.3-9.el6.x86_64
4/22
Verifying : cman-3.0.12.1-32.el6.x86_64
5/22
Verifying : corosynclib-1.4.1-7.el6.x86_64
6/22
Verifying : python-suds-0.4.1-3.el6.noarch
7/22
Verifying : ipmitool-1.8.11-13.el6.x86_64
8/22
Verifying : openais-1.1.1-7.el6.x86_64
9/22
Verifying : openaislib-1.1.1-7.el6.x86_64
10/22
Verifying : 1:net-snmp-utils-5.5-41.el6.x86_64
11/22
Verifying : cluster-glue-libs-1.0.5-6.el6.x86_64
12/22
Verifying : 1:telnet-0.17-47.el6.x86_64
13/22
Verifying : perl-Net-Telnet-3.03-11.el6.noarch
14/22
Verifying : libibverbs-1.1.6-4.el6.x86_64
15/22
Verifying : pexpect-2.3-6.el6.noarch
16/22
Verifying : fence-agents-3.1.5-17.el6.x86_64
17/22
Verifying : clusterlib-3.0.12.1-32.el6.x86_64
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
5/18
7/28/2014
18/22
Verifying : librdmacm-1.0.15-2.el6.x86_64
19/22
Verifying : rgmanager-3.0.12.1-12.el6.x86_64
20/22
Verifying : ricci-0.16.2-55.el6.x86_64
21/22
Verifying : resource-agents-3.9.2-12.el6.x86_64
22/22
Installed:
rgmanager.x86_64 0:3.0.12.1-12.el6
Dependency Installed:
cluster-glue-libs.x86_64 0:1.0.5-6.el6
clusterlib.x86_64 0:3.0.12.1-32.el6
cman.x86_64 0:3.0.12.1-32.el6
corosync.x86_64 0:1.4.1-7.el6
corosynclib.x86_64 0:1.4.1-7.el6
fence-agents.x86_64 0:3.1.5-17.el6
fence-virt.x86_64 0:0.2.3-9.el6
ipmitool.x86_64 0:1.8.11-13.el6
libibverbs.x86_64 0:1.1.6-4.el6
librdmacm.x86_64 0:1.0.15-2.el6
modcluster.x86_64 0:0.16.2-18.el6
net-snmp-utils.x86_64 1:5.5-41.el6
openais.x86_64 0:1.1.1-7.el6
openaislib.x86_64 0:1.1.1-7.el6
perl-Net-Telnet.noarch 0:3.03-11.el6
pexpect.noarch 0:2.3-6.el6
python-suds.noarch 0:0.4.1-3.el6
resource-agents.x86_64 0:3.9.2-12.el6
ricci.x86_64 0:0.16.2-55.el6
sg3_utils.x86_64 0:1.28-4.el6
telnet.x86_64 1:0.17-47.el6
Complete!
[root@UANODE1 ~]#
6/18
7/28/2014
3.To configure the redhat cluster, we need to install luci on non cluster node(Hostname-UACM).So that
we will be having web interface accessibility in case of both cluster nodes down.
Note:You can also install luci on the cluster node but if the configured luci node is down,then you may
not able to manage cluster using luci.
Arch
Version
Repository
Size
=============================================================================
Installing:
luci
x86_64
0.26.0-13.el6
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
7/18
7/28/2014
dvd-ha
543 k
noarch
2.0.3-4.el6
dvd 150 k
python-babel
noarch
0.9.4-5.1.el6
dvd 1.4 M
python-cheetah
x86_64
2.4.1-1.el6
dvd 364 k
python-decoratortools
noarch
1.7-4.1.el6
dvd 27 k
python-formencode
noarch
1.2.2-2.1.el6
dvd 245 k
python-genshi
x86_64
0.5.1-7.1.el6
dvd 429 k
python-markdown
noarch
2.0.1-3.1.el6
dvd 118 k
python-myghty
noarch
1.1-11.el6
dvd 519 k
Transaction Summary
==========================================================================
Install
42 Package(s)
1.8
00:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-paste-1.7.4-1.el6.noarch
1/42
Installing : python-setuptools-0.6.10-3.el6.noarch
2/42
Installing : python-webob-0.9.6.1-3.el6.noarch
3/42
Installing : python-paste-deploy-1.3.3-2.1.el6.noarch
4/42
Installing : python-decoratortools-1.7-4.1.el6.noarch
5/42
Installing : python-pygments-1.1.1-1.el6.noarch
6/42
Installing : python-routes-1.10.3-2.el6.noarch
7/42
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
8/18
7/28/2014
Installing : python-tempita-0.4-2.el6.noarch
8/42
Installing : python-weberror-0.10.2-1.el6.noarch
9/42
Installing : python-webhelpers-0.6.4-4.el6.noarch
10/42
Installing : python-peak-util-addons-0.6-4.1.el6.noarch
11/42
Installing : python-webtest-1.2-2.el6.noarch
12/42
Installing : python-toscawidgets-0.9.8-1.el6.noarch
13/42
Installing : python-nose-0.10.4-3.1.el6.noarch
14/42
Installing : python-formencode-1.2.2-2.1.el6.noarch
15/42
Installing : python-sqlalchemy-0.5.5-3.el6_2.noarch
16/42
Installing : python-markdown-2.0.1-3.1.el6.noarch
17/42
Installing : python-cheetah-2.4.1-1.el6.x86_64
18/42
Installing : python-paste-script-1.7.3-4.el6.noarch
19/42
Installing : python-peak-util-symbols-1.0-4.1.el6.noarch
20/42
Installing : python-peak-util-assembler-0.5.1-1.el6.noarch
21/42
Installing : python-babel-0.9.4-5.1.el6.noarch
22/42
Installing : python-genshi-0.5.1-7.1.el6.x86_64
23/42
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
9/18
7/28/2014
Installing : python-webflash-0.1-0.2.a9.el6.noarch
24/42
Installing : python-peak-util-extremes-1.1-4.1.el6.noarch
25/42
Installing : python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch
26/42
Installing : python-prioritized-methods-0.2.1-5.1.el6.noarch
27/42
Installing : python-turbojson-1.2.1-8.1.el6.noarch
28/42
Installing : python-zope-filesystem-1-5.el6.x86_64
29/42
Installing : python-zope-interface-3.5.2-2.1.el6.x86_64
30/42
Installing : python-repoze-who-1.0.18-1.el6.noarch
31/42
Installing : python-transaction-1.0.1-1.el6.noarch
32/42
Installing : python-zope-sqlalchemy-0.4-3.el6.noarch
33/42
Installing : python-repoze-tm2-1.0-0.5.a4.el6.noarch
34/42
Installing : python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch
35/42
Installing : python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch
36/42
Installing : python-repoze-what-1.0.8-6.el6.noarch
37/42
Installing : python-myghty-1.1-11.el6.noarch
38/42
Installing : python-pylons-0.9.7-2.el6.noarch
39/42
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
10/18
7/28/2014
Installing : python-repoze-what-pylons-1.0-4.el6.noarch
40/42
Installing : TurboGears2-2.0.3-4.el6.noarch
41/42
Installing : luci-0.26.0-13.el6.x86_64
42/42
Installed products updated.
Verifying : python-myghty-1.1-11.el6.noarch
1/42
Verifying : python-zope-filesystem-1-5.el6.x86_64
2/42
Verifying : python-paste-1.7.4-1.el6.noarch
3/42
Verifying : python-repoze-what-1.0.8-6.el6.noarch
4/42
Verifying : python-peak-util-extremes-1.1-4.1.el6.noarch
5/42
Verifying : python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch
6/42
Verifying : python-repoze-who-1.0.18-1.el6.noarch
7/42
Verifying : python-peak-util-addons-0.6-4.1.el6.noarch
8/42
Verifying : python-webtest-1.2-2.el6.noarch
9/42
Verifying : python-pylons-0.9.7-2.el6.noarch
10/42
Verifying : TurboGears2-2.0.3-4.el6.noarch
11/42
Verifying : python-decoratortools-1.7-4.1.el6.noarch
12/42
Verifying : python-pygments-1.1.1-1.el6.noarch
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
11/18
7/28/2014
13/42
Verifying : python-toscawidgets-0.9.8-1.el6.noarch
14/42
Verifying : python-webflash-0.1-0.2.a9.el6.noarch
15/42
Verifying : python-paste-script-1.7.3-4.el6.noarch
16/42
Verifying : python-nose-0.10.4-3.1.el6.noarch
17/42
Verifying : python-babel-0.9.4-5.1.el6.noarch
18/42
Verifying : python-tempita-0.4-2.el6.noarch
19/42
Verifying : python-transaction-1.0.1-1.el6.noarch
20/42
Verifying : python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch
21/42
Verifying : python-peak-util-symbols-1.0-4.1.el6.noarch
22/42
Verifying : python-cheetah-2.4.1-1.el6.x86_64
23/42
Verifying : python-routes-1.10.3-2.el6.noarch
24/42
Verifying : python-repoze-what-pylons-1.0-4.el6.noarch
25/42
Verifying : python-webhelpers-0.6.4-4.el6.noarch
26/42
Verifying : python-markdown-2.0.1-3.1.el6.noarch
27/42
Verifying : python-setuptools-0.6.10-3.el6.noarch
28/42
Verifying : luci-0.26.0-13.el6.x86_64
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
12/18
7/28/2014
29/42
Verifying : python-zope-sqlalchemy-0.4-3.el6.noarch
30/42
Verifying : python-peak-util-assembler-0.5.1-1.el6.noarch
31/42
Verifying : python-zope-interface-3.5.2-2.1.el6.x86_64
32/42
Verifying : python-formencode-1.2.2-2.1.el6.noarch
33/42
Verifying : python-paste-deploy-1.3.3-2.1.el6.noarch
34/42
Verifying : python-turbojson-1.2.1-8.1.el6.noarch
35/42
Verifying : python-genshi-0.5.1-7.1.el6.x86_64
36/42
Verifying : python-weberror-0.10.2-1.el6.noarch
37/42
Verifying : python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch
38/42
Verifying : python-prioritized-methods-0.2.1-5.1.el6.noarch
39/42
Verifying : python-repoze-tm2-1.0-0.5.a4.el6.noarch
40/42
Verifying : python-webob-0.9.6.1-3.el6.noarch
41/42
Verifying : python-sqlalchemy-0.5.5-3.el6_2.noarch
42/42
Installed:
luci.x86_64 0:0.26.0-13.el6
Dependency Installed:
TurboGears2.noarch 0:2.0.3-4.el6
python-babel.noarch 0:0.9.4-5.1.el6
python-cheetah.x86_64 0:2.4.1-1.el6
python-decoratortools.noarch 0:1.7-4.1.el6
python-formencode.noarch 0:1.2.2-2.1.el6
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
python-genshi.x86_64 0:0.5.1-7.1.el6
13/18
7/28/2014
python-markdown.noarch 0:2.0.1-3.1.el6
python-nose.noarch 0:0.10.4-3.1.el6
python-myghty.noarch 0:1.1-11.el6
python-paste.noarch 0:1.7.4-1.el6
python-paste-deploy.noarch 0:1.3.3-2.1.el6
python-paste-script.noarch 0:1.7.3-4.el6
python-peak-rules.noarch 0:0.5a1.dev-9.2582.1.el6
python-peak-util-addons.noarch 0:0.6-
4.1.el6
python-peak-util-assembler.noarch 0:0.5.1-1.el6
python-peak-util-extremes.noarch 0:1.1-
4.1.el6
python-peak-util-symbols.noarch 0:1.0-4.1.el6
python-prioritized-methods.noarch 0:0.2.1-
5.1.el6
python-pygments.noarch 0:1.1.1-1.el6
python-pylons.noarch 0:0.9.7-2.el6
python-repoze-tm2.noarch 0:1.0-0.5.a4.el6
python-repoze-what.noarch 0:1.0.8-6.el6
python-repoze-what-pylons.noarch 0:1.0-4.el6
python-repoze-who.noarch 0:1.0.18-1.el6
python-repoze-who-friendlyform.noarch 0:1.0-0.3.b3.el6
python-repoze-who-testutil.noa
0.4.rc1.el6
python-routes.noarch 0:1.10.3-2.el6
python-setuptools.noarch 0:0.6.10-3.el6
python-sqlalchemy.noarch 0:0.5.5-3.el6_2
python-tempita.noarch 0:0.4-2.el6
python-toscawidgets.noarch 0:0.9.8-1.el6
python-transaction.noarch 0:1.0.1-1.el6
python-turbojson.noarch 0:1.2.1-8.1.el6
python-weberror.noarch 0:0.10.2-1.el6
python-webflash.noarch 0:0.1-0.2.a9.el6
python-webhelpers.noarch 0:0.6.4-4.el6
python-webob.noarch 0:0.9.6.1-3.el6
python-webtest.noarch 0:1.2-2.el6
python-zope-filesystem.x86_64 0:1-5.el6
python-zope-interface.x86_64 0:3.5.2-
2.1.el6
python-zope-sqlalchemy.noarch 0:0.4-3.el6
Complete!
[root@UACM ~]#
[ OK ][root@UANODE1 rc5.d][root@UANODE1 rc
root@uanode2's password:
Last login: Sat Oct 12 16:42:49 2013 from uanode1
[root@UANODE2 ~]# cd /etc/rc5.d
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
14/18
7/28/2014
[ OK ][root@UANODE2 rc5.d]#
Adding following auto-detected host IDs (IP addresses/domain names), corresponding to `UANODE2' address
(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...
[root@UANODE2 rc5.d]#
6.Access the luci console using https://UANODE2:8084 address from UACM node.
If you have any issue to access this portal from other machine,disable firewall using
# service iptables stop
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
15/18
7/28/2014
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
16/18
7/28/2014
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
17/18
7/28/2014
That all about redhat cluster suite installation on redhat Linux 6.3.
Hope you will also join with me to build a redhat cluster.Please leave a comment if you have any doubt.
Thank you for visiting UnixArena.
http://www.unixarena.com/2013/10/linux-how-to-install-redhat-cluster.html
18/18