Skip to content

tools to run slamd scripts against 389 directory server

Notifications You must be signed in to change notification settings

nhosoi/performance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tools to run slamd scripts against 389 directory server.

[Files and Directories]
README: this file

389: Directory which stores a launch script and test ldif files
     The sub directory scripts and ldif are to put on the host on which DS runs:
     DS host:$TESTHOME/{scripts,ldif}

389/scripts
389/scripts/run_slamd_ds.sh: launch script
    Usage:
    run_slamd_ds.sh [-D <directory_manager>] [-w <passwd>]
        [-h <ds_host>] [-p <ds_port>] [-i <ID>] [-d <dbinstname>]
        [-s <suffix>] [-t <testhome>] [-z <size>, e.g., 10k]
        [-l <testldif>] [-m <initldif>]
        [-T <slamdhost>] [-E <slamdhome>] [-R <duration>]
        [-X <SunDSinstdir> -Y <SunDShome>] [-Z]
        [-I <interval>] [-P] [-S] [-A] [-M] [-U]
    -S: run search
    -A: run add and delete
    -M: run modify
    -U: run auth/bind
    Note: if -[SAMU] not specified, run all 4 tests
    -P: run profiler; the results are found in /home/perf/results/prof/<date>
        opreport -l /usr/sbin/ns-slapd --session-dir=dir_path
        where dir_path is /home/perf/results/prof/<date>/oprofile..
    -X <SunDSinstdir>: Run SunDS instead of 389-ds, which instance dir is
                       <SunDSinstdir>; /opt/sunds/slapd-ID, by default.
    -Y <SunDShome>: Run SunDS instead of 389-ds, which home dir is
                    <SunDSinstdir>
    -Z: run SunDS instead of 389-ds.

389/ldif
389/ldif/init.ldif: minimum ldif
389/ldif/example10k.ldif: ldif of 10k entries

slamd: Directory which stores slamd scripts
       The sub directory scripts is supposed to put in the expanded slamd dir:
       $ ls /export/tests/slamd/slamd
       README		   conf/  results/  slamd-2.0.1.war@  tools/
       SLAMD-License.txt  lib/   scripts/  temp/	      webapps/
       bin/		   logs/  server/   thirdparty/       work/

slamd/scripts
slamd/scripts/run-script-wrapper.sh: a wrapper script to launch run-script.sh
slamd/scripts/gen-rep-avgpersec.sh: generate csv file for the openoffice calc
slamd/scripts/calc-avg.pl: script to calculate averaged values
slamd/scripts/calc-sum.pl: script to calculate summed up values

slamd/scripts/10k: slamd scripts for 10k entry data
slamd/scripts/10k/add_delete.script
slamd/scripts/10k/bind.script
slamd/scripts/10k/modify.script
slamd/scripts/10k/search.seq.script
slamd/scripts/10k/search.random.script

replication: tool(s) to measure replication performance

replication/buildit: build script
replication/replperf.c: tool to measure replication performance

    Usage:
    ./replperf -h <masterhost> -p <masterport>
        -i <replicahost> -q <replicaport>
        -D <masterbdn> -w <masterbpw>
        -d <replicabdn> -W <replicabpw>
        -n <number_of_entries> -I <interval_to_measure>
        -b <basedn> -s <nanosec> -t <threads>
        -e <uid_prefix> -a -v
        <nanosec>: nano seconds to wait b/w 2 adds
        <uid_prefix>: uid=<uid_prefix>.<thread>.<seqnum>
        -a: asynchronous add
        -v: verbose

replication/scripts
replication/scripts/389-setup.pl: script to set up 389-ds-base with replication

    Usage:
    389-setup.pl [-h <serverid>] [-p <port>]
                 [-m <master count>] [-r <replica count>]
                 [-w <rootdn password>] [-s <suffix>]
                 [-v]

replication/scripts/sunds-setup.pl: script to set up sun-ds with replication 

    Usage:
    sunds-setup.pl [-h <serverid>] [-p <port>]
                   [-m <master count>] [-r <replica count>]
                   [-w <rootdn password>] [-s <suffix>]
                   [-I <instance dir, e.g. /opt/sunds>]
                   [-H <home dir, e.g. /opt/sunds/dsee7>]
                   [-v]

About

tools to run slamd scripts against 389 directory server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published