Solved

lingering .sphere-ha heartbeat files in datastore but no cluster / HA anymore

Posted on 2014-04-12
6
450 Views
Last Modified: 2014-04-19
I inherited an environment where the Previous Owner had started a migration from VMware esx5.1 to HyperV 2012. Once upon a time there were 3 esx 5.1 hosts managed with a vsphere server for high availability and vmotion. Now only one of those hosts remain, and the vsphere management server is long gone.

I want to delete a volume assigned to this esx host, but I found these lingering HA folders (I believe they are the heartbeat servers). I've attached a pic.

Normally Id probably just leave the volume out of an abundance of caution until I was all through with the esx host, but to complete the migration it would be MUCH easier if I could reclaim that volume space.

What I don't know is 1) Can I move these files in some way 2) Can I delete these files without further risk to the 2 VM guests and the host that remain, given that HA / clustering isn't working anyway 3) how is the best way to go about doing any of that.
vm-03-vspherejunk.jpg
0
Comment
Question by:Eric_Price
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39996469
If you have no vCenter Server, and VMware vSphere HA Cluster no longer exists, you can safely remove the datastores, as these files will no longer be required.

However, if you have any ESXi servers left, they may still have the HA Agent (FDM Agent) installed, and could still have a lock on these files!

1) Can I move these files in some way

Yes, Cut and Paste from Datastore browser from vSphere Client.

2) Can I delete these files without further risk to the 2 VM guests and the host that remain, given that HA / clustering isn't working anyway

Yes, certainly, see my notes above about the HA Agent.

3) how is the best way to go about doing any of that.

Select the files and folders and delete using vSphere Client.

Let me know, if you get a locked or read only?
0
 
LVL 1

Author Comment

by:Eric_Price
ID: 39996491
So yes, when I go to download them to client I get an error (seriously, nothing more than that)

Also, when I attempt to just delete them I get

Error caused by file

/vmfs/volumes/4f428e27-32bb4ed1-7df9-d4856475b436/.vSphere-HA/FDM-6898blahblahblah-vcsvr-01
0
 
LVL 1

Author Comment

by:Eric_Price
ID: 39996505
Removing the server that was on that volume from inventory eliminated SOME of the files there, but I still cant delete. Now the error is

Error caused by file

/vmfs/volumes/4f428blahblahblahblah/.vSphere-HA
0
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 1

Assisted Solution

by:Eric_Price
Eric_Price earned 0 total points
ID: 39996566
From  your FDM comment and my own issues trying to delete I found this

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2013249

which tells how to stop the FDM service. Which I did.

Then I could delete the files, and subsequently unmount and delete the volume.

I'll leave this here for anyone else who wants to chime in on anything I should have done differently, but otherwise Ill close it tomorrow and award points.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39996685
Yes, if the Agent is still running, it will lock the file!

It depends on HOW, your previous Admin person, uninstalled, or clearly did not uininstall VMware HA before they started to remove ESXi and vCenter Server.
0
 
LVL 1

Author Closing Comment

by:Eric_Price
ID: 40010164
Has a link to the document that explicitly covers how to turn off FDM service
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ARP not working as expected 11 80
VMware ESXi EVC Mode 4 51
Microsoft Teams vs Outlook Groups vs Yammer vs Socialcast 3 72
VMWare Maintenance Mode 12 51
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

734 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