ScreenShots
Who's Online
We have 146 guests onlineMost Popular howTo's
Latest Posts
HowTo
Newest Downloads
| VMware ESX SDK SnapShot Perl Script Part 3 |
| Virtualization - VMware | |||||||||
| Written by Allen Sanabria | |||||||||
| Tuesday, 31 March 2009 14:51 | |||||||||
|
This is the 3rd and I think final revision of this script. I added the --list function, which before had to be combined with the --vm_name function. The main reason for creating this script was so that there can be an easy way to manage snapshots, especially automating the deletion, creation, reverting, and listing of snapshots. If you find this script or any of my scripts useful, please let me know.
perl vm_snapshot.pl --list Remember!!! That in order to use this script you will need the Perl VI SDK installed on your linux box as well as $home/.visdkrc setup correctly Here is an example .visdkrc... VI_SERVER = Virtual Console Server
perl vm_snapshot.pl --list --vm_name "Platinum" You can also remove snapshots too... perl vm_snapshot.pl --vm_name "Platinum" --delete --sn_name "test1" You can also revert and do a powerOn as well. perl vm_snapshot.pl --vm_name "Platinum" --revert --sn_name "new_snap" --vm_on Also you can create snapshots as well... perl vm_snapshot.pl --vm_name "Platinum" --create --descr "nice" --sn_name "new_snap" You can download the script here
Only registered users can write comments!
Powered by !JoomlaComment 3.22
3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."
|
|||||||||
| Last Updated on Tuesday, 31 March 2009 19:05 |












