gerbabe.blogg.se

Virtual disk consolidation is needed
Virtual disk consolidation is needed




VSphere 5 introduced a new feature to clean up VM snapshot "left-overs" which could be the result of a snapshot removal action where the consolidation step has gone bad. I hope this helps you out and saves some headaches Please keep in mind that this should be tested in a test environment before deploying to production. Var actionResult = System.getModule(".basic").vim3WaitTaskEnd(task) Var task = activeSnapshot.removeSnapshot_Task(removeChildren ,consolidateSS) Set to if you want to consolidate the disk When I added the underlined sections in the code below in the Schema item "Remove Snapshot" does not come up with the alert. removeSnapshot_Task function does not require the condolidate Snapshots parameter to be set to true, as it does it by default( This appears to be false, at least in this instance).

virtual disk consolidation is needed

(optional) If set to true, the virtual disk associated with this snapshot will be merged with other disk if possible.

virtual disk consolidation is needed virtual disk consolidation is needed

Removes this snapshot and deletes any associated storage.įlag to specify removal of the entire snapshot subtree. (Exerpt from documentation for vOrchestrator API 5.1.1) VCenter Server 5.1 Plug-In API Reference for vCenter Orchestrator It appears that the default workflow that VMware has included has a quirk compared to the documentation in its API documentation. I did some testing as we were looking at doing the same thing.






Virtual disk consolidation is needed