Pure Storage PowerShell Toolkit 1.0

Quick post here. A PowerShell toolkit for Pure Storage has been released and can be downloaded here:

https://github.com/barkz/PureStoragePowerShellToolkit/releases/download/v1.0-Beta/PureStorage.zip

It currently offers:

  • Create a volume
  • Create a new volume from a source (snap or volume)
  • Snap a volume
  • Get volume statistics

I won’t go into detail because my colleague @themsftdude (who created the actual kit) did a fine job of describing it on his own blog:

http://www.themicrosoftdude.com/?p=2201

This will save you a lot of time in your own scripts. These leverage our REST API and will spare you the steps of creating your own REST calls in your script. Look for this toolkit to expand in the near future.

PowerShell and Pure Storage REST API Scripting

Previously I blogged about using PowerShell with the Pure Storage FlashArray to enable scripting of common tasks like provisioning or snapshotting. In that post I showed how to use SSH to run Purity operations, but with the introduction of the REST APIs (fully available in 3.4+) there is now a much better and cleaner way to script this. You no longer need to install extra SSH modules and the like, all you need is the Invoke-RestMethod in PowerShell.

flasharray

Continue reading “PowerShell and Pure Storage REST API Scripting”

Pure Storage at VMworld 2014

A lot of activity coming up this year at VMworld 2014 and Pure Storage has a large part in it. Between our booth, staffing presence, tons of sessions and 1:1 meetings there aren’t any steps we are missing. This will be my 7th VMworld and from a storage perspective I have never been more excited! A lot in store by VMware (notably vVols) and Pure has some great demo we are working on as well.

ps_vmworld14_header_landing_04.2

Continue reading “Pure Storage at VMworld 2014”

Updated Best Practices document for VMware vSphere and Pure Storage FlashArrays

Heyo–quick post here. One of my first focuses since joining Pure Storage was to update their best practices guide for VMware vSphere. It’s finally out! Updates include a lot of the stuff that I have posted on this blog as of late (essentially whatever I worked on that day went also directly here–I won’t always be this prolific).

vmware_doc Continue reading “Updated Best Practices document for VMware vSphere and Pure Storage FlashArrays”

Using VMware Log Insight with the Pure Storage FlashArray

I’ve done a few VMware Log Insight posts in the past year but I have yet to do one for Pure Storage. Log Insight is a product that I really love and VMware has been updating it like crazy since its initial release. Just recently they announced the 2.0 version of Log Insight (more info here). Besides just being functionally useful it is VERY easy to use–from kicking off the deployment (it is an OVA) to first use it takes about ten minutes maximum.

pureloginsight

Continue reading “Using VMware Log Insight with the Pure Storage FlashArray”

PowerShell and the Pure Storage FlashArray CLI

Scripting is a wonderful thing–saves me tons of time. PowerShell is no exception. VMware offers a very robust PowerShell cmdlet offering (called PowerCLI) which allows you to do essentially anything you can think of in vSphere. Of course this is all specific to VMware or Windows. What about including scripting commands for Pure Storage into PowerShell (PowerCLI) scripts? It is actually pretty simple using the readily available SSH plugin for PowerShell.

flasharray

Continue reading “PowerShell and the Pure Storage FlashArray CLI”

Integrating Active Directory with the Pure Storage FlashArray

Ah access controls…always popular–who doesn’t want everyone to be admins?! Well…um…admins don’t! In this post I am going to run through integrating Active Directory with the Pure Storage FlashArray. Then talk about how it works with the vSphere Web Client Plugin because I would be ashamed if I didn’t at least mention VMware once in a post.

ad_pure

 

Continue reading “Integrating Active Directory with the Pure Storage FlashArray”

VMware PowerCLI and Pure Storage

This is a post I plan on just updating on a rolling basis. I have been working on updating the vSphere and Pure Storage Best Practices document and there are few settings that can be tweaked to increase performance. A common question I have and occasionally receive is can this be easily simplified or automated? Of course! And PowerCLI is the best option in most cases–I will continue to add to this post or update it as I find newer or better ways of doing things.

****UPDATED SCRIPTS AND NEW FUNCTIONALITY check out this blog post for insight****

Update: get my scripts on my GitHub page here:

https://github.com/codyhosterman/powercli

flasharray

Continue reading “VMware PowerCLI and Pure Storage”

The Pure Storage Plugin for the vSphere Web Client

One of the many VMware integration pieces that I have been impressed with since I’ve joined Pure Storage was the vSphere Web Client Plugin. While not only being one of the first storage vendor plugins released for the Web Client but also one of the simplest ones that I have used.

webclient_intro

Continue reading “The Pure Storage Plugin for the vSphere Web Client”

VMware Dead Space Reclamation (UNMAP) and Pure Storage

One of the main things I have been doing in my first few weeks at Pure Storage (which has been nothing but awesome so far by the way) is going through all of our VMware best practices and integration points. Testing them, seeing how they work or can they be improved etc. The latest thing I looked into was Dead Space Reclamation (which from here on out I will just refer to as UNMAP) with the Pure Storage FlashArray and specifically ESXi 5.5. This is a pretty straight forward process but I did find something interesting that is worth noting.

405 front

Continue reading “VMware Dead Space Reclamation (UNMAP) and Pure Storage”