> > Am Mittwoch, 16. März 2011 schrieb Michael Schwartzkopff: > > > > Am 16.03.2011 06:58, schrieb Michael Schwartzkopff: > > > > >> Hi, > > > > >> > > > > >> I try to setup a high available NFS server according to the > > > > >> tutorial "Highly available NFS storage with DRBD and Pacemaker". > > > > >> > > > > >> My problem is that Ubuntu Lucid LTS does not know the resource > > > > >> ocf:heartbeat:exportfs. I tried to copy the file exportfs from the > > > > >> current git repository but I still get: > > > > >> > > > > >> crm(live)configure# primitive p_exportfs_root > > > > >> ocf:heartbeat:exportfs params fsid=0 directory "/srv/nfs/afs" > > > > >> options="rw,no_root_squash,crossmnt" > > > > >> clientspec="192.168.143.0/255.255.255.0" op monitor interval="30s" > > > > >> ERROR: ocf:heartbeat:exportfs: could not parse meta-data: > > > > >> ERROR: ocf:heartbeat:exportfs: no such resource agent > > > > >> > > > > >> > > > > >> Are there newer packages available for Ubuntu Lucid? Or how to get > > > > >> it running? > > > > >> > > > > >> Christoph > > > > > > > > > > Where did you copy the script to? > > > > > > > > To /usr/lib/ocf/resource.d/heartbeat/ > > > > > > Is the script executable? > > > > The script is executable on both nodes. > > It is listed by "crm ra list ocf heartbeat". > > > > I tried to add the resource again and if I do it for the first time in > > crm I get: > > > > > > lrmadmin[11236]: 2011/03/16_09:27:39 ERROR: > > lrm_get_rsc_type_metadata(578): got a return code HA_FAIL from a reply > > message of rmetadata with function get_ret_from_msg. > > ERROR: ocf:heartbeat:exportfs: could not parse meta-data: > > ERROR: ocf:heartbeat:exportfs: no such resource agent > > > > If I try it again, I only get the two lines with ERROR. > > Which cluster-glue version do you run? > Try also: > > # lrmadmin -C > # lrmadmin -P ocf drbd > # export OCF_ROOT=/usr/lib/ocf > # /usr/lib/ocf/resource.d/linbit/drbd meta-data
Sorry. Of course I wanted to say: # lrmadmin -P ocf exportfs # export OCF_ROOT=/usr/lib/ocf # /usr/lib/ocf/resource.d/heartbeat/exportfs meta-data -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
