Change the amount of vCPU in vCD deletes the virtual machine network connection in vCenter


It is a problem of crazy that we discovered, and I wanted to know if anyone had seen him.

First of all, we miss the following software versions:

vCD: 5.1.1.867405

vCenter: 5.0.0 Build 913577

ESXi: 5.0.0 build 1024429

If you go to vCloud Director and change the material properties of an existing virtual machine (Powered off) any change in the amount of vCPU (to something new), inside of vCenter status of the network will change to the port group Standard (inactive) none.


Even if, before making the change, the virtual machine is connected to a distributed port group, and works well.

We now display an SR to VMware, but sometimes it is worth running this by the community to see if other people have already seen or indeed want to test on their deployment.


Thanks in advance

We have solved the problem now.

The reason why that we faced this problem is because we used the wrong order in the API.

You must ensure that you use the undeploy command when you work with the vCD API otherwise you end up with a disconnected network card.

Tags: VMware

Similar Questions

  • How to change the network when the virtual machine is connected, in Vmware ESXi with Perl in Linux?

    Hello

    If someone can answer that the way to change the network of a VM with Perl? I would periodically change the network where the virtual machine network adapter is connected.

    Thank you

    Take a look at the vGhetto repository of scripts, where you can find a lot of useful scripts, including updateVMPortgroup.pl , which may contain what you are looking for.

    André

  • Unable to add the virtual machine network services

    Hello:

    I already read that warning Virtual PC 2007 is not compatible with win 7-64.
    However, I read that it is "unofficially" possible launch.
    OK, I installed it and it worked except networking.
    Basically, I need to install the Virtual Machine Network Services.
    I right click on my network card-> properties-> install-> services-> virtual machine network services (VPC2007 folder: where I can see VMNetSrv.inf)
    Then says Windows: it is impossible to add the requested feature. The specified service has been marked for deletion.

    The problem is that I get this error even on WinXP SP3, so I think that there is something else wrong.

    And of course, Virtual PC 2007 available networks are only: no connection, Local, NAT.  (Missing my physical adapter)

    Thank you!!!

    Hello

    The question you posted would be better suited to the TechNet community. Please visit the link below to find a community that will provide the support you want.

    Hope this information is useful.

  • Import the Virtual Machine Notes to new vCenter 5.1

    Is there a way to import the Virtual Machine Notes to a new vCenter attribute? I am able to export notes to help

    $vm = get - VM | Select Name, Notes

    $vm | Export-csv notes.csv

    but cannot find a way to import...

    Thanks Andy

    Hi Andy,.

    to import the attribute information about the virtual machine in a new vCenter server, you can use the following script PowerCLI:

    Import-CSV -Path Notes.csv |
    ForEach-Object {
      Get-VM $_.Name |
      Set-VM -Notes $_.Notes -Confirm:$false
    }
    
  • [Beginner] How to change the virtual machine name

    Hello

    How can I change the name of a Virtual Machine - I want to say the name that appears in VMPlayer (or VMWare Fusion) as it has recently used Virtual Machines. I tried to change the name of the vmx file but this does not affect the name of the virtual machine displayed in VMPlayer.

    Thank you very much.

    TomasBar wrote:

    How can I change the name of a Virtual Machine - I want to say the name that appears in VMPlayer (or VMWare Fusion) as it has recently used Virtual Machines.

    VMware Fusion 3.x and 2.x but not 1.x, you can click on and change the name of the virtual machine in the Virtual Machine library on the right side, just under the display area.

    For VMware Player you need to edit the "displayName ="parameter in the configuration file .vmx and of VMware Player virtual machine must be closed when you perform this operation."

  • Disks of the virtual machine consolidation is necessary - vCenter 5.1 U1 + ESXi 5.1 + VDP 5.8.0

    Hello

    I am facing problem as many other people do, when snapshot is deleted, the delta files are still there and warning message "consolidation of disks of virtual machines is necessary" is shown on the virtual machine.

    It happened only few but try to find the root cause. He arrived only on virtual machine located on ESXi 5.1 build 799733 which is located in the task of the WTP 5.8.0 backup.

    Is this snapshot problem, a bug in the version of ESXi?

    Unable to find the release notes, where this is documented as bug.

    Thank you

    Finally, I found a reason, therefore, for other users... ESXi 5.1 build 799733 has a bug that is resolved in the update 1 and higher and is connected to the suspended snapshots created by POS, that is why are there so many discs of delta.

    ESXi 5.1 Update 1 Release Notes

    • When the slowdown of snapshot fails the redo logs are not consolidated

      • When you try to take a snapshot of the suspension of a virtual machine, if the snapshot operation fails near the end of its realization, recovery logs created as part of the snapshot are not consolidated. Recovery logs can consume a lot of space to store data.
      • This issue is fixed in this version. If the snapshot suspended operation fails, the redo log files are consolidated.
  • How to change the remote ip address connection svs - vCenter was reloctated

    We just finished relocating our vCenter from one subnet to another, the IP address has changed and now we cannot add vmware port groups in the vNetwork Distributed Switch.

    When we tried to add the port profile the warning was "warning: operation successful locally but the update failed on the vCenter server.» Check if you are connected to vCenter Server. "We have checked the configuration on the 1010V link and found the culprit, the svs to vCenter connection had the old remote ip address.

    What is the preferred method to change it without destroying the config?

    Thanks in advance.

    How to do is the following:

    n1000v (config) # svs connection vcenter

    n1000v(config-SVS-conn) # no connection

    # 1.1.1.1 remote ip address n1000v(config-SVS-conn)

    n1000v(config-SVS-conn) # connect

    Essentially to turn off, change the IP address and then reactivate the connection.

  • How to change the virtual machine after clone

    I'm a beginner to learn vm.

    Now, I already cloned a new existing virtual machine in a virtual machine.

    Then, I want to change it.

    (1) change the name

    (2) change the number of the processor

    (3) change the size of the memory

    (4) change the size of the disk

    How to do?

    I use c# API. I put something when clone?

    Thanks for any help!

    Hello

    You can clone the virtual computer to a model first and then deploy it to this model. For customizing the properties of guest operating system, you can use sysprep (from Microsoft) or customization Spesification Manager (from VMware vCenter Server). Of course, you can also configure it manually change settings menu (from vSphere Client).

  • List of the types of all the virtual machines network cards

    How can I view maps of different types of all VMs in a row, without taking change them the settings for each virtual machine.

    Aneesh

    Hello

    It is possible via power cli...

    http://communities.VMware.com/message/2013514

    Thank you

    SA

  • Basic commands to identify all the virtual machines with connected CDROMS

    Hi all


    I am totally new to PowerCLI but need to identity the easiest and the shortest way for me to list all virtual machines in my vCenter server that currently have an attached CDdrive.


    I if I would be able to do this with get - vm | Get-CDDrive but no results are displayed.

    I've seen many examples on the web page of the way people want to disconnect all drives in a single shot, but initially, I want only to identify them for a report.

    Can this be achieved in one line?


    Thank you

    Try something like this

    Get - VM | where {$_.cddrives} | Select Name, @{N = ' connected'; E = {(get-CDDrive-VM $_).} ConnectionState}}

    or if you only want to see who is connected, you could do that

    Get - VM | where {$_.cddrives} | Select Name, @{N = ' connected'; E = {(get-CDDrive-VM $_).} ConnectionState.Connected}} | where {$_.} Connected}

  • Slow access to the virtual machine network (Windows 2008 Server 64-bit) Windows 7.

    Hello.

    I have a problem when you access files shared on a Windows 2008 Server 64 bits on a client computer to Windows 7. It takes a long time (up to a few minutes) to for example open a Word file from the network share. It is not always, but quite often.

    This also happens on two different servers client with almost the same equipment. Which is a basic IBM x 3400 with hard drives in RAID. I disabled the feature of unloading TCP/IP on the network inside the VM card.

    Someone has an answer for this? Have I missed something, a configuration perhaps? I'm totally lost here...

    Kind regards

    -Jean-

    Try this fix:

    http://support.Microsoft.com/default.aspx?scid=KB; EN-US; 982860

    Enrico Giacomin

  • How to make a virtual computer to connect to a CD player with an ISO mounted when you start the virtual machine?

    I am the creation of virtual machines using PowerCLI 5.5 on vSphere 5.0; and while the virtual machine is turned off, I am able to mount an ISO on a CD player and change the boot order to boot from the CD-ROM (for another post).  I have the flag startConnected set to true, but am not having much luck getting the virtual machine to connect to the CDDrive

    $cdObj = $Vm | New-CDDrive - IsoPath $isoPathName - StartConnected: $true

    If ($cdObj - no $null)
    {
    #Power off VM if it is on
    $VmState = $Vm.PowerState

    If ($VmState - eq "Receptor")
    {
    $Vm | Stop-Vm-confirm: $false - ea 0
    }

    $BootHardDiskName = 'disk 1 '.
    $VmView = get - VM $VmName - Server $serverObj.Name | Get-View
    $HardDiskDeviceKey = ($VmView.Config.Hardware.Device |) Where-Object {$_.} DeviceInfo.Label - eq $BootHardDiskName}). Key

    $BootableHardDisk = new-Object - TypeName VMware.Vim.VirtualMachineBootOptionsBootableDiskDevice - property @{'DeviceKey' = $HardDiskDeviceKey}
    $BootableCDRom = new-Object-Type VMware.Vim.VirtualMachineBootOptionsBootableCdromDevice

    #Set for CDRom boot order
    $BootIso = new-Object VMware.Vim .VirtualMachineConfigSpec - property @ {}
    "BootOptions' = New-Object VMware.Vim.VirtualMachineBootOptions - property @ {}
    BootOrder = $BootableCDRom
    }
    }

    #Set VM from the start settings at the start of the first CD and forces the display to update (sometimes delayed)
    $VmView.ReconfigVM_Task ($BootIso) | out-null
    $VmView.UpdateViewData ("Config.BootOptions.BootOrder")

    #Power on VM
    $Vm | Start-VM-confirm: $false - ea - global 0EV: vmOpsError | out-null

    When I start the VM, it does start the ISO.

    If I go to vCenter, the CD is pointing to the ISO file, but the 'Connected' to change settings option is not checked;  I can restart the VM of vCenter and then the VM restarts the ISO, but not in the script.

    I even put code to add a lead time of 5 to 10 seconds; I restart the virtual machine twice in the script and I can't CD to connect to start the virtual computer.

    Appreciate any suggestions.

    Maureen

    Have you tried to do a

    Game-CDDrive - CD $cdObj - connected - confirm: $false

    immediately after the start-VM?

  • Upgrade the virtual machine

    How Upgrade VM? Can someone tell you the detailed steps please? If it's via the Update Manager, please tell the detailed steps.

    How to change the virtual machine without using the Update Manager?

    Thank you

    Prashant

    Thread moved to the ESXi community

  • Start the Virtual Machine and stop Option

    Hi all

    I would like to know how to change the Virtual Machine start and stop through PowerCLI Options.

    I would like to change the default start time, the default close delay with a script, but I am not able to do...

    Someone knows how to do?

    Thanks for your help!

    Sorry, it's just realized that you wanted to say.

    See the Set-VMHostStartPolicy and Set-VMStartPolicy cmdlets.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Cannot ping the Virtual Machine by host

    Hi all,

    Please help, I use VMWare Workstation 6.5 and I have a physical operating system which is Windows XP SP2, I have a network card, but not connected to a physical switch, the IP address is 192.168.0.1. I installed a Virtual Machine using Microsoft Windows 2003 server as the operating system, promote as domain controller, install the DHCP, DNS service and assign an IP 192.168.0.2, no default gateway.

    My VMnet1 on physical operating system has an IP 192.168.204.1 and VMNet8 has an IP 192.168.126.1.

    The host, I cannot ping the 192.168.0.2 which is the IP address of the Virtual Machine. Even in the Virtual Machine, I can not ping 192.168.0.1 is the IP address of the host. From what I read, the physical and the virtual machine were connected with a virtual switch. Am I wrong?

    Any advice?

    Thanks in advance.

    They SEEM to be in different networks, you need search routing between them,... since they differnet networks...

    on the other

    they do host and the virtual machine on the same subnet / network for EXAMPLE: class C class network 192.168.200.0/24

    granting of points if my answer was helpful... Thank you > > > > > > > >

    concerning

    Joe

Maybe you are looking for

  • will not synchronize contacts from the iphone, they synchronized some but not all

    so I try to synchronize my contacts sync only some of them, BUT its cuz weird when I go to imessage or text messages someone there in there just its their number or the email not their contact name as in my iphone, and if I add them as a contact, the

  • SP A60: Can't get wireless to work

    I got my A60 SP for a year and have only just tried to use the use wireless. I'm unable to connect to a wireless network and yet all indications are that the wireless port works correctly. My card is a SMC IrCC fast infrared port SP1, I checked that

  • Problem of abrupt closure Z580

    Hi, I bought a brand-new Z580 of Lenovo Ideapad 2 months and now I feel sudden stop. I work for a while and all of a sudden it shutsdown automatically (it does not show th closing advances in instead turns the laptop turns off at this point). Can som

  • HPOfficejet 8620: print

    I have just set up this printer, having had a 8600 front.  It seems to take forever to print once gave the command to the computer.  Sometimes it just doesn't print at all.  It'sfrustrating.  someone at - he a solsution to that?

  • Pavilion Elite HPE-110f: 110f hp pavilion CPU fan?

    Noisy fan problem, it's the one attached to the radiator.  I hear it all the time, but sometimes it will be rev. It's a 80mm. I looked online because I thought I could get just a 80mm fan, but after reading a bit more, I'm nervous about doing things