Browsed by
Tag: powercli

Sample 2 Node vSAN Deployment Script

Sample 2 Node vSAN Deployment Script

A couple months back, I published a YouTube video of my deploying/setting up a 2 Node vSAN cluster with nothing but PowerCLI. It got a few views and several people internally at VMware asked for the source code. Well, this has been a long time coming, with my working on it on/off for a while, with the vast majority of the coding done on weekends. The foundation I wanted to keep it simple/modular, so I put together a PowerCLI module….

Read More Read More

Backup or Recover SPBM Profiles with PowerCLI

Backup or Recover SPBM Profiles with PowerCLI

I work in the lab a lot. One of the tasks that I often perform is: Blowing away my VCSA (or Windows vCenter Server), Redeploying it, and Reattaching it to a cluster that is running vSAN. As a result of a new VCSA deployment, only a few SPBM policies will be present. Any previously available SPBM polices are lost with the previous VCSA instance.

Virtual SAN 6.2 & PowerCLI – Sparse Virtual Swap files

Virtual SAN 6.2 & PowerCLI – Sparse Virtual Swap files

One of the Space Efficiency features of Virtual SAN 6.2 that is available for both All-Flash and Hybrid configurations, is the introduction of Sparse Virtual Swap files. Swap files on Virtual SAN by default, are created with the .vswp 100% reserved. In a thin provisioned/guaranteed capacity perspective, it could be said that they effectively┬áLazy Zeroed Thick (LZT). Virtual Swap files (.vswp) are created when a virtual machine doesn’t have a memory reservation equal to the amount of memory the virtual…

Read More Read More

VSAN, SPBM Compliance, & PowerCLI

VSAN, SPBM Compliance, & PowerCLI

I very often tear down/distress my “lab” environment while working on docs/testing code/trying to replicate issues/etc. I was trying to recreate an issue the other day and decided to replace my vCenter Appliance. I deleted the VCSA, but left some of the other VMs, as they had some services I needed like DNS. After deploying the a new VCSA, I noticed an error in the Cluster’s Monitor tab, under Virtual SAN, specific to my VSAN objects. ┬áThe Compliance status for…

Read More Read More

VSAN Health Check VIB Installation & vSphere ROBO/Essentials Plus

VSAN Health Check VIB Installation & vSphere ROBO/Essentials Plus

I was talking with a fellow VMware guy, Matt Lydy, at VMworld Barcelona and he brought something to my attention around the Virtual SAN 6.x Health Check Plug-in. Matt is a Technical Account Manager in Ohio. I had the pleasure of working the VMware booth with him at VMworld US. He mentioned that the Health Check plugin requires Dynamic Resource Scheduling (DRS). I was pretty sure this wasn’t correct, but upon further conversation, he specified that DRS is required for…

Read More Read More