Changes between Version 31 and Version 32 of Doc/TemplateCustom


Ignore:
Timestamp:
Jul 4, 2007, 11:40:55 AM (17 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/TemplateCustom

    v31 v32  
    8484A cluster is associated with one or several sites by the cluster specific file [source:templates/trunk/clusters/example/cluster.build.properties cluster.build.properties]. If associated with several sites, the first one takes precedence over the following one if a template exists in several sites. This ability to associate a cluster with several ''sites'' is a key SCDB feature that can be used for several use cases.
    8585
     86Below is the description for several common use cases. They are presented as distinct use cases for clarity but nothing prevents mixing them.
     87
    8688=== Managing several geographical sites from one SCDB ===
    8789
     
    9294In `cluster.build.properties`, you include `mysite` before `gridsite`, with something like :
    9395{{{
    94 cluster.pan.includes=mycity mycity/**/* gridsite gridsite/**/*
     96cluster.pan.includes=sites/mycity sites/mycity/**/* sites/gridsite sites/gridsite/**/* ...
    9597}}}
    9698
     
    99101If you want to add a cluster at another geographical location (e.g. `mycity2` belonging to the same grid site, you will just need to adapt this cluster `cluster.build.properties` with something like :
    100102{{{
    101 cluster.pan.includes=mycity2 mycity2/**/* gridsite gridsite/**/*
     103cluster.pan.includes=sites/mycity2 sites/mycity2/**/* sites/gridsite sites/gridsite/**/* ...
    102104}}}
    103105
     
    106108In `cluster.build.properties`, you include `mysite` before `gridsite`, with something like :
    107109{{{
    108 cluster.pan.includes=mycity mycity/**/*
     110cluster.pan.includes=sites/mycity sites/mycity/**/* ...
    109111}}}
    110112
     113''Note : `sites/` in examples must be replaced by whatever you choosed, if you decided to use another name.''
     114
     115
    111116=== Supporting production and test clusters ===
     117
     118This use case is about a site running production systems and test grid systems. They share most of there grid parameters but some of them are differents. This is easily achieved by defining 3 SCDB ''sites'' (in this example, grid site is called `gridsite`) :
     119 * `gridsite-prod` : parameters specific to grid production systems
     120 * `gridsite-test` : parameters specific to grid test systems
     121 * `gridsite` : parameters common to all grid systems at the site
     122
     123In production cluster `cluster.build.properties`, include path will be defined as :
     124{{{
     125cluster.pan.includes=sites/gridsite-prod sites/gridsite-prod/**/* sites/gridsite sites/gridsite/**/* ...
     126}}}
     127
     128In test cluster `cluster.build.properties`, include path will be defined as :
     129{{{
     130cluster.pan.includes=sites/gridsite-test sites/gridsite-test/**/* sites/gridsite sites/gridsite/**/* ...
     131}}}
     132
     133
     134''Note : `sites/` in examples must be replaced by whatever you choosed, if you decided to use another name.''
    112135
    113136== Hardware Templates ==