PreviousNext

Creating Slave Replicas

After the master replica database has been created and started and its database has been populated, you run dce_config at the slave sites to create the slave replicas and start them. To create and start a slave replica, dce_config first ensures that the sites are running dced, and the appropriate CDS servers. It then executes the following sec_create_db command:

dcelocal/bin/sec_create_db -slave -myname my_server_name

First, the command creates a database for the new slave replica. The database consists of only stub files. The command then locates the master replica and adds the new slave to the master's replica list. The master marks the new replica for initialization. Finally, the dce_config script starts secd and ensures that it starts automatically each time the machine reboots.

You must run dce_config to configure a slave replica at each machine where you want to run a slave replica.