Skip to content
Snippets Groups Projects
Commit 70c5050d authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Added slurpd log and extend slurpd sleep to 15 seconds

parent 49d40a26
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment