[Linux-cluster] NFS HA

Colin Simpson Colin.Simpson at iongeo.com
Mon Feb 16 11:19:06 UTC 2015


Nothing special

In resources,

<ip address="10.1.5.10" monitor_link="0"/>
<fs device="/dev/cluvg00/lv00prj" force_fsck="1" force_unmount="1"
mountpoint="/mnt/projects" name="prjfs" nfslock="1" nfsrestart="1"
options="acl" quick_status="0" self_fence="0"/>
<nfsexport name="exportclunfsprj"/>
<nfsclient name="nfsdprj" options="rw" target="10.0.0.0/8"/>

Then a service,

<service autostart="1" domain="uxnfsb" exclusive="0" name="nfsdprojects"
nfslock="1" recovery="relocate">
  <ip ref="10.1.5.10"/>
   <fs ref="prjfs">
    <nfsexport ref="exportclunfsprj">
     <nfsclient ref="nfsdprj"/>
    </nfsexport>
   </fs>
  </ip>
</service>

Obviously you'll need to tune this for your use case.

So a floating service IP address. Client mount options are just
"rw,hard,intr", with a DNS name associated to this service IP address.



Thanks

Colin


On Fri, 2015-02-13 at 22:16 +0100, Equipe R&S Netplus wrote:

>
> What configuration do you use on "hard" mounting to allow failover NFS
> service export ?
>
>
> Thank you for your response.
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster


________________________________


This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.





More information about the Linux-cluster mailing list