[Moabusers] Reservation blocking jobs that request a specific feature?

Douglas Wightman wightman at clusterresources.com
Wed Sep 19 10:01:17 MDT 2007


Is the feature named "-foo"?

The -f is the correct option to use, but the "-" in front may be causing
problems.  The easiest way to check is "showres -n" to verify that only
nodes with that feature are in the reservation.

- Douglas

On Wed, 2007-09-19 at 11:37 -0400, Troy Baer wrote:
> Hello all,
> 
> I need to set a reservation on several of our systems to block jobs that
> request a certain feature from running while the reservation is in
> effect, because the services supporting that feature will be down.
> However, I've tried doing (what looked to me like) the right thing to
> do, and I'm not sure if it's really going to do what I need.
> 
> What I've done:
> -----
> # "foo" is the feature to block
> $ mrsvctl -c -n foo-downtime -h ALL -f -foo -s starttime
> NOTE:  reservation foo-downtime.1050 created
> 
> $ mrsvctl -q foo-downtime.1050
> Diagnosing Reservations
> RsvID                      Type Par   StartTime     EndTime     Duration Node Task Proc
> -----                      ---- ---   ---------     -------     -------- ---- ---- ----
> foo-downtime.1050          User ALL   *********    INFINITY     INFINITY  257  257  580
>     Flags: ISCLOSED,ISGLOBAL
>     ACL:   RSV==foo-downtime.1050= 
>     CL:    RSV==foo-downtime.1050 
>     Accounting Creds:  User:troy
>     Task Resources: PROCS: [ALL]
>     Attributes (HostExp='ALL')
> -----
> 
> I don't see anything about the "foo" attribute in this...  Should I be
> worried about that?
> 
> If this is not the way to accomplish this, what is the right way?
> 
> Thanks,
> 	--Troy



More information about the moabusers mailing list