Solved

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

Posted on 2014-04-12
6
466 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 121

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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
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 121

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
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 configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

627 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