FlashArray Host Group Creation PowerShell Script for VMware Clusters

New script to automatically create hosts groups on FlashArrays based on VMware ESXi clusters. This is a script I’ve had out for awhile but only recently revisited and realized it was way out of date and frankly, not very good. So I trashed most of it and re-wrote it. You can find it here:

https://github.com/codyhosterman/powercli/blob/master/createhostgroups.ps1

It is pretty self-explanatory I suppose, but it’s good to review the finer points before you run it. Continue reading FlashArray Host Group Creation PowerShell Script for VMware Clusters

SRM Cannot Identify Replicated Datastores on iSCSI Devices

So we ran into a customer issue recently with VMware Site Recovery Manager that I have not seen before and have not found any on-point articles on, so I thought I’d share this one. Was an insidious one too, when troubleshooting this one I could not find the issue, eventually one of our rockstar escalation engineers¬†at Pure (Jacob Hopkinson) figured it out after going through SRM debug logs line by line. Comes down to case sensitivity in iSCSI IQNs. I’ll explain…

Continue reading SRM Cannot Identify Replicated Datastores on iSCSI Devices

Pure Storage vRealize Orchestrator Workflow Package v1.2

I just released the 1.2 version of the Pure Storage FlashArray Workflow Package for vRealize Orchestrator. Like always, you can get this from GitHub:

https://github.com/codyhosterman/orchestrator/

If you haven’t looked at our vRO workflow package, check out my original post here:

FlashArray Workflow Package for vRealize Orchestrator

While this isn’t a huge release in terms of new features, I think it is an important one because it adds (among others) one particularly important workflow. Translating a VMFS datastore object into a FlashArray volume name. Let’s take a look.

Continue reading Pure Storage vRealize Orchestrator Workflow Package v1.2

Pure Storage FlashArray UNMAP PowerCLI Script for VMware ESXi

I’ve noticed I am beginning to have some blog post sprawl as I update my UNMAP script over and over so I will be using this post from now on to record future updates. Please use this post as the final word on what is new with my UNMAP Script.

intro

Continue reading Pure Storage FlashArray UNMAP PowerCLI Script for VMware ESXi

Using PowerShell with the VMware Log Insight REST API

I have quite a few PowerShell scripts these days and I run a bunch of them quite often. All of my scripts log information to a file so I can see what happened but I decided I wanted to log them into something that could help me analyze or quickly review the data. Something better than looking at a bunch of text files. One of my favorite products, VMware Log Insight was the first thing I thought of. The ingestion REST API makes the most sense. Took a little time to figure out the best way to do it, but it’s working great now. To the details!

Continue reading Using PowerShell with the VMware Log Insight REST API

Top vBlog 2016 Voting

Quick shameless plug post. The top vBlog voting for 2016 is out!

http://vsphere-land.com/news/voting-now-open-for-top-vblog-2016.html

My blog is listed for a candidate for top blog and top storage-related blog. If my blog has helped you out and/or you like it please vote for it! I really appreciate it, while I love blogging and will continue to regardless it is a lot of work to keep up and the recognition is greatly appreciated! Keeps me motivated ūüôā

Only takes a few minutes!

Thanks!

Updated FlashArray VMware Best Practices PowerCLI Scripts

I wrote a post recently on the updates made to the PowerCLI 6.3 R1 esxcli implementation, so the logical next step was to implement this new behavior into my PowerCLI scripts that use esxcli. I still have a few scripts to update, but my two best practice-related scripts are ready to go. The two scripts are:

  1. Script to check and set best practices. Download here:
  2. Script to just check best practices, and lists issues in a report. Download here.

While I was updating them for esxcli changes, I figured i might as well improve them too, so there are quite a few changes for both. Let’s take a look.

Continue reading Updated FlashArray VMware Best Practices PowerCLI Scripts

ESXCLI updates in PowerCLI 6.3 R1

One of the changes in VMware vSphere PowerCLI 6.3 R1 was a much needed one: how the arguments are managed with esxcli commands. This was always a bit of a pain, especially for commands that have a lot of arguments. I won’t go into the detail on all of why/what of the changes here, as Alan Renouf already did that quite well here. So if you are unsure of the previous ugliness of esxcli in PowerCLI read that post before reading more here. Otherwise, continue on. I want to talk about some specific examples for storage-related commands that I use and many of our customers use quite commonly.

Continue reading ESXCLI updates in PowerCLI 6.3 R1

FlashArray Deprecation of TLS 1.0 Support and the vSphere Web Client Plugin

In the recent release of the Purity Operating Environment on the FlashArray we deprecated TLS 1.0 support due to the ever growing list of vulnerabilities in it. Communication will be restricted to TLS 1.1 and later. Unfortunately, this affects some plugins/integrations. This is not an exhaustive list, but related to the ones VMware customers probably touch the most. If something is not listed ping the relevant support organization for more information.

The following plugins are NOT affected and will continue to work with Purity 4.7:

  • vRealize Operations Management Pack
  • vRealize Orchestrator Workflow Package
  • vRealize Log Insight Content Pack

The following are affected and will need to be upgraded to a specific version to work with Purity 4.7:

  • Site Recovery Manager Storage Replication Adapter (this needs to be version 1.5, which will be out soon)
  • vSphere Web Client Plugin (this needs to be version 2.0.10)
  • VSS Provider¬†(this needs to be version¬†1.0.2)
  • PowerShell SDK¬†(this needs to be version 1.5)

Continue reading FlashArray Deprecation of TLS 1.0 Support and the vSphere Web Client Plugin

VMFS Snapshots and the FlashArray Part V: How to snapshot a VMFS on the FlashArray

This is part 5 of this 8 part series. Questions around managing VMFS snapshots have been cropping up a lot lately and I realized I didn’t have a lot of specific Pure Storage and VMware resignaturing information out there. Especially around scripting all of this and the various options to do this. So I put a long series out here about how to do all of this.

The series being:

  1. Mounting an unresolved VMFS
  2. Why not force mount?
  3. Why might a VMFS resignature operation fail?
  4. How to correlate a VMFS and a FlashArray volume
  5. How to snapshot a VMFS on the FlashArray
  6. How to connect a local VMFS FlashArray snapshot (to be posted)
  7. How to connect a remotely replicated VMFS FlashArray snapshot (to be posted)
  8. Recovering/restoring a single VM from a FlashArray snapshot (to be posted)

Continue reading VMFS Snapshots and the FlashArray Part V: How to snapshot a VMFS on the FlashArray

Storage, virtualization, stuff and things

%d bloggers like this: