VMware Cloud Community
jasonjones1967
Contributor
Contributor

Hot plug disks from command line?

Hi all,

I am currently trying out vmware (esx 3.5)

I can create rdm disks, and assign them to running windows vm's (hot plug) --- from the GUI -


this all works fine.

My major problem is, that I need to do it from the command line --- Anyone managed to achieve it yet? (i can create the rdm, and vmdk files from command line, but cannot get them seen by the virtual machine, which is windows 2003 ent

.

0 Kudos
4 Replies
BenConrad
Expert
Expert

I've you've created the RDM on the host side have you tried adding the mapping to the vm with vmware-cmd?

using:

vmware-cmd -l

vmware-cmd path/to/vmx.vmx getconfig keyname

you can get some good info by looking at the .vmx after you have added the RDM via the GUI.

Ben

kjb007
Immortal
Immortal

Check out powershell vi toolkit. It makes automating these types of tasks very easy. There are also forums for that as well that you can post your questions to.

http://communities.vmware.com/community/developer/windows_toolkit

Thanks,

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
jasonjones1967
Contributor
Contributor

Yep,

Havde tried that (also edited the .vmx to add them in, etc ....)

Just can't seem to get that final stage of seeing them in the virtual machine hardware.....

Will keep looking

0 Kudos
jasonjones1967
Contributor
Contributor

Cheers KJB - checking the toolkit out now Smiley Happy

Still can't quite get hotplug working - will struggle on Smiley Happy

0 Kudos