The output in my cluster: [root@xcatmn var]# ll /var/named/ -d drwxrwxr-x 5 root named 4096 Nov 22 09:34 /var/named/ [root@xcatmn var]# ll /var/named/ total 44 drwxrwx--- 2 named named 4096 Nov 21 16:07 data -rw-rw---- 1 named named 148 Nov 21 22:50 db.192.168.101 -rw-rw---- 1 named named 148 Nov 21 22:50 db.192.168.102 -rw-rw---- 1 named named 148 Nov 21 22:50 db.192.168.4 -rw-rw---- 1 named named 196 Nov 21 22:50 db.test.cluster.com drwxrwx--- 2 named named 4096 Nov 21 16:10 dynamic -rw-r----- 1 root named 1892 Feb 18 2008 named.ca -rw-r----- 1 root named 152 Dec 15 2009 named.empty -rw-r----- 1 root named 152 Jun 21 2007 named.localhost -rw-r----- 1 root named 168 Dec 15 2009 named.loopback drwxrwx--- 2 named named 4096 Jun 5 01:55 slaves
When execute 'makedns -n',there was no informative output about named in /var/log/messages. And,It takes for more than 5 minutes. On Thu, Nov 22, 2012 at 3:21 AM, Jarrod B Johnson <jbjoh...@us.ibm.com>wrote: > chown named /var/named > > Also, anything in /var/log/messages that may be informative? > > [image: Inactive hide details for Russell Jones ---11/21/2012 12:39:59 > PM---Here's the output you asked for, as well as a bunch more: []Russell > Jones ---11/21/2012 12:39:59 PM---Here's the output you asked for, as well > as a bunch more: [root@xcat-mn ~]# ls -ld /var/named > > > From: Russell Jones <russ...@jonesmail.me> > To: xcat-user@lists.sourceforge.net, > Date: 11/21/2012 12:39 PM > > Subject: Re: [xcat-user] 'makedns -n' without any records in zone file > ------------------------------ > > > > Here's the output you asked for, as well as a bunch more: > > > [root@xcat-mn ~]# ls -ld /var/named > drwxrwxr-x. 5 root named 4096 Nov 21 11:33 /var/named > > > [root@xcat-mn ~]# ps aux | grep named > named 1903 0.0 0.6 192804 14340 ? Ssl 11:33 0:00 > /usr/sbin/named -u named > > > [root@xcat-mn named]# ls -al > total 48 > drwxrwxr-x. 5 root named 4096 Nov 21 11:33 . > drwxr-xr-x. 23 root root 4096 Aug 14 15:39 .. > drwxrwx---. 2 named named 4096 Jul 30 23:09 data > -rw-rw---- 1 named named 151 Aug 14 16:05 db.10.0.1 > -rw-rw---- 1 named named 151 Aug 14 16:05 db.192.168.1 > -rw-rw---- 1 named named 196 Nov 21 09:47 db.localcluster.tld > drwxrwx---. 2 named named 4096 Jul 30 23:09 dynamic > -rw-r-----. 1 root named 1892 Feb 18 2008 named.ca > -rw-r-----. 1 root named 152 Dec 15 2009 named.empty > -rw-r-----. 1 root named 152 Jun 21 2007 named.localhost > -rw-r-----. 1 root named 168 Dec 15 2009 named.loopback > drwxrwx---. 2 named named 4096 Jul 30 23:09 slaves > > [root@xcat-mn named]# cat db.localcluster.tld > $TTL 86400 > @ IN SOA xcat-mn.localcluster.tld. root.xcat-mn.localcluster.tld. ( > 2012112100 10800 3600 604800 86400 ) > IN NS xcat-mn.localcluster.tld. > xcat-mn.localcluster.tld. IN A 192.168.1.1 > > > [root@xcat-mn named]# makedns cn1 > Getting reverse zones, this may take several minutes in scaling cluster. > Completed getting reverse zones. > Updating zones. > Completed updating zones. > 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@xcat-mn named]# > [root@xcat-mn named]# > [root@xcat-mn named]# service named restart > Stopping named: . [ OK ] > Starting named: [ OK ] > [root@xcat-mn named]# > [root@xcat-mn named]# > [root@xcat-mn named]# ll > total 40 > drwxrwx---. 2 named named 4096 Jul 30 23:09 data > -rw-rw---- 1 named named 151 Aug 14 16:05 db.10.0.1 > -rw-rw---- 1 named named 151 Aug 14 16:05 db.192.168.1 > -rw-rw---- 1 named named 196 Nov 21 09:47 db.localcluster.tld > drwxrwx---. 2 named named 4096 Jul 30 23:09 dynamic > -rw-r-----. 1 root named 1892 Feb 18 2008 named.ca > -rw-r-----. 1 root named 152 Dec 15 2009 named.empty > -rw-r-----. 1 root named 152 Jun 21 2007 named.localhost > -rw-r-----. 1 root named 168 Dec 15 2009 named.loopback > drwxrwx---. 2 named named 4096 Jul 30 23:09 slaves > > > [root@xcat-mn named]# cat db.localcluster.tld > $TTL 86400 > @ IN SOA xcat-mn.localcluster.tld. root.xcat-mn.localcluster.tld. ( > 2012112100 10800 3600 604800 86400 ) > IN NS xcat-mn.localcluster.tld. > xcat-mn.localcluster.tld. IN A 192.168.1.1 > [root@xcat-mn named]# > > > > [root@xcat-mn named]# lsdef cn1 > Object name: cn1 > arch=x86_64 > chain=runcmd=standby > currchain=boot > currstate=netboot centos6.2-x86_64-compute > groups=compute > initrd=xcat/netboot/centos6.2/x86_64/compute/initrd-stateless.gz > installnic=eth0 > ip=192.168.1.10 > kcmdline=imgurl=* > http://192.168.1.1//install/netboot/centos6.2/x86_64/compute/rootimg.gz*<http://192.168.1.1//install/netboot/centos6.2/x86_64/compute/rootimg.gz> > XCAT=!myipfn!:3001 > ifname=eth0:08:00:27:CC:41:79 netdev=eth0 > kernel=xcat/netboot/centos6.2/x86_64/compute/kernel > mac=08:00:27:CC:41:79 > netboot=xnba > nfsserver=192.168.1.1 > os=centos6.2 > postscripts=syslog,remoteshell,syncfiles,hardeths > profile=compute > provmethod=netboot > status=booted > statustime=11-21-2012 09:41:38 > tftpserver=192.168.1.1 > [root@xcat-mn named]# > [root@xcat-mn named]# > [root@xcat-mn named]# > [root@xcat-mn named]# tabdump networks > > #netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,ddnsdomain,vlanid,domain,comments,disable > > "10_0_1_0-255_255_255_0","10.0.1.0","255.255.255.0","eth1","10.0.1.1",,"10.0.1.127",,,,,,,,,, > > "cluster","192.168.1.0","255.255.255.0","eth0",,,,"<xcatmaster>",,,,,"localcluster.tld",,"localcluster.tld",, > > > > > On 11/21/2012 10:55 AM, Jarrod B Johnson wrote: > > > What is ls -ld /var/named output? > > [image: Inactive hide details for Russell Jones ---11/21/2012 11:14:58 > AM---Interesting, I am actually seeing the same thing in my mini]Russell > Jones ---11/21/2012 11:14:58 AM---Interesting, I am actually seeing the > same thing in my mini 2.7.3 test cluster. Never noticed that > > From: Russell Jones *<russ...@jonesmail.me>* <russ...@jonesmail.me> > To: *xcat-user@lists.sourceforge.net* <xcat-user@lists.sourceforge.net>, > > Date: 11/21/2012 11:14 AM > Subject: Re: [xcat-user] 'makedns -n' without any records in zone file > > ------------------------------ > > > > 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). > > [image: Inactive hide details for Aijun Wang ---11/21/2012 10:03:29 > AM---Hi,all It was successfully to run 'makedns -n',but there w]Aijun > 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 *<wajch...@gmail.com>* <wajch...@gmail.com> > To: *xcat-user@lists.sourceforge.net*<xcat-user@lists.sourceforge.net>, > > 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*<http://p.sf.net/sfu/zoho_dev2dev_nov> > _______________________________________________ > xCAT-user mailing list* > **xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net> > * > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<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*<http://p.sf.net/sfu/zoho_dev2dev_nov> > > > _______________________________________________ > xCAT-user mailing list* > **xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net> > * > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<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*<http://p.sf.net/sfu/zoho_dev2dev_nov> > _______________________________________________ > xCAT-user mailing list* > **xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net>* > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<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*<http://p.sf.net/sfu/zoho_dev2dev_nov> > > > _______________________________________________ > xCAT-user mailing list > *xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net> > > *https://lists.sourceforge.net/lists/listinfo/xcat-user*<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 > xCAT-user@lists.sourceforge.net > 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 > xCAT-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xcat-user > > -- Engine
<<graycol.gif>>
------------------------------------------------------------------------------ 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 xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user