How to install redhat cluster on RHEL 6 or NGELinux 1.0 ?
In this article, we will see how to install redhat cluster on RHEl 6 or NGELinux 1.0.
The first step is to install the required software packages:
1. Installing Packages
[root@nglinux ~]# yum install rgmanager lvm2-cluster gfs2-utils Dependencies Resolved ==================================================================================================== Package Arch Version Repository Size ==================================================================================================== Installing: gfs2-utils i686 3.0.12.1-84.el6 base 345 k lvm2-cluster i686 2.02.143-12.el6_9.1 updates 538 k rgmanager i686 3.0.12.1-33.el6 base 192 k Installing for dependencies: cifs-utils i686 4.8.1-20.el6 C6.8-base 65 k clusterlib i686 3.0.12.1-84.el6 base 109 k cman i686 3.0.12.1-84.el6 base 445 k corosync i686 1.4.7-5.el6 C6.8-base 214 k corosynclib i686 1.4.7-5.el6 C6.8-base 191 k cvs i686 1.11.23-16.el6 C6.8-base 699 k cyrus-sasl-md5 i686 2.1.23-15.el6_6.2 C6.8-base 47 k fence-agents i686 4.0.15-13.el6_9.2 updates 193 k fence-virt i686 0.2.3-24.el6 base 39 k gettext i686 0.17-18.el6 C6.8-base 1.8 M gnutls-utils i686 2.12.23-21.el6 base 106 k ipmitool i686 1.8.15-2.el6 C6.8-base 461 k keyutils i686 1.4-5.el6 C6.8-base 38 k libgssglue i686 0.1-11.el6 C6.1-base 23 k libibverbs i686 1.1.8-4.el6 C6.8-base 53 k librdmacm i686 1.0.21-0.el6 C6.8-base 61 k libtirpc i686 0.2.1-13.el6_9 updates 81 k libvirt-client i686 0.10.2-62.el6 base 4.1 M modcluster i686 0.16.2-35.el6 C6.8-base 219 k nc i686 1.84-24.el6 C6.8-base 57 k net-snmp-utils i686 1:5.5-60.el6 base 175 k nfs-utils i686 1:1.2.3-75.el6_9 updates 338 k nfs-utils-lib i686 1.1.5-13.el6 base 69 k oddjob i686 0.30-6.el6 C6.8-base 59 k openais i686 1.1.1-7.el6 C6.1-base 194 k openaislib i686 1.1.1-7.el6 C6.1-base 82 k perl-Net-Telnet noarch 3.03-11.el6 C6.0-base 56 k pexpect noarch 2.3-6.el6 C6.0-base 147 k python-suds noarch 0.4.1-3.el6 C6.2-base 218 k resource-agents i686 3.9.5-46.el6 base 388 k ricci i686 0.16.2-87.el6 base 655 k rpcbind i686 0.2.0-13.el6_9.1 updates 51 k sg3_utils i686 1.28-12.el6 C6.8-base 498 k telnet i686 1:0.17-48.el6 C6.8-base 57 k yajl i686 1.0.7-3.el6 C6.0-base 27 k Transaction Summary ==================================================================================================== Install 38 Package(s) Total size: 13 M Total download size: 259 k Installed size: 39 M Is this ok [y/N]: y Downloading Packages: (1/3): keyutils-1.4-5.el6.i686.rpm | 38 kB 00:00 (2/3): openais-1.1.1-7.el6.i686.rpm | 194 kB 00:00 (3/3): yajl-1.0.7-3.el6.i686.rpm | 27 kB 00:00 ---------------------------------------------------------------------------------------------------- Total 47 kB/s | 259 kB 00:05 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libgssglue-0.1-11.el6.i686 1/38 Installing : libtirpc-0.2.1-13.el6_9.i686 2/38 Installing : keyutils-1.4-5.el6.i686 3/38 Installing : oddjob-0.30-6.el6.i686 4/38 Installing : gnutls-utils-2.12.23-21.el6.i686 5/38 Installing : libibverbs-1.1.8-4.el6.i686 6/38 Installing : pexpect-2.3-6.el6.noarch 7/38 Installing : perl-Net-Telnet-3.03-11.el6.noarch 8/38 Installing : python-suds-0.4.1-3.el6.noarch 9/38 Installing : librdmacm-1.0.21-0.el6.i686 10/38 Installing : corosync-1.4.7-5.el6.i686 11/38 Installing : corosynclib-1.4.7-5.el6.i686 12/38 Installing : clusterlib-3.0.12.1-84.el6.i686 13/38 Installing : modcluster-0.16.2-35.el6.i686 14/38 Installing : openais-1.1.1-7.el6.i686 15/38 Installing : openaislib-1.1.1-7.el6.i686 16/38 Installing : ricci-0.16.2-87.el6.i686 17/38 Installing : cifs-utils-4.8.1-20.el6.i686 18/38 Installing : rpcbind-0.2.0-13.el6_9.1.i686 19/38 Installing : nfs-utils-lib-1.1.5-13.el6.i686 20/38 Installing : 1:nfs-utils-1.2.3-75.el6_9.i686 21/38 Installing : resource-agents-3.9.5-46.el6.i686 22/38 Installing : 1:net-snmp-utils-5.5-60.el6.i686 23/38 Installing : yajl-1.0.7-3.el6.i686 24/38 Installing : 1:telnet-0.17-48.el6.i686 25/38 Installing : sg3_utils-1.28-12.el6.i686 26/38 Installing : nc-1.84-24.el6.i686 27/38 Installing : fence-virt-0.2.3-24.el6.i686 28/38 Installing : cyrus-sasl-md5-2.1.23-15.el6_6.2.i686 29/38 Installing : cvs-1.11.23-16.el6.i686 30/38 Installing : gettext-0.17-18.el6.i686 31/38 Installing : libvirt-client-0.10.2-62.el6.i686 32/38 Installing : ipmitool-1.8.15-2.el6.i686 33/38 Installing : fence-agents-4.0.15-13.el6_9.2.i686 34/38 Installing : cman-3.0.12.1-84.el6.i686 35/38 Installing : lvm2-cluster-2.02.143-12.el6_9.1.i686 36/38 Installing : rgmanager-3.0.12.1-33.el6.i686 37/38 Installing : gfs2-utils-3.0.12.1-84.el6.i686 38/38 Verifying : gfs2-utils-3.0.12.1-84.el6.i686 1/38 Verifying : gettext-0.17-18.el6.i686 2/38 Verifying : cvs-1.11.23-16.el6.i686 3/38 Verifying : 1:nfs-utils-1.2.3-75.el6_9.i686 4/38 Verifying : cyrus-sasl-md5-2.1.23-15.el6_6.2.i686 5/38 Verifying : cifs-utils-4.8.1-20.el6.i686 6/38 Verifying : librdmacm-1.0.21-0.el6.i686 7/38 Verifying : cman-3.0.12.1-84.el6.i686 8/38 Verifying : resource-agents-3.9.5-46.el6.i686 9/38 Verifying : ricci-0.16.2-87.el6.i686 10/38 Verifying : fence-virt-0.2.3-24.el6.i686 11/38 Verifying : libibverbs-1.1.8-4.el6.i686 12/38 Verifying : gnutls-utils-2.12.23-21.el6.i686 13/38 Verifying : libgssglue-0.1-11.el6.i686 14/38 Verifying : nc-1.84-24.el6.i686 15/38 Verifying : nfs-utils-lib-1.1.5-13.el6.i686 16/38 Verifying : python-suds-0.4.1-3.el6.noarch 17/38 Verifying : corosync-1.4.7-5.el6.i686 18/38 Verifying : sg3_utils-1.28-12.el6.i686 19/38 Verifying : 1:telnet-0.17-48.el6.i686 20/38 Verifying : rpcbind-0.2.0-13.el6_9.1.i686 21/38 Verifying : libvirt-client-0.10.2-62.el6.i686 22/38 Verifying : yajl-1.0.7-3.el6.i686 23/38 Verifying : libtirpc-0.2.1-13.el6_9.i686 24/38 Verifying : 1:net-snmp-utils-5.5-60.el6.i686 25/38 Verifying : perl-Net-Telnet-3.03-11.el6.noarch 26/38 Verifying : oddjob-0.30-6.el6.i686 27/38 Verifying : lvm2-cluster-2.02.143-12.el6_9.1.i686 28/38 Verifying : openais-1.1.1-7.el6.i686 29/38 Verifying : corosynclib-1.4.7-5.el6.i686 30/38 Verifying : pexpect-2.3-6.el6.noarch 31/38 Verifying : keyutils-1.4-5.el6.i686 32/38 Verifying : ipmitool-1.8.15-2.el6.i686 33/38 Verifying : rgmanager-3.0.12.1-33.el6.i686 34/38 Verifying : modcluster-0.16.2-35.el6.i686 35/38 Verifying : openaislib-1.1.1-7.el6.i686 36/38 Verifying : clusterlib-3.0.12.1-84.el6.i686 37/38 Verifying : fence-agents-4.0.15-13.el6_9.2.i686 38/38 Installed: gfs2-utils.i686 0:3.0.12.1-84.el6 lvm2-cluster.i686 0:2.02.143-12.el6_9.1 rgmanager.i686 0:3.0.12.1-33.el6 Dependency Installed: cifs-utils.i686 0:4.8.1-20.el6 clusterlib.i686 0:3.0.12.1-84.el6 cman.i686 0:3.0.12.1-84.el6 corosync.i686 0:1.4.7-5.el6 corosynclib.i686 0:1.4.7-5.el6 cvs.i686 0:1.11.23-16.el6 cyrus-sasl-md5.i686 0:2.1.23-15.el6_6.2 fence-agents.i686 0:4.0.15-13.el6_9.2 fence-virt.i686 0:0.2.3-24.el6 gettext.i686 0:0.17-18.el6 gnutls-utils.i686 0:2.12.23-21.el6 ipmitool.i686 0:1.8.15-2.el6 keyutils.i686 0:1.4-5.el6 libgssglue.i686 0:0.1-11.el6 libibverbs.i686 0:1.1.8-4.el6 librdmacm.i686 0:1.0.21-0.el6 libtirpc.i686 0:0.2.1-13.el6_9 libvirt-client.i686 0:0.10.2-62.el6 modcluster.i686 0:0.16.2-35.el6 nc.i686 0:1.84-24.el6 net-snmp-utils.i686 1:5.5-60.el6 nfs-utils.i686 1:1.2.3-75.el6_9 nfs-utils-lib.i686 0:1.1.5-13.el6 oddjob.i686 0:0.30-6.el6 openais.i686 0:1.1.1-7.el6 openaislib.i686 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.i686 0:3.9.5-46.el6 ricci.i686 0:0.16.2-87.el6 rpcbind.i686 0:0.2.0-13.el6_9.1 sg3_utils.i686 0:1.28-12.el6 telnet.i686 1:0.17-48.el6 yajl.i686 0:1.0.7-3.el6 Complete! [root@nglinux ~]#
Make sure to install the cluster software on both servers.
After the cluster software is installed, we will now configure the cluster software.
2. Verify if all packages are successfully installed by checking below group install.
[root@nglinux ~]# yum groupinstall 'High Availability' 'Resilient Storage' Dependencies Resolved ==================================================================================================== Package Arch Version Repository Size ==================================================================================================== Installing: ccs i686 0.16.2-87.el6 base 57 k omping i686 0.0.4-1.el6 C6.2-base 34 k Transaction Summary ==================================================================================================== Install 2 Package(s) Total download size: 91 k Installed size: 412 k Is this ok [y/N]: y Downloading Packages: (1/2): ccs-0.16.2-87.el6.i686.rpm | 57 kB 00:00 (2/2): omping-0.0.4-1.el6.i686.rpm | 34 kB 00:00 ---------------------------------------------------------------------------------------------------- Total 24 kB/s | 91 kB 00:03 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : ccs-0.16.2-87.el6.i686 1/2 Installing : omping-0.0.4-1.el6.i686 2/2 Verifying : ccs-0.16.2-87.el6.i686 1/2 Verifying : omping-0.0.4-1.el6.i686 2/2 Installed: ccs.i686 0:0.16.2-87.el6 omping.i686 0:0.0.4-1.el6 Complete! [root@nglinux ~]#
3. Install LUCI web management interface on Master node of cluster.
[root@nglinux ~]# yum install luci --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================== Package Arch Version Repository Size ==================================================================================================== Installing: luci i686 0.26.0-93.el6.centos base 599 k Installing for dependencies: TurboGears2 noarch 2.0.3-4.el6 C6.0-base 150 k python-babel noarch 0.9.4-5.1.el6 C6.0-base 1.4 M python-cheetah i686 2.4.1-1.el6 C6.0-base 364 k python-decoratortools noarch 1.7-4.1.el6 C6.0-base 27 k python-formencode noarch 1.2.2-2.1.el6 C6.0-base 245 k python-genshi i686 0.5.1-7.1.el6 C6.0-base 429 k python-markdown noarch 2.0.1-4.el6 base 118 k python-myghty noarch 1.1-11.el6 C6.0-base 519 k python-nose noarch 0.10.4-3.1.el6 C6.0-base 220 k python-paste-deploy noarch 1.3.3-2.1.el6 C6.0-base 50 k python-paste-script noarch 1.7.3-5.el6_3 C6.8-base 205 k python-peak-rules noarch 0.5a1.dev-9.2582.1.el6 C6.0-base 126 k python-peak-util-addons noarch 0.6-4.1.el6 C6.0-base 21 k python-peak-util-assembler noarch 0.5.1-1.el6 C6.0-base 50 k python-peak-util-extremes noarch 1.1-4.1.el6 C6.0-base 9.1 k python-peak-util-symbols noarch 1.0-4.1.el6 C6.0-base 8.7 k python-prioritized-methods noarch 0.2.1-5.2.el6 base 12 k python-pygments noarch 1.1.1-2.el6 base 562 k python-pylons noarch 0.9.7-2.el6 C6.0-base 181 k python-repoze-tm2 noarch 1.0-0.5.a4.el6 C6.0-base 16 k python-repoze-what noarch 1.0.8-6.el6 C6.0-base 33 k python-repoze-what-pylons noarch 1.0-4.el6 C6.0-base 14 k python-repoze-who noarch 1.0.18-1.el6 C6.8-base 95 k python-repoze-who-friendlyform noarch 1.0-0.3.b3.el6 C6.0-base 13 k python-repoze-who-testutil noarch 1.0-0.4.rc1.el6 C6.0-base 13 k python-routes noarch 1.10.3-2.el6 C6.0-base 72 k python-setuptools noarch 0.6.10-3.el6 C6.0-base 336 k python-sqlalchemy noarch 0.5.5-3.el6_2 C6.2-updates 1.3 M python-tempita noarch 0.4-2.el6 C6.0-base 38 k python-toscawidgets noarch 0.9.8-1.el6 C6.0-base 123 k python-transaction noarch 1.0.1-1.el6 C6.0-base 57 k python-turbojson noarch 1.2.1-8.1.el6 C6.0-base 19 k python-weberror noarch 0.10.2-2.el6 C6.8-base 110 k python-webflash noarch 0.1-0.2.a9.el6 C6.0-base 14 k python-webhelpers noarch 0.6.4-4.el6 C6.0-base 318 k python-webob noarch 0.9.6.1-3.el6 C6.0-base 146 k python-webtest noarch 1.2-2.el6 C6.0-base 55 k python-zope-filesystem i686 1-5.el6 C6.0-base 4.9 k python-zope-interface i686 3.5.2-2.1.el6 C6.0-base 116 k python-zope-sqlalchemy noarch 0.4-3.el6 C6.0-base 23 k Transaction Summary ==================================================================================================== Install 41 Package(s) Total size: 8.1 M Total download size: 468 k Installed size: 37 M Is this ok [y/N]: y Downloading Packages: (1/2): TurboGears2-2.0.3-4.el6.noarch.rpm | 150 kB 00:00 (2/2): python-webhelpers-0.6.4-4.el6.noarch.rpm | 318 kB 00:00 ---------------------------------------------------------------------------------------------------- Total 42 kB/s | 468 kB 00:11 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : python-setuptools-0.6.10-3.el6.noarch 1/41 Installing : python-webob-0.9.6.1-3.el6.noarch 2/41 Installing : python-paste-deploy-1.3.3-2.1.el6.noarch 3/41 Installing : python-decoratortools-1.7-4.1.el6.noarch 4/41 Installing : python-pygments-1.1.1-2.el6.noarch 5/41 Installing : python-routes-1.10.3-2.el6.noarch 6/41 Installing : python-tempita-0.4-2.el6.noarch 7/41 Installing : python-weberror-0.10.2-2.el6.noarch 8/41 Installing : python-webhelpers-0.6.4-4.el6.noarch 9/41 Installing : python-peak-util-addons-0.6-4.1.el6.noarch 10/41 Installing : python-webtest-1.2-2.el6.noarch 11/41 Installing : python-toscawidgets-0.9.8-1.el6.noarch 12/41 Installing : python-formencode-1.2.2-2.1.el6.noarch 13/41 Installing : python-nose-0.10.4-3.1.el6.noarch 14/41 Installing : python-zope-filesystem-1-5.el6.i686 15/41 Installing : python-peak-util-extremes-1.1-4.1.el6.noarch 16/41 Installing : python-peak-util-symbols-1.0-4.1.el6.noarch 17/41 Installing : python-peak-util-assembler-0.5.1-1.el6.noarch 18/41 Installing : python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch 19/41 Installing : python-prioritized-methods-0.2.1-5.2.el6.noarch 20/41 Installing : python-turbojson-1.2.1-8.1.el6.noarch 21/41 Installing : python-webflash-0.1-0.2.a9.el6.noarch 22/41 Installing : python-sqlalchemy-0.5.5-3.el6_2.noarch 23/41 Installing : python-babel-0.9.4-5.1.el6.noarch 24/41 Installing : python-markdown-2.0.1-4.el6.noarch 25/41 Installing : python-myghty-1.1-11.el6.noarch 26/41 Installing : python-zope-interface-3.5.2-2.1.el6.i686 27/41 Installing : python-repoze-who-1.0.18-1.el6.noarch 28/41 Installing : python-transaction-1.0.1-1.el6.noarch 29/41 Installing : python-zope-sqlalchemy-0.4-3.el6.noarch 30/41 Installing : python-repoze-tm2-1.0-0.5.a4.el6.noarch 31/41 Installing : python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch 32/41 Installing : python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch 33/41 Installing : python-repoze-what-1.0.8-6.el6.noarch 34/41 Installing : python-cheetah-2.4.1-1.el6.i686 35/41 Installing : python-paste-script-1.7.3-5.el6_3.noarch 36/41 Installing : python-pylons-0.9.7-2.el6.noarch 37/41 Installing : python-repoze-what-pylons-1.0-4.el6.noarch 38/41 Installing : python-genshi-0.5.1-7.1.el6.i686 39/41 Installing : TurboGears2-2.0.3-4.el6.noarch 40/41 Installing : luci-0.26.0-93.el6.centos.i686 41/41 Verifying : python-pygments-1.1.1-2.el6.noarch 1/41 Verifying : python-myghty-1.1-11.el6.noarch 2/41 Verifying : python-markdown-2.0.1-4.el6.noarch 3/41 Verifying : python-repoze-what-1.0.8-6.el6.noarch 4/41 Verifying : python-babel-0.9.4-5.1.el6.noarch 5/41 Verifying : python-repoze-who-friendlyform-1.0-0.3.b3.el6.noarch 6/41 Verifying : python-repoze-who-1.0.18-1.el6.noarch 7/41 Verifying : python-cheetah-2.4.1-1.el6.i686 8/41 Verifying : python-webtest-1.2-2.el6.noarch 9/41 Verifying : python-toscawidgets-0.9.8-1.el6.noarch 10/41 Verifying : luci-0.26.0-93.el6.centos.i686 11/41 Verifying : python-formencode-1.2.2-2.1.el6.noarch 12/41 Verifying : python-decoratortools-1.7-4.1.el6.noarch 13/41 Verifying : python-sqlalchemy-0.5.5-3.el6_2.noarch 14/41 Verifying : python-pylons-0.9.7-2.el6.noarch 15/41 Verifying : python-webflash-0.1-0.2.a9.el6.noarch 16/41 Verifying : python-nose-0.10.4-3.1.el6.noarch 17/41 Verifying : python-genshi-0.5.1-7.1.el6.i686 18/41 Verifying : python-weberror-0.10.2-2.el6.noarch 19/41 Verifying : python-tempita-0.4-2.el6.noarch 20/41 Verifying : python-transaction-1.0.1-1.el6.noarch 21/41 Verifying : python-repoze-who-testutil-1.0-0.4.rc1.el6.noarch 22/41 Verifying : python-peak-util-symbols-1.0-4.1.el6.noarch 23/41 Verifying : python-peak-util-addons-0.6-4.1.el6.noarch 24/41 Verifying : python-routes-1.10.3-2.el6.noarch 25/41 Verifying : python-peak-util-extremes-1.1-4.1.el6.noarch 26/41 Verifying : python-repoze-what-pylons-1.0-4.el6.noarch 27/41 Verifying : python-paste-script-1.7.3-5.el6_3.noarch 28/41 Verifying : python-zope-filesystem-1-5.el6.i686 29/41 Verifying : python-setuptools-0.6.10-3.el6.noarch 30/41 Verifying : python-zope-sqlalchemy-0.4-3.el6.noarch 31/41 Verifying : python-peak-util-assembler-0.5.1-1.el6.noarch 32/41 Verifying : python-webhelpers-0.6.4-4.el6.noarch 33/41 Verifying : TurboGears2-2.0.3-4.el6.noarch 34/41 Verifying : python-paste-deploy-1.3.3-2.1.el6.noarch 35/41 Verifying : python-turbojson-1.2.1-8.1.el6.noarch 36/41 Verifying : python-peak-rules-0.5a1.dev-9.2582.1.el6.noarch 37/41 Verifying : python-repoze-tm2-1.0-0.5.a4.el6.noarch 38/41 Verifying : python-prioritized-methods-0.2.1-5.2.el6.noarch 39/41 Verifying : python-webob-0.9.6.1-3.el6.noarch 40/41 Verifying : python-zope-interface-3.5.2-2.1.el6.i686 41/41 Installed: luci.i686 0:0.26.0-93.el6.centos Dependency Installed: TurboGears2.noarch 0:2.0.3-4.el6 python-babel.noarch 0:0.9.4-5.1.el6 python-cheetah.i686 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 python-genshi.i686 0:0.5.1-7.1.el6 python-markdown.noarch 0:2.0.1-4.el6 python-myghty.noarch 0:1.1-11.el6 python-nose.noarch 0:0.10.4-3.1.el6 python-paste-deploy.noarch 0:1.3.3-2.1.el6 python-paste-script.noarch 0:1.7.3-5.el6_3 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.2.el6 python-pygments.noarch 0:1.1.1-2.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.noarch 0:1.0-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-2.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.i686 0:1-5.el6 python-zope-interface.i686 0:3.5.2-2.1.el6 python-zope-sqlalchemy.noarch 0:0.4-3.el6 Complete! [root@nglinux ~]#
4. Make sure selinux is in permissive mode
[root@nglinux ~]# getenforce Permissive [root@nglinux ~]#
The redhat cluster is now installed on both nodes and on first master node, LUCI gui is also installed.
Now lets check out how to configure the cluster.
5. First start the ricci service
[root@nglinux ~]# service ricci start Starting oddjobd: [ OK ] generating SSL certificates... done Generating NSS database... done Starting ricci: [ OK ]
6. Now set the password for ricci user.
[root@nglinux ~]# passwd ricci Changing password for user ricci. New password: BAD PASSWORD: it is based on a dictionary word BAD PASSWORD: is too simple Retype new password: passwd: all authentication tokens updated successfully. [root@nglinux ~]#
7. On the master node, start the luci service.
[root@nglinux ~]# service luci start Adding following auto-detected host IDs (IP addresses/domain names), corresponding to `localhost.localdomain' 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://localhost.localdomain:8084 (or equivalent) to access luci [root@nglinux ~]#
Now you have GUI also installed on first master node and ricci user/password setup on both nodes alongwith ricci service.
8. Open LUCI Web GUI
To proceed further, lets try to open the GUI and we will find below screen.
9. Login to GUI using ricci username and password
After login, we will see below screen to manage our redhat cluster.
The next step is to create the cluster and configure it.
10. Create Cluster & its configuration
We need to add new cluster and configure it from backend file /etc/cluster/cluster.conf to continue with the cluster configuration.
I will take a pause here since this article is already toooo long now 😛 and we will continue with cluster configuration steps in next post :).
I hope you liked the article, please do pot your comments below and remember to subscribe our blog to stay updated with new posts.