Solved

How do you move/migrate vSphere vCenter into the environment it is managing?

Posted on 2014-12-14
5
460 Views
Last Modified: 2014-12-16
Hi,

I have 3 hosts in a vSphere 5.5 Standard cluster running approx 40 VMs. They are running on shared storage (a SAN).

My vCenter is also a VM - running Windows 2012 - but it is running on an etirely different host (ESXi free version 5.1.0 799733) which, of course, is completely separate from the 3 main 5.5 hosts / cluster. It is running "VM Version 8" (also known as the "hardware version").

My question is: How do I go about migrating this vCenter VM into the cluster that it is managing, so that it becomes part of the "family"?

The perhaps most straight-forward way would probably be:

1) Shut down the vCenter VM
2) Export the vCenter from 5.1 as an ovf file
3) Connect directly to one of the 5.5 hosts with vSphere windows client (cannot connect to vCenter, coz it is shut down, and cant use web client either), and choose to "Deploy ovf template" (then selecting the vCenter ovf file)
4) Check that the vCenter VM's settings (especially network) are correct for operating from the "new" 5.5 host
5) Start up vCenter and hope everything falls into place


An alternative step 2 and 3 could also be:
2-alt) Copy the VM's files to a lun on the shared storage
3-alt) Connect directly to one of the 5.5 hosts, locate the vmx file on shared storage, and select "Add to inventory"


I'm just worried that the relocation will confuse vCenter (and/or the hosts) somehow, and it therefore will stop working. Also, there might be some kind of compatibility issue. Or something else that will trip me up.

Can somebody please point the way and/or alleviate my fears? Thanks in advance!

Br,
Hans
0
Comment
Question by:LuftHansi-DK
  • 3
  • 2
5 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40498813
Your methods are correct.

We usually do the following:-

1. VMware vCenter needs to be powered off, before power off note the Host it's running on.

2. Connect directly to that host via vSphere Client

see my EE Article

Part 2: HOW TO: Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client

3. Remove from Inventory (but do not delete from disk!)

4. Options next are you could Export to OVF...

or just cut and paste between datastores.

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

HOW TO: Select the right answer to "I Moved It" or "I Copied It" in VMware vSphere (ESXi)

5. if cutting and pasting, Add to Inventory.

6. Power On vCenter, and re-connect back to vCenter Server.

OR...

HOW TO: "Live Migrate" VMware Virtual Machines between ESX/ESXi hosts and/or datastores for FREE without licenses for vMotion or Storage vMotion

Any questions ?
0
 

Author Comment

by:LuftHansi-DK
ID: 40499077
Hi Andrew,

Thank you for your speedy reply. One question (for now!):

So, when the vCenter server starts up on the "new" ESXi 5.5 host, it will automatically "rediscover itself" as being one of the VMs on that 5.5 host? I don't need to do anything to facilitate that discovery?

Br,
Hans
0
 
LVL 117
ID: 40499085
Correct, it will discover itself, and work out where it is.

sometimes, you may have an original unknown (inaccessible) entry in the inventory, which was the "old" phantom copy, which can be deleted. (it 's not linked to the original vCenter!)
0
 

Author Closing Comment

by:LuftHansi-DK
ID: 40502001
Thank you very much for your insights. I have not yet performed the move, but I have no doubt that your directions are correct, so I hereby give you the points.

I do, however, have another very related question, if you could be so kind:

SHOULD I move the vCenter onto the cluster (/SAN) that it is managing? So far, that environment has been quite stable (knock on wood!), and the "outside" servers (upon which we are running the free ESXi version) are approaching the end of their warranty period. So - new hardware, or move "inside" - what's your take? This also goes for our 3Par SAN Processor, bty (also running on a VM on a free ESXi host).

Thanks again,
Hans
0
 
LVL 117
ID: 40502085
I would have no hesitations to move the vCenter Server onto the SAN connected to the ESXI hosts, it's managing.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now