Sponsored Content
Homework and Emergencies Homework & Coursework Questions NFS service not started in Redhat Cluster Post 302954710 by nitinredekar on Thursday 10th of September 2015 09:40:41 AM
Old 09-10-2015
below is the cluster conf file.
Code:
<?xml version="1.0"?>
<cluster config_version="19" name="prime-cluster">
	<clusternodes>
		<clusternode name="node1.xyz.com" nodeid="1"/>
		<clusternode name="node2.xyz.com" nodeid="2"/>
	</clusternodes>
	<cman expected_votes="1" transport="udpu" two_node="1"/>
	<rm>
		<failoverdomains>
			<failoverdomain name="Prime-Fail" nofailback="1">
				<failoverdomainnode name="node1.xyz.com"/>
				<failoverdomainnode name="node2.xyz.com"/>
			</failoverdomain>
		</failoverdomains>
		<resources>
			<ip address="10.1.24.249" sleeptime="10"/>
			<nfsexport name="Prod-export"/>
			<lvm lv_name="lv_Prod-nfs" name="Prod_HA_LVM" vg_name="vg_prod-nfs"/>
			<fs device="/dev/vg_prod-nfs/lv_Prod-nfs" force_unmount="1" fsid="12345" fstype="ext4" mountpoint="/PROD-HOME" name="FS-Prod" options="defaults"/>
			<nfsclient allow_recover="1" name="Prod-client" options="rw,sync,no_root_squash" target="*"/>
		</resources>
		<service domain="Prime-Fail" name="Prod_Service" recovery="relocate">
			<ip ref="10.1.24.249"/>
			<lvm ref="Prod_HA_LVM">
				<fs ref="FS-Prod"/>
			</lvm>
			<nfsexport ref="Prod-export">
				<nfsclient ref="Prod-client"/>
			</nfsexport>
		</service>
	</rm>
</cluster>

Pls let me know whats wrong ...
 

10 More Discussions You Might Find Interesting

1. Red Hat

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 ... (0 Replies)
Discussion started by: santhoshb
0 Replies

2. Red Hat

Redhat Cluster Fencing failed

Hello; I have 2 node Redhat Cluster (RHEL4 U4 and Cluster Suite) I'm using mc_data fiber channel switch for fencing when I want to fence manually using fence_mcdata -a x.x.x. -l xxx -p xxxx -n 5 -o disable following messages appears fencing node "test1" agent "fence_mcdata" reports:... (0 Replies)
Discussion started by: sakir19
0 Replies

3. High Performance Computing

cluster setup and nfs

hello, During the cluster installation, we are required to enter a cluster name. When this name is used? I have a shared disk between those 2 nodes. To test NFS failover, what should I do? PS: I am using VCS 5 thanks (5 Replies)
Discussion started by: melanie_pfefer
5 Replies

4. Solaris

All dependicies of nfs service is online but nfs is offline

Hi all in my server all nfs dependices are online but nfs client is offline root@BIWAPP1 # svcs -a|grep nfs disabled Sep_05 svc:/network/nfs/server:default online Sep_05 svc:/network/nfs/rquota:default online Sep_05 svc:/network/nfs/mapid:default online ... (9 Replies)
Discussion started by: spandhan
9 Replies

5. Red Hat

Samba smb not started on Redhat Enterprise

Hi i installed samba-client-3.0.23c-2 on Redhat Server but cat not start #service smb start. it gives error unrecognized smb I checked samba-common-3.0.23c-2 # rpm -qa |grep smb pam_smb-1.1.7-7.2.1 # rpm -qa |grep samba samba3-client-3.2.15-40.el5 Could someone help please? ... (1 Reply)
Discussion started by: lamoul
1 Replies

6. 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

7. 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

8. 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

9. 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

10. 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
clusvcadm(8)						       Red Hat Cluster Suite						      clusvcadm(8)

NAME
clusvcadm - Cluster User Service Administration Utility SYNOPSIS
clusvcadm [-d <service> ] [-e <service> ] [-l] [-u] [-S] [-m <member> ] [-r <service> ] [-R <service> ] [-M <service> ] [-Z <service> ] [-U <service> ] [-s <service> ] [-v] DESCRIPTION
The clusvcadm command allows an administrator to enable, disable, relocate, and restart user services in a cluster. In order to perform cluster service operations, the cluster daemons must be running (and have quorum) on the member system on which the command is invoked. OPTIONS
-d <service> Stops and disables the user service named service -e <service> Enables and starts the user service named service -l Lock services in preparation for cluster shutdown. This should only be used if the administrator intends to perform a global, clus- ter wide shutdown. This prevents services from starting (but not stopping, like -Z does). Once the cluster quorum is dissolved, this state is reset. If a new instance of rgmanager boots while others are locked, the behavior is undefined. -u Unlock resource group managers. This allows services to start again. -S Display whether the resource group managers are locked or not. This can be used to verify the correct operation of the -l and -u options, but is only useful for debugging. -m <member> When used in conjunction with either the -e or -r options, this specifies the preferred target member on which to start the service. -r <service> Relocates the user service named service to another cluster member. -R <service> Restarts the user service named service on the cluster member on which it is currently running. -M <service> Use a special "migration" operation to move the user service named service to another cluster member. Currently, this is only use- ful for virtual machines. Use of migration usually requires special configuration of the local virtual machine manager in order to work correctly. -Z <service> Freezes the service named service on the cluster member on which it is currently running. This will prevent status checks of the service as well as failover in the event the node fails or rgmanager is stopped. -U <service> Unfreezes the user service named service on the cluster member on which it is currently running. This will re-enable status checks. -s <service> Stops the service named service until a member transition or until it is enabled again. -v Display version information and exit. NOTES
Executing -U (unfreeze) on a service which was frozen in the started state while the service owner is offline results in an undefined (and possibly dangerous) condition. Manually ensure all resources are clear before doing this. SEE ALSO
clustat(8) Jan 2005 clusvcadm(8)
All times are GMT -4. The time now is 12:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy