Olivier, Since we came up with a better first patch, i finally included the second patch (without modification). It is in SVN (r9166).
Thanks for your contribution once again! :-) ----- "Olivier LAHAYE" <[email protected]> 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
