|
From: Arif A. <ma...@ar...> - 2013-10-25 08:58:14
|
Jing, The purpose of having multiple entries including SN in networks.nameservers is so that if the MN goes down, then we still have a SN to be able to get DNS and host resolution. I hope that makes sense. Would it make sense to allow this? regards, Arif -- Arif Ali IRC: arif-ali at freenode LinkedIn: http://uk.linkedin.com/in/arifali On 24 October 2013 04:24, Jing CDL Sun <sj...@cn...> wrote: > [root@defiant ~]# tabdump -d networks|grep xcatmaster > gateway: The network gateway. It can be set to an ip address or the > keyword <xcatmaster>, the keyword <xcatmaster> indicates the cluster-facing > ip address configured on this management node or service node. Leaving this > field blank means that there is no gateway for this network. > nameservers: A comma delimited list of DNS servers that each node in > this network should use. This value will end up in the nameserver settings > of the /etc/resolv.conf on each node in this network. If this attribute > value is set to the IP address of an xCAT node, make sure DNS is running on > it. In a hierarchical cluster, you can also set this attribute to > "<xcatmaster>" to mean the DNS server for each node in this network should > be the node that is managing it (either its service node or the management > node). Used in creating the DHCP network definition, and DNS configuration. > [root@defiant ~]# > > Both networks.gateway and networks.nameservers are supported. > > https://sourceforge.net/p/xcat/bugs/3853/ was opened to tace the issue - *#3853 > makedns ignores the hosts within the net where networks.nameservers is a > comma delimited list * <https://sourceforge.net/p/xcat/bugs/3853/feed.rss> > > > > > *Arif Ali <ma...@ar...>* > > 2013/10/23 22:21 > Please respond to > xCAT Users Mailing list <xca...@li...> > > To > xCAT Users Mailing list <xca...@li...>, > cc > Subject > Re: [xcat-user] makedns issue > > > > > Thanks for that, > > When the <xcatmaster> started to get supported for the gateway option, I > tried this option on other parameters in the networks table, but that was > unsupported. > > Could you clarify, which columns are supported, and which are not. As I > tried this under tftpserver, and that didn't quite go as planned. > > regards, > Arif > > -- > Arif Ali > > IRC: arif-ali at freenode > LinkedIn: *http://uk.linkedin.com/in/arifali*<http://uk.linkedin.com/in/arifali> > > > On 22 October 2013 09:20, Jing CDL Sun <*sj...@cn...*<sj...@cn...>> > wrote: > Forgot to mention, you could refer to * > https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Cluster_Name_Resolution > *<https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Cluster_Name_Resolution>for the detailed usage of makedns, this doc includes several typical > scenarios and configuration examples. > > Thx. > > > > *Jing CDL Sun/China/IBM@IBMCN* > > 2013/10/22 09:51 > > > Please respond to > xCAT Users Mailing list <*xca...@li...*<xca...@li...> > > > > To > xCAT Users Mailing list <*xca...@li...*<xca...@li...>>, > > cc > xCAT-user <*xca...@li...*<xca...@li...> > > > Subject > Re: [xcat-user] makedns issue > > > > > > > Hi Arif, > > Here is the code I added for your reqirement a few months ago: > > unless (($_->{nameservers} eq $myip) || ($_->{nameservers} eq > '<xcatmaster>') || ($_->{nameservers} eq $sitens)) > > so in this check, if the networks.nameservers is not mn's IP facing * > networks.net* <http://networks.net/>, or <xcatmaster>, or > site.nameservers, then we exclude this net from dns zones. > > Back to your case, I did not quite understand why "the > networks.nameservers is populated as the MN,SN1,SN2", could you explain > more? Thx. because in the hierarchical cluster, we recommend the user to > set site.nameservers or networks.nameservers to <xcatmaster>, then the > "<xcatmaster>" keyword will be interpreted as the value of the "xcatmaster" > attribute of the node definition. The "xcatmaster" value for a node is the > name of it's server as known by the node. This would be either the > cluster-facing name of the service node or the cluster-facing name of the > management node. So I'm thinking it should be enough to point the compute > node's nameserver either to mn or sn, but not both...Please correct me if > I'm worng... > > On the other hand, I think your report should be a valid bug from the code > logic's point of view, because I should have considered the multiple > nameservers case in the code, my fault... we need to split the > networks.nameservers first instead of using it directly, I will fix this > part. > > > Thx. > Jing > > > *Arif Ali <**ma...@ar...* <ma...@ar...>*>* > > 2013/10/22 00:18 > > > Please respond to > xCAT Users Mailing list <*xca...@li...*<xca...@li...> > > > > > To > xCAT-user <*xca...@li...*<xca...@li...>>, > > cc > Subject > [xcat-user] makedns issue > > > > > > > > > Hi devs, > > a few months ago I put in a request wrt makedns to not create any external > based domain name records in named.conf, and therefore to be ignored. This > was implemented in a way such that if the networks.nameservers is > populated, that network would be disabled. > > The issue that I have now at a customer site is that the > networks.nameservers is populated as the MN,SN1,SN2, i.e. the Management > node and the 2 service nodes. For this specific scenario, the hosts within > the network is being ignored, i.e. > > Ignoring host node001, it does not belong to any nets defined in networks > table or the net it belongs to is configured to use an external nameserver. > > Is this the design, or could we have a look into this such that if the ip > address specified in the networks.nameservers is MN/SN, then these entries > are ignored for makedns? > > The customer upgraded from 2.8.1 to 2.8.2 recently, and then reverted back > to get back the relevant DNS in named back > > I hope that makes sense. > > -- > Arif Ali > > IRC: arif-ali at freenode > LinkedIn: *http://uk.linkedin.com/in/arifali*<http://uk.linkedin.com/in/arifali> > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > * > ** > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > *<http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk> > _______________________________________________ > xCAT-user mailing list* > **xCA...@li...* <xCA...@li...>* > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > * > ** > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > *<http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk> > _______________________________________________ > xCAT-user mailing list* > **xCA...@li...* <xCA...@li...>* > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > * > ** > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > *<http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk> > _______________________________________________ > xCAT-user mailing list* > **xCA...@li...* <xCA...@li...>* > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > xCAT-user mailing list > xCA...@li... > https://lists.sourceforge.net/lists/listinfo/xcat-user > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > xCAT-user mailing list > xCA...@li... > https://lists.sourceforge.net/lists/listinfo/xcat-user > > |