Installation
Install SLAMD server
- Install Java (if necessary)
- (Prefer Sun Java cause it’s supposedly faster and possibly more compatible)
- RHEL:
- Add RHEL Supplementary channel to system in RHN
sudo yum install java-1.6.0-sun
- Ubuntu:
- Enable “partner” repository
- System > Administration > Software Sources > Other Software > (check partner) > Close
- Or uncomment partner lines in /etc/apt/sources.list
sudo aptitude install sun-java6-jre
- Enable “partner” repository
- Verify Java install
java -version
- Download SLAMD
- Extract and copy to /opt
unzip slamd-x.x.x.zip sudo mv slamd /opt sudo chown root. /opt/slamd -R
- Set up firewall
- Open port 8080/tcp, for Tomcat
- If you’ll want to connect SLAMD clients running on other servers, open ports 3000-3003 for SLAMD
- Start SLAMD
sudo /opt/slamd/bin/startup.sh
- Browse to SLAMD server
- hostname:8080
- Click Create Database
Install SLAMD clients
- Install Java (if necessary)
- See instructions above
- Download SLAMD client
- Extract SLAMD client
unzip slamd_client-x.x.x.zip
- Configure SLAMD client
cd slamd_client vim slamd_client.conf
- Edit SLAMD_ADDRESS line to reflect address/IP of SLAMD server
- Optionally set a value for CLIENT_ID
- Start the SLAMD client manager
nohup ./start_client_manager.sh & head nohup.out
Look for this line:
Successfully connected to the SLAMD server at server:3001
- Verify connectivity to the server
- Browse to the SLAMD server
- hostname:8080
- Click on SLAMD Server Status
- Scroll down to Client Manager Listener Status
- Look for your client by IP or client ID
- Browse to the SLAMD server
using SLAMD
Request clients
- Browse to the SLAMD server
- hostname:8080
- Click on SLAMD Server Status
- Scroll down to Client Manager Listener Status
- Type a number where it says Request __ clients, and click Submit
- Verify the number of clients you want from each of your client machines, and click Connect
- You’ll be taken back to the Server Status page
- Scroll down to Client Listener Status, and verify your clients are connected
Schedule a job
- Browse to the SLAMD server > Manage Jobs > Schedule a Job
- Select a job type
- Specify either a stop time or a duration (in seconds)
- Specify the number of clients to use for the job
- Specify the number of threads per client
- Fill out the rest of the parameters as necessary
- If you need help with any of the parameters, there should be a link at the top that says “Click here for help regarding these parameters”
Schedule a new LDAP Load Generator job
- Follow the above steps for scheduling a job
- If using SSL, make sure Use SSL is checked and the port is set to the correct SSL port
- In the frequency section, make sure at least one of the searches has a non-zero value
- Click Test Job Parameters to make sure SLAMD is able to connect to LDAP