Synchronizing databases with master templates

About this task

To use a consistent design for multiple databases, database designers can associate databases or elements within databases with a master template. Designers can manually synchronize databases with a master template, but more often they rely on the Designer task to do this. When a master template design changes, the Designer task updates all databases that inherit their designs from the master template. The Designer task runs daily by default at 1 AM. The Updall task, which runs by default at 2 AM, updates the view indexes of databases changed by Designer.

For a server's Designer task to update databases, you must create a replica of the master template on each server that stores databases that inherit from the master template.

CAUTION: To avoid inconsistencies during database updates, ensure that replicating servers do not update simultaneously.

After updating database designs, the Designer task also reloads the LDAP schema on a Domino® server that runs the LDAP service. You can run the Designer task manually.

For more information on the LDAP service, see Domino® Administrator Help.

To run the Designer task using the Task - Start tool

Procedure

  1. From the Domino® Administrator, in the server pane, select the server on which to run Designer. To expand the pane, click the servers icon.
  2. Click the Server - Status tab.
  3. In the task panel, click "Task - Start."
  4. Select Designer and then click "Start Task."

To run the Designer task using a console command

Procedure

  1. From the Domino® Administrator, select the server on which to run Designer in the server pane. To expand the pane, click the servers icon.
  2. Click the Server - Status tab.
  3. Click Console.
  4. Enter the following command in the command line at the end of the console, and then press ENTER:
    Load design

Running the Designer task for a single database

About this task

If you want to refresh a single database, you can supply arguments to the design server command using the following syntax:

design [source-server [dest-server]] [-f single-db-to-refresh] [-d [single-dir-to-refresh]]

Procedure

  1. From the Domino® Administrator, select the server on which to run Designer in the server pane. To expand the pane, click the servers icon.
  2. Click the Server - Status tab.
  3. Click Console.
  4. Enter the Load design command in the command line at the bottom of the console along with optional arguments to refresh a single database or all of the databases in a single directory, and then press ENTER.

Examples

About this task

  • To refresh all databases in the mail directory:
    design -d mail 
  • To refresh only the NAMES.NSF file:
    design -f names.nsf
  • To refresh only the USER.NSF in the mail directory:
    design -f mail\user.nsf