[Pacemaker] nfs running on two nodes w/ drbd corosync pacemaker on CentOS6.2

Anton Altaparmakov aia21 at cam.ac.uk
Tue May 29 22:55:52 UTC 2012


Hi Steve,

On 29 May 2012, at 23:20, Steven Silk wrote:
> Thanks for your quick answers.  I guess the one portion of Anton's response that I didn't understand is:
> 
> primitive res_nfs_server lsb:nfs-kernel-server
> 
> I have not come across any primitives with an lsb designator?  (if that would be the correct term).  While I google it to see what I can learn.
> 
> Can you expand on this?

Oh, that's very simple.  (-:

Anything in /etc/init.d/ should be an LSB (LSB = Linux Standard Base) formatted init script thus it can be used as a resource agent / primitive.

On Ubuntu Linux (which is what our Pacemaker/Corosync clusters are on) the /etc/init.d script that controls the NFS server is /etc/init.d/nfs-kernel-server thus that is what is specified as the lsb primitive (without the /etc/init.d/ bit).

Hope this helps.

Best regards,

	Anton

> thanks,
> 
> Steve

-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/





More information about the Pacemaker mailing list