Yes, you are right. We need to fix it that get the xCAT server IP from the XCAT kernel parameter first.
Thanks Best Regards ---------------------------------------------------------------------- Wang Xiaopeng (王晓朋) IBM China System Technology Laboratory Tel: 86-10-82453455 Email: [email protected] Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193 From: Andrew Klaassen <[email protected]> To: xCAT Users Mailing list <[email protected]>, Date: 2013/01/22 06:31 Subject: Re: [xcat-user] wget from wrong server during netboot Found the culprit, hacked around it. xcatdsklspost uses the DHCP server if it can't find an xcatinfo file and the various $SIP variables aren't set. Here's my fix: --- /install/postscripts/xcatdsklspost.orig 2013-01-21 17:18:35.283378778 -0500 +++ /install/postscripts/xcatdsklspost 2013-01-21 17:20:53.092392012 -0500 @@ -141,6 +141,17 @@ fi fi + if [ $downloaded -eq 0 ]; then + SIP=`sed -e 's|.*XCAT=\([0-9.]\+\).*|\1|g' /proc/cmdline` + if [ -n "$SIP" ]; then + download_postscripts $SIP + if [ $? -eq 0 ]; then + downloaded=1 + fi + fi + fi + + #try the -m if it is specified, -m is passed in the updatenode command if [ $downloaded -eq 0 ]; then if [ "XX$P_SIP" != "XX" ]; then Andrew --- On Mon, 1/21/13, Andrew Klaassen <[email protected]> wrote: > I'm trying a netboot install for the > first time, after having a working xCAT installation for > quite some time. > > We use a central DNS and DHCP server on another subnet, at > 10.101.1.11. > > The master xCAT server is at 10.101.4.3. > > The netboot progresses to the point where it's running the > following command, at which point it hangs, since our > DNS/DHCP server isn't running ftp: > > wget -l inf -nH -N -r --waitretry=10 --random-wait -T 60 ftp://10.101.1.11/postscripts -P /xcatpost > --cut-dirs=1 > > I've grep'd everything I could think of to figure out where > it's getting 10.101.1.11 (the DNS/DHCP server address) from > for that wget command. > > /install/autoinst/nodename doesn't mention it. > > lsdef nodename doesn't mention it. > > /install/netboot/fedora13/x86_64/compute/rootimg doesn't > mention it. > > The only mention of it in a dump of all tables is in > site.nameservers, which is exactly where I want it. > > Why is wget trying to contact the DNS/DHCP server instead of > the master server during netboot? Any other places I > need to look to set this config correctly? > > Thanks. > > Andrew > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, > HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your > skills current > with LearnDevNow - 3,200 step-by-step video tutorials by > Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more > at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
