Line Code
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
O2O Procedure

1.  Inspect the following:

General environment setup:  See general-runtime.sh
General DB setup:  See general-db-setup.sh <-- CONTAINS PASSWORDS
Subdetector DB Setup:  See <Subdetector>-db-setup.sh <-- CONTAINS PASSWORDS
Subdetector Object Setup:  See <ObjectName>-object-setup.sh



2.  Setting up the GENERAL schema

> bootstrap-general.sh

This is done once only on a clean GENERAL schema.



3.  Setting up a subdetector's schema

> bootstrap-subdetector.sh <subdetector>

Where:
<subdetector> is ECAL, DT, CSC, etc.

This is done once only on a clean subdetector schema.



4.  Setting up a POOL-ORA object

> bootstrap-object.sh <subdetector> <object>

Where:
<subdetector> is ECAL, DT, CSC, etc.
<object> is the name of the POOL-ORA object

This is done once only after (3) has been done.



5.  Executing O2O

> do-o2o.sh <subdetector> <object> <doAppend?>

Where:
<subdetector> is ECAL, DT, CSC, etc.
<object> is the name of the POOL-ORA object
<doAppend?> is 1 for IOV append mode, 0 for not

This is done when new data is available online and only after (2,3,4) have been done.