Solved

vSphere 5 Datastores

Posted on 2013-01-23
7
873 Views
Last Modified: 2013-02-26
Hi,

We've just upgraded to vSphere 5.0.1 and I'm going to blow away our datastores to reformat as VMFS 5. I've moved all the VMs off the datastores but there is a folder called ".vsphere-ha" still left on a couple . Can i safely delete this or is there something else we need to do.

Cheers
0
Comment
Question by:kswan_expert
  • 3
  • 2
  • 2
7 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 38812015
There should be a file within that folder that is used for HA; specifically, HA Datastore Heartbeating. You can disable HA in your Cluster then re-enable it..that should remove the folder/file. Once you're done upgrading your DSs, re-enable HA which will then auto recreate the files on the DSs. HA uses an algorithm based on a few factors to use for DS Heartbeating, which is a 2nd 'tier', if you will, used in determining if a host is isolated or not.

~coolsport00
0
 

Author Comment

by:kswan_expert
ID: 38812077
Cheers coolsport.

Lucky i asked this as i'd never thoughg abut disabling HA

So disable HA on the cluster, then folders should disappear and i right click on datastore,  then do i unmount or delete?  Then i go to the SAN,  delete the storage and recreate? I'm going to recreate larger datasores an re-present these.


Cheers
0
 
LVL 117
ID: 38812120
You can safely delete, and it does not matter about Disabling/Enabling HA, VMware HA will re-create it!

Technically, you should delete it, and then re-scan datastore, and then Mask Out, re-scan, then remove from your SAN.

(make sure you haved masked out on ALL ESXi servers, there is a nasty bug which still exists which sends the iSCSI initiator into a "dive", causing a hang for several minutes on ESXi 5.x (yes all versions!)

Create new LUN, remove LUN Mask, Add to ESXi (which will partiton and format as VMFS-5).

Ensure that it's ACL/Permissions are allocated to ALL ESXi hosts.

Re-scan and it should be then presented to ALL ESXi hosts.
Masking a LUN from ESX and ESXi using the MASK_PATH plug-in
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:kswan_expert
ID: 38812301
Cheers hancocka.

I'm getting a bit confused now, but that's just me (:

Do i want to an unmount or delete, whats the difference?? Also, how\why do I mask out?

I was going to go to HOME > INVENTORY > DATASTORES ... ensure there were no VMs or files on the datastore, right click and DELETE. Then go to HOME > INVENTORY > HOSTS and CLUSTERs and rescan each host. Then to SAN and delete LUN, recreate and re-present as normal. Sound safe and sound?

I don't mind turining off HA while i do this so i might if it is "safer"

Cheers
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 38812326
the article for mask is in my post.

you mask, because there is a potential issue, when you delete the datastore from your first ESXi host, it goes "missing" on the other hosts, (which it would, because you have got no time to do anything with them) and this can cause a potential issue where the ESXi server hangs for minutes or hours.

Technicall, you should always mask first.

You can, work back from the SAN, and mask on the SAN first, this would ensure the datastore disappears from ALL hosts at the same time!

Your idea is sound, other than a bug which exists, which "may/can" cause the iSCSI initiator to try constantly for the missing LUN/datastore on other hosts, under certain conditions.
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 250 total points
ID: 38812754
For removing datastores, yes, you don't need to undo HA as mentioned above. I personally do when I'm doing Host maintenance, but you're only removing/re-adding datastores. You can delete and it should be fine. I have yet to have any issues with deleting a datastore in the 5yrs I've been using VMware.

Yes, once you remove the datastore, however you choose to, then yes, just remove the LUN on your SAN then recreate. Attach to your ESXi Hosts on your SAN, then rescan your HBAs on each Host, then re-add the datastore thru the 'Add Storage' wizard (Config tab > Storage > Add Storage link).

Regards.
~coolsport00
0
 

Author Comment

by:kswan_expert
ID: 38812925
Thanks guys, appreciate it.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

One of the new features of a version 7.0 or later virtual machine, supported in VMware vSphere 4.1, 5.0 or the VMware vSphere Hypervisor ESXi 4.1, ESXi 5.0 often overlooked by VMware Administrators is the ability to add and connect USB devices conne…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now