HPE Morpheus Enterprise
1833061 Members
3217 Online
110049 Solutions
New Discussion

Check datastore space before provisioning

 
kevkerr1
Advisor

Check datastore space before provisioning

Is anyone aware of a way to check that a datastore has a percentage of disk space free before allowing VM provisioning?

Is there anything native to Morpheus?

Thanks

4 REPLIES 4
kevkerr1
Advisor

Re: Check datastore space before provisioning

Thanks Great , thank you.

Is it possible to raise a feature request to add a real time check on the datastore at provisioning time?

Thanks

Not applicable

Re: Check datastore space before provisioning

Hi Kkerr,
Here is a github link to morpheus public repo morpheus-automation-examples/datastorelist.py at main · gomorpheus/morpheus-automation-examples · GitHub
This script will get all the datastores of a cloud. It will get the vcenter url of the cloud integration and then using the vcenter session token it will fetch the total and free space of each datastore and if the free space is less than 15% it will deactivate the datastore .
Thanks
Mousami

Not applicable

Re: Check datastore space before provisioning

Hi Kker,
yes, it can be submitted as an Idea in the forum.new topic under Ideas
Here is the link Ideas - Morpheus .
Thanks

cbunge
HPE Pro

Re: Check datastore space before provisioning

If this is VMware, typically datastore clusters are utilized. Metrics like consumption or I/O can be used to balance or prevent deployments. If you are utilizing datastore clusters, Morpheus will adhere to the same settings configured (as we rely on native VMware DRS for placement).