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.
The first time i got a NFS file handle error. I tried to use a
Filesystem ID (fsid) on the mount parameter of the client but now here
is my issue:
[root@**** ****]# time cp 1Go.t* /usr
cp: reading `1Go.tyt': Input/output error
My cluster.conf :
<?xml version="1.0"?>
<cluster alias="mig_nfs" config_version="128" name="mig_nfs">
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="ha1" votes="1">
<fence>
<method name="1">
<device name="barriere"
nodename="ha1"/>
</method>
</fence>
</clusternode>
<clusternode name="ha2" votes="1">
<fence>
<method name="1">
<device name="barriere"
nodename="ha2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_manual" name="barriere"/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="mig_fod" ordered="1"
restricted="0">
<failoverdomainnode name="ha1" priority="2"/>
<failoverdomainnode name="ha2" priority="1"/>
</failoverdomain>
</failoverdomains>
<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>
</rm>
</cluster>
If you have any ideas or remarks, i would love to hear them. Thanks a lot.
Kieran
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster