Solved

Is it possible to migrate a guest machine off a disconnected ESX host 3.5?

Posted on 2010-11-07
7
5,965 Views
Last Modified: 2012-05-10
Hi,

I have a vCenter server with 6 ESX 3.5 I host, one of the host has a harddisk fault  but somehow the 2 guest vm are still running normally and I can RDP to these 2 vms and I could see users still logged on.

From the viclient, the ESX hosts and its guest vms are all disconnected state. Is there some way that I can still vmotion these vms to other operational host through vCentre?

Any help is greatly appreciated. thank you.
0
Comment
Question by:itontap001
7 Comments
 
LVL 4

Assisted Solution

by:Pro_
Pro_ earned 100 total points
ID: 34082041
Have you restarted services to try to reconnect to VM's

 http://communities.vmware.com/thread/207917
0
 
LVL 16

Accepted Solution

by:
danm66 earned 250 total points
ID: 34082109
your safest bet is to use converter to do a life conversion of the running vm's to another host.  It is not uncommon for ESX to still keep the vm's running after a vmfs/disk crash but as soon as you bring it down, you will lose any changes if they can't be written to the disk.

You have to have the hosts running in a normal state within VCenter to do a vmotion, so if you can't restart mgmt to get them back into VC, then you are looking at doing a cold migration, if the datastore is still capable of being seen by the other hosts.  If it isn't, then you are probably stuck with trying to use converter to copy the contents over to a new vm.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 150 total points
ID: 34083649
As "danm66" stated...your answer is 'no', you can't vMotion VMs unless vCenter and your Cluster are working properly. Your only live migration option is to use either vCenter Converter Standalone tool (http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0) or vRanger's vConverter (http://vizioncore.com/free/vconverter). Doing this will get your VMs off your host so you can perform maintenance on it without downtime to your VMs.

Regards,
~coolsport00
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:itontap001
ID: 34125473
I couldn't figure out how to perform a cold migration and can't google anything useful. From other hosts, there seems to be no way to add those VMs (on faulty host) to its inventory. All hosts have access to the same datastore.

Can someone provide some instructions on cold migration? This is a ESX 3.5 host.
Thank you!
 
0
 

Author Comment

by:itontap001
ID: 34125493
Forgot to mentioned that I have resolved this by rebooting the physical host and the ESX host is then able to be connected via viClient. From this point onwards, I just migrate the VMs across to other hosts.

I guess restarting the vmware service might also work, but I am not sure if I was able to get into the service console at that point when 1 of the raided hdd failed.
0
 
LVL 16

Expert Comment

by:danm66
ID: 34125514
a cold migration is done the same way a vmotion is done, it's just that the VM isn't running.  You can "manually" do a cold migration by unregistering/removing a VM from inventory, then using the datastore browser to find the VM's folder, right-clicking on the .vmx file and choosing 'add to inventory'.

In your case with the host being in disconnected or not responding state, you would want to shutdown the vm(s) remotely, remove the host from VC (right-click, remove), then using the datastore browser through another host in the VC to add the vm's back into the VC inventory.  At that point, you can power them back on and they'll be running on one of the other hosts within the cluster.
0
 

Author Comment

by:itontap001
ID: 34151660
Thanks danm66!

On the topic of cold migration, I have export a VM from ESX3.5 which created an ovf format of the VM. How do I add the .ovf file to the new ESX4.0 host inventory? I couldn't right click on .ovf file and choose 'add to inventory'. I've been searching online with no luck...

Please advise.


0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

816 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

10 Experts available now in Live!

Get 1:1 Help Now