Search   Feed   Browse   Add
Feed items 1 - 10 of 10 for September 2008

VMware Communities : Thread List - Developer Community

Latest Forum Threads in Developer Community

Converting a VMDK from VMware Server to ESX - September 22, 2008

Can the VI API be used to import a VMDK file from VMware Server to ESX format It seems that this is how the "vmkfstools" Perl script does it when run with the "-i" command. Specifically, it appears to be using the VirtualDiskManager CopyVirtualDisk_Task method to copy the VMDK and specify the destination disk and adapter type parameters. However, I haven't had any luck doing this from my C++ application. I've tried every combination of adapter type and disk type in a...
http://communities.vmware.com/thread/170044

Help with C reverting to a the current snapshot - September 22, 2008

I am trying to use some C code to revert machines to the current snapsot, and am getting stuck. Here is my code ServiceContent si = _service.RetrieveServiceContent(_svcRef); ManagedObjectReference ttt = si.searchIndex; ManagedObjectReference vmMoRef = _service.FindByUuid(ttt, null, vmGUID, true); _service.RevertToCurrentSnapshot(vmMoRef,null); I have also tried this PropertyFilterSpec snapSpec = Build1VMSpec(vmMoRef, "snapshot"); ObjectContent snapocArray =...
http://communities.vmware.com/thread/170046

Scripting thru Powershell!!! - September 22, 2008

Hi! Everybody, I have been following this forum for quite a while now. I use vmware in production and I am very much interested in implementing scripting. I have checked a few scripts posted by some GURU's - part of the scripts made sense - while the rest of it was greek n latin . Its pretty interesting though to perform day-to-day operations thru scripting. Iam impressed by the work you guys have done. Excellent!!! I am motivate and would like to learn this stuff. That is why I started.
http://communities.vmware.com/thread/170038

vmdk size - September 22, 2008

Hi, Im trying to get the size of the vmdk added to the following script from www.peetersonline.nl, anyone have any ideas... $VCserverName = "myVCserver.domain.local" $outputFile = "D:scriptsdiskfiles.csv" $VC = Connect-VIServer $VCserverName $VMsAdv = Get-VM Sort-Object Name % Get-View $_.ID $myCol = () ForEach ($VMAdv in $VMsAdv) ForEach ($Disk in $VMAdv.Layout.Disk) $myObj = "" Select-Object Name, Disk $myObj.Name = $VMAdv.Name $myObj.Disk = $Disk.DiskFile0 $myCol +=...
http://communities.vmware.com/thread/170016

Scripting guest IP configuration commands - September 22, 2008

Hello, first of all the disclaimer: I'm new to VI scripting and trying to find directions on how to procede without wasting too much time Problem: I need to automate the conversion of several physical machines into VM gusts on an ESX server to provide some sort of DR capability. That can be quite easily handled with converter tool and its command line interface. Unfortunately these physical machines run HP network teaming software that results in a completely misconfigured network...
http://communities.vmware.com/thread/169998

List Hosts and number of VMs - September 19, 2008

Cheers, How do I list the ESX hosts in a VC with the number of VMs living on each hosts Thank you.
http://communities.vmware.com/thread/169664

How to read ESX server's hardware health status (CIM) with SDK - September 19, 2008

Hi, I've been trying the whole week now, but I haven't had much success. With ESX 3.5 U2 we should be able to read the hardware status of the ESX server (power supplies, CPU temperatures, etc.) out of VirtualCenter with the SDK. We have developed an application that monitors most of the information in VirtualCenter such as VM and ESX states, existing snapshots, etc. with SOAP. Now we'd like to add the ESX's hardware status. If I query the...
http://communities.vmware.com/thread/169606

how can I read the contents of .vmx file - September 18, 2008

I want to read the contents of a .vmv file using power shell but I am running into this problem. At the shell I do the following: $datastoreObject = get-datastore -name <my datastore> $DSDrive = New-PSDrive -Name datastoreUnderTest -Location $datastoreObject -PSProvider VimDatastore -Root cd datastoreUnderTest:testVM From here I can do an ls and see all of the files in the directory. But if I try to do: $content = get-content testVM.vmx It fails with: Get-Content : Cannot use...
http://communities.vmware.com/thread/169428

Another question regarding Properties using C++ gsoap VI SDK - September 16, 2008

I am trying to retrieve certain properties from VMware. I have my TraversalSpec and PropertySpecs setup, and am able to access most of the properties I require (Thanks to stumpr and dmitrif for solving my previous problem on this). Now I am stuck on another type of returned DynamicProperty - specifically, the inconfig.hardware.device property of VirtualMachine ManagedObject. This is returned as an array of Base type VirtualDevice, but depending on the actual type of device, could be various...
http://communities.vmware.com/thread/168979

Extending the snaphost powershell script. How to add snapshot size - September 11, 2008

Hi guys, Stupid question maybe. I am using this script to list the open snapshots and mail them to our team. Question I got now is the following. Is it possible to add the size of the snapshot in the report How should I do that Setup email client + $SmtpClient = New-Object system.net.mail.smtpClient+ + $MailMessage = New-Object system.net.mail.mailmessage+ + $SmtpClient.host = "smtpserver"+ + $MailMessage.from = "sdfsdfsdf"+ + $MailMessage.To.add("sdfsdfsdfsdfs")+ + $MailMessage.IsBodyHtml..
http://communities.vmware.com/thread/168015
Available Archives
- September (10 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact