Unable to start cluster service in redhat 5

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Unable to start cluster service in redhat 5
# 1  
Old 08-07-2007
Unable to start cluster service in redhat 5

Hi,
I am trying to setup redhat native cluster 5, i installed all the required rpms and issued the command service cman start (cman is the cluster manager)
this gives me output...
#service cman start
Starting cluster:
Loading modules... done
Mounting configfs... done
Starting ccsd... done
Starting cman... failed
[FAILED]

It also triggers some selinux security check:
---------------------------------------------
Summary
SELinux is preventing the /usr/sbin/aisexec from using potentially
mislabeled files (tmp).

Detailed Description
SELinux has denied /usr/sbin/aisexec access to potentially mislabeled
file(s) (tmp). This means that SELinux will not allow /usr/sbin/aisexec to use these files. It is common for users to edit files in their home
directory or tmp directories and then move (mv) them to system directories. The problem is that the files end up with the wrong file context which confined applications are not allowed to access.

Allowing Access
If you want /usr/sbin/aisexec to access this files, you need to relabel them using restorecon -v tmp. You might want to relabel the entire directory using restorecon -R -v .
--------------------------------------------

I ran the commands restorecon -R -v /tmp, but it didnt solve my problem.
I would be very thankful, If you help me out...

Thanks,
Santhosh
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

NFS service not started in Redhat Cluster

Hi All, Need your help to resolve below error in cluter. Sep 9 05:37:30 node2 rgmanager: Starting disabled service service:Prod_Service Sep 9 05:37:30 node2 rgmanager: HA LVM: Improper setup detected Sep 9 05:37:30 node2 rgmanager: * initrd image needs to be newer than lvm.conf... (3 Replies)
Discussion started by: nitinredekar
3 Replies

2. Red Hat

RedHat Cluster: Nodes won't see each other

Hi All; I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like: # clustat Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015 Member Status: Quorate Member Name ID Status ------ ---- ... (1 Reply)
Discussion started by: Meacham12
1 Replies

3. Red Hat

RedHat Cluster: Nodes won't see each other

Hi All; I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like: # clustat Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015 Member Status: Quorate Member Name ID Status ------ ---- ... (0 Replies)
Discussion started by: Meacham12
0 Replies

4. Red Hat

Query Regarding Redhat Cluster ?? Please help me

:b::b:Hello Expert, I have a query regarding redhat cluster configuration file (/etc/cluster/cluster.conf). Is there any process to change the location of the configuration file of the cluster. Is there any step in ricci process.. If yes then please explain me how the cluster node will... (0 Replies)
Discussion started by: Pradipta Kumar
0 Replies

5. Red Hat

Redhat cluster

HI, Can you guys help me to install redhat cluster on VMware Workstation. How to download cluster suite and how to configure on Workstation. (1 Reply)
Discussion started by: karthik9358
1 Replies

6. Red Hat

Redhat 6.2 cluster

Hello Experts, Please help me with the exact steps on configuring two node cluster on RHEL 6.2, I failed to configure the simplest cluster by below steps, 1- install RHEL 6.2 64-bit on both nodes 2- add to hosts file of each server ( 1 IP in local NW and another in IP private NW). x.x.x.x ... (1 Reply)
Discussion started by: karmellove
1 Replies

7. Red Hat

configuring MYsql db on redhat cluster

Hello, can someone please suggest me in configuring the mysql db on redhat cluster, I have few questions. 1. where do I have to configure heart beat links, and is there any file in the redhat cluster that we update it to use these ipaddress and these interface on the node. 2. I am configuring... (0 Replies)
Discussion started by: bobby320
0 Replies

8. Red Hat

Redhat cluster error

hi all , I'm trying for the Red-hat cluster setup with the ' Enable shared storage support'. But hang up with a error that "Packages of set "Clustered Storage" are not present in any available repository". I made this setup by installing the rpm manually..I ve attached the rpm list and error... (0 Replies)
Discussion started by: sriniv666
0 Replies

9. Red Hat

Redhat cluster

Hi Friends, I am trying to configure redhat high availability cluster on rhel5 32bit. As i am not having the RHN subscription, I have to intsall all the cluster suite manually. I am not aware what all are the rpms needs to be installed. Please let me know about the rpms needs to be installed.... (3 Replies)
Discussion started by: arumon
3 Replies

10. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies
Login or Register to Ask a Question
cman(5) 					      cluster.conf cman configuration section						   cman(5)

NAME
cman - cluster.conf cman configuration section DESCRIPTION
Cman configuration values are placed in the <cman> </cman> section of cluster.conf. Per-node configuration related to cman is placed in the standard <clusternode> </clusternode> sections. All cman configuration settings are optional; usually none are used. The <cman> section is placed under the <cluster> section in cluster.conf. <cluster> <cman> </cman> ... </cluster> UDP port By default, cman will use UDP port 5405/5404 for internode communication. This can be changed by setting a port number as follows: <cman port="6809"> </cman> This will cause cman to use ports 6809 and 6808 for cluster communications. Expected votes The expected votes value is used by cman to determine quorum. The cluster is quorate if the sum of votes of existing members is over half of the expected votes value. By default, cman sets the expected votes value to be the sum of votes of all nodes listed in cluster.conf. This can be overridden by setting an explicit expected_votes value as follows: <cman expected_votes="3"> </cman> If the cluster becomes partitioned, improper use of this option can result in more than one partition gaining quorum. In that event, nodes in each partition will enable cluster services. Two node clusters Ordinarily, the loss of quorum after one out of two nodes fails will prevent the remaining node from continuing (if both nodes have one vote.) Special configuration options can be set to allow the one remaining node to continue operating if the other fails. To do this only two nodes, each with one vote, can be defined in cluster.conf. The two_node and expected_votes values must then be set to 1 in the cman section as follows. <cman two_node="1" expected_votes="1"> </cman> Node votes By default, a node is given one vote toward the calculation of quorum. This can be changed by giving a node a specific number of votes as follows: <clusternode name="nd1" votes="2"> </clusternode> Node ID All nodes must have a unique node ID. This is a single integer that identifies it to the cluster. A node's application to join the cluster may be rejected if you try to set the nodeid to one that is already used. <clusternode name="nd1" nodeid="1"> </clusternode> Multi-home configuration It is quite common to use multiple ethernet adapters for cluster nodes, so they will tolerate the failure of one link. A common way to do this is to use ethernet bonding. Alternatively you can get corosync to run in redundant ring mode by specifying an 'altname' for the node. This is an alternative name by which the node is known, that resolves to another IP address used on the other ethernet adapter(s). You can optionally specify a different port and/or multicast address for each altname in use. Up to 9 altnames (10 interfaces in total) can be used. Note that if you are using the DLM with cman/corosync then you MUST tell it to use SCTP as it's communications protocol as TCP does not support multihoming. <clusternode name="nd1" nodeid="1"> <altname name="nd1a" port="6809" mcast="229.192.0.2"/> </clusternode> <dlm protocol="sctp"/> Multicast network configuration cman uses multicast UDP packets to communicate with other nodes in the cluster. By default it will generate a multicast address using 239.192.x.x where x.x is the 16bit cluster ID number split into bytes. This, in turn is generated from a hash of the cluster name though it can be specified explicitly. The purpose of this is to allow multiple clusters to share the same subnet - they will each use a different multicast address. You might also/instead want to isolate clusters using the port number as shown above. It is possible to override the multicast address by specifying it in cluster.conf as shown: <cman> <multicast addr="229.192.0.1"/> </cman> Cluster ID The cluster ID number is used to isolate clusters in the same subnet. Usually it is generated from a hash of the cluster name, but it can be overridden here if you feel the need. Sometimes cluster names can hash to the same ID. <cman cluster_id="669"> </cman> corosync security key All traffic sent out by cman/corosync is encrypted. By default the security key used is simply the cluster name. If you need more security you can specify a key file that contains the key used to encrypt cluster communications. Of course, the contents of the key file must be the same on all nodes in the cluster. It is up to you to securely copy the file to the nodes. <cman keyfile="/etc/cluster/corosync.key"> </cman> Note that this only applies to cluster communication. The DLM does not encrypt traffic. Other corosync parameters When corosync is started by cman (cman_tool runs corosync), the corosync.conf file is not used. Many of the configuration parame- ters listed in corosync.conf can be set in cluster.conf instead. Cman will read corosync parameters from the following sections in cluster.conf and load them into corosync: <cluster> <totem /> <event /> <aisexec /> <group /> </cluster> See the corosync.conf(5) man page for more information on keys that are valid for these sections. Note that settings in the <clus- ternodes> section will override settings in the sections above, and options on the cman_tool command line will override both. In particular, settings like bindnetaddr, mcastaddr, mcastport and nodeid will always be replaced by values in <clusternodes>. Cman uses different defaults for some of the corosync parameters listed in corosync.conf(5). If you wish to use a non-default set- ting, they can be configured in cluster.conf as shown above. Cman uses the following default values: <totem vsftype="none" token="10000" token_retransmits_before_loss_const="20" join="60" consensus="4800" rrp_mode="none" <!-- or rrp_mode="active" if altnames are present > /> <aisexec user="root" group="root" /> Here's how to set the token timeout to five seconds: <totem token="5000"/> SEE ALSO
cluster.conf(5), corosync.conf(5), cman_tool(8) cman(5)