From 9082fd1ca4e896ec5625eaa8223fd068b0134883 Mon Sep 17 00:00:00 2001 From: Mark Beierl Date: Fri, 20 Dec 2019 17:02:00 -0500 Subject: Add Agent Port Allows the port number to be added to the IP addresses used for initiating worklaods. This is done specifically for containerized workload where the exposed port might need to be specified per workload agent to allow multiple agents to run on the same host. STORPERF-270 Change-Id: If011e686d89e5667509ca57e25f05fba1ed52ed1 Signed-off-by: Mark Beierl (cherry picked from commit 24aeda6b73bfa9c31dee8454fdc49bbdb5e1c81b) --- docs/testing/user/test-usage.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'docs/testing/user/test-usage.rst') diff --git a/docs/testing/user/test-usage.rst b/docs/testing/user/test-usage.rst index 5dfd048..89663e7 100644 --- a/docs/testing/user/test-usage.rst +++ b/docs/testing/user/test-usage.rst @@ -108,7 +108,33 @@ hypervisor, or even a bare metal server. In the bare metal case, it even allows for performing RADOS or RDB performance tests using the appropriate FIO engine. +If the slave SSH server is listening to a port other than 22, the port number +can be specified as part of the address as follows: +IPv4 example for port 2222: + +.. code-block:: + 192.168.1.10:2222 + +IPv6 example for port 2222: + +.. code-block:: + [1fe80::58bb:c8b:f2f2:c888]:2222 + +Helper Container Image for Workloads +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +A new docker container is provided with StorPerf that can be used to test +under docker or Kubernetes environments. It has hard coded credentials +of root/password with an SSH server built it, so be cautious about security +concerns when using this image. It listens internally on port 22, so that +port must be exposed to a free port on the host in order for StorPerf to +reach the synthetic workload container. + +.. code-block:: bash + + docker run --name=storperf-workloadagent -p 2222:22 + opnfv/storperf-workloadagent:latest Initialize the Target Volumes ============================= -- cgit 1.2.3-korg