Skip to main content

Prerequisites- Installing Binaries

Last updated on

This topic describes the binaries to be installed before executing the Linux OS based VMware faults.

FaultBinaries RequiredSteps to Install the Binary (if any)
VMware Network Loss
  • Install iproute2 for Ubuntu VM.
  • Requires tc command for CentOS/RHEL VMs.
N/A
VMware Network Latency
  • Install iproute2 for Ubuntu VM.
  • Requires tc command for CentOS/RHEL VMs.
N/A
VMware CPU Hog
  • Install stress-ng command in the VM.
  • Ability to run the pkill command in case of abort.
  1. Download the binary: curl -LO https://app.harness.io/public/shared/tools/chaos/linux/stress-ng-amd64-v0.14.02
  2. Rename the binary: mv stress-ng-amd64-v0.14.02 stress-ng
  3. Make it executable: chmod +x stress-ng
  4. Move to system path: sudo mv stress-ng /usr/local/bin/
VMware Memory Hog
  • Install stress-ng command in the VM.
  • Ability to run the pkill command in case of abort.
See VMware CPU Hog installation steps.
VMware IO Stress
  • Install stress-ng command in the VM.
  • Ability to run the pkill command in case of abort.
See VMware CPU Hog installation steps.
VMware DNS Chaos
  • Install dns_interceptor binary in the target VM.
  • Permissions to operate on iptables.
N/A
  1. VMware HTTP Latency
  2. VMware HTTP Modify Response
  3. VMware HTTP Reset Peer
  • Install toxiproxy-server binary in the target VM.
  • Install toxiproxy-cli binary in the target VM.
  • Install iproute2 in the target VM.
  • Permissions to operate on iptables.
  1. Download the binary: curl -LO https://litmus-http-proxy.s3.amazonaws.com/server/toxiproxy-server-linux-amd64.tar.gz
  2. Extract the archive: tar -zxvf toxiproxy-server-linux-amd64.tar.gz
  3. Make it executable: chmod +x toxiproxy-server
  4. Move to system path: sudo mv toxiproxy-server /usr/local/bin/
  5. Download the binary: curl -LO https://litmus-http-proxy.s3.amazonaws.com/cli/toxiproxy-cli-linux-amd64.tar.gz
  6. Extract the archive: tar -zxvf toxiproxy-cli-linux-amd64.tar.gz
  7. Make it executable: chmod +x toxiproxy-cli
  8. Move to system path: sudo mv toxiproxy-cli /usr/local/bin/