Unanswered question

What are the requirements for installing NeoLoad on a Unix Server?

Need to be able to install and run NeoLoad on a Unix server. Does the local machine need to have windows rights access in order to install NeoLoad onto the server? Are there any other requirements?

Aayush S.
Aayush S.

Aayush S.

Level
0
1 / 100
point

Answers

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

Yes I was talking about the Linux environment.

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

Originally it was my concern, but isn't anymore. My concern now is how to install neoload onto that server as I'm not much familiar with Linux environment and commands.

The installation is pretty easy like on Windows. You need to download the Linux installer to your Linux machine and make the file executable using the "chmod u+x neoload_5_4_0_linux_x64.sh" command

Then run it this way: ./neoload_5_4_0_linux_x64.sh and follow the wizard.

It can also be done through the Graphical interface by clicking on the neoload_5_4_0_linux_x64.sh file from a file explorer.

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

Ok great. The only thing is I'm using an Unix server which I'm remotely connecting to via ssh. I know I told you Linux before but I was told that Linux and Unix are very alike. So could this process you describe work for an Unix server as well? If so, how would I be able to get the Neoload installer onto the server first in order to then run command to install it. I tried using wget command and used the link for the Linux installer but wasn't successful. Your help is much appreciated. Thank you.

The installation is different for Unix. You need to download the Unix installer from the download section. Then you have to set the path of a JRE 1.8 version from your Unix system.

However if you connect through SSH  how are you going to use the NeoLoad UI on your Unix machine? Is it by exporting your display?

I do not recommend such setup since you can get graphical issues not really related to NeoLoad.

Usually, Unix machines (except Linux) are used as load generator and not as controller.

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

Yea so it seems like that's what we'll be going with where we install the Load Generator on the unix environment and run the Neoload UI on our local machines. Do you think that would work? If so, if you could please guide me as to the commands to get that load generator onto the server, it would be great. Thanks.

Yes that is going to work better. You need to go to the NeoLoad download section and click on the "download an archive" link. Then download the Unix archive which is a .tar.gz archive.

Copy and uncompress that archive into your Unix server. Then you will have to copy or link a JDK 1.8 from your Unix machine to the installation folder of the load generator in order to have <LG_install_dir>/jre folder that contains the JRE 1.8.

This archive does not embed any JRE that's why you need to get it from your Unix platform.

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

Okay great we're getting very close here. So I was able to copy and extract the tar file onto the Unix server. I do see in my directory the Neoload 5.4 folder there. I'm assuming I'm not supposed to see the NeoLoad application there since we're be using that on the local machine? Also when you said copy JDK 1.8 did you meant from the local machine? Thanks for your help.

The NeoLoad 5.4 folder should be the Load generator folder if you downloaded the Load generator .tar.gz file. You should not see any "jre" folder needed by NeoLoad.

Yes i confirm that you should install the JDK 1.8 from your Unix machine and then copy the "jre" folder of your JDK into the NeoLoad 5.4 folder in order to have <install_folder>/jre.

From here you can follow the NeoLoad documentation to start your load generator but basically go to <install_folder>/bin and run ./LoadGeneratorAgentService start

 

Then check with a netstat command that the Agent is listenning on port 7100. IF yes you can go to your controller installation and add your LG to the list to discover it.

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

So in my case my local machine that I'm using is a windows not unix. I tried moving jdk 1.8 by zipping it and using the psftp to transfer to the unix server, however, wasn't able to extract it there. I'm assuming I would need a jdk tar file? If so, can I use jdk tar file for Linux on my unix server since I'm not able to find one for an unix server? Not sure it if would be the same. Thanks.

By local i meant your Unix machine. You can't use a JDK from another platform. You have to use the JDK from your Unix platform. You can probably download it from Oracle web site if it's a Solaris machine otherwise on the vendor website like for AIX machines.

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

Nouredine, thank you so much for your help. I really appreciate it. I was able to install JDK onto the server and copy the jre folder from JDK into the Neoload folder as you had suggested. I haven't yet tried running the load generator but that will be my next step, so thank you once again for all your help!!

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

Hey Nouredine, when I enter the command netstat -plnt | grep ':7100', I get Listen 11032/java. Should I be seeing that or should the agent be listed there in its place?

Aayush S.
Aayush S.

Aayush S.

Level
1
189 / 750
points

So I added LG to the zone under Controller and it shows that it's running and the connection is secured. Do I have to disable encryption between the Controller and Monitoring agent?
Also now that LG is added to the Controller, is there anything else we need to do on the LG side on the unix server to run the Load tests? Or do we simply run them from the controller on our local machine and just use the LG from the Unix server?

It's not necessary to disable encryption and why would you do that?

You may have to tune your LG machine to run your load tests but it depends on tests/scripts and how you will stress that machine. Please look at the NeoLoad documentation here for more information.

To run your test you only need to setup your population to use that remote LG and that's it.