Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 181132

snapshot certain vms

$
0
0

Hello together,

 

as you can read in the title of this thread, i´m searching for a possibility to snapshot certain virtual machines including their memory using a powercli-script. So far I was able to create a script snapshotting the virtual machines listed in a .csv file.

 

Since I want to snapshot the vms including the memory the process of snapshotting takes really long time for each vm because the script I´m using is processing every line in the .csv file sequentially.

 

Due to the fact that I got many VMs to snapshot I´m searching for a way to fasten up this process. Do you have any suggestions how to do that? Is there a way to process several lines in the .csv file at the same time considering a certain amount of time between two processes, for example:

 

There is a .csv file with 20 lines and I want to snapshot the first 5 lines (vm 1-5) concurrently, then wait till they are finished and go on with the next 5 lines (6-10) and so on.

 

Is there any way how to do that?

 

I´m glad about any advice.

 

Thanks in advance for your help.

Greetings

 

edit: at the moment we are using vsphere 4.1


Viewing all articles
Browse latest Browse all 181132

Trending Articles



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