Changes between Version 1 and Version 2 of Doc/SCDB/Design


Ignore:
Timestamp:
Jul 27, 2006, 12:13:59 PM (18 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/SCDB/Design

    v1 v2  
    66SCDB stands for Subversion Configuration Database. '''It is a complete and entirely compatible replacement for the original CVS based CDB'''. There is no change involved in any other Quattor component.
    77
    8 The only difference between SCDB and CDB is from the user (administrator) point of view : there is no longer any specific command to manage the configuration database (like `cdbop`). SCDB is managed using any [http://subversion.tigris.com Subversion] client, command line or GUI (like Eclipse). This brings a lot of flexibility, compared to  `cdbop`.
     8The only difference between SCDB and CDB is from the user (administrator) point of view : there is no longer any specific command to manage the configuration database (like `cdbop`). SCDB is managed using any [http://subversion.tigris.org Subversion] client, command line or GUI (like Eclipse). This brings a lot of flexibility, compared to  `cdbop`.
    99
    10 In fact original CDB is a layer over CVS to implement all the lacking features required in the context of a configuration database that may be accessed/modified by several users at the same time : transactional commit, compilation synchronization, easy access to modification history... [http://subversion.tigris.com Subversion], a replacement for CVS that emerged a few years ago (but after CDB design), has all these features built-in. Thus there is no need for any specific tool.
     10In fact original CDB is a layer over CVS to implement all the lacking features required in the context of a configuration database that may be accessed/modified by several users at the same time : transactional commit, compilation synchronization, easy access to modification history... [http://subversion.tigris.org Subversion], a replacement for CVS that emerged a few years ago (but after CDB design), has all these features built-in. Thus there is no need for any specific tool.
    1111
    1212From the administrator point of view, main differences between SCDB and CDB are :
     
    1515 * Use of a Subversion client to checkout/update/commit changes from/to the configuration database.
    1616 * Use of a unique tool, `ant`, to compile and deploy the configuration. `ant` is a Java replacement for `make` and brings portability : you can run it on every platform, including Unix, MacOS, Windows.
    17  * Everything except deployment is done locally, on the administrator local copy of the configuration datase. That means that configuration changes can be prepared and validated disconnected from the network ([http://subversion.tigris.com Subversion] being able to do many operations, '''including reverting changes''', disconnected).
     17 * Everything except deployment is done locally, on the administrator local copy of the configuration datase. That means that configuration changes can be prepared and validated disconnected from the network ([http://subversion.tigris.org Subversion] being able to do many operations, '''including reverting changes''', disconnected).
    1818
    1919Deployment of a new configuration is a 3 phases process :
    2020 1. Edit template modifications and compile with  `ant`. When compilation is successful, you have a new version of the configuration that is valid (that means it can be successfully deployed). This can be done without any network connection.
    21  1. Commit your changes to the configuration database using a [http://subversion.tigris.com Subversion] client.
     21 1. Commit your changes to the configuration database using a [http://subversion.tigris.org Subversion] client.
    2222 1. Deploy the new configuration with `ant deploy`. This involves recompiling the new configuration on the Quattor server, after `tagging` it (the tag is a unique timestamp). Tagging and compilation on the server are done only after successful checking of :
    2323   * Successfull local compilation of the new configuration