Saturday, 29 December 2018

Burn USB Key PowerShell

Christmas bonus post...

For Christmas - amongst other things - I got 3 more Jamiroquai albums (I’ve got all 8 now) and also an Amazon Giftcard with which I purchased Anjunabeats Volume 13. So, I wanted to update my car music USB key, but needed to use a fresh USB key. I realized that the method of my 24th April 2018 post Using PowerShell to Create a Correctly Ordered USB Music Key was way too clunky, so came up with the following script.

You’ll need to copy all your music into a folder of folders first, and make sure it’s ordered how you want.

Image: Car Music folder

Then just run the PowerShell as in the below example:

.\BurnUSB.ps1 -SourcePath "D:\CAR MUSIC" -DestinationDrive F

And your USB key will be burned like a CD (since car music systems read USB keys like a CD, that is the first copied file is first in the playlist, second copied second, third copied third, etcetera.)

The Script


[System.Array]$Folders = (Get-ChildItem $SourcePath | sort-object Name).Name

Foreach($Folder in $Folders){
  [String]$NewFolderPath = Join-Path ($DestinationDrive + ":") ($Folder)
  "New-Item -Path $NewFolderPath -ItemType directory"
  New-Item -Path $NewFolderPath -ItemType directory

  [String]$ReadFolderPath = Join-Path ($SourcePath) ($Folder)
  [System.Array]$MusicFiles = (Get-ChildItem $ReadFolderPath | sort-object Name).Name

  $MusicFiles | Foreach{
    [String]$FileToCopy = Join-Path ($ReadFolderPath) ($_)
    [String]$FileDestination = Join-Path ($NewFolderPath) ($_)
    "Copy-Item -LiteralPath $FileToCopy $FileDestination"
    Copy-Item -LiteralPath $FileToCopy $FileDestination

Monday, 17 December 2018

End of Year 2018 Post (Happy New Year 2019!)

It’s been a bit of a quiet year on Cosonok’s blog. Including this post, I’ll have done 56 posts this year, which is a record minimum number of posts in a full year for Cosonok (61 posts in 2011 being the previous record minimum.) Still been busy though, with other blogs and a tiny bit of YouTube too.

Stats-wise, Cosonok’s blog appears to be in decline. Which is perhaps not surprising since prior to 2013 this was very much an IT generalists blog, but since 2013 it’s been predominantly NetApp, so more specialized and perhaps less reach. The stats, whilst fun, have never been the goal, it’s always about sharing hopefully useful stuff, an aid for my memory, and I’m always amazed and grateful that people read posts from this blog - and leave comments.

Image: Cosonok’s IT Blog Stats

All of the most viewed posts are from 2010/11/12 – which is not unsurprising – but what might be surprising is that the most viewed posts from the last month (November 16 to December 16, 2018) have 6 out of 10 posts from 2010/11/12.

Image: Top 10 Posts by Pageviews (All time)

Image: Top 10 Posts by Pageviews (last month)

I’m actually working over Christmas (except for the usual holidays and 24th) but this will be 2018’s final post. So all that’s left to say is:

Merry Christmas!

- and -

Happy New Year 2019!

Sunday, 16 December 2018

Tech Roundup - 16th December 2018

Stuff collated since Tech Roundup - 6th November 2018. With headings:
FlexPod, NetApp, NetApp ThePub, NetApp TRs, Tech ONTAP Podcast, WFA Guy, DerSchmitz


FlexPod for 3D Graphics Visualization with VMware and NVIDIA

This paper builds upon the:
FlexPod Datacenter with VMware Horizon View 7.3 and VMware vSphere 6.5 Update 1 with Cisco UCS Manager 3.2 for 5000 Seats

New NVAs

NetApp Verified Architecture
FlexPod Express with VMware vSphere 6.7 and NetApp AFF A220
NVA Deployment

NetApp Verified Architecture
FlexPod Express with Cisco UCS C-Series and AFF A220 Series
NVA Design


NetApp blows filer benchmark to smithereens – Blocks and Files

Image: SPEC SFS2014-SW Builds

NetApp Named a Leader in 2018 MQ for General-Purpose Disk Arrays

NetApp: Blog: Solving File Services Challenges with Native Cloud File Services – Part 1 (Compatibility & Continuity)

NetApp: Blog: An Introduction to Kubernetes

NetApp: HCI Means Hybrid Cloud, Not Hyperconverged

Improve Data Analytics with AWS and NetApp Cloud Volumes Service for AWS

Tool Announcement! 2018-2019 NetApp Product Poster:
The 2018-2019 NetApp Product Poster is now available for order from the NetApp Gear Store

2 New Hybrid Cloud Exams - Tips!

Read the CVO documentation as there are questions which require deployment experience i.e. disk type supported with tiering in CVO.

In both of these exams there is lot more emphasis on CVO, CVS and even working out Opex/Capex cost when deciding between on-premise and hybrid-cloud solutions.  There is a test exam on the support site if you would like to test your knowledge before you prepare for these exams.

If you are AWS or Azure certified:
This one has stuff from CVO, CSV, Kubernetes service, S3, Costing models etc.

NetApp The Pub

New since the previous Tech Roundup!

Can you keep a secret?

Just the facts ma’am

Understanding volume migration on OpenStack

Understanding volume migration on OpenStack: Intracluster volume migration

Understanding volume migration on OpenStack: Intercluster volume migration

NetApp TRs

New since the previous Tech Roundup!

Tech ONTAP Podcast (+ WITIB)

New since the previous Tech Roundup!

New ONTAP Release = Updated Technical reports!

ONTAP 9.5RC1 is available!

Episode 169: Quarterly Security Update - Winter 2018

Episode 168: NetApp Insight 2018 - Barcelona Recap

Episode 167: VMware Private Cloud on NetApp HCI

Episode 166: SnapMirror Synchronous

Episode 165: Accelerate your NAS Data with FlexCache

BONUS CONTENT: ONTAP 9.5 Feature Overview

Episode 164 - NetApp Data Availability Services


New since the previous Tech Roundup!

Wfa workflows & Powershell script for SVM Dr

Wfa Setup Workflow Generator

Workflow encrypt all volumes


How to create a NetApp Cloud Volumes ONTAP instance in AWS

“Madness?” THIS IS NetApp MAX Data!!!

Thursday, 13 December 2018

NetApp HCI Network Essentials

In order to successfully deploy NetApp HCI, it is essential that the network piece is correctly setup beforehand. The below links and diagrams are ones I’ve found helpful.

Switch Requirements for Deployment to be Successful:
(1.4) NetApp HCI Documentation Center
> Setting up and using NetApp HCI 1.4
>> Deploying NetApp HCI
>>> Requirements for NetApp HCI deployment
>>>> Network and switch requirements
(1.3.1) NetApp HCI Documentation Center
> Setting up and using NetApp HCI 1.3.1
>> Deploying NetApp HCI
>>> Requirements for NetApp HCI deployment
>>>> Network and switch requirements

Cisco document on how to set up the VPC:
Products & Services / Switches / Data Center Switches / Cisco Nexus 5000 Series Switches / White Papers

Some examples of an existing configuration:
NetApp HCI Documentation Center
> Setting up and using NetApp HCI 1.3.1
>> Deploying NetApp HCI
>>> Requirements for NetApp HCI deployment
>>>> Network and switch requirements
>>>>> Switch port configuration examples

NetApp HCI Network Setup Guide

The below diagrams come for the HCI Network Setup Guide - the important thing to note is that it is a requirement to have LACP (vPC) for the Storage Node Bond10G (technically, LACP is not a requirement, but it is highly recommended, and without it, performance will be poor - so don’t even consider it for HCI test/demo configurations.)

Note: The below might be slightly out of date for NDE 1.4.

Image 1/4: Storage Node Network Connections (Configure LACP for Bond10G)

Image 2/4: Storage Node VLAN Map

Image 3/4: Compute Node Network Connections (Do not configure LACP)

Image 4/4: Compute Node VLAN Map - Dedicated vMotion Network*

*vMotion can share the same network as management. vMotion cannot share the iSCSI subnet/VLAN.

Additional Links

NetApp HCI Documentation Resources

NetApp HCI Theory of Operations