<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    ok, so there are two questions<br>
    - why doesn't the script work<br>
    - is th escript necesseray<br>
    <br>
    To see why the script isn't working, could you provide the full
    script and commandline of your latest attempt<br>
    <br>
    I think the doc is not fully correct. If a consumer is taken offline
    the supplier can no longer reach it and will try in increasing
    intervals, up to 5 mins, but in my understanding it should retry
    every 5 mins. If the cinsumer comes online the supplier does not
    know about this, and so it could be up to 5 mins until the next
    retry. If you really want immediate respons from the supplier the
    the suplier has to be notified eg by this script.<br>
    But if the consumer has been offline for some time it could probaly
    be acceptable to wait the 5 extra mins<br>
    <br>
    Ludwig<br>
    <br>
    <div class="moz-cite-prefix">On 11/13/2014 05:09 PM, ghiureai wrote:<br>
    </div>
    <blockquote cite="mid:5464D7CE.4040409@nrc-cnrc.gc.ca" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix"><br>
        <br>
        <br>
        As per RHES doc:<br>
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Managing_Replication-Forcing_Replication_Updates.html#Forcing_Replication_Updates-Forcing_Replication_Updates_from_the_Command_Line">https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Managing_Replication-Forcing_Replication_Updates.html#Forcing_Replication_Updates-Forcing_Replication_Updates_from_the_Command_Line</a><br>
         <br>
        <div class="para"> "Even if the replication agreements are
          configured to keep the supplier and consumer <font
            color="#3333ff">servers always in sync</font>, it is not
          sufficient to bring <font color="#3333ff">back up-to-date a
            server that has been offline for over five minutes.</font>
          The <span class="guilabel"><strong>Always Keep in Sync</strong></span>
          option means that the server generates a replication operation
          for every update operation it processes. However, if this
          replication operation cannot be performed because the consumer
          is offline, the operation times out after 10 minutes. </div>
        11.15.2. Forcing Replication Updates from the Command Line
        <div class="para"> From the consumer that requires updating, run
          a script that prompts the supplier to send replication updates
          immediately. This script is shown in <a
            moz-do-not-send="true" class="xref"
href="https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Managing_Replication-Forcing_Replication_Updates.html#ex.Replicate_Now_Script_Example">Example 11.5,

            “replicate_now Script Example”</a>. </div>
        <div class="para"> Copy this example script and name it
          something like <code class="command">replicate_now.sh</code>.
          Substitute the actual values for the variables listed in <a
            moz-do-not-send="true" class="xref"
href="https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Managing_Replication-Forcing_Replication_Updates.html#ex.Replicate_Now_Script_Example">Example 11.5,

            “replicate_now Script Example”</a>. </div>
        <div xmlns:d="http://docbook.org/ns/docbook" class="note">
          <div class="admonition_header">
            <p><strong>NOTE</strong></p>
          </div>
          <div class="admonition">
            <div class="para"> This script must be run manually since it
              cannot be configured to run automatically as soon as the
              server, which was offline, comes back online again."''<br>
              <br>
              <br>
              <br>
              <br>
            </div>
          </div>
        </div>
        <br>
        On 11/12/2014 09:54 AM, ghiureai wrote:<br>
      </div>
      <blockquote cite="mid:54639EC0.2070001@nrc-cnrc.gc.ca" type="cite">Hi

        LIst, <br>
        I'm new to 389-ds  admin , I have cfg a multimaster replication
        system , and read the RHES -DS documentation  find the
        replicate_now script which is suppose to trigger master rep
        updates &lt; 10 min, the script fails , there is no option for
        -1 in ldapsearch ...etc <br>
        Wodner if any of you have an update script , I 'm running 389-ds
        on CentoS 6.5 . <br>
        <br>
        Thank you <br>
        Isabella <br>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>