[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] NFS failover problem



On Thu, Aug 16, 2007 at 09:15:58AM +0200, kieran JOYEUX wrote:
> Hi guys,
> 
> I am implementing a two node cluster sharing via NFS, their local 
> storage to one client.
> At the moment, i am simulating a failover during a copy from the NFS 
> server to the local client disk.


>              <resources>
>                      <ip address="138.102.22.33" monitor_link="1"/>
>                      <nfsexport name="/usr/local/genome"/>
>                      <nfsclient name="mig" options="ro,fsid=20" 
> path="/usr/local/genome" target="138.102.22.0/255.255.192.0"/>
>                      <nfsclient name="mig213" options="fsid=213,ro" 
> path="/usr/local/genome" target="138.102.22.213"/>
>                      <nfsclient name="mig217" options="ro,fsid=217" 
> path="/usr/local/genome" target="138.102.22.217"/>
>              </resources>
>              <service autostart="1" domain="mig_fod" name="nfs">
>                      <ip ref="138.102.22.33"/>
>                      <nfsexport ref="/usr/local/genome"/>
>                      <nfsclient ref="mig"/>
>              </service>

Try something like:

	<resources>
		<ip address="138.102.22.33" monitor_link="1"/>
		<nfsexport name="/usr/local/genome"/>
		<nfsclient name="mig" options="ro,fsid=20"
			target="138.102.22.0/255.255.192.0"/>
		<nfsclient name="mig213" options="fsid=213,ro"
			target="138.102.22.213"/>
		<nfsclient name="mig217" options="ro,fsid=217" 
			target="138.102.22.217"/>
		<clusterfs name="my_cluster_fs" device="..." fstype="gfs"
			mountpoint="/usr/local/genome"/>
	</resources>

	<service autostart="1" domain="mig_fod" name="nfs" nfslock="1">
  		<ip ref="138.102.22.33"/>
		<clusterfs ref="/usr/local/genome">
			<nfsexport ref="/usr/local/genome"/>
				<nfsclient ref="mig"/>
			</nfsexport>
		</clusterfs>
	</service>

-- 
Lon Hohberger - Software Engineer - Red Hat, Inc.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]