Chaos faults for VMware
Introduction
VMware faults disrupt resources running on a vSphere / vCenter cluster. They are organized into two groups based on what is targeted: Linux guest VMs (faults that act inside the guest via VMware Tools Guest Operations) and vCenter (faults that act on the VM itself through vCenter APIs).
Linux faults require VMware Tools running on the guest and the prerequisite stress / network / DNS / HTTP binaries installed inside the VM. Go to VMware Linux binary installation to install them. vCenter faults talk directly to vCenter and are OS-agnostic. All VMware faults require a vCenter user mapped to the chaos role described in VMware permissions.
For Windows VMs hosted on vSphere, go to Chaos faults for Windows and install the Windows chaos agent on the target VM.
VMware CPU hog
VMware CPU hog drives CPU utilization to a configurable percentage across a configurable number of cores on a Linux VMware VM for a configurable duration.
VMware memory hog
VMware memory hog consumes a configurable amount of RAM on a Linux VMware VM for a configurable duration.
VMware IO stress
VMware IO stress drives disk IO load on a Linux VMware VM for a configurable duration.
VMware network latency
VMware network latency adds latency to egress traffic from a Linux VMware VM for a configurable duration. Scope by destination IP, hostname, or port.
VMware network loss
VMware network loss drops a configurable percentage of egress packets from a Linux VMware VM for a configurable duration. Scope by destination IP, hostname, or port.
VMware network rate limit
VMware network rate limit caps egress bandwidth on a Linux VMware VM for a configurable duration.
VMware DNS chaos
VMware DNS chaos forces DNS resolution failures for specific hostnames on a Linux VMware VM for a configurable duration.
VMware HTTP latency
VMware HTTP latency injects HTTP response latency at a target service running on a Linux VMware VM for a configurable duration.
VMware HTTP reset peer
VMware HTTP reset peer resets TCP connections to an HTTP service running on a Linux VMware VM for a configurable duration.
VMware HTTP response modify
VMware HTTP response modify rewrites HTTP responses (status code, body, headers) from a service running on a Linux VMware VM for a configurable duration.
VMware process kill
VMware process kill terminates one or more processes by PID inside a Linux VMware VM for a configurable duration.
VMware service stop
VMware service stop stops one or more systemd services inside a Linux VMware VM for a configurable duration.
VMware VM poweroff
VMware VM poweroff (by Managed Object ID) powers off one or more VMware VMs for a configurable duration, then powers them back on.
VMware VM poweroff by name
VMware VM poweroff by name powers off one or more VMware VMs (identified by name) for a configurable duration, then powers them back on. Use this variant when working with VM names is more convenient than tracking MOIDs.
Last updated
Was this helpful?