Hi Srikanth,

I've had a customer requirement exactly in this way, and this is now possible in xCAT (make sure you are running at least 2.8.2, where this fix was added)

* Set site.forwarders to your company DNS IPs
* add the network for the company in the networks table, making sure that you include the DNS IPs of the company in the nameservers field, and the domain mydom.net in the domain field * Edit /etc/resolv.conf, and add nameservers to be the MN, and the search to be both hpc.mydom.net, and mydom.net
* makedhcp -n; makedhcp -a (Note: makedhcp -n will rewrite the dhcp config)
* makedns -n (Note: this will rewrite your internal DNS config)

Hopefully, now you should be be able to resolve machines in both hpc.mydom.net and mydom.net

Let me know how it goes, and if I can be of further assistance

regards,

Arif Ali
Senior HPC Technical Architect
OCF plc

Tel: +44 (0)114 257 2200
Mob: +44 (0)7970 148 122
Fax: +44 (0)114 257 0022
Web: www.ocf.co.uk <http://www.ocf.co.uk>
Blog: blog.ocf.co.uk <http://blog.ocf.co.uk>
Twitter: @ocfplc <http://twitter.com/#%21/ocfplc>

OCF plc is a company registered in England and Wales. Registered number 4132533, VAT number GB 780 6803 14. Registered office address: OCF plc, 5 Rotunda Business Centre, Thorncliffe Park, Chapeltown, Sheffield, S35 2PG.

This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.
On 01/03/14 08:41, Srikanth Gumma 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 <http://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 <http://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 <http://mydom.net> aswell as hpc.mydom.net <http://hpc.mydom.net>.


To make it simple:

mydom.net <http://mydom.net> (NS1)
        |
        |
hpc.mydom.net <http://hpc.mydom.net> (xcatMGMT)
        |
        |
nod1.hpc.mydom.net <http://nod1.hpc.mydom.net> (my compute nodes)
nod2.hpc.mydom.net <http://nod2.hpc.mydom.net>
.
.
.

*Typically I want my nod2.hpc.mydom.net <http://nod2.hpc.mydom.net> to resolve node1.hpc.mydom.net <http://node1.hpc.mydom.net> and licserv1.mydom.net <http://licserv1.mydom.net> both IPs.*

What I wanted to do is any name resolution which does not belong to hpc.mydom.net <http://hpc.mydom.net> should forward to mydom.net <http://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 <http://licserv1.mydom.net> IPs

zone "mydom.net <http://mydom.net>" in {
        type master;
        allow-update {
                key xcat_key;
        };
        file "db.mydom.net <http://db.mydom.net>";
};

I understood that my xcatMGMT is thinking that it's master for mydom.net <http://mydom.net>, and due to which the name resolution is not happening for servers such as licserv1.mydom.net <http://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 <http://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 <http://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 <http://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 <http://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



<<attachment: aali.vcf>>

------------------------------------------------------------------------------
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