Use this information to install required tools on the host and the client.
Before you begin
Make sure that you have:
About this task
Note: The following prompts are used to indicate which part of the system to run the
provided commands on.
- host#: The server where the IPU is installed.
- client#: The remote server where user traffic is generated.
Procedure
-
On the host, install required tools.
host# dnf install nginx sysstat
host# dnf install python3-pip
host# pip3 install numpy
host# dnf install net-tools
The
following tools are required.
- nginx: Two nginx instances are executed on the
host: one as a web server, the other as a proxy. When the test script is executed, the
web server script http_obj_gen.py is copied using
scp from the test server to the destination path
/usr/share/nginx/ on the host. The test script ensures that the
correct nginx configuration is used. The various configuration
files are stored in the nginx/ directory.
- sar : Used for logging. The tool is included in the
sysstat package.
- numpy: Installed using pip3.
- nstat and netstat: Typically installed on most
Linux systems.
-
On the client, install required tools.
client# dnf install lua-devel luajit-devel
client# git clone https://github.com/wg/wrk.git
client# cd wrk
client# make
client# cp wrk /usr/local/bin/
client# dnf install sysstat
The
following tools are required.