Re: replicate_now script help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/13/2014 09:27 AM, Ludwig Krispenz wrote:
ok, so there are two questions
- why doesn't the script work
- is th escript necesseray

To see why the script isn't working, could you provide the full script and commandline of your latest attempt

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.
But if the consumer has been offline for some time it could probaly be acceptable to wait the 5 extra mins

Ludwig


https://bugzilla.redhat.com/show_bug.cgi?id=1163902

On 11/13/2014 05:09 PM, ghiureai wrote:



As per RHES doc:
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
 
"Even if the replication agreements are configured to keep the supplier and consumer servers always in sync, it is not sufficient to bring back up-to-date a server that has been offline for over five minutes. The Always Keep in Sync 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.
11.15.2. Forcing Replication Updates from the Command Line
From the consumer that requires updating, run a script that prompts the supplier to send replication updates immediately. This script is shown in Example 11.5, “replicate_now Script Example”.
Copy this example script and name it something like replicate_now.sh. Substitute the actual values for the variables listed in Example 11.5, “replicate_now Script Example”.

NOTE

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."''





On 11/12/2014 09:54 AM, ghiureai wrote:
Hi LIst,
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 < 10 min, the script fails , there is no option for -1 in ldapsearch ...etc
Wodner if any of you have an update script , I 'm running 389-ds on CentoS 6.5 .

Thank you
Isabella




--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users



--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux