Upgrading ESXi environment with PowerCLI

A new ESXi 6.5 patch came out today:

https://kb.vmware.com/s/article/2151104

And I wanted to upgrade my whole lab environment to it and I haven’t set up auto-deploy or update manager yet (I plan to, making all of this much easier to manage). So I wrote a quick and dirty PowerCLI script that updates to the latest patch and if the host doesn’t have any VMs on it, puts it into maintenance mode and reboots it. I will reboot the other ones as needed.

So short, not really even worth throwing on GitHub, but I might make it cleaner, and smarter at some point and put it there. Continue reading “Upgrading ESXi environment with PowerCLI”

VVol Data Mobility: Data from Virtual to Physical

One of the most strategic benefits of Virtual Volumes is how it opens up your data mobility. Because there is no more VMDK encapsulation, VVols are just block volumes with whatever file system your guest OS in the VM puts on it. So a VVol is really just a volume hosting NTFS, or XFS or whatever. So if a target can read that file system, it can use that VVol. It does not have to be a VMware VM.

Let me start out with: YES our VVols deployment will be GA VERY soon. I am sorry (but not really) for continuing to tease VVols here.

This is one of the reasons we do not treat VVols on the FlashArray any differently than any other volume–because they aren’t different! So there is no reason you can’t move the data around. So why block it??

Some possibilities this function opens us:

  1. Take a RDM and make it a VVol
  2. Take a VVol and present it to an older VMware environment as a RDM
  3. Take a VVol and present it, or a copy of it, to a physical server.
  4. On the FlashArray we are also introducing something called CloudSnap, which will let you take snapshots of volumes (aka VVols) and send them to NFS, or S3 to be brought up as a EBS volume for an EC2 instance.

Continue reading “VVol Data Mobility: Data from Virtual to Physical”

What is a Config VVol Anyways?

I have blogged a decent amount recently about VVols and in many of those posts I mention config VVols. When using vSphere Virtual Volumes, VMs have one, some, or all of the following VVols types:

  • Data VVols–every virtual disk you add creates a data VVol on your array
  • Swap VVol–when you power on a VVol-based VM, a swap VVol is created. When you power it off, this is deleted.
  • Memory VVol–When you create a snapshot and store the memory state or when you suspend a VM, this is created.
  • Config VVol–represents a folder on a VVol datastore.

This statement about config VVols deserves a bit more attention I think. What does that really mean? Understanding config VVols is important  when it comes to recovery etc. So let’s dig into this.

Continue reading “What is a Config VVol Anyways?”

VVol Lightboard Videos

Quick post. I did some light board videos together on vSphere Virtual Volumes. Lightboard videos are pretty fun to do, the unfortunate part is that I have horrible hand writing. So I immediately apologize for that.

A common question I get with these videos is how do you write backwards. I don’t. I am nowhere near that skilled, as you can see I can barely write forwards. I write normally which appears backwards and the video team mirrors the video.

This is a three part series, the entire playlist can be found here:

Continue reading “VVol Lightboard Videos”

Moving from an RDM to a VVol

Migrating VMDKs or virtual mode RDMs to VVols is easy: Storage vMotion. No downtime, no pre-creating of volumes. Simple and fast. But physical mode RDMs are a bit different.

As we all begrudgingly admit there are still more than a few Raw Device Mappings out there in VMware environments. Two primary use cases:

  • Microsoft Clustering. Virtual disks can only be used for Failover Clustering if all of the VMs are on the same ESXi hosts which feels a bit like defeating the purpose. So most opt for RDMs so they can split the VMs up.
  • Physical to virtual. Sharing copies of data between physical and virtual or some other hypervisor is the most common reason I see these days. Mostly around database dev/test scenarios. The concept of a VMDK can keep your data from being easily shared, so RDMs provide a workaround.

Continue reading “Moving from an RDM to a VVol”

Do thin VVols perform better than thin VMDKs?

Yes. Any questions?

Ahem, I suppose I will prove it out. The real answer is, well maybe. Depends on the array.

So debates have raged on for quite some time around performance of virtual disk types and while the difference has diminished drastically over the years, eagerzeroedthick has always out-performed thin. And therefore many users opted to not use thin virtual disks because of it.

So first off, why the difference?

Continue reading “Do thin VVols perform better than thin VMDKs?”

Comparing VVols to VMDKs and RDMs

I have been talking a lot about Virtual Volumes (VVols) lately with customers and when I describe what they are a frequent response is “oh so basically RDMs then?”. ..

…ugh sorry I just threw up in my mouth a bit…

The answer to that is an unequivocal “no” of course, but the question deserves a thorough response.

So first let’s look at how they are the same, then let’s look at their differences. And not just how they compare to RDMs, but also VMDKs as you traditionally know them.

Continue reading “Comparing VVols to VMDKs and RDMs”

My Upcoming VMUG Webinars

Hey all–in case you didn’t get a chance to go to VMworld and would like to see my sessions live (well online live) and ask questions I am repeating them somewhat via the VMUG webinars.

First one is on October 9th:

This is a deep dive on the love story that is ESXi and UNMAP. How it used to work, how it works now, how it has changed, and why. Plus how VVols changes it all. This is a session I submitted to VMworld, but it didn’t make it. Register here:

https://event.on24.com/wcc/r/1498012/83A172D29B748E7581279708C1640449

Second one is a repeat from VMworld, my session on best practicesfor vSphere for All Flash Arrays. Continue reading “My Upcoming VMUG Webinars”

Virtual Volumes: VVol Bindings Explained

Virtual Volumes change quite a lot of things. One of these is how your storage volumes are actually connected. This change is necessitated for two reasons:

  • Scale. Traditional ESXi SCSI limits how many SCSI devices can be seen at once. 256 in 6.0 and earlier and 512 in 6.5. This is still not enough when every virtual disk its own volume.
  • Performance. Virtual Volumes are provisioned and de-provisioned and moved and accessed constantly. If every time one of these operations occurred a SC SI rescan was required, we would see rescan storms unlike this world has ever witnessed.

So VMware changed how this is done. Continue reading “Virtual Volumes: VVol Bindings Explained”

VMworld 2017 Session Wrap-Up

I’m back from VMworld 2017 US and then VMworld Europe and a nice vacation. Time to get back to work and of course some (well a lot hopefully) blogging.

Had a great time catching up with friends at VMworld and talking about the new stuff that both Pure Storage and VMware have coming. I had quite a few sessions this year–VMware was kind enough to post online–many of them publically (no login required).

Continue reading “VMworld 2017 Session Wrap-Up”