ObsoleteInstructions3
Client : 3.0.1 Server : 3.0.1a Depend on WMCore : 0.7.12
ssh -X jmmaes@lxplus.cern.ch ssh crab@vocms104 cd /data/wmagent/CRAB3_server
svn co svn+ssh://jmmaes@svn.cern.ch/reps/CMSDMWM/Infrastructure/tags/WMCORE_0_7_X/Deployment #according to https://svnweb.cern.ch/trac/CMSDMWM/wiki/WMDeployment
vi Deployment/wmagent/deploy # set AGENT_VERSION="0.7.12" vi Deployment/crabserver/deploy # set SERVER_VERSION="3.0.1a"
cd Deployment/ ./Deploy -s prep -t v3.0.1a_0.7.12 $PWD/.. crabserver ./Deploy -s sw -t v3.0.1a_0.7.12 $PWD/.. crabserver ./Deploy -s post -t v3.0.1a_0.7.12 $PWD/.. crabserver
cd .. ./setenv.sh cd current
./config/crabserver/manage activate-crabserver ./config/crabserver/manage start-services # check if file is there ls /data/wmagent/CRAB3_server/v300/install/mysql/logs/mysql.sock ./config/crabserver/manage init-crabserver
cp config/crabserver/config.py config/crabserver/config.py.orig config.CRABInterface.configCacheCouchURL = 'http://joriswmagent:***@vocms104.cern.ch:5984' config.CRABInterface.views.active.crab.model.couchUrl = 'http://joriswmagent:***@vocms104.cern.ch:5984' config.CRABInterface.admin = 'joris.maes@cern.ch' config.CRABInterface.views.active.crab.jsmCacheCouchURL = 'http://joriswmagent:***@vocms104.cern.ch:5984' config.CRABInterface.views.active.crab.model.workloadCouchDB = 'reqmgrdb' config.CRABInterface.views.active.crab.jsmCacheCouchDB = 'wmagent_jobdump' config.CRABInterface.agentDN = '/DC=ch/DC=cern/OU=computers/CN=vocms104.cern.ch' config.UserFileCache.views.active.userfilecache.serviceURL = 'http://vocms104.cern.ch:7725/userfilecache/userfilecache' cp config/workqueue/config.py config/workqueue/config.py.orig config.Agent.teamName = 'Analysis' config.Agent.contact = 'joris.maes@cern.ch' config.WorkQueueManager.reqMgrConfig = {'endpoint': 'http://vocms104.cern.ch:8687/reqmgr/reqMgr/', 'teamName': 'Analysis'} config.WorkQueueService.admin = 'joris.maes@cern.ch cp config/reqmgr/config.py config/reqmgr/config.py.orig config.Agent.teamName = 'Analysis' cp config/wmagent/config.py config/wmagent/config.py.orig config.Agent.teamName = 'team1,team2,cmsdataops,Analysis' config.WorkQueueManager.queueParams = {'QueueURL': 'http://vocms104.cern.ch:9997/workqueueservice/workqueue', 'FullReportInterval': 300, 'Teams': 'team1,team2,cmsdataops,Analysis', 'CacheDir': '/data/wmagent/CRAB3_server/v300/install/wmagent/WorkQueueManager/wf', 'PopulateFilesets': True, 'ParentQueue': 'http://vocm104.cern.ch:9996/workqueueservice/workqueue'} config.WorkQueueService.views.active.workqueue.queueParams = {'QueueURL': 'http://vocms104.cern.ch:9997/workqueueservice/workqueue', 'FullReportInterval': 300, 'Teams': 'team1,team2,cmsdataops,Analysis', 'CacheDir': '/data/wmagent/CRAB3_server/v300/install/wmagent/WorkQueueManager/wf', 'PopulateFilesets': True, 'ParentQueue': 'http://vocm104.cern.ch:9996/workqueueservice/workqueue'} config.Agent.agentName = 'integration'
vi config/wmagent/config.py config.BossAir.pluginNames = ['gLitePlugin'] config.BossAir.gLiteProcesses = 4 config.BossAir.gliteConf = '/data/wmagent/CRAB3_server/control/glite_wms_CERN.conf' config.BossAir.UISetupScript = '/afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.sh' config.BossAir.credentialDir = '/data/wmagent/CRAB3_server/credentials/' config.Agent.serverDN = '/DC=ch/DC=cern/OU=computers/CN=vocms104.cern.ch'
./config/crabserver/manage start-services ./config/crabserver/manage start-crabserver