Test tymczasowej utraty hosta poprzez aktywację trybu Resilience (EN)
Objective
If you would like to carry out a resilience test on your VMware on OVHcloud infrastructure, resilience mode simulates the temporary loss of a host, and validates the continuity of your production activity in the event of an incident.
Find out how to test a temporary host loss with resilience mode on your VMware on OVHcloud infrastructure
Requirements
- A VMware on OVHcloud solution
- Access to the OVHcloud Control Panel
Instructions
This operation is carried out using the OVHcloud API, and will result in the selected host being unable to access the network, then deactivated for a defined period of time (min: 10min, max: 24h, default: 1h).
This test is independent of the monitoring system, thus avoiding automatic replacement of the host.
The VMs will be powered off, and the migration and reboot to the remaining host(s) will be carried out by vSphere HA if the feature is correctly configured on your cluster.
For more information about vSphere HA, you can read the VMware documentation Functioning of vSphere HA.
This way, you can estimate the time it takes to recover from the test launch and the incident simulation (RTO) until the VMs are rebooted.
Here are the calls to execute in order to list and obtain the credentials of your infrastructure, your data centre and the host on which you wish to carry out this test:
To retrieve the name of your infrastructure (pcc-xx-xx-xx):
To retrieve your datacenterId:
And finally, to retrieve your hostId:
Once you have this information, in order to confirm that you can launch the action, you can use the following call which will validate the test conditions and thus avoid any loss of activity:
If the test is feasible, the result is: true.
To start the test, you can use the following call:
The host will then be disconnected and switch to "No response" mode until the test is complete:

You can check the status of the action, using the following call:
If the test has been launched on the host, the result will be: enabled.
If necessary, you can also stop the test before the duration you have chosen by using this call:
The information returned will include the schedule for the "updateHostResilienceOff" task.
Host connectivity will be restored once the test is complete, and your VMware on OVHcloud infrastructure will return to normal use.
Go further
If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.
Join our community of users on https://community.ovh.com/en/.