LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-28-2014, 01:35 PM   #1
arunabh_biswas
Member
 
Registered: Jun 2006
Posts: 92

Rep: Reputation: 16
Question RHEL Cluster commands


Hi Experts,

Its been a long time to be here. Now, I'm again here with couple of questions. As usual, I got the help earlier, I'm expecting the same kinda thing this time also.

I'm working on redhat clusters (RHEL 5/6) from past few years but few of the options available with RHEL cluster, I have never used. Need you help/guidance on them. Please tell what is the exact use of them and when should one need to use them? Answers with example would be more appreciable.

Here are the options -

1) clusvcadm -s ( I know it is to stop the cluster, then why -d is there? And what is the functional difference between "stop" & "disable" options?
2) clusvcadm -Z (Its for Freeze, but why one should use this, and would be the impact if someone use this option?)
3) clusvcadm -U (Unfreeze :-S )
4) clusvcadm -c
5) Final one... Why should we add a multicast address in cluster (in case if we need to do so)?


Thanks in advance.

Last edited by arunabh_biswas; 09-28-2014 at 01:51 PM.
 
Old 09-28-2014, 04:17 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,699

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by arunabh_biswas View Post
Hi Experts,
Its been a long time to be here. Now, I'm again here with couple of questions. As usual, I got the help earlier, I'm expecting the same kinda thing this time also. I'm working on redhat clusters (RHEL 5/6) from past few years but few of the options available with RHEL cluster, I have never used. Need you help/guidance on them. Please tell what is the exact use of them and when should one need to use them? Answers with example would be more appreciable.

Here are the options -

1) clusvcadm -s ( I know it is to stop the cluster, then why -d is there? And what is the functional difference between "stop" & "disable" options?
2) clusvcadm -Z (Its for Freeze, but why one should use this, and would be the impact if someone use this option?)
3) clusvcadm -U (Unfreeze :-S )
4) clusvcadm -c
5) Final one... Why should we add a multicast address in cluster (in case if we need to do so)?
Your question is confusing...if you have been using Red Hat clusters for a few YEARS, how can you NOT know what the basics of cluster administration are? The man page for the clusvcadm command explains what the options are:
http://linux.die.net/man/8/clusvcadm

...and what they do. The differences between the -s and -d are clearly spelled out, as well as the -c option. Freezing and un-freezing a service is a common task, and covered well in the RHEL documentation?
https://access.redhat.com/documentat...ns-cli-CA.html

As far as multicasting goes...if you've been using clustering for a few years now, did you not research what it did, and why, before using it?
Quote:
Originally Posted by RHEL Cluster Documentation
Cluster members use multicast communication to discover other cluster members and when a message must be communicated to multiple members of the cluster. The cluster protocol makes very judicious use of multicast and avoids things such as multicast storms. By default, data is only transmitted over multicast if it is intended for more than 25% of the cluster members. The vast majority of traffic is transmitted using unicast even when multicast is enabled. For typical partitioned cache based clusters, most transmissions is point-to-point and only cluster membership and partition ownership is broadcast to the entire cluster.
 
Old 11-11-2014, 02:12 PM   #3
arunabh_biswas
Member
 
Registered: Jun 2006
Posts: 92

Original Poster
Rep: Reputation: 16
Hi TB0ne,

Thanks for your reply.

Sorry for the late response. I just came back from a long vacation.

Sorry if there any ambiguity in my questions.

Yes, I've been working on linux clusters for a while but it doesn't mean I should try all the available commands/options in production environment. I tried only those which I knows what it does (which usually accomlish my needs).


I know what is multicasting and what it does. May be I was not able to put my question properly. Let me put it in simple way ;-)

Usaually, we does setup or assign any multicast address to cluster nodes. We goes with default settings (system assigned multicast addresses). In our setup, I found couple of RHEL6 clusters where multicast IP addresses are defined exclusively in the /etc/cluster/cluster.conf file (the persons those have configured these servers are no more with company and nothing has been shared). (Note: I've found couple of old mails sent by those guys within the team which suggests that they had requested for multicast addresses from network team).

So, my question is, if the cluster can be setup/configured with default multicast settings, then why someone needs to set it up manually?

ex:

<clusternodes>
<clusternode name="xxx.com" nodeid="1" votes="1">
<fence/>
<multicast addr="xxx.x.x.x"/>
</clusternode>
<clusternode name="yyy.com" nodeid="2" votes="1">
<fence/>
<multicast addr="xxx.x.x.x"/>


Thanks.
 
  


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
RHEL 6 Cluster Immunitet Red Hat 0 09-12-2012 07:51 AM
RHEL 5.3 Cluster Azad Ahmed Ansari Linux - Newbie 1 02-20-2011 01:19 AM
How can I do a Cluster with RHEL 5 AS v_fone Linux - Server 11 02-27-2010 09:05 AM
Need assistence in seting up of RHEL cluster on RHEL 5.0 cj_cheema Linux - Server 3 06-16-2009 10:09 AM
Cluster in RHEL AS 5 jeesun Linux - Enterprise 1 09-06-2007 01:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:34 PM.

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