[Pacemaker] Highly available NFS service in RHEL6.4

Leon Fauster leonfauster at googlemail.com
Mon Jul 15 08:21:16 EDT 2013


Am 10.07.2013 um 16:31 schrieb Ron Kerry <rkerry at sgi.com>:
> What is the suggested way to configure a highly available NFS service using cman/pacemaker in RHEL6.4?
> 
> RHEL 6.4 has two init.d scripts - nfs and nfslock. The available pacemaker resource agent script in /usr/libocf/resource.d/heartbeat/nfsserver has just a single parameter to point to the NFS init script. The resource agent calls the defined init script to perform much of the underlying work. The resource agent script does do sm-notify separately for the highly available IP address, but the RHEL6.4 nfslock script is still needed since it does more than just sm-notify.


nfslock should run via init (chkconfig nfslock on) on all nodes.
the nfs service (exporting fs) is handled via pacemaker. 
BTW - do not forget to share the nfs data between the nodes :-)

--
LF






More information about the Pacemaker mailing list