[Pacemaker] NFSv4 Cluster - Creating NFS resource in fedora 16 fails

Vogelsang, Andreas a.vogelsang at uni-muenster.de
Mon Jan 9 13:49:26 UTC 2012


Hello together!

I’m trying to set up an NFSv4 Cluster. As operating system I choose Fedora 16. I’m following this Manual from LINBIT: “Highly available NFS storage with DRBD and Pacemaker” (http://www.linbit.com/en/education/tech-guides/highly-available-nfs-with-drbd-and-pacemaker/)
But at the Point 4.2 I’ve got a Problem. The NFS Daemon in Fedora is “nfs-utils” (As least I think so). But this Daemon isn’t listed in /etc/init.d and so I can’t create a LSB Resource. 
This is the output when I going to create a LSB Resource with the nfs-kernel-server (as in the manual)

         crm(live)configure# primitive p_lsb_nfsserver \
         > lsb:nfs-kernel-server \
         > op monitor interval="30s"
         ERROR: lsb:nfs-kernel-server: could not parse meta-data: 
         ERROR: lsb:nfs-kernel-server: no such resource agent

This is the output when trying to create a LSB Resource with “nfs-utils”

         crm(live)configure# primitive p_lsb_nfsserver \
         > lsb:nfs-utils \
         > op monitor interval="30s"
         ERROR: lsb:nfs-utils: could not parse meta-data: 
         ERROR: lsb:nfs-utils: no such resource agent

I know that I have to choose another Resource type (nfsserver for example) but then I must configure the IP and the shared dir. In the manual a “exportfs” Resource is created for that. 

This is in my /etc/init.d folder:
         [root at Cluster02 init.d]# ls
         blktapctrl        drbd        netfs      vmware-tools  xendomains
         ceph              functions   network    xencommons    xenstored
         corosync          heartbeat   pacemaker  xenconsoled   xen-watchdog
         corosync-notifyd  netconsole  sandbox    xend

And this is my cib:
         crm(live)configure# show
         node Cluster01.azubinet.local
         node Cluster02.azubinet.local
         primitive p_drbd_nfs ocf:linbit:drbd \
         params drbd_resource="nfs" \
         op monitor interval="15" role="Master" \
         op monitor interval="30" role="Slave"
         ms ms_drbd_nfs p_drbd_nfs \
         meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"
         property $id="cib-bootstrap-options" \
         dc-version="1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5" \
         cluster-infrastructure="openais" \
         expected-quorum-votes="2" \
         stonith-enabled="false" \
         no-quorum-policy="ignore"
         rsc_defaults $id="rsc-options" \
         resource-stickiness="200"

I am grateful for every hint

---
Mit freundlichen Grüßen / Best regards

Andreas Vogelsang

Westfälische Wilhelms-Universität Münster
IVV 4 - Naturwissenschaften
Raum 231, Institutsgruppe 1
Wilhelm-Klemm-Straße 10
48149 Münster, Germany
Tel.: +49 (0)251/83-39130
Fax.: +49 (0)251/83-33669
E-Mail: a.vogelsang at uni-muenster.de



More information about the Pacemaker mailing list