search for: ocf_reskey_volname

Displaying 2 results from an estimated 2 matches for "ocf_reskey_volname".

2017 Dec 07
4
GlusterFS, Pacemaker, OCF resource agents on CentOS 7
...ter/test_brick gluster volume start test_logs gluster volume set test_logs nfs.disable off And here's where the fun starts. Firstly, we need to work around bug 1233344* (which was closed when 3.7 went end-of-life but still seems valid in 3.10): sed -i 's#voldir="/etc/glusterd/vols/${OCF_RESKEY_volname}"#voldir="/var/lib/glusterd/vols/${OCF_RESKEY_volname}"#' /usr/lib/ocf/resource.d/glusterfs/volume With that done, I [attempt to] stop GlusterFS so it can be brought under Pacemaker control: systemctl stop glusterfsd systemctl stop glusterd umount /gluster (I usually have to m...
2017 Dec 08
0
GlusterFS, Pacemaker, OCF resource agents on CentOS 7
...s > gluster volume set test_logs nfs.disable off > > And here's where the fun starts. > > Firstly, we need to work around bug 1233344* (which was closed when > 3.7 went end-of-life but still seems valid in 3.10): > > sed -i > 's#voldir="/etc/glusterd/vols/${OCF_RESKEY_volname}"#voldir="/var/lib/glusterd/vols/${OCF_RESKEY_volname}"#' > /usr/lib/ocf/resource.d/glusterfs/volume > > With that done, I [attempt to] stop GlusterFS so it can be brought > under Pacemaker control: > > systemctl stop glusterfsd > systemctl stop glusterd &g...