Dave, Good news! enjoy xcat :)




Best Regards,
-----------------------------
Sun Jing(孙靖)
IBM China Software Development Laboratory
Tel: (86-10) 82453625   E-mail: [email protected]
Address: Building 28, ZhongGuanCun Software Park,
          No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, 
PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193




Dave Barry <[email protected]> 
2011-12-08 00:44
Please respond to
xCAT Users Mailing list <[email protected]>


To
xCAT Users Mailing list <[email protected]>
cc

Subject
Re: [xcat-user] Empty network found in networks table. Where's the empty 
network?






Thanks Jing! I added ddns as the dnshandler in the site table, re-ran 
makedns -n and it generated the dns entries as expected without any errors 
this time.



2011/12/6 Jing CDL Sun <[email protected]>
Hello Dave, 

I found the error in bind.pm, I saw you removed the "dnshandler","bind" in 
site table, but even without it, xcat will still use the bind as the 
default dnshandler until you set  "dnshandler","ddns" in site table , so 
in your case, makedns went into bind.pm. 

Since you are using makedns with bind.pm as the dnshandler, so -n flag 
means: 
-n mask 
Network:SubnetMask. If not specified, all the networks from the networks 
table will be used. 

Because you did not specify the mask with -n, so you got the errors. 


If you want to use ddns as the dnshandler, please follow the steps below: 
1. set "dnshandler","ddns" in site table, then restart xcatd 
2. check your /etc/resolv.conf to make sure your nameserver is your 
Management node and it is searching your domain as defined in the site 
table. 
3. run makedns -n 





Best Regards,
-----------------------------
Sun Jing(孙靖)
IBM China Software Development Laboratory
Tel: (86-10) 82453625   E-mail: [email protected]
Address: Building 28, ZhongGuanCun Software Park,
         No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, 
PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193




Dave Barry <[email protected]> 
2011-12-07 02:12 


Please respond to
xCAT Users Mailing list <[email protected]>


To
xCAT Users Mailing list <[email protected]> 
cc

Subject
[xcat-user] Empty network found in networks table. Where's the empty 
network?








Upgraded xCAT 2.6.6 to 2.6.9 via a simple yum update, everything went 
swimmingly as far as I can tell so far.

I removed the old "dnshandler",bind"  that I had defined in the site table 
as a workaround for the dynamic dns issues earlier. I am now running 
makedns -n and "makedns" to get the new DNS entries/configuration all 
setup, and get the following error:


[root@mn named]# makedns -n
Error: Empty network found in networks table (i.e. ,,),This is almost 
certainly going to cause a problem....

Error:  has no defined netmask in the networks table, the result will 
probably be wrong.

Error: Must specify one -d and at least one -n.


I only have a single network defined, so I am unsure what the above error 
is about:

#netname,net,mask,mgtifname,gateway,dhcpserver,tftpserver,nameservers,ntpservers,logservers,dynamicrange,nodehostname,ddnsdomain,vlanid,domain,comments,disable
"cluster","192.168.1.0","255.255.255.0","eth1",,"mn",,,,,"192.168.1.100-192.168.1.150",,,,,,



Looking at /etc/named.conf and the /var/named files however, they all 
appear to get created correctly. Any ideas why I am getting the above 
error?
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point 
of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point 
of
discussion for anyone considering optimizing the pricing and packaging 
model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point 
of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to