Chaos faults for VMware
Introduction
VMware faults disrupt the resources running on a VMware cluster. Depending on the type of instance the fault targets, VMware faults are categorized into various types.
VMware CPU hog
VMware CPU hog applies stress on the CPU resources on Linux OS based VMware VM.
VMware disk loss
VMware disk loss detaches the disks that are attached to a Linux OS based VMware VM.
VMware DNS chaos
VMware DNS chaos causes DNS errors in the VMware VMs for a specific duration.
VMware host reboot
VMware host reboot reboots a VMware host that is attached to the Vcenter.
VMware HTTP latency
VMware HTTP latency injects HTTP response latency into the service. This is achieved by starting the proxy server and redirecting the traffic through the proxy server.
VMware HTTP modify response
VMware HTTP modify response injects HTTP chaos by modifying the status code, body or the headers, which affects the request (or response).
VMware CPU hog
VMware CPU hog applies stress on the CPU resources on Linux OS based VMware VM. It checks the performance of the application running on the VMware VMs.
Use cases
VMware disk loss
VMware disk loss detaches the disks that are attached to a Linux OS based VMware VM.
Use cases
VMware DNS chaos
VMware DNS chaos causes DNS errors in the VMware VMs for a specific duration. It checks the performance of the application (or process) running on the VMware VMs.
Use cases
VMware host reboot
VMware host reboot reboots a VMware host that is attached to the Vcenter. It helps determine the VMware infrastructure resilience when the host reboots. It also measures the infrastructure resilience in case of an high availability (HA) cluster.
Use cases
VMware HTTP latency
VMware HTTP latency injects HTTP response latency into the service whose port is specified using the TARGET_SERVICE_PORT
environment variable. This is achieved by starting the proxy server and redirecting the traffic through the proxy server.
It helps determine the application's resilience to lossy (or flaky) HTTP responses.
Use cases
VMware HTTP modify response
VMware HTTP modify response injects HTTP chaos by modifying the status code, body or the headers, which affects the request (or response).
Chaos is injected by starting the proxy server and redirecting the traffic through the proxy server.
It tests the application's resilience to erroneous (or incorrect) HTTP response body.
It modifies the headers of the requests and the responses of the service. This helps test the service's resilience towards incorrect or incomplete headers.
Use cases
VMware HTTP reset peer
VMware HTTP reset peer injects HTTP reset chaos that stops the outgoing HTTP requests by resetting the TCP connection for the requests.
The service whose port is affected is specified using the TARGET_SERVICE_PORT
environment variable.
It tests the application's resilience to lossy (or flaky) HTTP connections.
Use cases
VMware IO stress
VMware IO stress causes disk stress on the target VMware VMs. It aims to verify the resilience of applications that share this disk resource with the VM.
Use cases
VMware memory hog
VMware memory hog fault consumes excessive memory resources on Linux OS based VMware VMs. It determines the performance of the application running on the VMware VMs.
Use cases
VMware network latency
VMware network latency injects network packet latency from the VMware VM(s) into the application (or service). It results in flaky access to the application. It causes network degradation without the VM being marked as unhealthy (or unworthy) of traffic. It checks the performance of the application (or process) running on the VMware VM(s).
Use cases
VMware network loss
VMware network loss injects network packet loss from the VMware VM(s) into the application (or service). This results in flaky access to the application. It checks the performance of the application (or process) running on the VMware VM(s).
Use cases
VMware process kill
VMware process kill kills the target processes that are running as a part of a Linux OS based VMware VM. It helps determine the resilience of an application (or process) running on the VMware VMs.
Use cases
VMware service stop
VMware service stop stops the target system services running on a Linux OS based VMware VM. It determines the performance and resilience of the application (or service) running on the VMware VMs.
Use cases
VMware VM power off
VMware VM-poweroff stops (or powers off) the VMware VMs for a specific duration. After the duration, the VMs are back to original state. It checks the performance of the application running on the VMware VMs.