Cluster VI3 and vSphere Cluster (migrate virtual machines)

I have a VI3 and vSphere cluster.  Could I just drag-and - drop my virtual machines to the new Cluster or do I have to upgrade the virtual machines ' hardware of the v4 to v7?

Thanks in advance

1. you don't have to upgrade the virtual machine hardware, it is optional.

2. you do not have to create new cluster, simply upgrade existing by-host. Virtual machines with hardware v4 can be VMotion'ed between 3.5 and 4.0 hosts

---

MCSA, MCTS, VCP, VMware vExpert 2009

http://blog.vadmin.ru

Tags: VMware

Similar Questions

  • vCenter roles and privileges to migrate virtual machines

    I created a custom role named 'Build VMs' that I have assigned to an ad group.  This role is assigned in the data centers, all spread and no. folder where elsewhere.  The role was designed to allow a specific group of users to manage virtual machines (create, move, delete, but not clone, etc.).

    For the most part, it works fine, but I have a problem: they cannot migrate powered off VMs.  vMotion is available and works, but I need to move a cluster virtual machines to a different (more old hw & 3.5 to new hw & 4.1).

    The role has the following privileges:

    Name                                Id
    ----                                --
    Anonymous System.Anonymous
    View System.View
    Read System.Read
    Create the folder Folder.Create
    Allocate space Datastore.AllocateSpace
    Update of virtual machine files Datastore.UpdateVirtualMachineFiles
    Configure Network.Config
    Affect the Network.Assign network
    Change DVSwitch.Modify
    Operation of DVSwitch.PortConfig port configuration
    Setting of port DVSwitch.PortSetting operation
    Change DVPortgroup.Modify
    Create the virtual machine Host.Local.CreateVM
    Reconfigure the virtual machine Host.Local.ReconfigVM
    Create new VirtualMachine.Inventory.Create
    Create existing VirtualMachine.Inventory.CreateF...
    Register VirtualMachine.Inventory.Register
    Delete VirtualMachine.Inventory.Delete
    Unregister VirtualMachine.Inventory.Unregister
    Move VirtualMachine.Inventory.Move
    Power VirtualMachine.Interact.PowerOn
    VirtualMachine.Interact.PowerOff power off
    Suspension VirtualMachine.Interact.Suspend
    Discount to zero VirtualMachine.Interact.Reset
    Question answer VirtualMachine.Interact.AnswerQu...
    Console interaction VirtualMachine.Interact.ConsoleI...
    Device connection VirtualMachine.Interact.DeviceCo...
    Configure support CD VirtualMachine.Interact.SetCDMedia
    Configure floppy media VirtualMachine.Interact.SetFlopp...
    VMware Tools install VirtualMachine.Interact.ToolsIns...
    Buy tickets to control comments VirtualMachine.Interact.GuestCon...
    Defragmentation of disks all VirtualMachine.Interact.Defragme...
    Turn on the VirtualMachine.Interact.CreateSe of fault tolerance...
    Disable VirtualMachine.Interact.TurnOffF of fault tolerance...
    Test failover VirtualMachine.Interact.MakePrimary
    Restarting the VM VirtualMachine.Interact.Terminat secondary...
    Disable VirtualMachine.Interact.DisableS of fault tolerance...
    Enable fault tolerance VirtualMachine.Interact.EnableSe...
    Record session on Machine virtual VirtualMachine.Interact.Record
    Review the session on virtual computer VirtualMachine.Interact.Replay
    Backup operation on a virtual machine VirtualMachine.Interact.Backup
    Create a screenshot VirtualMachine.Interact.CreateSc...
    Rename VirtualMachine.Config.Rename
    Add a disk existing VirtualMachine.Config.AddExistin...
    Add the new disk VirtualMachine.Config.AddNewDisk
    Remove the VirtualMachine.Config.RemoveDisk disc
    Raw device VirtualMachine.Config.RawDevice
    Host VirtualMachine.Config.HostUSBDevice USB device
    Change the number of CPU VirtualMachine.Config.CPUCount
    Memory VirtualMachine.Config.Memory
    Add or remove devices VirtualMachine.Config.AddRemoveD...
    Change the settings of the device VirtualMachine.Config.EditDevice
    Parameters VirtualMachine.Config.Settings
    Change resources VirtualMachine.Config.Resource
    Updating of the virtual hardware VirtualMachine.Config.UpgradeVir...
    Reset the VirtualMachine.Config.ResetGuest customer information...
    Advanced VirtualMachine.Config.AdvancedCo...
    Lease of disk VirtualMachine.Config.DiskLease
    Swapfile placement VirtualMachine.Config.SwapPlacement
    Extend the virtual disk VirtualMachine.Config.DiskExtend
    Change disk monitoring VirtualMachine.Config.ChangeTrac...
    Unlock the virtual machine VirtualMachine.Config.Unlock
    Queries files without owner VirtualMachine.Config.QueryUnown...
    Reloading the way VirtualMachine.Config.ReloadFrom...
    Compatibility VirtualMachine.Config.QueryFTCom of the fault tolerance of queries...
    Customize the VirtualMachine.Provisioning.Cust...
    Promote records VirtualMachine.Provisioning.Prom...
    Deploy the model of VirtualMachine.Provisioning.Depl...
    Clone model VirtualMachine.Provisioning.Clon...
    Mark as virtual machine VirtualMachine.Provisioning.Mark...
    Read about the customization VirtualMachine.Provisioning.Read...
    Edit the VirtualMachine.Provisioning.Modi customization specifications...
    Allow access to the disk VirtualMachine.Provisioning.Disk...
    Allow access to the read-only disc VirtualMachine.Provisioning.Disk...
    Assign the virtual machine resources... Resource.AssignVMToPool
    Migrate from Resource.HotMigrate
    Query vMotion Resource.QueryVMotion

    It is the main thing I thought it would take to a simple move of a virtual machine while it is turned off:

    Name                                Id
    ----                                --
    Move VirtualMachine.Inventory.Move

    I gave to create a folder because some of the permissions were not yet allowing the creation of virtual machines, even though it probably isn't necessary.

    Any ideas?

    ~ Luc
    http://thephuck.com

    What happens if you add resources > permission to move?

  • Create a new vsphere environment 6 and migrate virtual machines to esxi existing 5.1

    The current environment has a cluster with 5.1 esxi hosts and vcenter server 5.5-controlled.

    I would like to create a new environment vsphere 6 with new hosts. Again I mean a clean install of vCenter server 6 and esxi, implementation of the new cluster, etc.. So I won't be able to migrate virtual machines running in 5.1 esxi hosts to the new environment.

    What would be the appropriate steps to make this right?

    Thank you.

    Take a look at this KB on how to move an ESXi host at another vCenter vSphere: VMware KB: move a managed ESX ESXi host to a vCenter Server to a different Server vCenter

    And if you are using vDS, you should look here: KB VMware: ESX/ESXi host with vDS passing a vCenter Server to another

  • Migrate virtual machines from HP G7(single host) for HP G8 (Cluster) without shared storage

    Hello

    I have 2 esxi host (hp dl 380 G8) and put them in a cluster and other host esxi (dl 380 g7) and I have no shared storage and use local disks just now I must spend my VM G7 server a cluster of the G8 but I want to know I can join my cluster g8 g7 and migrate web vmware machines without any downtime?

    I want to know can migrate without downtime with localdisk? I have no shared storage

    Best regards

    BAbak

    can I join g7 to my cluster of the g8

    You can mix into clusters hosts all desired, even Intel and AMD at least that you enable EVC on the cluster (of course, HA or DRS require shared storage compatible/CPU). However, you need not to have even just cluster hosts to migrate virtual machines through vMotion between them.

    migrate web vmware machines without any downtime?

    Don't know what this "web vmware' but yes, because ESXi 5.1, you can use"enhanced vMotion"to live migrate virtual machines without service interruption from one host to another, even without shared storage:

    Migration with vMotion in environments without shared storage

    The usual vMotion requirements apply. Also you can only live migrate virtual machines from the old host to the new hosts because of different generations of CPU (and back as long as you don't have bike powered virtual machines on new hosts).

  • Unable to migrate virtual machines from one ESX to another in a cluster

    I have 7 ESX in a cluster... 2 ESX are unable to migrate virtual machines into and out of the host... When we try to perform a manual migration, it displays the following error...

    Impossible to pass. Host CPU is not compatible with the requirements of the Virtual Machine to CPUID level 0 x 80000001 registry "edx" host bits: 1110:1111:1101:0011:1111:1011:1111:1111 required: 11 x 0:1 x 11: 1100:0011:1111:x 0x1: 1111:1111 inconsistency detected for these characteristics: * NX/XD (data execution protection). If the Virtual Machine does not have this feature, power off the virtual machine and delete the requirement of NX/XD by changing the settings of the virtual machine (advanced options).

    Looks like 2 of the 7 ESX has disabled NX/XD (or could be activated I don't know which) in the BIOS of the Server - VMware allows you to maske this characteristic shape the VM so it can vmotion between these hosts - initially put there where the NX/XD bit became more popular in order to allow users to migrate between these hosts with different parameters CPU-

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • Need to adjust/reconfiure/tune resouces of cluster of virtual machines by entry into xls file

    Hi all

    I need to adjust the resources of the cluster of virtual machines by entry in the xls file, the files are

    VCPU configured, recommended vCPU virtual machine, CPU requires memory (%), memory configured, Recommended recommended

    for example, the values are:-

    Virtual machineVCPU configuredVCPU recommendedCPU application Recommended (%)Memory configuredMemory recommended
    ABC10 vCPUs4 vCPUs77%40 GB16 GB

    Then I have to stop the virtual machines and then adjust the values, and then bring the virtual machine. Can someone help me a script for this.

    Make sure that your csv file format is attached.

    Import-Csv c:\temp\test.csv | {foreach}

    Get - VM $_. VirtualMachine. Stop-VMGuest-confirm: $false | Out-Null

    do

    {

    Write-Verbose 'VM stops. "

    Start-Sleep - seconds 15

    }

    While ($_.powerstate - eq "Poweredoff")

    Get-VM-name _.virtualMachine $ | Set-VM - NumCpu $_. RecommendedvCPU - MemoryGB $_. RecommendedMemory-confirm: $false

    Start-VM VM-$_.virtualMachine

    }

  • migrate virtual machines to esxi 3.5 free vsphere 4.1 without vcenter

    Hi all

    I have vms on 2 hosts esxi 3.5 with direct (without san)-attached storage that I want to migrate to a new server esxi under license of 4.1 vsphere essentials. I intend using the stand-alone converter to migrate virtual machines from 3.5 to 4.1 and then upgrade the other two hosts to 4.1 and then moving some virtual machines using the converter.

    I have Web servers that I don't want to bring down more than 10 to 20 minutes (not the 1 to 2 hours that should be a cold conversion with converter) so I try to use the feature p2v on the virtual machine running Web servers.

    Has anyone done this with no san and no vcenter? If so how did you do?

    is it possible to migrate without losing configurations of network adapter in the virtual machine?

    I can just do something like taking a snapshot of the system of runnying, then copy files to new host, then add to the inventory, upgrade tools, hardware upgrade?

    Thank you!

    is it possible to migrate without losing configurations of network adapter in the virtual machine?

    After you copy the files and re - add to inventory new virtual machine, you must take care on the issue of handgun that you see in the market.

    Choose I_moved the files to keep the VM UUID and the same virtual MAC address.

    André

  • PowerCLI Script to migrate virtual machines with the same network Source for the new vCenter Server.

    Hi all

    I checked a few posts on the migration to the new vCenter Server virtual machine. But I'm not very good with Powercli and need some help here.

    We have a new vCenter server where we migrate virtual machines from one source vCenter server. Here are two things that I don't know how to connect together to make sure that bwfore we turn on the virtual machine to the virtual machine is connected to its source network.

    Part 1 - this script works well but do not get any network on the vCenter destination.

    cluster = Get-Cluster "clusterA.

    $inventory = get-Cluster $cluster | Get - VM | Add-Member - MemberType ScriptProperty-name "VMXPath" - value {$this.extensiondata.config.files.vmpathname}-Passthru-Force | Select-Object Name ResourcePool, folder, VMXPath |

    $inventory | Export-Csv c:\file.csv

    $inventory = import-csv c:\file.csv

    $cluster = get-group 'b '.

    {foreach ($vm to $inventory)

    $ESXHost = get-Cluster $cluster | Get-VMHost | Select - 1 first

    New-VM - VMFilePath $vm. VMXPath - VMHost $ESXHost - location $vm. Folder - ResourcePool (Get-Cluster $cluster |) Get-ResourcePool $vm. ResourcePool)

    }

    Part 2 - I want to preserve the Portgroup macaddress and the Ip of the virtual computers and connect them to the new vCenter. How can I do this with the script below. Or how can I combine them together?

    $vm_list = get-Cluster-name "clustera | Get - VM test * | Name sort

    $information = {foreach ($vm to $vm_list)

    $network_adapter_information = get-NetworkAdapter - VM $vm

    $vm | Select Name,PowerState,ResourcePool,@{N="Path; E=       {$_. ExtensionData.Summary.Config.VmPathName}},@{N="NetworkAdapter '; E = {[string]: join (":", ($network_adapter_information |))} %{$_. {{(Nom + "," + _.NetworkName $}))}}, @{N = "MacAddress"; E = {[string]: join (",", ($network_adapter_information | % {$_.}))} MacAddress}))}}

    }

    Step 2

    # Unsubscribe virtual machines

    Remove-VM - VM $vm_list-RunAsync Verbose - confirm: $false

    Step 3

    $cluster = get-group 'b '.

    {foreach ($vm to $inventory)

    $ESXHost = get-Cluster $cluster | Get-VMHost | Select - 1 first

    New-VM - VMFilePath $vm. VMXPath - VMHost $ESXHost - location $vm. Folder - ResourcePool (Get-Cluster $cluster |) Get-ResourcePool $vm. ResourcePool)

    }

    # Save virtual machines

    foreach ($info in $information)

    {

    $vmxpath = $info. Path

    $resource_pool = $info. ResourcePool.Name

    New-VM - ResourcePool (ResourcePool-Get-name $resource_pool) VMFilePath - $vmxpath - RunAsync-Verbose | Out-Null

    }

    Step 4

    # Put the network cards

    foreach ($info in $inventory)

    {

    foreach ($network_information in ($info.NetworkAdapter - split ":"))))

    {

    $virtual_machine = $info | %{$_. Name}

    $network_adapter = ($network_information-split ",") [0]

    $network_vlan = ($network_information-split ",") [1]

    Get-VM-name $virtual_machine | Get-NetworkAdapter-name $network_adapter | Together-NetworkAdapter - NetworkName $network_vlan-Verbose-RunAsync-confirm: $false | Out-Null

    }

    }

    # Start the virtual machines

    foreach ($vm to $vm_list)

    {

    Start-VM - VM $vm. Name-RunAsync Verbose - confirm: $false | Out-Null}

    }

    Thanks in advance for any help.

    Hi all

    I made some changes to the script and it worked for me. We have added a host on the destination with all exchanges and storage mapped vCenter.

    $vm_list = get-Cluster-name 'Site B - b | Get - VM | Name sort

    $information = {foreach ($vm to $vm_list)

    $network_adapter_information = get-NetworkAdapter - VM $vm

    $vm | Select Name,PowerState,ResourcePool,@{N="Path; E=       {$_. ExtensionData.Summary.Config.VmPathName}},@{N="NetworkAdapter '; E = {[string]: join (":", ($network_adapter_information |))} %{$_. {{(Nom + "," + _.NetworkName $}))}}, @{N = "MacAddress"; E = {[string]: join (",", ($network_adapter_information | % {$_.}))} MacAddress}))}}

    }

    # Unsubscribe virtual machines

    Remove-VM - VM $vm_list-Verbose - confirm: $false

    $cluster = get-Cluster "Site A - clustera.

    {foreach ($vm to $information)

    $ESXHost = get-Cluster $cluster | Get-VMHost | Select - 1 first

    New-VM - VMFilePath $vm.path - VMHost $ESXHost - location $vm. Folder - ResourcePool (Get-Cluster $cluster |) Get-ResourcePool $vm. ResourcePool)

    }

    # Save virtual machines

    foreach ($info in $information)

    {

    $vmxpath = $info. Path

    $resource_pool = $info. ResourcePool

    New-VM - ResourcePool (ResourcePool-Get-name "test1") VMFilePath - $vmxpath - RunAsync-Verbose | Out-Null

    }

    # Put the network cards

    .

    foreach ($info in $information)

    {

    foreach ($network_information in ($info.NetworkAdapter - split ":"))))

    {

    $virtual_machine = $info | %{$_. Name}

    $network_adapter = ($network_information-split ",") [0]

    $network_vlan = ($network_information-split ",") [1]

    Get-VM-name $virtual_machine | Get-NetworkAdapter-name $network_adapter | Together-NetworkAdapter - NetworkName $network_vlan-Verbose - confirm: $false | Out-Null

    }

    }

    # Start the virtual machines

    foreach ($vm to $vm_list)

    {

    Start-VM - VM $vm. Name-RunAsync Verbose - confirm: $false | Out-Null

    }

    Hope this will help many of you.

  • Difference between tasks and events in a virtual machine

    Hello

    I wonder if someone can help me. I am trying to identify when and how the as many times a virtual machine has been migrated manually by a user. The task of the virtual machine in question pane indicates that a task 'Migrate virtual machine' took place 31, but I don't see any event corresponding to this day here. If I click on related events, it comes up indicating that a migration has occurred. If I look at the events tab, then I see that there is a 18-type event "Migrate virtual machine" However there is no corresponding task. There is no event HA and DRS is disabled.

    My question is, that we should I think or is it a combination of the two? Only a manual migration by an administrator would be able to move the machine.

    Thank you

    Dan

    In the web client, the tasks are empty, but events are there.

    I have query to the database of vmware to bring to the event log and the get the DRS and migration events.

    The query has been

    Select EVENT_ID EVENT_TYPE, CREATE_TIME, username, VM_ID, VM_NAME, HOST_ID and HOST_NAME.

    COMPUTERESOURCE_ID, COMPUTERESOURCE_TYPE, COMPUTERESOURCE_NAME from VPX_EVENT where the EVENT_TYPE like '% VmMigrated %' and VM_NAME as ''.

    order of CREATE_TIME

    Thanks for your help.

  • reconfiguration of a migrated virtual machine...

    Hello

    I have a bit of a delicate here.  I have a virtual machine that was originally a physical machine with a 500 GB hard drive.  I used a P2V to convert the HyperV machine and this is where the machine has been sitting whirring away for the last 6 months.  However, after that HyperV us has failed many times and damaged a few virtual machines and caused many headahces we decided to bite the bullet and strain upward to VMware Vsphere5.  So I migrated this VM and noticed that it takes 500 GB of space on my data store and use only 19 gb in the virtual machine, so there is a lot of wasted space.

    I have ried to many methods to try to reduce the volume without success, everyone had a similar situation and fixed it?

    Tried many things:

    Change to thin provisioned during HyperV migration to VMWare

    A narrowed the main drive of Windows Hyper-v, compact and tried to migrate

    A narrowed the disk of the virtual machine on VMWare machine still cannot recover this space.

    Windows backup and restore to a new virtual machine

    Other options would be greatly received.

    concerning

    Dean

    Have you tried to select "Function of Volume" in the advanced options of the converter? A basic volume conversion works on the file level and thin provisioned (or resized) target with a drive, you should be able to save disk space.

    André

  • Slow startup and performance of the virtual machine

    Hello

    We used with ESX 3.5 U3 and VC 2.5 Build 119801 for quite awhile. We organize two virtual computers W2k3 running Citrix XenApp 4.5 (last patchlevel). One of these two machines have a meaning very, very bad performance 100% cpu and memory. The other virtual machine works (ago implemented by cloning each other) fine.

    We migrated virtual machine causing the problem to another host ahead has a bottleneck of the esx host. But if there is only the one virtual machine on an esx host, the problem remains. When starting the virtual machine, the W2k3 bootscreens hung for at least eight minutes. We followed the vmware.log in the datadir of the virtual machine. The vmware.log says:

    10:05:27.209 Mar 27: vcpu-0 | SVGA: Registration MemSpace 0xf8000000 (0xf8000000) and 0xf4000000 (0xf4000000)

    We have no memory of overcommitting, no action, no DRS, without limits and without reserves. I just deleted a snapshot as I thought writing the delta file could slow the operation.

    All other virtual machines seemed fine.

    Any of you have seen this problem before?

    Thanks in advance,

    Daniel Volkerts

    OK, then once the machine starts, run the real-time performance monitor, add counters for cpu, mem, disc and see if it goes pic... also Task Manager control which process takes more cpu or mem...

  • migrate virtual machines between linked vcenters 5.1

    Hi all, is it possible? can I migrate virtual machines to different servers of vcenter ├a the State of related modes? Thank you

    If you want to try to move to a different data store, then you can consider V2V as well.

  • Cannot convert a virtual machine while it is powere on or suspended. Shut down and power off the virtual machine before the conversion.

    Hi all

    I am currently using preinstalled VMware 7.1 and I try to import a virtual machine, I used to work on my windows XP. Recently, I am using windows VISTA and I am trying to import my VM (.vmx) and I get this error "cannot convert a virtual machine, although it is powere on or suspended. "Shut down and power off the virtual machine before the conversion.

    This virtual machine worked very well under windows XP and VMware 6.5, but now I am not able to import it. Please suggest how I can make this virtual machine running in my VISTA and vmware 7.1.

    I am also attaching the converter file logs and .vmx vmware.

    Thank you...

    Is there a problem with this backup?

    It is possible. How big is she?

    Right-click on the vmdk file in Solution Explorer, then select «Map virtual disk...» "Does it work?

    André

  • Power and turn off the virtual machine

    I write some scripts to turn off a virtual computer and power on the virtual machine.  Can someone please tell me what commands that I use to power on a virtual machine and a virtual computer power off, if this is possible.

    Thank you

    Depends on if you have the VMware tools running.

    (1) without tools

    Get-VM  | Stop-VM
    

    (2) with tools

    Get-VM  | Shutdown-VMGuest
    

    The 2nd method let the OS do stop.

    The first method is the power Cup.

    For power on you can use

    Get-VM  | Start-VM
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • How access host files to virtual machine, host is Windows Vista and Red Hat Linux virtual machine?

    Please can you let me know them below, thanks, really appreciate your help on this.

    How access host files to virtual machine, host is Windows Vista and Red Hat Linux virtual machine?

    Thank you and best regards,

    Sam

    The RPM of samba must exist in the CD of RHEL itself. in any case, you can use winSCP tool to your windows host.

Maybe you are looking for