So I use Recovery Orchestrator to test our backups rather than performing failovers. I create test plans to simply restore VM's and run various tests to confirm the VM will restore and run. I'll have plans configured to restore X amount of vm's. Can a feature be available to have the plan restore the vm, test it then delete it before going to the next vm? What I am running into is the datastore(s) I have designated will fill up before all of the VM's are restored/tested. So I have to create larger datastores to cover the amount of expected VM sizes and split out to more test plans. Make sense? Please let me know of any clarification I need to provide.
Thanks in advance!!
-
- Enthusiast
- Posts: 32
- Liked: never
- Joined: Jan 03, 2017 3:11 pm
- Full Name: Brent Davis
- Contact:
-
- VP, Product Management
- Posts: 1528
- Liked: 402 times
- Joined: Jan 01, 2006 1:01 am
- Location: Prague, CZ
- Contact:
Re: [Feature Request] Auto delete restored VM's after individual test completion in a single plan
Hi Brent,
I've added your request to our list - however you could accomplish this today with a custom script in VRO.
Create a script step which will delete the current VM, and set it to run -
1. Only during a test! You don't want to delete the VM during a real restore.
2. After all other checks and steps have completed for the VM, in other words, last in the list of steps for each VM.
The script should execute on either VBR server or VRO server, and use VBR powershell to delete the tested VM. Alternatively you could use vCenter CLI to remove the VM from vCenter directly. You can pass in parameters from VRO such as restored_vm_name and so on, to ensure the correct VM is removed. Also pass in the parameter plan_test_mode (true/false) so your script will exit unless the plan is testing.
If you'd like any assistance creating such a script, let us know!
I've added your request to our list - however you could accomplish this today with a custom script in VRO.
Create a script step which will delete the current VM, and set it to run -
1. Only during a test! You don't want to delete the VM during a real restore.
2. After all other checks and steps have completed for the VM, in other words, last in the list of steps for each VM.
The script should execute on either VBR server or VRO server, and use VBR powershell to delete the tested VM. Alternatively you could use vCenter CLI to remove the VM from vCenter directly. You can pass in parameters from VRO such as restored_vm_name and so on, to ensure the correct VM is removed. Also pass in the parameter plan_test_mode (true/false) so your script will exit unless the plan is testing.
If you'd like any assistance creating such a script, let us know!
Alec King
Vice President, Product Management
Veeam Software
Vice President, Product Management
Veeam Software
Who is online
Users browsing this forum: No registered users and 4 guests