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
joaotellesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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 ?
0
joaotellesAuthor Commented:
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
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will need to ensure the VM is OFF.

So, couple of options here...

1. Connect to the Linux server, via SSH, and Shutdown.

or

2. Connect to ESXi server, and Restart Network Management Agents ?

Can you connect to ESXi server directly via vSphere Client ?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

joaotellesAuthor Commented:
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
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
joaotellesAuthor Commented:
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.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
joaotellesAuthor Commented:
I cant login the Linux VM.... I think it has to do with the networking somehow....
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
joaotellesAuthor Commented:
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
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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..
0
compdigit44Commented:
long term you could always reinstall ESXi and preserver the existing VMFS datastore and set a root password that you know
0
joaotellesAuthor Commented:
Tks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.