1 Reply Latest reply: Mar 18, 2013 3:14 PM by todd grayson - oracle RSS

    Differences between commands

    Rodrigo0461
      Hi all,

      I need to know the differences between commands

      **insync -D "cn=Directory Manager" -w XXXX -s XX02:389**

      output

      ReplicaDn Consumer Supplier Delay
      dc=example,dc=cl XXXXds01:389 XXXX02:389 0 * Disabled Replication Agreement: no subsequent warnings given


      and

      *./dsconf show-repl-agmt-status -h XXXXds01 -p 389 'dc=example,dc=cl' XXXXds02:389*

      output

      Enter "cn=Directory Manager" password:
      Configuration Status : OK
      Authentication Status : OK
      Initialization Status : OK

      Status : Enabled
      Last Update Date : Mar 1, 2013 12:33:59 PM

      ?????


      Thanks

      Edited by: Rodrigo0461 on Mar 1, 2013 7:40 AM
        • 1. Re: Differences between commands
          todd grayson - oracle
          most likely your insync command line is not formed correctly. When run properly, it would show the difference in time for last update handled by the servers in the replication topology. Note you have -c and -s as variations of suppliers and consumers.

          The insync command line you are indicating is showing your running the command with a node that has replication disabled in relationship to the second node given. You might see this if both the node you are running the command locally on, and the other node you are indicating in the command switches is a consumer as well (neither has an agreement to the other?) You have two possible cases for the switch, have you tested both. One could be a supplier ( -s) vs when the other node is a consumer (-c)

          The man page reference guide has a breakdown of the host spec portion of the command line here:

          http://docs.oracle.com/cd/E20295_01/html/821-1219/dsrepl.html#scrolltoc