* Kerberos question related to NFSV3
@ 2009-05-13 18:01 barry sabsevitz
2009-05-26 21:53 ` Kevin Coffman
0 siblings, 1 reply; 2+ messages in thread
From: barry sabsevitz @ 2009-05-13 18:01 UTC (permalink / raw)
To: linux-nfs
Hi,
I have a question regarding NFSV3 and Kerberos that I was hoping someone could help me with.
I have setup Kerberos successfully on a red hat 5.2 system using NFSV3. I am using nfs-utils-1.1.6 and have a patch to rpc.svcgssd where I can specify a -h option and tell it to use a principal name that is different than the name of the system.
My question is related to Kerberos and how it gets configured for NFS. I have a cluster with 2 nodes in it and each node can have multiple virtual ip addressess accessing NFS Kerberos shares from it. I have previously successfully setup a configuration where I create 1 service principal for every virtual IP address that will be processing the Kerberos NFSV3 exports. And then I modify DNS to have a forward and reverse mapping between the fqdn used for creating the service principal and the VIP. This works for me. It seems a bit inefficient though.
My question is: Does Kerberos allow me to set up 1 service principal that can be used at the same time by multiple virtual ip addresses. For example: If I have 2 VIP's - 10.1.1.1 and 10.1.1.2, can I create 1 service principal called nfs/nfs-pkg1.activedir.net-jPvyhR5Pr7e588XsNBc39w@public.gmane.org and then have DNS configured to map nfs-pkg1 -> 10.1.1.1 and nfs-pkg1 also to -> 10.1.1.2 and then both those VIP's reverse mapped to nfs-pkg1. Is Kerberos with NFS expected to work in this configuration? Or do I need to have a seperate service principal for every virtual ip address that will be processing the Kerberos NFS exports?
Thanks for your help.
Barry
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Kerberos question related to NFSV3
2009-05-13 18:01 Kerberos question related to NFSV3 barry sabsevitz
@ 2009-05-26 21:53 ` Kevin Coffman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Coffman @ 2009-05-26 21:53 UTC (permalink / raw)
To: barry sabsevitz; +Cc: linux-nfs
On Wed, May 13, 2009 at 2:01 PM, barry sabsevitz
<barry_sabsevitz@yahoo.com> wrote:
>
> Hi,
> I have a question regarding NFSV3 and Kerberos that I was hoping someone could help me with.
>
> I have setup Kerberos successfully on a red hat 5.2 system using NFSV3. I am using nfs-utils-1.1.6
> and have a patch to rpc.svcgssd where I can specify a -h option and tell it to use a principal name that
> is different than the name of the system.
>
> My question is related to Kerberos and how it gets configured for NFS. I have a cluster with 2 nodes in
> it and each node can have multiple virtual ip addressess accessing NFS Kerberos shares from it. I have
> previously successfully setup a configuration where I create 1 service principal for every virtual IP address
> that will be processing the Kerberos NFSV3 exports. And then I modify DNS to have a forward and reverse
> mapping between the fqdn used for creating the service principal and the VIP. This works for me. It seems
> a bit inefficient though.
>
> My question is: Does Kerberos allow me to set up 1 service principal that can be used at the same time by
> multiple virtual ip addresses. For example: If I have 2 VIP's - 10.1.1.1 and 10.1.1.2, can I create 1 service
> principal called nfs/nfs-pkg1.activedir.net@ACTIVEDIR.NET and then have DNS configured to map
> nfs-pkg1 -> 10.1.1.1 and nfs-pkg1 also to -> 10.1.1.2 and then both those VIP's reverse mapped to
> nfs-pkg1. Is Kerberos with NFS expected to work in this configuration? Or do I need to have a seperate
> service principal for every virtual ip address that will be processing the Kerberos NFS exports?
>
> Thanks for your help.
> Barry
After some offline discussion, it sounds like Barry is possibly seeing
an issue with multiple DNS lookups during the mount process returning
different addresses for the name. (Mostly speculation, but he is
seeing some kind of issue sharing a name between more than one
machine.)
I know people have worked on fail-over servers. Has anyone else had a
cluster setup like this which uses the same name for more than one
machine, using Kerberos mounts?
K.C.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-26 21:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 18:01 Kerberos question related to NFSV3 barry sabsevitz
2009-05-26 21:53 ` Kevin Coffman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox