<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Are you looking at the man page on the SchedMD website, or on
your computer? If you're looking at the website, those pages are
for the latest version and may not match what you have installed,
so this could be a feature in a later version tha 18.08. <br>
</p>
<p>--<br>
Prentice<br>
</p>
<div class="moz-cite-prefix">On 8/7/20 11:43 AM, Hanby, Mike wrote:<br>
</div>
<blockquote type="cite"
cite="mid:31837459-CDE5-4AD1-9720-E13F92B16B01@uab.edu">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Howdy,
(Slurm 18.08)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">We have a
bunch of node that we've updated to "scontrol reboot ASAP".<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">We'd like to
cancel a few of those. From the man page, it's suggested
that either of the following should work, however both
report the same error " slurm_update error: Invalid node
state specified":<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">scontrol
cancel_reboot c01<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">or<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">scontrol
Update NodeName=c01 State=CANCEL_REBOOT<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Here's the
'scontrol show node c01' info for reference:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">NodeName=c01
Arch=x86_64 CoresPerSocket=12<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
CPUAlloc=7 CPUTot=24 CPULoad=7.04<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
AvailableFeatures=(null)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
ActiveFeatures=(null)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
Gres=(null)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
NodeAddr=c0115 NodeHostName=c01 Version=18.08<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> OS=Linux
3.10.0-1062.9.1.el7.x86_64 #1 SMP Mon Dec 2 08:31:54 EST
2019<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
RealMemory=191877 AllocMem=6536 FreeMem=176717 Sockets=2
Boards=1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
State=MIXED+DRAIN ThreadsPerCore=1 TmpDisk=887366 Weight=1
Owner=N/A MCS_label=N/A<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
Partitions=interactive,short,long,medium,express<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
BootTime=2020-07-08T23:16:27
SlurmdStartTime=2020-07-08T23:32:05<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
CfgTRES=cpu=24,mem=191877M,billing=24<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
AllocTRES=cpu=7,mem=6536M<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
CapWatts=n/a<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
CurrentWatts=0 LowestJoules=0 ConsumedJoules=0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">
Reason=Reboot ASAP [root@2020-08-06T10:29:22]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Any thoughts
as to how to cancel the reboot?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">---------------- </span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">Mike Hanby</span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">mhanby @ uab.edu</span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">Systems Analyst III - Enterprise</span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">IT Research Computing Services</span><span
style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">The University of Alabama at
Birmingham</span><o:p></o:p></p>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Prentice Bisbal
Lead Software Engineer
Research Computing
Princeton Plasma Physics Laboratory
<a class="moz-txt-link-freetext" href="http://www.pppl.gov">http://www.pppl.gov</a></pre>
</body>
</html>