Closed alicefr closed 4 months ago
remhost1=<VM_HOSTNAME_OR_IP>
....
<truncated>
--endpoint remotehost,host:$remhost1,user:root,client:1,userenv:alma8,cpu-partitioning:client-1:1 \
....
<truncated>
https://github.com/perftool-incubator/crucible-examples
Please let me know if any further questions. Feel free to ping me on slack.
--rfolco
@rafaelfolco many thanks, I'd like just to verify my entire setup and run a simple example. Could you please suggest an example and how to run the scripts? I still don't quite understand what is the userenv? Ideally, I'd like to run some fio tests
@rafaelfolco many thanks, I'd like just to verify my entire setup and run a simple example. Could you please suggest an example and how to run the scripts? I still don't quite understand what is the userenv? Ideally, I'd like to run some fio tests
@alicefr Assuming you have successfully installed cruciible (see https://github.com/perftool-incubator/crucible/blob/master/INSTALL.md), you can check your setup as follows:
# podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e2a88e3ff980 quay.io/crucible/controller:latest /opt/crucible/bin... 5 weeks ago Up 5 weeks ago crucible-logger-02163e6e-81dc-40d8-a6a2-b838ddeb06c9
6c855b7ab2df quay.io/crucible/controller:latest redis-server /etc... 4 hours ago Up 4 hours ago crucible-redis
a79c96dddbdf quay.io/crucible/controller:latest /usr/sbin/httpd -... 3 hours ago Up 3 hours ago crucible-httpd
5ab54757f0b6 quay.io/crucible/controller:latest /opt/crucible/con... 3 hours ago Up 3 hours ago crucible-es
# cat /etc/sysconfig/crucible
CRUCIBLE_USE_CONTAINERS=1
CRUCIBLE_USE_LOGGER=1
CRUCIBLE_CONTAINER_IMAGE=quay.io/crucible/controller:latest
CRUCIBLE_CLIENT_SERVER_REPO=quay.io/crucible/client-server
CRUCIBLE_CLIENT_SERVER_AUTH="/root/auth-file.json"
CRUCIBLE_HOME=/opt/crucible
# crucible
help log repo update run wrapper console start get rm index postprocess es
This also appplied to sub-commands. For instance: crucible get <tab>
.
crucible start
# crucible run
cyclictest uperf tracer trafficgen oslat flexran fio hwlatdetect
# cat mv-params.json
{
"global-options": [
{
"name": "global",
"params": [
{ "arg": "duration", "vals": [ "120" ], "role": "client" },
{ "arg": "rtprio", "vals": [ "1" ], "role": "client" },
{ "arg": "smt", "vals": [ "on" ], "role": "client" },
]
}
],
"sets": [
{
"include": "global",
"params": [
]
}
]
}
# cat run.sh
#!/bin/bash
csid=1
remote_host=
crucible run oslat \ --tags ${tags} \ --num-samples 1 \ --mv-params mv-params.json \ ${endpoint_arg}
8. Make sure your remotehost is accessible via ssh passwordless:
ssh $remote_host
9. Run
./run.sh
10. The first time you run it takes longer as it builds the image layers
Preparing to run oslat Confirming the endpoints will satisfy the benchmark-client and benchmark-server requirements There will be 1 client(s) and 1 server(s) Building test execution order Preparing userenvs: Sourcing container image; this may take a few minutes Searching for existing stages (1 to 10, 10 being most complete) Found most complete stage (number 10) Processing stage 1 (7ab1d564adbf1a9fce88927ebe61191e)... Ready ...
Hi, I'm trying to run crucible together with KubeVirt VM (I have ssh access from the host). Do we have a working example for rickshaw with a remote host. The examples in the README don't work for me. The config files don't exist in the right path and it's been hard for me to figure out how to make everything running. Additionally, do we have any docs/demo that explains how to run the entire setup?