Problems Deleting VM's from VCenter

I have about 5 Virtual desktops that have quit working.  I can not turn them off or delete them.

In VMWare 5.5

Any one have an idea how to get rid of these?

Just as a side note in case this is related- I have tried to create new ones.  I can create them with no issue.  Once created they map network drives just fine and can connect to the internet with no issue.  But I cannot remote desktop to any of the new ones or ping them either.

Can't even ping them from the domain controller.  I have tried static ip and dhcp.  I have even swapped the ip addresses with ones that are working- the ones working work with the new ip but the new ones don't work with the old ip.

Virtual desktops are running 8.1 Pro
Rob HayesDirector of ITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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:
Okay, for non-responsive virtual machines, in the following order:-

1. Restart Network Management Agents on the Host ESXi server - this does not affect running VMs,

then...(if the above does not work!

2. Restart vCenter Server service - this does not affect running VMs,

then...(if the above does not work!

3. Restart ESXi Host
Rob HayesDirector of ITAuthor Commented:
I am not sure how to so either.  I am not a command line guy and I am working remotely

Is there a way to do this within the vcenter or will I have to putty into the hosts?
Rob HayesDirector of ITAuthor Commented:
do either not so either
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
vCenter Server - you need to restart the vCenter Server service. (RDP to vCenter).

if you are not at the console, you will have to login via PuTTY to ESXi, and then type

/sbin/services.sh restart
A. Cristian CsikiSenior System AdministratorCommented:
Hi,

Try power off not shut down, from the VM power menu. Maybe the vmware tools is not respoding. Also check the network interface that is associated if is connected.

Cristian
Rob HayesDirector of ITAuthor Commented:
ok- I am trying to connect via putty and its kicking me out saying cannot connect and I Just noticed all of the VMS are on one host but not everything on that host is have an issue

I am rdp to the vcenter server stopping vcenter  service- restarting now
Rob HayesDirector of ITAuthor Commented:
Cristian- I have tried every available option - they all time out
A. Cristian CsikiSenior System AdministratorCommented:
Is your datastore connected?
Are all the VMs affected on same datastore?
Rob HayesDirector of ITAuthor Commented:
no- same host not same data store- I cannot migrate the 6- I cannot shut them off- I really cant do anything at this point
A. Cristian CsikiSenior System AdministratorCommented:
Your VMs have internet but they are not ping-able.
You cannot power off them or delete them.
Can you try to login directly with vsphere client on host? (Maybe you don't have rights).

You were saying you tried to SSH with Putty. Where? In vCenter? Try in the host with the problem. Run the following commands:

Get a list of running virtual machines, identified by World ID, UUID, Display Name, and path to the .vmx configuration file by running this command:
esxcli vm process list

Power off one of the virtual machines from the list using this command:
esxcli vm process kill --type= [soft,hard,force] --world-id= WorldNumber

If you cannot login with SSH in host, check if is enabled from Host - Configuration - Software - Security Profile.

If is enabled and still cannot connect, try to reboot the host. (from vsphere client)
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Did u restart services?

Did it work?
Rob HayesDirector of ITAuthor Commented:
ok we are mixing things up here
I have 6 VM's all on one host- I was able to migrate off the other 12 VMS on this host- all giving me a heartbeat warning when I moved them but the migrated none the less.  The 6 left cannot be shut down- rebooted reset migrated or any other command.

As A work around in order to get the remote users up an running I created some NEW VM's deployed from a template.  Created with no issues.  Drive mappings work just fine.  Can connect to the internet.

Cannot ping or cannot RDP to these.

This is a completely separate issue but I was throwing this issue in the mix in case this might have some bearing on the above issue.


The host with the 6 VM's cannot be but into maintenance mode without the removal of the 6 VMS- I dint care about the VMS at this point- they re easily recreated but I need to get them off and deleted at least
Rob HayesDirector of ITAuthor Commented:
Andrew- you have been missing conversation.  I stopped the Vcenter service on the vsphere server- no change.

I cannot putty into host- when I do it kicks me out says connection refused
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay I have an article for you to follow

Please see my EE Article, step by step tutorial with screenshots

Part 5: HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 5.1 (ESXi 5.1)

valid for all versions of ESXi.

and at the console/command line type

/sbin/services.sh restart

and wait.

and then go back to vCenter Server login, the server will state disconnected, and then re-connect, and check if you can then delete the VMs from Inventory.

they could state orphaned or disconnected.

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
Rob HayesDirector of ITAuthor Commented:
ok- iis there supposed to be a link somewhere or am I supposed to search for the article
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Rob HayesDirector of ITAuthor Commented:
ok- I have restarted services

the migration machine is still stuck it will not even let me shut down the host

heading to the office to manually shut it down
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you have restarted all the services, both network management agents and vCenter Server service, a process is hung, and the quickest and easiest method would be to restart the Host Server.
Rob HayesDirector of ITAuthor Commented:
Well I guess a watched pot never boils- bye the time I got here everything had done what it need to do and yes the end result is the VMWare tools install is jacked up on those boxes so I had to update
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.