Hi Srikanth,

You can use hosts file for hpc cluster domain and bypass mydom.net to your 
external DNS.
use xCAT hosts table to populate your /etc/hosts file, use the default ‘sync 
files’ postscripts and updatenode to sync it periodically.
http://xcat.sourceforge.net/man8/makehosts.8.html
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Sync-ing_Config_Files_to_Nodes

you can modify noderes table to override name server list or roll your own 
postscripts.

Regards,
Heince

On Mar 1, 2014, at 3:41 PM, Srikanth Gumma <sri4mail...@gmail.com> wrote:

> Hi All,
> 
> I'm a newbie to xCAT installation. 
> 
> I'm trying to setup xCAT for my hpc cluster. My requirement regarding DNS is 
> little different and hope some one would help me resolve the issue currently 
> I'm facing.
> 
> I setup the management node with hpc.mydom.net as my hpc domain. My cluster 
> each node has 3 interfaces private, public and Infiniband respectively. My 
> organization domain is mydom.net which is hosting records for the entire 
> organization and I cannot register all my HPC node names in the same domain. 
> Hence I setup a local DNS in my management node. 
> 
> I want all my compute nodes to resolve all hosts registered under mydom.net 
> aswell as hpc.mydom.net.
> 
> 
> To make it simple:
> 
> mydom.net (NS1)
>         |
>         |
> hpc.mydom.net (xcatMGMT)
>         |
>         | 
> nod1.hpc.mydom.net (my compute nodes)
> nod2.hpc.mydom.net
> .
> .
> .
> 
> Typically I want my nod2.hpc.mydom.net to resolve node1.hpc.mydom.net and 
> licserv1.mydom.net both IPs.
> 
> What I wanted to do is any name resolution which does not belong to 
> hpc.mydom.net should forward to mydom.net, but when I verify the 
> configuration I see the zone definition in my xcatMTMT it looks like the 
> below and hence it's not able to resolve licserv1.mydom.net IPs 
> 
> zone "mydom.net" in {
>         type master;
>         allow-update {
>                 key xcat_key;
>         };
>         file "db.mydom.net";
> };
> 
> I understood that my xcatMGMT is thinking that it's master for mydom.net, and 
> due to which the name resolution is not happening for servers such as 
> licserv1.mydom.net, etc., 
> I tried to change the DNS configuration manually, but whenever I run makedns 
> it's just overwriting all my previous configuration. Is there any way that I 
> only add new nodes in the hpc.mydom.net domain and does not overwrite dns 
> configuration?
> 
> 
> A glance on my site configuration and network configuration is below:
> 
> # lsdef -t site -i domain,nameservers,forwarders
> Object name: clustersite
>     domain=hpc.mydom.net
>     forwarders=172.27.0.252,172.27.0.254
>     nameservers=192.168.20.1
> 
> 
> # lsdef -t network  ibnet4,publicnet4,clusternet4
> Object name: ibnet4
>     dhcpserver=192.168.20.1
>     dynamicrange=192.168.30.88-192.168.30.175
>     mask=255.255.255.0
>     mgtifname=eth0
>     net=192.168.20.0
> Object name: publicnet4
>     dhcpserver=192.168.20.1
>     domain=mydom.net
>     dynamicrange=10.1.0.11-10.1.0.200
>     gateway=10.1.0.1
>     mask=255.255.0.0
>     mgtifname=eth0
>     net=10.1.0.0
> Object name: clusternet4
>     dhcpserver=192.168.20.1
>     domain=hpc.mydom.net
>     dynamicrange=192.168.20.88-192.168.20.175
>     mask=255.255.255.0
>     mgtifname=eth0
>     net=192.168.20.0
>     tftpserver=192.168.20.1
> 
> 
> 
> Any other suggestions also welcome .  Thanks for your guidance in advance.
> 
> Regards
> Srikanth Gumma
> 
> 
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to