Scott Harney

Using Python and Netmiko to Automate SAN Zoning

UPDATE github repo for this (H/T Scott Lowe) One of the customers I’m currently supporting is performing a migration of their NetApp storage from classic 7-mode to Clustered Data OnTap. It’s a fiber channel environment so lots of FC zoning changes are required. To minimize mistakes and ensure consistency, some form of automation is needed. The Cisco MDS fiber channel switches run a version of NX-OS but it’s relatively old and doesn’t include an accessible API-based interface.

Integrating gitlab into my existing Apache

Intro In addition to using github a little bit, I've built my own private gitlab server. Part of my motivation is that some things I'm using this for don't belong on a public repo. Part of it is education. I already have an apache server running and wanted to integrate my gitlab access into this in a fluid fashion rather than running and exposing gitlab on some alternate port.

K10

In the past we’ve been out of town for 8⁄29. Not this year. The coverage and discussions have been impossible to avoid. The memories and emotions of those dark days have risen up. I really don’t have much else I want to say beyond what I was saying 10 years ago. My first blog post after the storm - Sept 11, 2005. Picture Album - Pictures of our home and neighborhood from that time.

Link: All-flash storage stumbles on cost per gigabyte

A recent post on the notion of the All-Flash Data Center running up against customer realities. This echoes a previous post of mine. Just as the cost flash is decreasing so is the cost of spinning media. Just as flash benefits from dedupe/compression capabilities, so does spinning media driving down the cost of ‘effective capacity’ further. Flash will of course gain against spinning media for active data but we still appear to be a long way off from an all solid state data center without low-cost, high-density magnetic media.

Powershell Scripts for Backup of cDOT NFS Exports

Intro I was working with a customer recently on their new clustered Data OnTap environment. They upgraded from 7-mode and were working on their Disaster Recovery solution. In a 7-mode world, copying SMB shares and NFS exports from a source FAS into a DR target FAS is really just a file copy. The customer environment is relatively small and they like to keep it simple. So doing a simple file compare of /etc/exports works for them.

Document as You Go

Intro. the documentation challenge One habit I strongly recommend to tech practitioners is to document as you go. The usual habit is to try and document everything after you’ve done a new task or completed a troubleshooting item. This rarely works. Usually you’re tired. You’ve forgotten steps or the order things have happened. This is especially true if you’re troubleshooting an issue. You don’t remember exactly what you changed or when, you just know it’s fixed now.

When Rendering Your Laptop Unbootable Is a Learning Experience

Introduction. What happened? I was at a customer site assisting some performance testing of Linux hosts connected to NetApp via NFS. The customer was using sio_ntap which is a NetApp provided load generator and I was experimenting with the same on my laptop. I wasn’t paying close attention and instead of pointing the tool at a file I pointed it at /dev/sda2 which is /boot on my system. I did this dumb thing as root of course.