VMware {code} Community
agaiswin
Contributor
Contributor

GUI for Storage Vmotion (svmotion)

Hi, please find a little Windows GUI for svmotion.

Instructions:

Install the VMWARE remote CLI (www.vmware.com/go/remotecli) on a Windows machine to the standard path (program files...)

Save the file vms.pl into the C:\Program Files\VMware\VMware VI Remote CLI\bin directory.

Save the svmotionGUI.exe somewhere on the machine.

Double click it!

0 Kudos
72 Replies
JohnTaddei
Contributor
Contributor

Outstanding work on this one...

How about adding support for additional HDDs motioning to different locations (OS drive/Data1/Data2 etc)?

0 Kudos
akutz
Hot Shot
Hot Shot

I sure want to, but representing many-to-many relationships is proving to be a little difficult. Plus I really want to implement dynamic file size totals, and that is a real PITA with the VI3 SDK. I mean, didn't Igon tell you about the twinkie?

0 Kudos
k_j
Contributor
Contributor

Nice work, although it seems not to resolve properly the "C:\Documents and Settings\All Users\Application Data" directory

which can be named differently in different languages.

0 Kudos
JohnTaddei
Contributor
Contributor

Smiley Happy

Yes - the Twinkie is indeed huge....

I'll "suffer" with scripting the second and third disks after the SVMotion finishes Smiley Happy

Thanks again for the efforts!

0 Kudos
akutz
Hot Shot
Hot Shot

The VMware Infrastructure 3.5 Plugin and Extension Programming Guide - Revision 1 has been published. You can find a summary at http://itknowledgeexchange.techtarget.com/virtualization-pro/vmware-infrastructure-35-plugin-and-ext....

0 Kudos
akutz
Hot Shot
Hot Shot

The SVMotion plugin has been updated to 0.3.5. The plugin now hecks for the thin provisioning bug at http://tinyurl.com/2pjvo2. A special thank you to Koen Warson for informing me of this bug. Be sure to check out Koen's (Effective) own SVMotion GUI at http://communities.vmware.com/thread/127731?tstart=0 and http://www.svmotion.com!

0 Kudos
akutz
Hot Shot
Hot Shot

A new VI plugin has been released - Console. Console is a VI 2.5 client plugin that adds a new tab called "Console" to the list of tabs on the left (these are called views) when a host server is selected. The "Console" tab contains an integrated SSH client that can be used to open a console connection to ESX 2.5-3.x servers (not 3i). Read more about Console at its homepage and on the VMware forums.

0 Kudos
amslife
Enthusiast
Enthusiast

As you saw demoed in the day 3 keynote session all the way back at VMWorld07 there's obviously builds internal to VMware that include the VC integration. My guess is that the feature didn't have time to get through QA before VI3.5 GAed so it was decided "Better to have 70% of something than 100% of nothing"

Great contribution--

0 Kudos
akutz
Hot Shot
Hot Shot

Thanks! Actually, I didn't see that demo, but I believe you. Or in the vein of the exciting news coming out of WonderCon this weekend - "I want to believe..."

0 Kudos
zemotard
Hot Shot
Hot Shot

Hi I have a VM with 4 VMDK. Each VMDK file is in one different datastore. So 4 datastore for this vm (Because I use snapshot on my san)

When I use storage vmotion, all vmdk files are migrate on only one datastore.

Is it possible to keep each vmdk on each datastore after svmotion ?

Best Regards If this information is useful for you, please consider awarding points for "Correct" or "Helpful".
0 Kudos
akutz
Hot Shot
Hot Shot

I know, I know. Multiple targets are a requested feature, and I'm working on it. But hey, I haven't exactly been resting on my tuchus, now have I? : ) Alternatively, the code is free and open -- feel free to implement the idea yourself ; )

0 Kudos
Sbeard333
Contributor
Contributor

haha LOL we all know you work hard Akutz. Keep up the good work Smiley Wink

0 Kudos
alket
Contributor
Contributor

You can use the svmotion.pl script to actually move disks to separate datastores. If you want to code this via the SDK, you have to create a VirtualMachineRelocateSpecDiskLocator for each virtual disk that you want to relocate. You can find more details in the Reference Guide.

0 Kudos
akutz
Hot Shot
Hot Shot

Thanks! I actually know how to do this; that is not the problem. The problem is how to represent it visually in a manner that I am satisfied with.

0 Kudos
akutz
Hot Shot
Hot Shot

0.4.0 is out. Go forth, move virtual disk files independently of their VMs, be merry.

http://www.lostcreations.com/code/wiki/vmware/viplugins/svmotion

0 Kudos
Sbeard333
Contributor
Contributor

Well i finally got round to testing this and its brilliant. Very good GUI easy to use and as far as i've tested works a treat

0 Kudos
akutz
Hot Shot
Hot Shot

Grazzie

--

-a

"condensing fact from the vapor of nuance"

gpg pubkey: http://www.lostcreations.com/~akutz/akutz.gpg

lostcreations ca: http://www.lostcreations.com/lostcreations.com-ca.crt

0 Kudos
myles
Contributor
Contributor

Please help -- i was able to run the .msi (0.4.4) - i see storage vmotion in add/remove programs .. as well as see it as a plugin to install on VC client -- but when i try to install the plugin . i don't see any progress and it eventually times out with: the underlying connection was closed: an unexpected error returned on the receive. I really need to svmotion some vms today.

0 Kudos
akutz
Hot Shot
Hot Shot

Did you install the client or server version? Install the client.

0 Kudos
myles
Contributor
Contributor

thank you so very much .. i really appreciate you responding so fast Smiley Happy

0 Kudos