1753288 Members
5612 Online
108792 Solutions
New Discussion юеВ

redhat linux cluster

 
Marcelle Farag_1
Occasional Advisor

redhat linux cluster

hello,
i have couple of x86-64 instances of vmware running rh5. i'm tasked to document a POC on how to install, configure redhat linux cluster. questions i have:
1) is it possible to run cluster over virtual redhat instances?
2) is there any documentation that outline the prerequisites, such as shared SAN space, multicast IP, etc...
3) the image i was given seem to be missing main rpm dependencies of ricci/luci packages. is there a documented way to install a main rpm and dependencies in one step? i seem to be getting into a vicious loop of installing rpms as each failed due to dependencies...

thanks, marcelle
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: redhat linux cluster

Shalom marcelle,

1) Yes. You still need a fence device and certain vmware schemes provide this. A fence needs to be able to shutdown a culster node.

2) There is no shared disk requirement.
http://www.redhat.com/docs/manuals/csgfs/browse/rh-cs-en/ch-software.html

3) May I suggest yum.

Lets say you need to install ricci

yum install ricci

yum calculates the dependencies and creates a good install set, downloads it and installs it.

Of course for yum to work, you need to have your system registered.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
P Muralidhar Kini
Honored Contributor

Re: redhat linux cluster

Hi Marcelle,

Check the following links on how to go about configuring a red hat linux cluster.

Configuring and Managing a Red Hat Cluster
http://www.centos.org/docs/5/pdf/Cluster_Administration.pdf

Red Hat Cluster Suite: Configuring and Managing a Cluster
http://www.linuxtopia.org/online_books/linux_system_administration/redhat_cluster_configuration_and_management/s1-hardware-cluster.html

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
Marcelle Farag_1
Occasional Advisor

Re: redhat linux cluster

thank you.

so i started to use yum to install ricci package. as discovered previously, it had 2 dependencies - modcluster and oddjob. since modcluster also has dependencies on oddjob, i then downloaded oddjob rpm. the delema here is that oddjob get me into what seem to be an endless loop between oddjob-0.27-9xxx and oddjob-libs-0.27-9. also i can not find liboddjob.so.0()(64bit). any idea what i'm missing?!
++++

usplsvulx181:/home/mfarag#yum install /home/mfarag/oddjob-0.27-9.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
Examining /home/mfarag/oddjob-0.27-9.el5.x86_64.rpm: oddjob-0.27-9.el5.x86_64
Marking /home/mfarag/oddjob-0.27-9.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oddjob.x86_64 0:0.27-9.el5 set to be updated
--> Processing Dependency: oddjob-libs = 0.27-9.el5 for package: oddjob
--> Processing Dependency: liboddjob.so.0()(64bit) for package: oddjob
--> Finished Dependency Resolution
oddjob-0.27-9.el5.x86_64 from /home/mfarag/oddjob-0.27-9.el5.x86_64.rpm has depsolving problems
--> Missing Dependency: liboddjob.so.0()(64bit) is needed by package oddjob-0.27-9.el5.x86_64 (/home/mfarag/oddjob-0.27-9.el5.x86_64.rpm)
oddjob-0.27-9.el5.x86_64 from /home/mfarag/oddjob-0.27-9.el5.x86_64.rpm has depsolving problems
--> Missing Dependency: oddjob-libs = 0.27-9.el5 is needed by package oddjob-0.27-9.el5.x86_64 (/home/mfarag/oddjob-0.27-9.el5.x86_64.rpm)
Error: Missing Dependency: liboddjob.so.0()(64bit) is needed by package oddjob-0.27-9.el5.x86_64 (/home/mfarag/oddjob-0.27-9.el5.x86_64.rpm)
Error: Missing Dependency: oddjob-libs = 0.27-9.el5 is needed by package oddjob-0.27-9.el5.x86_64 (/home/mfarag/oddjob-0.27-9.el5.x86_64.rpm)

+++
usplsvulx181:/home/mfarag#yum install /home/mfarag/oddjob-libs-0.27-9.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
Examining /home/mfarag/oddjob-libs-0.27-9.el5.x86_64.rpm: oddjob-libs-0.27-9.el5.x86_64
Marking /home/mfarag/oddjob-libs-0.27-9.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oddjob-libs.x86_64 0:0.27-9.el5 set to be updated
--> Processing Dependency: oddjob = 0.27-9.el5 for package: oddjob-libs
--> Finished Dependency Resolution
oddjob-libs-0.27-9.el5.x86_64 from /home/mfarag/oddjob-libs-0.27-9.el5.x86_64.rpm has depsolving problems
--> Missing Dependency: oddjob = 0.27-9.el5 is needed by package oddjob-libs-0.27-9.el5.x86_64 (/home/mfarag/oddjob-libs-0.27-9.el5.x86_64.rpm)
Error: Missing Dependency: oddjob = 0.27-9.el5 is needed by package oddjob-libs-0.27-9.el5.x86_64 (/home/mfarag/oddjob-libs-0.27-9.el5.x86_64.rpm)
KarloChacon
Honored Contributor

Re: redhat linux cluster

this might help you out

red hat cluster suite on vmware

http://communities.vmware.com/docs/DOC-11406

http://sources.redhat.com/cluster/wiki/VMware_FencingConfig

Didn't your momma teach you to say thanks!
Matti_Kurkela
Honored Contributor

Re: redhat linux cluster

If you don't have connectivity to RedHat Network, you will also need this to use the full potential of yum:

http://kbase.redhat.com/faq/docs/DOC-9744

MK
MK
Marcelle Farag_1
Occasional Advisor

Re: redhat linux cluster

hello and thanks for the links and all feedback.

since this environment is not registered with RHN, i'm following the link to run yum and install the cluster suite package. i have a question about the package name as identified in the second step...

yum install --noplugins

how do i know the package name for the redhat cluster suite? i tried Cluster and ClusterStorage and neither worked.

thanks for helping.
Gerardo Arceri
Trusted Contributor

Re: redhat linux cluster

I think that you are looking for

http://kbase.redhat.com/faq/docs/DOC-5977

The entire set of Default Packages from either the Cluster or Cluster Storage group can be installed manually using the yum command:

# yum groupinstall Clustering
# yum groupinstall "Cluster Storage"

Alternatively, a subset of those packages can be installed if the entire group is not needed. For example:

# yum install cman lvm2-cluster kmod-gfs gfs-utils

Hope it was helpful!
Marcelle Farag_1
Occasional Advisor

Re: redhat linux cluster

hello, the nodes are not registered to RHN. therefore i must install the cluster suite manually.

with that in mind, i created the local repo file to point to the mounted DVD, then ran yum command to install ricci as an example, with no success. the rpm is indeed in the /mnt/Cluster directory...

#yum install ricci-0.12.1-7.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
dvd | 1.3 kB 00:00
primary.xml.gz | 6.0 kB 00:00
dvd 32/32
Setting up Install Process
Parsing package install arguments
No package ricci-0.12.1-7.el5.x86_64.rpm available.
Nothing to do

+++

i also tried the groupinstall, it displayed all sort of errors - dependencies related error.

yum groupinstall Clustering
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
comps-rhel5-cluster.xml | 99 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package ipvsadm.x86_64 0:1.24-8.1 set to be updated
---> Package luci.x86_64 0:0.12.1-7.el5 set to be updated
--> Processing Dependency: python-imaging for package: luci
---> Package ricci.x86_64 0:0.12.1-7.el5 set to be updated
--> Processing Dependency: oddjob for package: ricci
---> Package cluster-cim.x86_64 0:0.12.1-2.el5 set to be updated
--> Processing Dependency: tog-pegasus for package: cluster-cim
--> Processing Dependency: oddjob for package: cluster-cim
--> Processing Dependency: libcman.so.2()(64bit) for package: cluster-cim
---> Package system-config-cluster.noarch 0:1.0.55-1.0 set to be updated
---> Package modcluster.x86_64 0:0.12.1-2.el5 set to be updated
--> Processing Dependency: oddjob for package: modcluster
--> Processing Dependency: libcman.so.2()(64bit) for package: modcluster
---> Package rgmanager.x86_64 0:2.0.46-1.el5 set to be updated
--> Processing Dependency: cman >= 2.0.88-2 for package: rgmanager
--> Processing Dependency: libcman.so.2()(64bit) for package: rgmanager
--> Processing Dependency: libdlm.so.2()(64bit) for package: rgmanager
---> Package piranha.x86_64 0:0.8.4-11.el5 set to be updated
--> Processing Dependency: php for package: piranha
--> Processing Dependency: httpd for package: piranha
---> Package cluster-snmp.x86_64 0:0.12.1-2.el5 set to be updated
--> Processing Dependency: oddjob for package: cluster-snmp
--> Processing Dependency: libcman.so.2()(64bit) for package: cluster-snmp
---> Package Cluster_Administration-en-US.noarch 0:5.2-1 set to be updated
--> Finished Dependency Resolution
rgmanager-2.0.46-1.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: cman >= 2.0.88-2 is needed by package rgmanager-2.0.46-1.el5.x86_64 (dvd)
rgmanager-2.0.46-1.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: libcman.so.2()(64bit) is needed by package rgmanager-2.0.46-1.el5.x86_64 (dvd)
cluster-cim-0.12.1-2.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: libcman.so.2()(64bit) is needed by package cluster-cim-0.12.1-2.el5.x86_64 (dvd)
modcluster-0.12.1-2.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: libcman.so.2()(64bit) is needed by package modcluster-0.12.1-2.el5.x86_64 (dvd)
cluster-cim-0.12.1-2.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: oddjob is needed by package cluster-cim-0.12.1-2.el5.x86_64 (dvd)
cluster-snmp-0.12.1-2.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: libcman.so.2()(64bit) is needed by package cluster-snmp-0.12.1-2.el5.x86_64 (dvd)
modcluster-0.12.1-2.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: oddjob is needed by package modcluster-0.12.1-2.el5.x86_64 (dvd)
piranha-0.8.4-11.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: php is needed by package piranha-0.8.4-11.el5.x86_64 (dvd)
ricci-0.12.1-7.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: oddjob is needed by package ricci-0.12.1-7.el5.x86_64 (dvd)
rgmanager-2.0.46-1.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: libdlm.so.2()(64bit) is needed by package rgmanager-2.0.46-1.el5.x86_64 (dvd)
cluster-snmp-0.12.1-2.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: oddjob is needed by package cluster-snmp-0.12.1-2.el5.x86_64 (dvd)
luci-0.12.1-7.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: python-imaging is needed by package luci-0.12.1-7.el5.x86_64 (dvd)
piranha-0.8.4-11.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: httpd is needed by package piranha-0.8.4-11.el5.x86_64 (dvd)
cluster-cim-0.12.1-2.el5.x86_64 from dvd has depsolving problems
--> Missing Dependency: tog-pegasus is needed by package cluster-cim-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: libdlm.so.2()(64bit) is needed by package rgmanager-2.0.46-1.el5.x86_64 (dvd)
Error: Missing Dependency: oddjob is needed by package cluster-snmp-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: libcman.so.2()(64bit) is needed by package cluster-cim-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: oddjob is needed by package modcluster-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: tog-pegasus is needed by package cluster-cim-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: libcman.so.2()(64bit) is needed by package cluster-snmp-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: oddjob is needed by package cluster-cim-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: php is needed by package piranha-0.8.4-11.el5.x86_64 (dvd)
Error: Missing Dependency: libcman.so.2()(64bit) is needed by package rgmanager-2.0.46-1.el5.x86_64 (dvd)
Error: Missing Dependency: httpd is needed by package piranha-0.8.4-11.el5.x86_64 (dvd)
Error: Missing Dependency: libcman.so.2()(64bit) is needed by package modcluster-0.12.1-2.el5.x86_64 (dvd)
Error: Missing Dependency: python-imaging is needed by package luci-0.12.1-7.el5.x86_64 (dvd)
Error: Missing Dependency: cman >= 2.0.88-2 is needed by package rgmanager-2.0.46-1.el5.x86_64 (dvd)
Error: Missing Dependency: oddjob is needed by package ricci-0.12.1-7.el5.x86_64 (dvd)
usplsvulx180:/etc/yum.repos.d#