Hi Kevin,
 
I saw there were 3 nics in your xcat MN, Which is your xcat management network?
 
Here I can give you an example and may help your problem.
 
In example, there are 3 nics in xcat MN:
 
10_0_0_0-255_0_0_0 is xcat management network;
eth0 is xcat management network nic: 10.5.106.100 rhmn rhmn.cluster.com, domain is cluster.com
eth1: 30.5.106.9 bybc0609.private.cluster, domain is private.cluster
eth2: 40.5.106.9 bybc0609.imm, domain is imm
 
1,  in /etc/hosts:
10.5.106.100 rhmn rhmn.cluster.com
30.5.106.9 bybc0609.private.cluster
40.5.106.9 bybc0609.imm
 
2, in /etc/resolv.conf
search cluster.com.
nameserver 10.5.106.100
 
3, in xcat networks table, 'tabdump networks', you should specify domain for every network.
"30_0_0_0-255_0_0_0","30.0.0.0","255.0.0.0","eth1","<xcatmaster>",,"<xcatmaster>",,,,,,,,,,"private.cluster","1500",,
"40_0_0_0-255_0_0_0","40.0.0.0","255.0.0.0","eth2","<xcatmaster>",,"<xcatmaster>",,,,,,,,,,"imm","1500",,
"10_0_0_0-255_0_0_0","10.0.0.0","255.0.0.0","eth0","10.5.106.2",,"<xcatmaster>",,,,,,,,,,"cluster.com","1500",,
 
notes: you can execute "makenetworks" to generate all the networks entry in networks table. Then you can use chdef or tabedit to modify the domain attribute.
like: chdef -t network 10_0_0_0-255_0_0_0 domain=cluster.com
 
4, execute 'makedns -n', there is no error, then use 'nslookup' to check results:
 
]# nslookup byrhmn
Server:        10.5.106.100
Address:    10.5.106.100#53
Name:    byrhmn.cluster.com
Address: 10.5.106.100
 
]# nslookup bybc0609.private.cluster
Server:        10.5.106.100
Address:    10.5.106.100#53
Name:    bybc0609.private.cluster
Address: 30.5.106.9
 
]# nslookup bybc0609.imm
Server:        10.5.106.100
Address:    10.5.106.100#53
Name:    bybc0609.imm
Address: 40.5.106.9
 
5, 3 networks data are generated here.
]# ls /var/named/
data            db.172.29.0  db.40.jnl           db.imm.jnl              named.empty
db.10           db.172.30.0  db.cluster.com      db.it.raboof.edu        named.localhost
db.10.0.0       db.172.40.0  db.cluster.com.jnl  db.private.cluster      named.loopback
db.10.jnl       db.30        db.cluster.local    db.private.cluster.jnl  slaves
db.148.143.201  db.30.jnl    db.dc.foo.edu       dynamic
db.172.20.0     db.40        db.imm              named.ca
 
Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193
 
 
----- Original message -----
From: Kevin Keane <kke...@sandiego.edu>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: [xcat-user] makedns-generated zones and their NS record
Date: Wed, Nov 1, 2017 4:21 AM
 
I have a management node with three NICs, and want to use makedns to generate the DNS configuration.
 
My management node has three names, corresponding to the three NICs:

eth0: hpcmn-test.compute.sabre.kkeane.sandiego.edu
eth1: hpcmn-test.kkeane.sandiego.edu
eth2: hpcmn-test.imm.sabre.kkeane.sandiego.edu
 
hostname -f returns hpcmn-test.kkeane.sandiego.edu (which is name by which my management node will be known on our public network).
 
I have the DNS server listening only on eth2. Consequently, the zones in the DNS server should have the corresponding name server hpcmn-test.imm.sabre.kkeane.sandiego.edu. However, the zones generated by makedns -n instead use the hpcmn-test.kkeane.sandiego.edu name.

$TTL 86400
@ IN SOA hpcmn-test.kkeane.sandiego.edu. root.hpcmn-test.kkeane.sandiego.edu. ( 2017103100 10800 3600 604800 86400 )
  IN NS  hpcmn-test.kkeane.sandiego.edu.
 
This wreaks havoc with future calls to makedns; updates will time out because the DNS server is not listening at the IP address that corresponds to this name (and in fact, makehosts doesn't even put this name into /etc/hosts)
 
How can I get makedns to generate zones with an NS record that points to hpcmn-test.imm.sabre.kkeane.sandiego.edu ?
Thanks!
 
--

_______________________________________________________________________
Kevin Keane | Systems Architect | University of San Diego ITS | kke...@sandiego.edu
Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=uiTcPxjMR44SPRNNb6l_nA&m=NPU6yg_jvEmDNhw9PFv8NApP5BEHW_5_uC_a-cQNv8s&s=OgTtKhV4noEZqKHJKyO0rqZTntj7zygZyPxXJb7QbeI&e=
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to