<html>

<head>

<body  BGCOLOR="#ffffff">


 

  <a href="Admin316.htm"><img src="./prev.gif" border="0" alt="Previous" WIDTH="32" HEIGHT="32"></a><a href="Admin318.htm"><img src="./next.gif" border="0" alt="Next" WIDTH="32" HEIGHT="32"></a><p>



<h3>     Before You Create a Replica<p>

</h3>Before you try to create a replica, verify that the clearinghouse containing the master replica of the directory you intend to replicate is running and reachable.  To verify that this 

condition is satisfied, follow these steps: 

<p>

1. 	For the directory that you intend to replicate, use the <b>directory show</b> command to display the directories attribute values and look at the <b>CDS_Replicas</b> attribute.  The value of 

this attribute shows the names of the clearinghouses that currently store a replica of the directory.  For example: 

</b><p>

dcecp&gt; <b>directory show  /.:/sales</b></b><p>

{RPC_ClassVersion {01 00}}<p>

{CDS_CTS 1994-08-12-09:52:30.396-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_UTS 1994-08-12-09:52:31.506-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_ObjectUUID a37d84d0-b5dc-11cd-8ffe-0000c0f7de56}<p>

{CDS_Replicas<p>

 {{CH_UUID ce7ed810-b5db-11cd-8ffe-0000c0f7de56}<p>

  {CH_Name /.../Chicago1/Chicago1_CH}<p>

  {Replica_Type Master}  <p>

  {Tower {ncacn_ip_tcp 130.105.5.16}}<p>

  {Tower {ncadg_ip_udp 130.105.5.16}}}}<p>

{CDS_AllUpTo 1994-08-12-09:52:31.566-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_Convergence medium}<p>

{CDS_ParentPointer<p>

 {{Parent_UUID d034bc25-b5db-11cd-8ffe-0000c0f7de56}<p>

  {Timeout<p>

   {expiration 1994-08-12-09:52:30.396}<p>

   {extension +1-00:00:00.000I0.000}}<p>

  {myname /.../Chicago1/sales}}}<p>

{CDS_DirectoryVersion 3.0}<p>

{CDS_ReplicaState on}<p>

{CDS_ReplicaType Master}<p>

{CDS_LastSkulk 1994-08-12-09:52:31.566-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_LastUpdate 1994-08-12-09:52:31.506-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_RingPointer ce7ed810-b5db-11cd-8ffe-0000c0f7de56}<p>

{CDS_Epoch a3df2a50-b5dc-11cd-8ffe-0000c0f7de56}<p>

{CDS_ReplicaVersion 3.0}<p>

dcecp&gt;<p>

2. 	With this information, use the <b>directory show</b> command with the <b>-clearinghouse</b> and <b>-replica</b> options to verify that you can get a response from the clearinghouse that 

stores the master replica.  Example: 

</b><p>

dcecp&gt; <b>directory show  /.:/sales  -replica -clearinghouse  /.:/Chicago1_CH</b></b><p>

{RPC_ClassVersion {01 00}}<p>

{CDS_CTS 1994-08-12-09:52:30.396-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_UTS 1994-08-12-09:52:31.506-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_ObjectUUID a37d84d0-b5dc-11cd-8ffe-0000c0f7de56}<p>

{CDS_Replicas<p>

 {{CH_UUID ce7ed810-b5db-11cd-8ffe-0000c0f7de56}<p>

  {CH_Name /.../Chicago1/Chicago1_CH}<p>

  {Replica_Type Master}  <p>

  {Tower {ncacn_ip_tcp 130.105.5.16}}<p>

  {Tower {ncadg_ip_udp 130.105.5.16}}}}<p>

{CDS_AllUpTo 1994-08-12-09:52:31.566-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_Convergence medium}<p>

{CDS_ParentPointer<p>

 {{Parent_UUID d034bc25-b5db-11cd-8ffe-0000c0f7de56}<p>

  {Timeout<p>

   {expiration 1994-08-12-09:52:30.396}<p>

   {extension +1-00:00:00.000I0.000}}<p>

  {myname /.../Chicago1/sales}}}<p>

{CDS_DirectoryVersion 3.0}<p>

{CDS_ReplicaState on}<p>

{CDS_ReplicaType Master}<p>

{CDS_LastSkulk 1994-08-12-09:52:31.566-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_LastUpdate 1994-08-12-09:52:31.506-04:00I0.000/00-00-c0-f7-de-56}<p>

{CDS_RingPointer ce7ed810-b5db-11cd-8ffe-0000c0f7de56}<p>

{CDS_Epoch a3df2a50-b5dc-11cd-8ffe-0000c0f7de56}<p>

{CDS_ReplicaVersion 3.0}<p>

dcecp&gt;<p>

 	The <b>directory show</b> command with the <b>-clearinghouse</b> and <b>-replica</b> options displays all the attribute values for the directory and its replica role.</b><p>

<b>Note</b>: 	If any read-only replicas in the directory's existing replica set are unavailable, the replication cannot complete.  The normal skulking process completes the replication as soon as 

all replicas in the directory's replica set become available. 

</b><p>

<h3><b></h3></b><p>

<b></b></b><p>

</td>

</table>

</body></html>

