Forgot to mention, you could refer to
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 <[email protected]>
To
xCAT Users Mailing list <[email protected]>,
cc
xCAT-user <[email protected]>
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, 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 <[email protected]>
2013/10/22 00:18
Please respond to
xCAT Users Mailing list <[email protected]>
To
xCAT-user <[email protected]>,
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
------------------------------------------------------------------------------
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
_______________________________________________
xCAT-user mailing list
[email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user