nfs mount locally exported directories in a Red HAt Cluster (v3)?
evdhn at advalvas.be
evdhn at advalvas.be
Thu Feb 10 10:31:48 UTC 2005
> evdhn at advalvas.be wrote:
>> In a Red Hat HA Cluster (v3), how can you nfs mount a directory exported
>> by a cluster service that is currently local to the cluster member?
>> I keep getting permission denied errors. It works fine when I move the
>> cluster service to the other cluster member. The firewall has been
>> stoppped, just to make sure it wasn't part of the problem.
>
> Make sure you have portmapper and nfslock running on both the client and
> server. That's the most common problem.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
> - VitalStream, Inc. http://www.vitalstream.com -
> - -
> - Denial. It ain't just a river in Egypt anymore! -
> ----------------------------------------------------------------------
Thanks for your answer Rick, but apparently I explained poorly.
This is a two-member cluster with hostnames arneb and nihal and services
lepusbb and lepustl.
When service lepusbb runs on arneb, I cannot nfs mount its device on arneb
using the service name. I.e.
# mount -t nfs lepusbb:/usr/local/lepus-bb /usr/local/bb
does not work on arneb, but it does work on nihal.
Similarly, I can mount lepustl:/usr/local/lepus-tl on arneb but not on nihal.
I meanwhile found that
# mount -t nfs arneb:/usr/local/lepus-bb /usr/local/bb
does work, so I'm currently using that as a workaround, but obviously,
when a failover would occur while the devices are locally mounted, my
scripts wil be in trouble.
And yes, portmapper and nfslock are running:
# ps auxw | egrep -e lock -e portm | grep -v grep
rpc 3109 0.0 0.0 1672 608 ? S 10:36 0:00 portmap
root 3314 0.0 0.0 0 0 ? SW 10:36 0:00 [lockd]
root 3453 0.0 0.0 3064 3064 ? S<L 10:36 0:00
/usr/sbin/clulockd
Kine regards,
emma
----------------------------------------------------------------------------------
Plaats je zoekertjes GRATIS op AdValvas
Placez votre petite annonce GRATUITEMENT sur AdValvas
http://www.advalvas.be
More information about the Redhat-install-list
mailing list