<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ian,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">First, thanks for all those information.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You have spent a lot of time to make it work on an active/passive cluster, but I was wondering if you tried to make it work on an active/active
 cluster ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Do you think that using VMs is the only solution ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">--<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Luc<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> linux-cluster-bounces@redhat.com [mailto:linux-cluster-bounces@redhat.com]
<b>De la part de</b> Ian Hayes<br>
<b>Envoyé :</b> vendredi 8 avril 2011 01:31<br>
<b>À :</b> linux clustering<br>
<b>Objet :</b> Re: [Linux-cluster] nfs4 kerberos<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hmm. I think you're overcomplicating it a bit. Instead of tweaking /etc/sysconfig/rpcbind, I did this:<br>
<br>
Edit /etc/init.d/portmap<br>
start() {<br>
        hostname nfsserver.mydomain<br>
        echo -n $"Starting $prog: "<br>
        daemon portmap $PMAP_ARGS<br>
        RETVAL=$?<br>
        echo<br>
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/portmap<br>
        return $RETVAL<br>
}<br>
<br>
Start order is : IP, portmap, rpcgssd, rpcidmapd, nfs. My goal was to get the hostname changed to whateve the service principal in Kerberos was named to before the Kerberized daemons start up.
<br>
<br>
You can also play by manually changing the hostname on one of the nodes and firing up the service just to see that everything works.<o:p></o:p></p>
<div>
<p class="MsoNormal">On Thu, Apr 7, 2011 at 4:16 PM, Daniel R. Gore <<a href="mailto:danielgore@yaktech.com">danielgore@yaktech.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Still could not get it to work.<br>
<br>
I tried changing the host name that rpcbind binds to during start up<br>
with arguments in the /etc/sysconfig/rpcbind file.<br>
<br>
RPCBIND_ARGS="hostname fserv.mydomain"<br>
<br>
rpcbind started correctly with not errors.  I then restarted the other<br>
rpc daemons and nfs.<br>
<br>
Got the same error: rpc.svcgssd indicates "wrong principal"<br>
<br>
I know the ip is working correctly because I can ssh into using the file<br>
server name (fserv.mydomain).<br>
<br>
Looking for more ideas!<br>
<br>
Thanks.<br>
<br>
Dan<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
On Thu, 2011-04-07 at 14:58 -0400, <a href="mailto:danielgore@yaktech.com">danielgore@yaktech.com</a> wrote:<br>
> Ian,<br>
><br>
> You can find it here;<br>
><br>
><br>
> <a href="http://sourceware.org/cluster/doc/nfscookbook.pdf" target="_blank">http://sourceware.org/cluster/doc/nfscookbook.pdf</a><br>
><br>
> > I had written up a rather large set of build documentation for many common<br>
> > clustered services. NFS4, Samba, Postfix/Cyrus, Squid and some other<br>
> > stuff.<br>
> > But those docs stayed with my employer, so.... I don't think I've seen<br>
> > this<br>
> > cookbook, is it some wiki-type thing where new docs can be contributed?<br>
> ><br>
> > On Thu, Apr 7, 2011 at 5:08 AM, Daniel R. Gore<br>
> > <<a href="mailto:danielgore@yaktech.com">danielgore@yaktech.com</a>>wrote:<br>
> ><br>
> >> A better solution for NFSv4 in a cluster is really required.<br>
> >><br>
> >><br>
> >> A better cookbook with more real life likely scenarios for clustering<br>
> >> solutions would be really helpful.  How many people actually setup the<br>
> >> complex three layered solutions depicted, as compared to people setting<br>
> >> up simple two/three node servers to for authorization, authentication,<br>
> >> file and license serving.  It appears that the small business applicable<br>
> >> system is completely ignored.<br>
> >><br>
> >><br>
> >> On Thu, 2011-04-07 at 11:44 +0100, Colin Simpson wrote:<br>
> >> > That's interesting about making the portmapper dependant on the IP,<br>
> >> was<br>
> >> > this for the same reason I'm seeing just now. I used the method from<br>
> >> NFS<br>
> >> > cookbook where I pseudo load balancing by distributing my NFS exports<br>
> >> > across my nodes. Sadly the RHEL 6 portmapper replacement (rpcbind)<br>
> >> > replies on the node IP and not the service IP, and this breaks NFSv3<br>
> >> > mounts from RHEL5 clients with iptables stateful firewalls.<br>
> >> ><br>
> >> > I opened a bug on this one and have a call open with RH (via Dell) on<br>
> >> > this:<br>
> >> > <a href="https://bugzilla.redhat.com/show_bug.cgi?id=689589" target="_blank">
https://bugzilla.redhat.com/show_bug.cgi?id=689589</a><br>
> >> ><br>
> >> > But I too would like a good clean method of doing kerberized NFSv4 on<br>
> >> a<br>
> >> > RHEL6 cluster. I thought NFSv4 being so central to RHEL6 this would be<br>
> >> > easy on a RHEL6 cluster (without using XEN)? Can the cookbook be<br>
> >> > updated?<br>
> >> ><br>
> >> > Which brings up another point. The RHEL cluster documentation is good,<br>
> >> > however it doesn't really help you implement a working cluster too<br>
> >> > easily (beyond the apache example), it's a bit reference orientated. I<br>
> >> > found myself googling around for examples of different RA types. Is<br>
> >> > there a more hands on set of docs around (or book)? It could almost do<br>
> >> > with a cookbook for every RA!<br>
> >> ><br>
> >> > Thanks<br>
> >> ><br>
> >> > Colin<br>
> >> ><br>
> >> > On Thu, 2011-04-07 at 02:52 +0100, Ian Hayes wrote:<br>
> >> > > Shouldnt have to recompile rpc.gssd. On failover I migrated the ip<br>
> >> > > address first, made portmapper a depend on the ip, rpc.gssd depend<br>
> >> on<br>
> >> > > portmap and nfsd depend on rpc. As for the hostname, I went with the<br>
> >> > > inelegant solution of putting a 'hostname' command in the start<br>
> >> > > functions of the portmapper script since that fires first in my<br>
> >> > > config.<br>
> >> > ><br>
> >> > > > On Apr 6, 2011 6:06 PM, "Daniel R. Gore" <<a href="mailto:danielgore@yaktech.com">danielgore@yaktech.com</a>><br>
> >> > > > wrote:<br>
> >> > > ><br>
> >> > > > I also found this thread, after many searches.<br>
> >> > > > <a href="http://linux-nfs.org/pipermail/nfsv4/2009-April/010583.html" target="_blank">
http://linux-nfs.org/pipermail/nfsv4/2009-April/010583.html</a><br>
> >> > > ><br>
> >> > > > As I read through it, there appears to be a patch for rpc.gssd<br>
> >> which<br>
> >> > > > allows for the daemon to be started and associated with multiple<br>
> >> > > > hosts.<br>
> >> > > > I do not want to compile rpc.gssd and it appears the patch is from<br>
> >> > > > over<br>
> >> > > > two years ago.  I would hope that RHEL6 would have rpc.gssd<br>
> >> patched<br>
> >> > > > to<br>
> >> > > > meet this requirement, but no documentation appear to exist for<br>
> >> how<br>
> >> > > > to<br>
> >> > > > use it.<br>
> >> > > ><br>
> >> > > ><br>
> >> > > ><br>
> >> > > ><br>
> >> > > ><br>
> >> > > > On Wed, 2011-04-06 at 20:23 -0400, Daniel R. Gore wrote:<br>
> >> > > > > Ian,<br>
> >> > > > ><br>
> >> > > > > Thanks for the info.<br>
> >> > > > ><br>
> >> > > > >...<br>
> >> > > ><br>
> >> > ><br>
> >> > > plain text document attachment (ATT114553.txt)<br>
> >> > > --<br>
> >> > > Linux-cluster mailing list<br>
> >> > > <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> >> > > <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">
https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
> >> ><br>
> >> > This email and any files transmitted with it are confidential and are<br>
> >> intended solely for the use of the individual or entity to whom they are<br>
> >> addressed.  If you are not the original recipient or the person<br>
> >> responsible<br>
> >> for delivering the email to the intended recipient, be advised that you<br>
> >> have<br>
> >> received this email in error, and that any use, dissemination,<br>
> >> forwarding,<br>
> >> printing, or copying of this email is strictly prohibited. If you<br>
> >> received<br>
> >> this email in error, please immediately notify the sender and delete the<br>
> >> original.<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > --<br>
> >> > Linux-cluster mailing list<br>
> >> > <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> >> > <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">
https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
> >> ><br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> This message has been scanned for viruses and<br>
> >> dangerous content by MailScanner, and is<br>
> >> believed to be clean.<br>
> >><br>
> >> --<br>
> >> Linux-cluster mailing list<br>
> >> <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> >> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">
https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
> >><br>
> ><br>
> > --<br>
> > This message has been scanned for viruses and<br>
> > dangerous content by MailScanner, and is<br>
> > believed to be clean.<br>
> ><br>
> > --<br>
> > Linux-cluster mailing list<br>
> > <a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
> > <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">
https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
><br>
><br>
><br>
<br>
<br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br>
<br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<style>
<!--
 /* Font Definitions */
 @font-face
 {font-family:Webdings;
 panose-1:5 3 1 2 1 5 9 6 7 3;
 mso-font-charset:2;
 mso-generic-font-family:roman;
 mso-font-pitch:variable;
 mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0cm;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
span.spelle
 {mso-style-name:spelle;}
span.SpellE
 {mso-style-name:"";
 mso-spl-e:yes;}
@page Section1
 {size:595.3pt 841.9pt;
 margin:70.85pt 70.85pt 70.85pt 70.85pt;
 mso-header-margin:35.4pt;
 mso-footer-margin:35.4pt;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:"Tableau Normal";
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:"";
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:"Times New Roman";
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>

<body lang=FR style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><span lang=DE style='font-size:18.0pt;font-family:Webdings;
mso-bidi-font-family:Arial;color:green;mso-ansi-language:DE'>P</span><b><span
lang=DE style='font-size:7.5pt;font-family:Arial;color:black'> </span></b><b><span
style='font-size:10.0pt;font-family:Arial;color:green'>Pensez à
l'environnement avant d'imprimer ce message<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-
family:Arial'>      
<span class=SpellE><b><i><span style='color:green'>Think</span></i></b></span><b><i><span
style='color:green'> <span class=SpellE>Environment</span> <span class=SpellE>before</span>
printing</span></i></b><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:6.0pt;font-family:Arial'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:6.0pt;font-family:Arial'>Le contenu
de ce mél et de ses pièces jointes est destiné à
l'usage exclusif du (des) destinataire(s) désigné(s) comme
tel(s). </span></p>
<p class=MsoNormal><span style='font-size:6.0pt;font-family:Arial'>En cas de
réception par erreur, le signaler à son expéditeur et ne
pas en divulguer le contenu. <br>
L'absence de virus a été vérifiée à
l'émission, il convient néanmoins de s'assurer de l'absence de
contamination à sa réception.</span></p>

<p class=MsoNormal> </p>
<p class=MsoNormal><span lang=EN-GB style='font-size:6.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>The contents of this email and any attachments are
confidential. They are intended for the named recipient(s) only. </span><span
lang=EN-GB style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:6.0pt;font-family:Arial;
mso-ansi-language:EN-GB'>If you have received this email in error please notify
the system manager or  the sender immediately and do not disclose the
contents to <br>
anyone or make copies. </span><span lang=EN-GB 
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span class=SpellE><span lang=EN-GB style='font-size:6.0pt;
font-family:Arial;mso-ansi-language:EN-GB'>eSafe</span></span><span lang=EN-GB
style='font-size:6.0pt;font-family:Arial;mso-ansi-language:EN-GB'> scanned
this email for viruses, vandals and malicious content.</span><span lang=EN-GB
style='mso-ansi-language:EN-GB'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='mso-ansi-language:EN-
GB'><o:p> </o:p></span></p>
</div>
</body>
</html>
</body>
</html>