Olivier,

I just checked in a modification of your patch (r9150). Can you test it? Note 
that i only checked-in the Network.pm modification.

Thanks,

----- "geoffroy vallee" <geoffroy.val...@free.fr> a écrit :

> Olivier,
> 
> Your patch is incorrect, you are assuming that the private headnode
> NIC always have its ID equal to 1 which is not always true. However, i
> will try to implement a similar solution based on your patch.
> 
> Thanks for your contribution!
> 
> ----- "Olivier LAHAYE" <olivier.lah...@cea.fr> a écrit :
> 
> > Hi,
> >
> > Those 2 patches (against trunk) fix the creation of dhcpd.conf file.
> > If the oscar nodes network is private (rfc1918), mkdhcpconf will not
> > configure any DNS stuffs (domain-name and domain-name-servers).
> > This will avoid clients to report an fqdn hostname while they're not
> > in any DNS.
> >
> > This network config fix will fix problems like SGE postinstal
> failing
> > to resolve node hostname from a DNS thinking it is in the cluster
> head
> > dns domain.
> >
> > Regarding the Network.pm patch, it includes a function to check if
> > oscar network interface is on a private network. I think it was the
> > appropriate place for this function to be inserted. If it is not,
> > don't hesitate to move it elsewhere.
> > The SQL query used to determine if the oscar network interface is on
> a
> > private network (rfc1918) is the following. If it is incorrect,
> don't
> > hesitate to fix:
> > SELECT rfc1918 FROM Networks,Nics,Clusters  WHERE Networks.n_id =
> > Nics.network_id AND Nics.name = Clusters.headnode_interface AND
> > Nics.node_id = 1;
> >
> > Regarding the mkdhcpconf patch, it uses the above function to check
> if
> > oscar node nic is on a private netork and acts accordingly.
> >
> > Regards,
> >
> > Olivier.
> > --
> >     Olivier LAHAYE
> >     CEA Saclay
> >     DRT-LIST-DETECS-SSTM
> >
> >
> ------------------------------------------------------------------------------
> > Return on Information:
> > Google Enterprise Search pays you back
> > Get the facts.
> > http://p.sf.net/sfu/google-dev2dev
> >
> > _______________________________________________
> > Oscar-devel mailing list
> > Oscar-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oscar-devel
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast
> and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Oscar-devel mailing list
> Oscar-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to