Posts

Showing posts from March, 2016

vSAN: Configure an all-flash vSAN using PowerCLI

Script that I'm putting together to configure new all-flash vSAN clusters.  Still a work in progress, I plan on making it into a function once I've worked out the kinks.  Hosting it on gist.github.com so feel free to make suggestions.


vSAN: Rebuilding an ESXi host that has vSAN claimed disks...

Image
Summary:
While configuring my hosts, I ran into various issues.  One host simply decided to stop talking and the hostd service became unstable.  This meant vCenter could not access the ESXi host to manage it.  One issue I had was that my hosts were missing PTR entries, but even w/ that resolved, I was still stuck w/ one host having issues.

Quick Fix (Assumes no data on vSAN disks, use info at your own risk):
Assuming you have vSAN claimed disks, this is how you can clear them up.
Gather your list of disk on the host using this command:ls /vmfs/devices/disksOnes appended w/ a :1 or 2 are typically your vSAN disks, you can double check using this command:partedUtil getptbl /vmfs/devices/disks/naa.#################Return looks like this: Once you've determined which ones have those partitions, delete them:partedUtil delete /vmfs/devices/disks/naa.################# 1partedUtil delete /vmfs/devices/disks/naa.################# 2Once all have been deleted, restart services:services.sh resta…

Nutanix: Role Mapping Quirk

Image
Summary:
Basically was trying to map a set of AD groups to the Cluster Admin role in Nutanix/Prism.  It appears the role mapping config is very literal.  Meaning, putting in a group like this:

GroupA, GroupB

GroupA will work, but members of GroupB will not have access.  This is because of a 'space' after the comma.  Valid input would be:

GroupA,GroupB