Specialized Administration > Windchill Directory Server Administration > Replication > Setting Up Replication
  
Setting Up Replication
Replication is configured per baseDN. The examples shown later illustrate configuration for just a single baseDN: o=ptc. If you have multiple baseDNs and you want them to be replicated, you will need to repeat the sample steps for each baseDN.
* 
There are two baseDNs that are implicitly included when you set up replication. These are to also replicate schema changes (cn=schema) and administrative information (cn=admin data). Replication of schema changes can be disabled. Since schema changes are not anticipated as needed for normal WindchillDS use with Windchill, the examples show schema replication disabled.
The following is an overview of the steps involved in setting up replication.
Plan the replication configuration
Determine the number of Windchill Directory Servers that will be involved in replication.
Select the appropriate host for each server.
Is there an existing installation with one of the Windchill Directory Servers already running and managing Windchill data? If so, this is the server that will be used to supply data to the other servers.
Install the servers: Using PSI, install a Windchill Directory Server instance on each of the selected hosts. Under PSI, choose Standalone Product or Component and select Windchill Directory Server and Java SDK. Complete the install.
* 
When setting up replication, it is recommended that PSI be used to install a separate instance of the Windchill Directory Server on each replication host. An instance of Windchill Directory Server that is not running can be copied to another system. However, doing so can cause both instances to have the same server-id assigned. This will cause replication errors
Enable replication: Enable replication using the command “dsreplication enable.” This command enables replication between two servers. So, for the four host configuration shown above, this command would need to be entered to enable replication between server-1 and server-2, then between server-1 and server-3, and then between server-1 and server-4. Or, you could enable replication between server-1 and server-2, then server-2 and server-3, and then server-3 and server-4.
Synchronize data: Synchronize data across all servers using the command “dsreplication initialize-all.” You identify the source directory server with this command, and the command then replicates the data in that server to all other servers.
* 
In the event that the primary Windchill Directory Server fails you can manually reconfigure Windchill to use a secondary Windchill Directory Server. For more information see Configuring LDAP Failover.