Skip to main content

Hey all,
I'd like to share an experience I encountered with one of my clients who uses the Virtual Lab functionality to test their backups.

Problem:
Suddenly the SureBackup starts to fail. When the SureBackup job launches, it fails during VM registration with vCenter

 

Investigation:
My virtual labs are properly set up in Veeam and the association with the ESXi is OK. As a reminder, a Virtual Lab must be assigned to a unique ESX host. If you move the Virtual Lab Vm to another ESX, your jobs will failed.
 

On the vCenter side, all virtual labs are presents in their respective folder.

But I noticed that the Resource pools are all missing.

My client is using DRS in his Vmware infrastructure, I asked him if DRS has been disabled recently and the answer was : YES!

Impact when DRS is disabled:
As resource pools are a bit of DRS functionality, they are deleted when DRS is disabled.

Solution:

You may turn off vSphere DRS for a cluster.
If you disable vSphere DRS, the resource pools are removed from the cluster.
When vSphere DRS is disabled, the cluster’s resource pool hierarchy and affinity rules are not reestablished when DRS is turned back on.
To avoid losing the resource pools, save a snapshot of the resource pool tree on your local machine.

You can use the snapshot to restore the resource pool when you enable vSphere DRS.

When we edit the setting for the DRS cluster and choose to disable DRS we are presented with a warning and asked if we wish to create a snapshot of the resource pools and also the location for the snapshot.


To restore a resource pool tree, you need to meet the following prerequisites:
You can restore a previously saved resource pool tree snapshot when you enable vSphere DRS.
vSphere DRS must be turned on. You can restore a snapshot only on the same cluster that it was taken. No other resource pools are present in the cluster.

 

In my case: Unfortunately, my client didn't create this snapshot. So I tried to reapply the Virtual Lab configuration from Veeam. The resource pool is properly mentioned.

The configuration finish properly


But the Resource Pool is not recreated… 

I also try to create from scratch a new resource pool from vCenter and assign my virtual lab but the job still failed.

Conclusion: In my case all Virtual Lab should be created from scratch 🥲. We are working on a script to help in this task.

Improvement / features request : 
I would like a feature to save or export the Virtual Lab configuration from Veeam.
It could be cool also to have an option to rebuild from scratch.

 

Hi Philippe,

Thank you for the hint. Did I get you right that this also happens when you create the virtual lab on a dedicated ESXi host? So do the pools get affected by DRS either way then?

 

I also suggest to post this into the R&D forum to maybe create a feature request and see what kind of feedback comes back.

 

Again - thans, great post!

 

Best regards

Lukas


Hi ​@lukas.k ,

You can only use ressource pools on DRS activated clusters. So if you have a standalone Host that is not part of a DRS Cluster there should not be a Problem. I usually advice my customers to put DRS into “partially automated” mode rather then disable it, if they need to stop it for what ever reason there is. 

 

But definitely a good hint and something to look after. 

Thanks ​@Stabz 

 

Regards

Chalid


Very interesting issue and solution.  Thanks for sharing.

 
 
 

Hi ​@lukas.k ,

You can only use ressource pools on DRS activated clusters. So if you have a standalone Host that is not part of a DRS Cluster there should not be a Problem. I usually advice my customers to put DRS into “partially automated” mode rather then disable it, if they need to stop it for what ever reason there is. 

 

But definitely a good hint and something to look after. 

Thanks ​@Stabz 

 

Regards

Chalid

Yes there are no DRS rules in a standalone environnement. I take this advice for the future.

And yes I will post also into R&D forum but currently the solution is to use a script :( 


Nice stuff! 

Thanks for sharing 


Thanks for sharing this. I am in the process of setting up a new VMware lab here and this is huge info!


Nice! Hope you will find a way via script and share in community ...


Comment