Resource Management and Accounting Notebook - page 41 of 150

EditDeleteAnnotateNotarize
First PagePrevious PageNext PageLast PageTable of ContentsSearch

Date and Author(s)

Current Queue manager XML

The XML requests and responses were discussed during the April 2nd conference call and I have had a request to post them here. They are of course preliminary and will likely have been modified by the time you read this!

 
 <QMRequests> 
      <Submit-Job> 
        <username>xdp</username > 
        <UID>1234</UID> 
        <GID>1234</GID> 
        <command>myprogram</command> 
        <path>/usr/home/scl/xdp/</path> 
        <CWD>/usr/home/scl/xdp</CWD> 
        <nodeNum>4</nodeNum> 
        <requestedTime>100</requestedTime> 
      </Submit-Job> 
 </QMRequests> 
 
 <QMResponses> 
    <Submit-Job> 
       <status>true</status> 
       <code>0</code> 
       <message>Job Accepted</message> 
       <JobID>1023</JobID> 
    </Submit-Job> 
 </QMResponses> 
 
<QMRequests> 
  <Run-Job> 
    <jobid>89</jobid> 
    <hostid>host1</hostid> 
    <hostid>host2</hostid> 
    <hostid>host3</hostid> 
  </Run-Job> 
 </QMRequests> 
 
 <QMResponses> 
    <Run-Job> 
       <status>true</status> 
       <code>0</code> 
       <message>Job started</message> 
    </Run-Job> 
 </QMResponses> 
 
<QMRequests> 
  <Query-Job> 
    <jobid>0</jobid> 
    <Requested-Field>username</Requested-Field> 
    <Requested-Field>nodeNum</Requested-Field> 
    <Requested-Field> requestedTime </Requested-Field> 
    <Requested-Field> timeUsed </Requested-Field> 
  </Query-Job> 
 </QMRequests> 
 
 <QMResponses> 
    <Query-Job> 
       <status>true</status> 
       <code>0</code> 
       <message>2 jobs found</message> 
       <jobCount>2</JobCount> 
       <Job> 
         <JobID>89</JobID> 
         <username>tom</username> 
         <nodeNum>4</nodeNum> 
         <requestedTime>800</requestedTime> 
         <timeUsed>674</timeUsed> 
       </Job> 
       <Job> 
         <JobID>91</JobID> 
         <username>dick</username> 
         <nodeNum>16</nodeNum> 
         <requestedTime>9000</requestedTime> 
         <timeUsed>0</timeUsed> 
       </Job> 
    </Query-Job> 
 </QMResponses>