DATABASE MANAGEMENT


Synchronizing databases with master templates
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.

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

You can't run the Designer task against a specific database or folder. It runs only against all databases on a server.

You can run the Designer task by using one of the following methods.

Running the Designer task using the Task - Start tool

1. From the Domino Administrator, in the server pane on the left, 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 on the right, click Task - Start.

4. Select Designer and then click Start Task.

Running the Designer task using a console command

1. From the Domino Administrator, select the server on which to run Designer in the server pane on the left. 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 bottom of the console, and then press ENTER:


The following table describes the command line options you can use with the Designer task.
Command line optionDescription
-d directory nameSynchronizes the databases in a directory relative to the data directory. For example, to synchronize databases in the directory DATA\SALES, specify -d SALES.
-f filenameSynchronizes a specific database. For example, to synchronize the database DATA\SALES.NSF, specify -f SALES.NSF.
-i nameSynchronizes the databases specified by name, which can be a database, folder, or filename that contains a list of paths, each of which can be a database or a folder.

See the following table for an example.

The following table shows an example of the -i command line option.
If the file SCHEDULE contains thiswherethen load design -i SCHEDULE is the same as this
SALES

DEV

DEV\USER1.NSF

SALES is a directory and

DEV is a directory

load design -d SALES

load design -d DEV

load design -f DEV\USER1.NSF