1 / 9

Request Manager

Request Manager. R. Wilkinson & the DMWM team. REST Interface. Communication done via HTTP GET, PUT, POST, & DELETE See https://twiki.cern.ch/twiki/bin/view/CMS/ReqMgrSystemDesign. Command Line Request Submission. User makes a small “RequestSchema” file requestSchema = {}

ciara
Download Presentation

Request Manager

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Request Manager R. Wilkinson & the DMWM team

  2. REST Interface • Communication done via HTTP GET, PUT, POST, & DELETE • See https://twiki.cern.ch/twiki/bin/view/CMS/ReqMgrSystemDesign

  3. Command Line Request Submission • User makes a small “RequestSchema” file requestSchema = {} requestSchema['ConfigFile'] = ‘my_cfg.py' requestSchema["Group"] = "Offline" requestSchema["InputDatasets"] = [] requestSchema["PileupDatasets"] = [] requestSchema["RequestType"] = 'CmsGen' requestSchema["RequestSizeEvents"] = 1000 • “submitRequest” script accepts the RequestSchema • Uploads three documents to CouchDB: • Original configuration • Fully expanded configuration • PSetTweaks which can be used to modify configs outside of the CMSSW environment • Calculates PSet hashes • Sends the RequestSchema to the ReqMgr, via a REST “PUT”. reqMgrHost = 'cmssrv49.fnal.gov:8585' jsonSender = JSONRequests(reqMgrHost) response = jsonSender.put('/reqMgr/request/'+requestSchema['RequestName'], requestSchema) • When the ReqMgr receives a Request, it: • Builds a new Workload • Saves the Request in the RequestDB

  4. Web Request Submission

  5. Web cmsDriver Interface May be useful on its own

  6. Browsing and Assignment

  7. Requests

  8. Interaction with WorkQueues • Communication done using REST URIs • WorkQueue GETs requests assigned to its Team • Response is JSON-encoded list of Requests • WorkQueue downloads the Request Workloads • WorkQueue POSTs to acquire a request • ReqMgr updates the database • WorkQueue POSTs updates & final status

  9. To Do • Authentication • Site whitelists & blacklists • Run & lumi block whitelists & blacklists • Document installation procedures • Deploy on Oracle at CERN

More Related