|
From: Russell J. <ru...@jo...> - 2012-11-21 16:12:43
|
Interesting, I am actually seeing the same thing in my mini 2.7.3 test cluster. Never noticed that before since the hosts file is getting written out on the management node properly. I know Bind can write to /var/named fine, because if I delete the db file and re-run makedns, it makes the db file - but it only contains the mgmt node, not my one compute node record (even though the output shows "Handling cn1". The hosts table contains the cn1 record, and it writes that record to /etc/hosts as expected. Restarting Bind does not write the cn1 record into the db file. This is on CentOS 6. On 11/21/2012 9:13 AM, Jarrod B Johnson wrote: > > ls -l /var/named > > My wondering is if named user can create new files in the directory. > The way named works with the updates is it must be allowed to create > .jnl files. The jnl files eventually get merged into the plain text > record (e.g. restarting named would probably get it merged). > > Inactive hide details for Aijun Wang ---11/21/2012 10:03:29 > AM---Hi,all It was successfully to run 'makedns -n',but there wAijun > Wang ---11/21/2012 10:03:29 AM---Hi,all It was successfully to run > 'makedns -n',but there was no record in zone > > From: Aijun Wang <waj...@gm...> > To: xca...@li..., > Date: 11/21/2012 10:03 AM > Subject: [xcat-user] 'makedns -n' without any records in zone file > > ------------------------------------------------------------------------ > > > > Hi,all > > It was successfully to run 'makedns -n',but there was no record in > zone file. > What's wrong? > > [root@xcatmn ~]# makedns -n > Handling localhost in /etc/hosts. > Handling xcatmn in /etc/hosts. > Handling c02-cmm in /etc/hosts. > Handling c02n01 in /etc/hosts. > Handling c02n02 in /etc/hosts. > Handling c02n03 in /etc/hosts. > Getting reverse zones, this may take several minutes in scaling cluster. > Completed getting reverse zones. > Updating zones. > Completed updating zones. > Starting named complete > Restarting named > Restarting named complete > Updating DNS records, this may take several minutes in scaling cluster. > Completed updating DNS records. > named has been enabled on boot. > DNS setup is completed > > [root@xcatmn named]# cat /etc/hosts > 127.0.0.1 localhost > 192.168.102.254 xcatmn > 192.168.101.200 c02-cmm > 192.168.102.201 c02n01 > 192.168.102.202 c02n02 > 192.168.102.203 c02n03 > > [root@xcatmn named]# cat /etc/resolv.conf > search _test.cluster.com_ <http://test.cluster.com/> > nameserver 192.168.4.1 > > [root@xcatmn named]# cat _db.test.cluster.com_ > <http://db.test.cluster.com/> > $TTL 86400 > @ IN SOA _xcatmn.test.cluster.com_ <http://xcatmn.test.cluster.com/>. > _root.xcatmn.test.cluster.com_ <http://root.xcatmn.test.cluster.com/>. > ( 2012112100 10800 3600 604800 86400 ) > IN NS _xcatmn.test.cluster.com_ <http://xcatmn.test.cluster.com/>._ > __xcatmn.test.cluster.com_ <http://xcatmn.test.cluster.com/>. IN A > 192.168.102.254 > [root@xcatmn named]# cat db.192.168.102 > $TTL 86400 > @ IN SOA _xcatmn.test.cluster.com_ <http://xcatmn.test.cluster.com/>. > _root.xcatmn.test.cluster.com_ <http://root.xcatmn.test.cluster.com/>. > ( 2012112100 10800 3600 604800 86400 ) > IN NS _xcatmn.test.cluster.com_ <http://xcatmn.test.cluster.com/>. > [root@xcatmn named]# cat db.192.168.101 > $TTL 86400 > @ IN SOA _xcatmn.test.cluster.com_ <http://xcatmn.test.cluster.com/>. > _root.xcatmn.test.cluster.com_ <http://root.xcatmn.test.cluster.com/>. > ( 2012112100 10800 3600 604800 86400 ) > IN NS _xcatmn.test.cluster.com_ <http://xcatmn.test.cluster.com/>. > > > > -- > Engine > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________ > xCAT-user mailing list > xCA...@li... > https://lists.sourceforge.net/lists/listinfo/xcat-user > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > _______________________________________________ > xCAT-user mailing list > xCA...@li... > https://lists.sourceforge.net/lists/listinfo/xcat-user |