Hi all.
This is probably more of a HA list, or possibly even linux-practices,
question but all hosts concerned are running CentOS and I reckon some
of you guys might have some good suggestions. Feel free to tell me to
piss off. :)
I'm building a new CentOS, DRBD, Heartbeat and NFS HA cluster. We
already have boxes running similar setups on FC2/3 running NFS v2/3
with the Ultra Monkey Heartbeat packages. These new systems are using
CentOS packages as much as possible.
[root at tempmailstore1a ha.d]# rpm -qa | grep -Ei 'heartbeat|drbd'
heartbeat-pils-1.2.3.cvs.20050927-1.centos4
heartbeat-ldirectord-1.2.3.cvs.20050927-1.centos4
heartbeat-stonith-1.2.3.cvs.20050927-1.centos4
heartbeat-1.2.3.cvs.20050927-1.centos4
kernel-module-drbd-2.6.9-22.0.1.ELsmp-0.7.14-1.centos4
drbd-0.7.14-1.centos4
I'm messing around with NFS v4 (any and all experience/horror stories
about EL4's NFS v4 in production environments more than welcome as I'm
still at the evaluation/test stage) and looking at the best way to
setup the --bind mounts for the NFS v4 pseudofilesystem.
So far in /etc/ha.d/haresources I have...
tempmailstore1a IPaddr::192.168.24.73
\
drbddisk::r0 \
Filesystem::/dev/drbd0::/mnt/drbd::ext3::rw,acl,data=journal \
portmap \
nfslock \
nfs \
rpcidmapd
Now, after the Filesystem resource.d script's called ideally I'd like
to setup the --bind mounts as detailed here...
http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html
As follows...
mount --bind /mnt/drbd /export/drbd
I would've thought the best way to achieve this, since it's
effectively another filesystem of type "none" when mounted would be
with the resource.d/Filesystem script... which can't take a --mount
option.
Obviously I can hack around in the shell script or write my own, has
anyone else bumped up against this? And how did you deal with it.
Will.