I set up a Master-Slave load testing environment using JMeter. I am using 3 CentOS machines with following IP's
xxx.xxx.xxx.1 (Master)
xxx.xxx.xxx.2 (Slave1)
xxx.xxx.xxx.3 (Slave2)
Here are the steps I did.
1) Added the following to the slaves jmeter.properties file:
remote_hosts=xxx.xxx.xxx.1
2) Added the following to master jmeter-server file
#RMI_HOST_DEF=-Djava.rmi.server.hostname=xxx.xxx.xxx.2
`
Then when I'm executing the following command from the /apache-jmeter-2.13/bin
folder of xxx.xxx.xxx.2
Slave machine.(I don't have root user access have only SUDO root access)
sudo ./jmeter-server
I'm getting the error
./jmeter-server: line 32: ./jmeter: Permission denied
Is my Master-Slave setup is correct? Am I doing something wrong here? Do I need to do anything else to setup master-slave?