1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
Tool available since CMSSW21X.
In a CMSSW scram area:
cmscond_bootstrap_detector -P ~/conddb -D STRIP -f ./dbconfiguration-orcon.xml -b $CMSSW_BASE
Example db config file:
cvs head CondTools/OracleDBA/dbconfig/dbconfiguration-orcon.xml
cmscond_bootstrap_detector -h
usage: cmscond_bootstrap_detector [options]
options:
-h, --help show this help message and exit
-f DBCONFIG, --dbconfig=DBCONFIG
( DB configuration file with absolute path required )
-P AUTHPATH, --authPath=AUTHPATH
path to authentication.xml(default .)
-c CONNECT, --connect=CONNECT
DB to set up (overwrites default value in dbconfig.)
-a, --all Set up all schemas in DB configuration file(default)
-D DETECTOR, --Detector=DETECTOR
Set up only schema identified with given Detector
entry in the DBConfiguration file
-b BASEDIR, --basedir=BASEDIR
basedir for mappingdir. Default to $CMSSW_RELEASE_BASE
--fake Don't actually do anything, only print commands
-v, --verbose verbose mode
|