Predict running workflows' actions. Currently running at vocms0116.
Project under CMS CompOps T&I
After environments set up and necessary configuration pieces added, set up a crontab task to run periodically main.py.
To start the frontend instance,
cd web/
./quickStart.sh # this starts Flask basic server on port 8020 (subject to change)A few more configuration files are needed to get it rolling.
config/config.ymlfor connections to UNIFIED DB, MySQL DB and alert email sending.oracle: - *** # username- *** # password- *** # db namemysql: - *** # username- *** # password- *** # db namealert_recipients: - XXX@YYYY.ZZ
config/credential.ymlforstompAMQto produce docs and authentication.producer: toolsandint-workflows-collectortopic: /topic/cms.toolsandint.workflowsinfocert: PATH_TO_CERT_FILE (***.pem)key: PATH_TO_KEY_FILE (***.rsa)jiracookie: PATH_TO_COOKIE_FILEhostport: host: XXXX.cern.chport: XXXXX
models/xgb_optimized.modelfor running workflow inference.OSDroidDBis the local MySQL database storing workflow prediction history, labels and short-term document archive. Three tables need to be created for each.PredictionHistory
CREATETABLEIF NOT EXISTS OSDroidDB.PredictionHistory ( hid BIGINTNOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255) NOT NULL, good FLOAT, acdc FLOAT, resubmit FLOAT, timestampTIMESTAMP );
LabelArchive
CREATETABLEIF NOT EXISTS OSDroidDB.LabelArchive ( name VARCHAR(255) NOT NULLPRIMARY KEY, label INT );
DocsOneMonthArchive
CREATETABLEIF NOT EXISTS OSDroidDB.DocsOneMonthArchive ( id INTNOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255) NOT NULL, document LONGTEXT, timestampTIMESTAMP DEFAULT CURRENT_TIMESTAMP );
- UNIFIED DB
- wmstats server
- couchdb/acdc server
- ReqMgr2
stompAMQ(wrapped inCMSMonitoring) -> HDFS /CERN MONIT infrastructure
