|
Thanks Lisa, I have checked my tables again against option #1 in that page you provided and everything seems correct. See below for my site table attributes. Here's a bit more info on what's going on: Both diskless and diskfull nodes are booting and acquiring their /etc/resolv.conf without an issue as long as they are using DHCP. "makehosts", "makedns", and "makedhcp" all work and populate the various files correctly with no errors. It's when I add the "hardeths" postscript in that diskfull nodes only lose their DNS configuration. IP and subnet gets set correctly for the nodes, it's just /etc/resolv.conf that is empty. The following is the /etc/resolv.conf of a diskless node after it was booted with the hardeths postscript. As you can see it appears it still keeps the DNS config from when DHCP ran on it prior to the interface being turned into a static one: c1n1:~ # cat /etc/resolv.conf Here is his xCAT configuration after I have told it to install: xcat-suse:/var/log # nodeset c1n1 install And here is his /etc/resolv.conf after installing: c1n1:~ # cat /etc/resolv.conf The "NETCONFIG_DNS_STATIC_SERVERS" attribute it is mentioning above is also empty. The hardeths postscript does work as designed however: c1n1:/etc/sysconfig/network # cat ifcfg-eth0 Unless I am missing something, I am just not seeing anything generated in the autoinst file that would fill /etc/resolv.conf in for the case of diskfull nodes not utilizing DHCP. I can always just write a postscript that fills in the DNS attributes in /etc/resolv.conf (and have seen other sites do the same), but I wasn't sure if keeping the DNS configuration when using the hardeths postscript was supposed to be a built-in, working functionality with 2.6 when utilizing the management node as the DNS server. Here are my site table attributes: xcat-suse:~ # tabdump site On 1/29/2012 5:39 AM, Lissa Valletta wrote: The mkresolvconf script was written to support the Service Node move function we now support in hiearchical clusters. It was not written for basic setup during install. There was a big change for Name resolutions from 2.3 to 2.6. We no longer use bind but have replaced it with ddns. Could you check you setup based on this documentation:http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Cluster_Name_Resolution IF you note in the doc "The resolv.conf files for the compute nodes will be created automatically using the "domain" and "nameservers" values set in the site definition. " Need to check your site table attributes. Lissa K. Valletta 2-3/T12 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Russell Jones <[email protected]> To: xCAT Users Mailing list <[email protected]> Date: 01/27/2012 05:42 PM Subject: [xcat-user] Diskfull nodes and resolv.conf Hi all, I am comparing the autoinst files generated between xcat 2.3 and 2.6, and it appears that at one point (xcat 2.3) the /etc/resolv.conf was filled in via the "/opt/xcat/sbin/makenamed.conf" file. Looking at the autoinst files in 2.6, while this file exists the autoinst files being generated do not contain any entries for placing data in /etc/resolv.conf. As a result, if I use the "hardeths" script the node has no DNS information configured. I did however see that there is now a postscript named "mkresolvconf" that seems to take care of this. Is this the preferred method now of configuring a static IP and DNS information on a node (hardeths + mkresolvconf)? Thanks! ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user |
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
