Link to home
Start Free TrialLog in
Avatar of joaotelles
joaotellesFlag for United States of America

asked on

Vmware 5.5 - Move VM from disconnected host to another one

Hi,

I have one disconnected host and I need to move a VM from it to another host.

The problem is that the option to Remove the VM from Inventory is grayed out...

PS: I was going to remove it and register it again on another host....

I think its because the the VM is Online... but the option to Offline is grayed out as well...

So, should I offline it through the console and remove it from the inventory and import back to the new host?

I wanted to validate this procedure before doing a mess...

Tks,
Joao
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Have you tried to fix, find out the reason why the Host ESXi server is disconnected ?

or you just want to get on with the move ?

Can you connect to the VM, e.g. via RDP if WIndows ?
Avatar of joaotelles

ASKER

Its a RHEL VM. (sry for not mentioning before).

Its another person responsible for the hosts, so now I only want to move this specific VM to another one and thats it...

My assumption before was wrong.. of course I cant connect to it thought the console.. :(

Looks like Im in a loop... I cant remove the VM because its Online and I cant offline it because the host is disconnected...

Tks,
Joao
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can reach the host via SSH, but I dont have the root passwd :((((((

If I connect to it, and shut it down, the VMS will crash correct? (just double checking.. I dont have vMotion or anything like this configured)...

There is one option at the vpshere web that is Reset to Green (I have attached the print).

Do you know what this would do? I imagine it would somehow reset the host... Is this the case?

Tks,
Joao
print.jpg
Okay, if you do not have the root password, you will not be able to Restart the Network Management agents - this is not restart the Host Server.

This does not affect the running VMs.

You will not be able to shutdown, or restart unless you have the root password.

You could just turn off the server, and this would crash all the VMs.

There is one option at the vpshere web that is Reset to Green (I have attached the print).

Nothing that can help us here.

Are the VMs located on shared storage which is shared between the Host Servers ?

Without the ROOT account, we cannot fix the issue with the Host Server or shut it down cleanly.
The disks are shared among the hosts.. there wouldnt be no problem with them I think....

I will try to get the root passwd on the next hours.. I keep you posted...

Tks for the help so far.
Okay.....I just wanted to check.

So you could try the following:-

Can you login to the Linux Virtual Machine and shut it down?

Then you could "try" registering with another host and power on.
I cant login the Linux VM.... I think it has to do with the networking somehow....
Okay, well the only option currently available to you is:-

Turn OFF the HOST!

But if all the VMs are working, what is the current rush?

if they are not working.....either wait for root password, or just turn off host.
Well... now I cant even ssh to the host anymore.. its not reaching,...

So its either go there (console) and stop the host or there is another hidden to do it from the vsphere...

I disconnected the host since it was in not responding state...

I will try to restore the host and connect it afterwards..

Tks,
Joao
At the host, you can restart network management agents, but you will need a ROOT account.

So.....if you really need to get these VMs working,....power off the host..
Avatar of compdigit44
compdigit44

long term you could always reinstall ESXi and preserver the existing VMFS datastore and set a root password that you know
Tks.