Solved

vSphere 5 Datastores

Posted on 2013-01-23
7
884 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
[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
  • 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 120
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
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

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 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

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…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
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…

726 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