mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Added slurpd log and extend slurpd sleep to 15 seconds
This commit is contained in:
parent
49d40a26f8
commit
70c5050d85
@ -22,6 +22,7 @@ BJORNSDN="cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
|
||||
JAJDN="cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan, c=US"
|
||||
MASTERLOG=$DBDIR/master.log
|
||||
SLAVELOG=$DBDIR/slave.log
|
||||
SLURPLOG=$DBDIR/slurp.log
|
||||
SEARCHOUT=$DBDIR/ldapsearch.out
|
||||
MASTEROUT=$DBDIR/master.out
|
||||
SLAVEOUT=$DBDIR/slave.out
|
||||
|
@ -48,7 +48,7 @@ for i in 0 1 2 3 4 5; do
|
||||
done
|
||||
|
||||
echo "Starting slurpd..."
|
||||
$SLURPD -f $MASTERCONF -d 4 -t $REPLDIR > /dev/null 2>&1 &
|
||||
$SLURPD -f $MASTERCONF -d 4 -t $REPLDIR > $SLURPLOG 2>&1 &
|
||||
SLURPPID=$!
|
||||
|
||||
echo "Using ldapmodify to populate the database..."
|
||||
@ -123,8 +123,8 @@ changetype: delete
|
||||
|
||||
EOMODS
|
||||
|
||||
echo "Waiting 10 seconds for slurpd to send changes..."
|
||||
sleep 10
|
||||
echo "Waiting 15 seconds for slurpd to send changes..."
|
||||
sleep 15
|
||||
|
||||
echo "Using ldapsearch to read all the entries from the master..."
|
||||
$LDAPSEARCH -L -S "" -b "$BASEDN" -h localhost -p $PORT \
|
||||
|
Loading…
Reference in New Issue
Block a user