Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Virtual Machine Disks consolidation is needed

$
0
0

Hi All,

 

     After removing the snapshots through orchestrator,  login into the VI-client, the VM summary shows that "configuration Issues" "Virtual Machine disks consolidation is needed".

 

Could you guide me how to do consolidation through orchestrator.

 

 

"

var logtext;
if(activeSnapshot.config){
var vmName = activeSnapshot.config.name;
var snapshotID = activeSnapshot.id;

var task = activeSnapshot.removeSnapshot_Task(removeChildren);
//var task = activeSnapshot.removeSnapshot_Task(consolidate);
var actionResult = System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd(task) ;

logtext = "The snapshot with the id " + snapshotID + " from the Virtual machine '"+vmName+"'has been removed.";
}else{
logtext = "The snapshot with the id " + activeSnapshot.id + " has already been removed.";
}

content = content + "<br>" + logtext;
System.log(logtext);"

 

Note:- The above code belongs to Remove snapshot code.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>