LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2013, 06:11 AM   #1
sonulohani
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
Thumbs up Redhat Cluster Implementation query


Hi,

I hope you all are doing fine.

I have some problem implementing redhat cluster.

I have implemented the redhat cluster and it is showing the running nodes. I am using luci interface to look upon the status of the node in cluster.

My cluster configuration is as follows:-

<?xml version="1.0"?>
<cluster config_version="12" name="DemoCluster">
<clusternodes>
<clusternode name="node1" nodeid="1">
<fence>
<method name="Node1_method"/>
</fence>
</clusternode>
<clusternode name="node2" nodeid="2"/>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<rm>
<failoverdomains>
<failoverdomain name="DemoFailover" nofailback="1" ordered="1">
<failoverdomainnode name="node1" priority="10"/>
<failoverdomainnode name="node2" priority="11"/>
</failoverdomain>
</failoverdomains>
<resources>
<ip address="192.168.2.166" sleeptime="10"/>
<apache config_file="conf/httpd.conf" name="123" server_root="/etc/httpd" shutdown_wait="0"/>
</resources>
<service autostart="0" name="DemoService" recovery="relocate">
<ip ref="192.168.2.166"/>
</service>
<service autostart="0" name="456" recovery="relocate">
<apache ref="123"/>
</service>
</rm>
</cluster>


The main problem is that whenever i am starting the services it is not reflecting in the node, i mean it is not running the services. The log message of my node is :-

Dec 16 17:27:39 node2 ricci[6264]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:27:40 node2 ricci[6266]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/1509398375'
Dec 16 17:27:40 node2 ntpd[2581]: synchronized to 111.93.148.118, stratum 2
Dec 16 17:27:41 node2 ricci[6269]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/2017267267'
Dec 16 17:27:44 node2 ricci[6280]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:27:44 node2 ricci[6283]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:27:54 node2 ricci[6322]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:27:54 node2 ricci[6324]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/1462165413'
Dec 16 17:28:03 node2 ricci[6351]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:28:03 node2 ricci[6353]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/1909536095'
Dec 16 17:28:03 node2 modcluster: Starting service: 456 on node
Dec 16 17:28:12 node2 ricci[6381]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:28:12 node2 ricci[6383]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/1887274114'
Dec 16 17:28:13 node2 ricci[6386]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/1430758334'
Dec 16 17:28:17 node2 ricci[6398]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:28:31 node2 ricci[6461]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:28:31 node2 ricci[6465]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/1073142511'
Dec 16 17:28:40 node2 ricci[6646]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:28:40 node2 ricci[6648]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/413796341'
Dec 16 17:28:40 node2 modcluster: Starting service: 456 on node node1
Dec 16 17:28:49 node2 ricci[6668]: Executing '/usr/bin/virsh nodeinfo'
Dec 16 17:28:49 node2 ricci[6670]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/846327886'
Dec 16 17:28:50 node2 ricci[6687]: Executing '/usr/libexec/ricci/ricci-worker -f /var/lib/ricci/queue/745333525'
Dec 16 17:28:54 node2 ricci[6698]: Executing '/usr/bin/virsh nodeinfo'

Could anyone please tell me the solution for the above.
 
Old 12-22-2013, 04:34 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
It looks like you are trying to cluster libvirt? I'm lead to believe you are trying to cluster a virtual machine.

I know people try this, but more or less isn't the general idea behind clusters. The general idea being having services, not hosts, up all of the time.
 
Old 12-23-2013, 02:08 AM   #3
sonulohani
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile

Yes i am doing cluster between different VMs. Is it not possible to it or is it?

Thanks for the reply.
 
Old 12-23-2013, 08:10 PM   #4
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Quote:
Originally Posted by sonulohani View Post
Yes i am doing cluster between different VMs. Is it not possible to it or is it?

Thanks for the reply.
Apparently this is possible???? It would depend on what your virtualization you are using among other things.

http://clusterlabs.org/wiki/Guest_Fencing claims it does.

Digging around a bit, it looks like migration is tricky. (no surprise) I spend enough time keeping clustered apps going I haven't bothered trying to set up a cluster that migrates a VM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cluster implementation on Ubuntu environment anilCSE Linux - Newbie 3 11-29-2013 01:05 PM
Query on RedHat Cluster yogendramummaneni Linux - Distributions 1 08-07-2013 10:03 AM
cman service stucks during booting of cluster node (RedHat Cluster Suite) zama Linux - Software 0 07-09-2012 08:50 AM
Create N+1 cluster in redhat using redhat cluster software ranadeep Linux - Enterprise 2 04-03-2010 08:45 PM
LXer: Free implementation of the VMware cluster file system LXer Syndicated Linux News 0 03-06-2009 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration