[Mauiusers] Dual-boot labs and standing reservations

Dave Jackson jacksond at clusterresources.com
Fri Jan 20 13:20:06 MST 2006


Mike,

  I think what you want is to set the standing reservation 'DEPTH'
attribute.  By default, Maui only creates a reservation for the current
day and the subsequent one.  If there are no reservations slated for
those periods, then no reservations will be created.  By setting DEPTH
to 7, Maui/Moab will create reservations further out in the future.

  See

http://clusterresources.com/moabdocs/7.1.5managingreservations.shtml#DEPTH

Dave

On Fri, 2006-01-20 at 13:27 -0600, Mike Renfro wrote:
> I'm in the middle of setting up Torque and Maui for some CFD work, and
> need either some clarification or other advice on use of standing
> reservations. We currently have two rooms with 14 systems each that
> are normally used as Windows labs, but automatically reboot into Linux
> outside of lab hours (roughly 01:00-07:00 Monday through Friday, and
> 18:00 Friday through 13:00 Sunday).
> 
> Are standing reservations the best way to keep from queueing jobs to
> those systems that aren't expected to finish during our windows of
> availability? If so, is 'diagnose -r' supposed to show more than the
> currently active standing reservation? From the documentation I had
> read, I thought it was going to show today's reservation, and also the
> ones for Sunday and other days. Or do I have something wrong in my
> configuration or understanding?
> 
> Also, as a robustness issue, will these reservations fail when one of
> the dual-boot systems is out of commission, since I'm asking for 27
> CPUs out of a group of 27?
> 
> diagnose -r output
> ==================
> 
> Diagnosing Reservations
> ResID                      Type Par   StartTime     EndTime     Duration Node Task Proc
> -----                      ---- ---   ---------     -------     -------- ---- ---- ----
> labhours_fri.0.0           User DEF    00:00:00     5:20:21      5:20:21   27   27   27
>     Flags: STANDINGRES DEDICATEDRESOURCE
>     ACL: RES==labhours_fri.0=
>     CL:  RES==labhours_fri.0
>     Task Resources: PROCS: 1
>     Attributes (HostList='ch405b ch405c ch405d ch405e ch405f ch405g ch405h ch405i ch405j ch405k ch405l ch405m ch405n ch409a ch409b ch409c ch409d ch409e ch409f ch409g ch409h ch409i ch409j ch409k ch409l ch409m ch409n')
>     Active PH: 0.00/0.01 (0.00%)
>     SRAttributes (TaskCount: 27  StartTime: 7:20:00  EndTime: 18:30:00  Days: Fri)
> 
> Active Reserved Processors: 0
> 
> SRCFG section of maui.cfg
> =========================
> 
> SRCFG[labhours_montuewedthu] ACCESS=DEDICATED
> SRCFG[labhours_montuewedthu] DAYS=Mon,Tue,Wed,Thu
> SRCFG[labhours_montuewedthu] STARTTIME=7:20:00
> SRCFG[labhours_montuewedthu] ENDTIME=00:00:00
> SRCFG[labhours_montuewedthu] TASKCOUNT=27
> SRCFG[labhours_montuewedthu] RESOURCES=PROCS:1
> SRCFG[labhours_montuewedthu] HOSTLIST=ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n
> 
> SRCFG[labhours_tuewedthufri] ACCESS=DEDICATED
> SRCFG[labhours_tuewedthufri] DAYS=Tue,Wed,Thu,Fri
> SRCFG[labhours_tuewedthufri] STARTTIME=00:00:00
> SRCFG[labhours_tuewedthufri] ENDTIME=1:00:00
> SRCFG[labhours_tuewedthufri] TASKCOUNT=27
> SRCFG[labhours_tuewedthufri] RESOURCES=PROCS:1
> SRCFG[labhours_tuewedthufri] HOSTLIST=ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n
> 
> SRCFG[labhours_fri] ACCESS=DEDICATED
> SRCFG[labhours_fri] DAYS=Fri
> SRCFG[labhours_fri] STARTTIME=7:20:00
> SRCFG[labhours_fri] ENDTIME=18:30:00
> SRCFG[labhours_fri] RESOURCES=PROCS:1
> SRCFG[labhours_fri] TASKCOUNT=27
> SRCFG[labhours_fri] HOSTLIST=ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n
> 
> SRCFG[labhours_sun] ACCESS=DEDICATED
> SRCFG[labhours_sun] DAYS=Sun
> SRCFG[labhours_sun] STARTTIME=12:20:00
> SRCFG[labhours_sun] ENDTIME=00:00:00
> SRCFG[labhours_sun] RESOURCES=PROCS:1
> SRCFG[labhours_sun] TASKCOUNT=27
> SRCFG[labhours_sun] HOSTLIST=ch405b,ch405c,ch405d,ch405e,ch405f,ch405g,ch405h,ch405i,ch405j,ch405k,ch405l,ch405m,ch405n,ch409a,ch409b,ch409c,ch409d,ch409e,ch409f,ch409g,ch409h,ch409i,ch409j,ch409k,ch409l,ch409m,ch409n
> 



More information about the mauiusers mailing list