Changes between Version 88 and Version 89 of Download/SCDB


Ignore:
Timestamp:
Nov 7, 2009, 6:18:31 PM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Download/SCDB

    v88 v89  
    190190 * `branches` : for alternative developments
    191191
    192 For example:
    193 
    194 {{{
    195 mkdir toto
    196 cd toto
    197 mkdir scdb
    198 mkdir scdb/trunk
    199 mkdir scdb/tags
    200 mkdir scdb/branches
    201 svn import scdb https://svn.server.tld/svn/quattor --message 'Initial repository layout'
     192One of the possible methods to create it with an empty Quattor repository (or repository branch) is (assuming your repository is dedicated to SCDB and its URL is http://svn.example.org/Quattor):
     193
     194{{{
     195mkdir /tmp/scdb
     196cd /tmp/scdb
     197mkdir trunk
     198mkdir tags
     199mkdir branches
     200svn import . http://svn.example.org/Quattor --message 'Initial repository layout'
    202201}}}
    203202
     
    298297product. The http based repository access '''must''' be used for
    299298quattor, the standalone access won't work (limitation of the build
    300 script).
    301 
    302 After you have a Subversion server installed, you need to :
    303 
    304  * Create a Subversion repository that will be used for SCDB (if it
    305    doesn't already exist) and associate this repository with a URL (this
    306    can involve modifying Apache configuration). There is no need to
    307    use a dedicated repository. For example:
    308    `http://svn.example.org/Quattor`.
    309  * If the repository is not dedicated to SCDB, create a branch in this repository where SCDB will be stored,
    310     For example:
    311    `http://svn.example.org/Quattor/CDB`.
    312  * In this branch, create 2 branches `trunk` and `tags` (`tags` is
    313    managed by SCDB tools, all the actions you'll do later will be done
    314    in `trunk`. You can also create other branches for your
    315    conveniences (like `branches` but they are not used by standard
    316    tools).
    317  * Populate your repository with the version of SCDB and QWG templates
    318    you want to use.  The easiest is to download
    319    and use [source:templates/trunk/tools/check-compile.sh?format=txt check-compile.sh]
    320    (use option `-h` to get the list of available
    321    options).  This will download SCDB, QWG, and compile the example to
    322    ensure that everything works.  To populate the `cdb` subdirectory for example,
    323    with SCDB and last version from gLite 3.1 branch do:
    324 {{{
    325 check-compile.sh -d cdb glite-3.1
    326 }}}
    327    The equivalent can be done manually.  See the following link for SCDB and QWG:
    328    [source:SCDB/tags/pro SCDB base] and [wiki:Download/QWGTemplates QWG download].
     299script).
     300
     301You must have created a repository for Quattor and initialized its structure as explained in section [].
     302
     303To create your initial SCDB with the standard templates and the associated examples, follow the following steps:
     304 * Populate your repository with the version of SCDB and QWG templates you want to use.  The easiest is to download and use [source:templates/trunk/tools/check-compile.sh?format=txt check-compile.sh] (use option `-h` to get the list of available options).  This will download SCDB, QWG, and compile the example to  ensure that everything works.  To populate the `cdb` subdirectory for example, with SCDB and last version from gLite 3.1 branch do:
     305{{{
     306check-compile.sh -d scdb glite-3.1
     307}}}
    329308 * Change current directory to the working area, for example :
    330309{{{
    331 cd cdb
     310cd scdb
    332311}}}
    333312 * Checkout SCDB trunk (empty) in your SCDB working directory :
     
    423402''Note: recommendation is to have name of templates describing HW boxes derived from box location rather than its current host name as the same HW may be affected to another host later.''
    424403
    425 === Adding Machine to pro_site_database.tpl ===
     404=== Adding Machine to site/database.tpl ===
    426405
    427406Before being able to configure the machine, you need to create an
    428407entry for the machine name in both variables of
    429 `pro_site_database.tpl`. First variable defines the address associated
     408[source:QWG/trunk/sites/example/site/databases.tpl databases.tpl]. First variable defines the address associated
    430409with the machine name, second variable defines the hardware template
    431410associated with the machine.