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

Steven Silk steven.silk at noaa.gov
Tue May 29 23:42:56 UTC 2012


Anton,

Very good.  Since I am setting things up on CentOS, I will be able to do
something like....

primitive wms_nfs_srvr lsb:nfs
primitive wms_rpc_srvr lsb:rpcbind

The file systems should find the space needed be mounted on the /dev/drbd
space that drbd is managing?

Appreciate the lsb - stands for linux standard base - I hate it when I see
things like this and you can't find where they are spelled out....

Yours,

Steve

On Tue, May 29, 2012 at 4:55 PM, Anton Altaparmakov <aia21 at cam.ac.uk> wrote:

> 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/
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>



-- 
Steven Silk
CSC/NOAA
303 497 3112
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120529/3592784a/attachment.htm>


More information about the Pacemaker mailing list