|
From: Jarrod B J. <jbj...@us...> - 2012-10-10 14:15:05
|
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">rsetboot sets boot device. If the boot order of the target always netboot attempts first, then rsetboot doesn't matter. rsetboot is required if your boot sequence nominally jumps to the installed OS without trying to netboot.<div><br></div><div>Now the issue of endless install, that would be a failure of the OS to update the management server. May need log output to suggest why updateflag would be failing...<br><br><font color="#990099">-----"Pocina, Goran" <Gor...@DE...> wrote: -----</font><div style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: xCAT Users Mailing list <xca...@li...><br>From: "Pocina, Goran" <Gor...@DE...><br>Date: 10/10/2012 08:22AM<br>Subject: Re: [xcat-user] Unable to boot from HD after auto-discovery.<br><br>
<!--Notes ACF
<meta http-equiv="Content-Type" content="text/html; charset=utf8">-->
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">BTW I’m not completely clear on how “rpower”, “rsetboot”, “nodeset/rinstall” work together. Sometimes, before
using “rinstall”, I find it’s necessary to run “rsetboot net”, otherwise the node simply boots up into the old OS without attempting an install. However with KVM guest installs, this doesn’t seem to be needed. Also, sometimes it’s necessary to run “rsetboot
hd” following the install, otherwise the node will continuously re-install itself, other times it will simply boot up the new OS as expected.
<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">I suspect it has to do with the type of node, and with whether or not the install was completely successful, but
I don’t completely understand it.<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">Thanks,<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">Goran<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-US;font-weight:bold">From:</span></font></b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-US">
Pocina, Goran <br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, October 09, 2012 5:10 PM<br>
<b><span style="font-weight:bold">To:</span></b> xCAT Users Mailing list<br>
<b><span style="font-weight:bold">Subject:</span></b> RE: [xcat-user] Unable to boot from HD after auto-discovery.<o:p></o:p></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="3" color="black" face="SimSun"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">Thanks.<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">The node went into standby mode. Should I remove that as well from kcmdline?<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">I removed “quiet console…” from bootparams.kcmdline, and then ran “rsetboot labcm001 hd” and “rpower boot”, which
resulted in the following being generated:<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">[root@drdkvm0003 nodes]# cat /tftpboot/xcat/xnba/nodes/labcm0001<o:p></o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">#!gpxe<o:p></o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">#standby<o:p></o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">imgfetch -n kernel
<a href="http://$%7bnext-server%7d/tftpboot/xcat/genesis.kernel.x86_64">http://${next-server}/tftpboot/xcat/genesis.kernel.x86_64</a><o:p></o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">imgload kernel<o:p></o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">imgargs kernel console=tty0 xcatd=149.77.53.252:3001
<b><span style="font-weight:bold">destiny=standby</span></b> BOOTIF=01-${netX/machyp}<o:p></o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">imgfetch
<a href="http://$%7bnext-server%7d/tftpboot/xcat/genesis.fs.x86_64.lzma">http://${next-server}/tftpboot/xcat/genesis.fs.x86_64.lzma</a><o:p></o:p></font></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">imgexec kernel<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">It went into standby mode. The console show detailed kernel boot messages, followed by:<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">Received request to retry in a bit, will call xCAT back in NNN seconds.<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">[root@drdkvm0003 nodes]# nodels labcm0001 chain<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: chain.chain: runcmd=bmcsetup,standby<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: chain.node: labcm0001<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: chain.currstate: standby<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: chain.currchain: standby<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: chain.ondiscover:
<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: chain.comments:
<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: chain.disable:<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">[root@drdkvm0003 nodes]# nodels labcm0001 bootparams<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.kcmdline: console=tty0 xcatd=149.77.53.252:3001
<b><span style="font-weight:bold">destiny=standby</span></b><o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.kernel: xcat/genesis.kernel.x86_64<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.initrd: xcat/genesis.fs.x86_64.lzma<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.node: labcm0001<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.addkcmdline:
<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.comments:
<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.adddhcpstatements:
<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.disable:
<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">labcm0001: bootparams.dhcpstatements:<o:p></o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"><o:p> </o:p></font></span></font></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-US;font-weight:bold">From:</span></font></b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-US">
Sten Wolf [<a href="mailto:st...@ch...">mailto:st...@ch...</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, October 09, 2012 3:42 PM<br>
<b><span style="font-weight:bold">To:</span></b> xCAT Users Mailing list<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [xcat-user] Unable to boot from HD after auto-discovery.<o:p></o:p></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="3" color="black" face="SimSun"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" color="black" face="SimSun"><span style="font-size:12.0pt">That seems strange - why would you need to "nodeset boot" after "rsetboot hd" ? nodeset boot modifies tftpboot files, but rsetboot hd
should already bypass the entire pxe chain.<br>
As an interim troubleshooting step - try removing the string "</span></font><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">quiet console=ttyS1,115200</font></span></font>" then issue rpower
boot again to the node (do not "nodeset" or you will overwrite your modifications), this time with console attached directly to the node (or with ipmi console redirection, not serial redirection), to see what happens after initial image is loaded.<o:p></o:p></p>
<div>
<p class="MsoNormal"><font size="3" color="black" face="SimSun"><span style="font-size:12.0pt">On 09/10//2012 21:00, Pocina, Goran wrote:<o:p></o:p></span></font></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><font size="3" color="#1f497d" face="SimSun"><span style="font-size: 12pt; "><font color="#1f497d">Posted again after fixing text formatting:</font></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"> </font></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">xCAT 2.7.3 CentOS 6.2 local disk installs have been working for us on a node configured with noderes.netboot=xnba. </font></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">We can toggle back and forth between “net” and “hd” boots using the “rsetboot: command.</font></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">We recently tried auto-discovery, and since then haven’t been able to HD boot the node:</font></span></font><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><font size="3" color="black" face="Calibri"><span style="font-size:12.0pt;font-family:"Calibri","sans-serif""><span style="mso-list:Ignore">-<font size="1" face="Times New Roman"><span style="font:7.0pt "Times New Roman"">
</span></font></span></span></font><!--[endif]--><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">Discovery works, with a correct DHCP entry created based on the switch port.</font></span></font><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><font size="3" color="black" face="Calibri"><span style="font-size:12.0pt;font-family:"Calibri","sans-serif""><span style="mso-list:Ignore">-<font size="1" face="Times New Roman"><span style="font:7.0pt "Times New Roman"">
</span></font></span></span></font><!--[endif]--><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">Bmcsetup works, with correct IP address assigned to ipmi.</font></span></font><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><font size="3" color="black" face="Calibri"><span style="font-size:12.0pt;font-family:"Calibri","sans-serif""><span style="mso-list:Ignore">-<font size="1" face="Times New Roman"><span style="font:7.0pt "Times New Roman"">
</span></font></span></span></font><!--[endif]--><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">OS 6.2 install on local disk works appears to work.</font></span></font><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><font size="3" color="black" face="Calibri"><span style="font-size:12.0pt;font-family:"Calibri","sans-serif""><span style="mso-list:Ignore">-<font size="1" face="Times New Roman"><span style="font:7.0pt "Times New Roman"">
</span></font></span></span></font><!--[endif]--><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d">A boot attempt at this point displays the screen below:</font></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size: 11pt; font-family: Calibri, sans-serif; "><font color="#1f497d"> </font></span></font><o:p></o:p></p>
</blockquote>
</div>
<div><font face="Courier New,Courier,monospace" size="3">------------------------------------------------------------------------------<br>Don't let slow site performance ruin your business. Deploy New Relic APM<br>Deploy New Relic app performance management and know exactly<br>what is happening inside your Ruby, Python, PHP, Java, and .NET app<br>Try New Relic at no cost today and get our sweet Data Nerd shirt too!<br><a href="http://p.sf.net/sfu/newrelic-dev2dev">http://p.sf.net/sfu/newrelic-dev2dev</a></font></div><div><font face="Courier New,Courier,monospace" size="3">_______________________________________________<br>xCAT-user mailing list<br>xCA...@li...<br><a href="https://lists.sourceforge.net/lists/listinfo/xcat-user">https://lists.sourceforge.net/lists/listinfo/xcat-user</a><br></font></div></div></div></div><div></div></font>
|