Changes between Version 80 and Version 81 of Download/SCDB


Ignore:
Timestamp:
Mar 11, 2009, 7:48:48 PM (17 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Download/SCDB

    v80 v81  
    315315   options).  This will download SCDB, QWG, and compile the example to
    316316   ensure that everything works.  To populate the `cdb` subdirectory for example,
    317    with SCDB and QWG templates gLite-3.0.2-10 do:
    318 {{{
    319 check-compile.sh -d cdb /templates/tags/gLite-3.0.2-10
     317   with SCDB and last version from gLite 3.1 branch do:
     318{{{
     319check-compile.sh -d cdb glite-3.1
    320320}}}
    321321   The equivalent can be done manually.  See the following link for SCDB and QWG:
     
    363363want to customize it later, you are probably better to start with a
    364364configuration similar to what is provided in `repository` directory of
    365 `sites/example` directory. You can retrieve an initial directory
    366 content for each RPM repository by downloading the contents of the URL
    367 specified in comments at the beginning of each repository templates.
     365`sites/example` directory.
     366
     367You can retrieve an initial directory content for each RPM repository by downloading the contents of the URL
     368specified in comments at the beginning of each repository templates. A convenient way to do it is:
     369{{{
     370src/utils/misc/rpmUpdates /your/dir/ectory URL_found_in_template_header > /dev/null
     371}}}
     372
     373''Note: this command produce a rather verbose output, just ignore it.''
     374
     375You have to do it for the following repository templates:
     376 * OS: to start, you need only to download the OS version you plan to use. ''Note: there are several repositories per OS versions, be sure to download all of them.''
     377 * gLite: to start download all the repositories related to the version you are planning to use, ignore others.
     378 * All the repositories not related to an OS or gLite version
     379
     380You are probably better to remove any template you think you will not use (you can always revert your change in case of mistakes).
    368381
    369382=== Basic System Configuration ===
    370383
    371384Basic system configuration (network parameters, DNS servers, ...) are
    372 grouped in template `pro_site_cluster_info.tpl` in `site` directory of
     385grouped in template `pro_site_config.tpl` and `pro_site_global_variables.tpl` in `site` directory of
    373386your site. Look at comments to understand what you need to modify.
    374387
     
    379392comments to understand what you need to modify.
    380393
     394''Note: do not be afraid of putting wrong values in your gLite parameters, this can easily be refined later. As a general rule, keep the example values when you don't understand how to change them.''
     395
    381396
    382397== Cluster Configuration ==
    383398
    384399After creating your site, you need to create your first cluster. You
    385 can do this by copying `clusters/example` directory and customizing a
     400can do this by copying `clusters/example-3.1` directory, removing all profiles from `clusters/example-3.1/profiles` and customizing a
    386401few templates.
    387402
     
    389404
    390405You need to create a template describing the hardware configuration of
    391 your machines. This is generally placed in `hardware`sub-directory of
    392 site directory. Look at examples.
     406your machines. This is generally placed in `hardware` sub-directory of
     407site directory. Look at examples, copy one with a configuration close to yours as a starting point. The name of the hardware template is at your convenience and will be associated with a host name later.
     408
     409''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.''
    393410
    394411=== Adding Machine to pro_site_database.tpl ===
    395412
    396413Before being able to configure the machine, you need to create an
    397 entry for the machine name in both tables of
    398 `pro_site_database.tpl`. First entry defines the address associated
    399 with the machine name, second entry defines the hardware template
    400 associated with the machne.
     414entry for the machine name in both variables of
     415`pro_site_database.tpl`. First variable defines the address associated
     416with the machine name, second variable defines the hardware template
     417associated with the machine.
     418
     419In both variable, the key is the escaped host name. The value is an IP address in the first case, the name of the template (relative to your site name in `sites` directory) you created in the previous step for the second variable.
    401420
    402421=== Creating Machine Profile ===
     
    404423Copy an existing profile in examples corresponding to the machine type
    405424you want to create.
     425
     426''Note: as a first node, it is recommended to configure a site BDII as this is the most simple node. When successful with site BDII, the next ones are generally CE and one WN.''
    406427
    407428== Quattor Server Final configuration ==