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@xxxxxxxx

Attachment: fdstool.tar.bz2
Description: application/tbz

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux