perl script for setting up replication without console

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

 



Here is the script I've been working on for setting up replication without 
using the console.

It's basically an evolution the original mmr.pl,  with new functionality.

It has a config file you need to properly setup,  here is a quick rundown of 
the options.

SUPPLIERS = All supplier servers that you want to monitor,setup.  ; delimited 
and you can specify the default port with a : (not required though)
CONSUMERS = All consumer servers.
ROOT_DN = user to bind with for modifying objects in cn=config (generally 
cn=Directory Manager)
REP_DN = Replication Manager's dn (ie uid=RManager,cn=config)
REPMAN_PW = Replication Manager's password
PAM_SECRET = libpam-ldap's root bind dn password file (sucked in automatically 
to use as the ROOT_DN's password
NSS_SECRET =  same as above but will only get checked if PAM_SECRET doesn't 
exist.
REP_ID = replica ID value for MMR.  Set this to 1 when you first run and the 
script will manage it from then on.
TLS = Set to 1 to always enable TLS,  0 or null for not always turned on (you 
can pass the -z switch on startup to use TLS if it's set to 0 or null)

Switches

-z turn on TLS for all binds. (not for setting up of rep agreements though!)  
If ldapsearch -ZZZ's work for you,  this ***should*** aswell (not tested very 
much :) )
-p prompt for ROOT_DN password
-c /path/to/config.conf specify an alternate config file (for rep'ing other 
BASE_DN's)
-d this will dump all the rep objects/agreements from each server to the 
terminal

Let me know how it works for you guys.

Ryan Braun
Informatics Operations
Aviation and Defence Services Division 
Chief Information Officer Branch, Environment Canada 
CIV: (204) 833-2500x2824 CSN: 257-2824  FAX: (204) 833-2524
E-Mail: Ryan.Braun at ec.gc.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdstool.tar.bz2
Type: application/x-tbz
Size: 8995 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20071214/028d684f/attachment.bin 


[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