Best way to migrate virtual machines to new ESXi hosts with a different configuration of networking.

We currently have a cluster of 6 Dell machines that move VM 120 or so on ESXi 5.5. Networking consists of a dVswitch with 6 uplinks that map to 6 x 1gig physical NETWORK adapters on each host ESXi... These are grouped into 3 trunks / gal, so we have 2 GB by SHIFTING of the bandwidth and failover. The LAGS are configured as follows:

LAG1

Traffic to our (NFS) shared data store and management of ESXi. (vmk0)

LAG2

Access to the network of the VM - groups of different ports on different VLANS

LAG3

vMotion (vmk1)

We just bought 6 new Dell machines that have connections fiber 2 x 10gig each. The idea is to bring together in a 20Ggig LAG by machine that will handle all of the traffic, so traffic NFS data store, network traffic from the VM, vMotion and traffic management ESXi.


What is the best way to migrate the virtual machine in the cluster existing to the new machines? Many of the virtual machine are essential, so we cannot stop time.


Can I create the new DELAY on existing dVswitch and put it as an auxiliary card? I'll be able to do it for all 3 of the above both above LAGS?


Thanks for the info Alistar, it's almost here. The bit that was me stumping was that after establishing a new dVswitch I received messages that the new dvSwitch was not reachable on the old host, when I tried to migrate the virtual computer.

The solution (with the permission of VMware Support) was that I need to add the two dVswitches to one of the old hosts, then assign a physical alternative on this host uplink to a temporary 3 uplink on the new dVswitch. I then tag all the relevant VLAN that uplink.

This way I can first migrate the virtual machine to the new dVswitch networking so I can move the computer to the new cluster.

Obviously I can only migrate from old to new cluster with a single host. each virtual machine must be a double for the host with 2 switches, and then to the new cluster. I also had to have the two dVswitches to the same version.

Fortunately, I had a physical rising spare on the hosts of the old, otherwise I would have had to break one of the trunks and re-use of one of these uplinks.

Oh and be aware, impossible to use the same names for groups of ports 2 DV switches, they must be unique!

Nick

Tags: VMware

Similar Questions

  • Best way to transfer virtual machines in ESX ESXi?

    Hi all

    Anyone know an easy secure way to transfer a virtual machine on ESX ESXi 3.5?

    Stop the virtual machine, copy the files from the computer virtual, then "Add to inventory" on ESX

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • What is the interval of time between the virtual machine Linux and ESXi host synchronization?

    I have ESX5.0 with a centos6 installed on this linux virtual machine.

    After the installation of vmware for Linux virtual machine tools, I activated the time synchronization between the virtual machine linux and ESXi host through vmware-toolbox-cmd.

    I wonder what is the interval of time between the virtual machine linux and ESXi host synchronization? If I quickly time OS system, when the OS system time will sync back to the ESXi host?

    According to http://www.vmware.com/files/pdf/techpaper/Timekeeping-In-VirtualMachines.pdf:

    By default, the demon checks the guest only once per minute operating system clock.

    However, depending on whether the guest is behind or in front of the result is different. So, please read the section "periodic synchronization" (at least) in the document mentioned above.

    André

  • What is the best way to restore virtual machines after a refresh of the server

    Hi all

    First time poster here. A group of people at my work have their own VMWare environment which they install later. It has 3 virtual machines running on it, and they want to set up a fourth. Unfortunately the new machine, they want to put in place is going to be almost 1 TB in size, and they initially setup the VMFS datastore to 1 MB, which means that a machine can be as large as 256GB.

    Research, it seems that there is absolutely no way to work around this problem, except to redo the data store. Is this correct? If this is the case, I was looking at a way to save the three current machines and to reload them after it is updated. A way that I thought was to go browse the data store and copy all the files on my local machine to the virtual machine (.nvram, hard, .vmx etx... all the files), wipeout and redo the ESXi host with the correct setting of data store, build the machines VMS in vSphere, and then replace the files with those copied. This works perfectly? I don't see a lot of information out there about it and I want to make sure that I have not to spoil the VMs. This environment consists of 1 ESXi host with all the local storage (2 TB).

    Also, if anyone knows a better way to do this, please feel free to give your comments. I would really appreciate it.

    Thank you

    Hello

    Welcome to the community!

    Research, it seems that there is absolutely no way to work around this problem, except to redo the data store. Is this correct?

    Yes, unfortunately there no way to change the block size of the datastore to vmfs without reformatting.

    If this is the case, I was looking at a way to save the three current machines and to reload them after it is updated. A way that I thought was to go browse the data store and copy all the files on my local machine to the virtual machine (.nvram, hard, .vmx etx... all the files), wipeout and redo the ESXi host with the correct setting of data store, build the machines VMS in vSphere, and then replace the files with those copied. This works perfectly? I have

    Yes, it will work. You have just to copy all files in this VMFS datastore to a place safe and download once the block size has increased. Once the download is complete, navigate to the virtual machine, the virtual machine folder right click and save the VMX.

    You can find the steps to change the size of the block VMFS in this KB. VMware KB: block the size of a VMFS data store limitations

  • migrate virtual machines to new host

    How can I migrate easily all my virtual machines (12) on my current 5.1 ESXi host to new host ESXi 5.1... ?

    [1] put the former host's hard drive in the new host and perform an upgrade from 5.1 ESXi installation disk (the hard drives of the two hosts are the same)?

    [2] put HDD in the new host as a secondary, pop disk in the ESXi 5.1 installation disc to install ESXi 5.1 on the new host's hard drive, but migrate/import virtual machines from the data on the secondary drive (drive old host) store? the host of the former

    [3] pop in the ESXi 5.1 installation disc to install ESXi 5.1 on the new host's hard drive. Once completed, put the hard drive of the host of the former in the new host as a secondary drive and copy/import virtual machines from the data store on the secondary drive (drive old host) using VMware vSphere Client?

    [4] install ESXi 5.1 on the new host, he networked with the old host and use VMware vCenter Converter to import virtual machines from the old host?

    What might work is engaging the larger disk of 'old' to a SATA port once you have installed the disk again, ESXi. Attaching to a port USB probably won't work because VMFS volumes are not supported on USB devices.

    André

  • Best way to backup virtual machines?

    I'm under Fusion 2.0.4. I recently acquired an external hard drive and I want to backup my virtual machines. I watched the tutorial of Fusion which suggested using Time Machine, but I read that restoring a virtual computer from a TM backup could cause problems. Is this true? If so, should I simply create a file duplicate and save that to the external hard drive? What is the best way to back up the virtual machine?

    Note: I use shared folders to save the documents, photos, etc., but would like to save the entire guest operating system.

    First AutoProtect is not the same, nor intended to be a copy of backup of the virtual machine and Time Machine knows a lot of backup and restore of Virtual Machines under certain conditions and should not be relied on as the only method of recovery.

    While Time Machine can back up and restore a virtual machine with success there are a number of conditions that can cause this to fail and without warning, and therefore it is not considered reliable for backup of Virtual Machines under normal conditions.

    AFAIC backup is valid that a virtual machine is when it is done with stop the Virtual Machine, not suspended and closed merger and the entire Virtual Machine is copied to another location in which one has a little bit duplicate of the complete set of the VM total at this point in time and nothing less realized by Time Machine by manually and not separate and apart from the files of the time Machine.  Note: The script process is providing that the conditions are met.

  • Best way to move virtual machines between two clusters: HP and UCS

    Hello

    We move the virtual machines in the cluster UCSChassis: 6 guests ESXi in a Cluster of HPChassis.

    I wonder how do it with minimum downtime.

    Thanks for your help,

    If you have shared storage - expose the storahe where virtual machines are stored to both sets of guests - and the hosts are ocmpatible you can vmotion - or at least - to stop the mover VM's from the environment of the UCS and add it to the HP environment.

    If you can't share the storage you - you can use VMwate Standalone converter and V2V the VMs-

  • 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).

  • VCenter Server installed as a virtual machine within a ESXi servers it manages?

    Hi all.  I'm new in the world of VSphere... still in my evaluation period.

    I have only a single ESXi server running at the moment but plans to add a second later for high availability, vmotion, increase general capacity, etc.  They are / will be ESXi running on the internal storage and the virtual machines running on a shared SAN.

    Today, I installed VCenter Server 4 on a server at bottom of range/Office that I was carrying around running XP Pro x 64.

    As I was installing I read the guide installation and to my surprise, it seems to recommend that I have installed VCenter Server 4 as a virtual machine on my ESXi host.

    Now maybe I just spent too much time setting up my without new Lefthand requiring a 'witness' during the failover of one SAN to another... but I was under the impression that VCenter Server is not designed simply to host configuration, but is also designed to act as a 'witness' or to take account of quorum whenever a failure scenario occurred on one of my ESXi hosts.  I also noticed the VCenter Server features of a port "heartbeat", which I suppose one would use for the ESXi server heartbeat, but perhaps it is used for "connected mode" with other VCenter servers (I was intending to use only one since it is a small scale installation) I also felt that it would be useful enough to restore a damaged or shot ESXi host.

    So my question is, if my ESXi host dies and it is where I have VCenter Server installed, then high availability will be unable to work?  I guess there are going to be other issues with me unable to access VCenter Server while I have an ESXi host shot, too, as a greater difficulty to get the ESXi up?

    Maybe I'm wrong understand the purpose of the VCenter server... maybe it's not something that's necessary for HA, recovery, etc. and acts only as a configuration tool until something is wrong?  Or maybe I misunderstood the installation guide and they recommend only installing VCenter Server on an ESX box... they don't want this ESX box to be part of the group that manages the server?

    Finally, if indeed they recommend I install this on a ESXi host manages... would I ideally be install this for local storage on the server (where I installed ESXi) or on the SAN (where all my other virtual machines are installed)... or is it just personal preference?

    Thank you!!

    When you add hosts an active hemagglutinin vCenter cluster HA agent is installed on it.  This agent is what is actually the HA.  While necessary to add new hosts in a cluster and configure some specific parameters of vCenter vCenter's agents HA are self-sufficient and can handle HA failover so vCenter is offline.

    You must install the vCenter VM on SAN storage, so that he can use the vMotion, sVmotion, DRS, HA, functions etc. that require a SAN.

    -MattG

    If you find this information useful, please give points to "correct" or "useful".

  • Best way to migrate without Vmotion virtual computer

    Hi all

    I was wondering if you have ESX vmotion but have HA which is the best way to migrate the virtual computer on to the oringal in a cluster host when HA moves a virtual machine because of a failure of the host.

    I know that you can export the VM over the other host when he returns to the top and you can add it to the inventory if it is a hardware failure and the original host will not return upward anytime soon.  What is the best way to achieve this?  is there maybe a console command to grow HA a virtual machine over another host or export is still the best way?

    Welcome to the forums - with vmotion output, there is no way to do it with out the time - the easiest way is to turn off the virtual machine - unsubscribe form the host is on - don't use the browser to store data on the second andreadd from host to host and turn on the virtual machine - you should be able to do this in less than 5 minutes.

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

  • 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.

  • 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

  • Require a process step by step for the migration of virtual machines to new VMware ESX hypervisor

    Hello

    I'm looking for the method step by step for the migration of virtual machines to new host ESX Migration both cold and hot.

    Scenario - I have two data centers running ESX host stand-alone (with VM) in Europe. I need to build the new ESX host in new Dataceter to Singapore.

    Need prerequisites, the methods available for migrate VMWARE virtual has new host ESX (in the new data center) with minimum downtime.

    It will be great if you can enumerate the markets or redirect me to documentation that I can use to create detailed steps as the target host compatibility check on VMs and so on.

    Please advice

    Concerning

    AVI

    The steps are correct. The virtual machine must be turned off (step 3).

  • What is the best way to migrate PSE6 catalogue (Wxp) to new computer W7, PSE11?

    What is the best way to migrate PSE6 catalogue (Wxp) to new computer W7, PSE11?  Recovery of previous PSE6 (Wxp) after a HD failure gave rise to images showing, but not not opening due to connection problems.  Had to restore backup images and rebuild the catalog and albums.  Found a fix to third later that has no support spent PSE8.  Try to make this migration to painless PSE11.

    William47 wrote:

    What is the best way to migrate PSE6 catalogue (Wxp) to new computer W7, PSE11?  Recovery of previous PSE6 (Wxp) after a HD failure gave rise to images showing, but not not opening due to connection problems.  Had to restore backup images and rebuild the catalog and albums.  Found a fix to third later that has no support spent PSE8.  Try to make this migration to painless PSE11.

    This is a very common and classic situation:

    http://helpx.Adobe.com/Photoshop-elements/KB/backup-restore-move-catalog-Photoshop.html

    Just make sure that your backup on the external drive is ok: you should find a "backup.tly" file in the folder.

    Use the organizer of PSE11 to restore the backup of the PSE7: the first step restores all your multimedia files, the second automatically performs a conversion of catalogue in format PSE11.

    Read the note in the link above on the restoration of XP to the ulterior Win operating system. You can also restore to a location 'custom '. For example in a "C:\My new library" folder. Make sure the main folder is accessible to all users, and if you wish, you can move the catalog (database), itself from this location to the default location: Catalog Manager, ability to move catalogs in location that is accessible to all users.

  • The best way to migrate data... Opinion please...

    Guys,

    I'm working on a solution for a customer who needs to move in a new SAN SAN data.

    Existing SAN is attached to the ESX server farm and is very close to the location of a new SAN. In your opinion, what is the best way to move data without interruption to VM ESX farm?

    I know we can do SAN replication, but right now, I don't know if the SAN is still the same provider.

    I know we can do Storage VMotion. In this case, he should present the new SAN somehow for the existing ESX servers.

    I know that we can probably use the converter to migrate virtual machines. This can take some time because we would go over WAN.

    What are your thoughts?

    Thanks in advance for your comments!

    With 4 TB of data, I wouldn't pass on the replication SAN or WAN solution of optimization of the property, and it can fly quickly with 4 TB of data that you use storage vmotion which basically depends on how your WAN links are, if if its quick to go for it.  There is not another free solution then this but if you can manage somehow to make backup of system state of all virtual machines, and then you can ship these backup data to remote locations and import, save back to clusters.  You have to do the actual calculation how fast you can Transfer data from the siteA-> siteB Mbps?  This will give you a clearer picture of how long it will take and picture plan here.  I could do that during maintenance or weekend windows that are the least impact to users and systems.

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

Maybe you are looking for