VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
1 Replies Last post: Sep 1, 2009 2:52 PM by Cédric  

how to disconnect a SCSI device by a virtual machine before running VMotion posted: Sep 1, 2009 10:25 AM

Click to view gchi's profile Novice 7 posts since
Aug 27, 2009

Hi ,

I need to learn how to disconnect a SCSI device connected to a virtual machine before running VMotion using Orchestrator

Many thanks in advance

Best regards

Gianluca


Click to view Cédric's profile Hot Shot 75 posts since
Jun 27, 2008
Hi,

I don't have a server here, but I'll try to help you:

if your Virtual Machine is in a variable named vm:

vm.config.hardware.device contains all the devices. You have to iterate all the devices to get the one you want. Access their backing, and use the vm.reconfig to set the new backing. Have a look at some workflows in the library, you will find samples...

Developer Social Media

Communities