Tag Archives: script

Convert Netapp body.7z to old style ASUP for ConfigAdvisor offline

I made a little script last year to help me with a customer issue, and I had forgotten about it until I ran into the same problem.

The script converts the extracted TXT and XML files from the autosupport mail body.7z into the old format for use with Config Advisor.

Click to continue reading “Convert Netapp body.7z to old style ASUP for ConfigAdvisor offline”

5 Comments Continue Reading →

Netapp 7m Exports to cDot Export Policy convert script

A coworker asked me is I could whip up a script to convert hundreds of lines large 7-mode /etc/exports files into Clustered Mode Export Policies and client rules.

No problem. Nothing is too hard for some ugly bash scripting.

Click to continue reading “Netapp 7m Exports to cDot Export Policy convert script”

1 Comment Continue Reading →

Quick n Dirty Netapp LUN creation script

I am constantly having to pre-create or migrate massive amounts of LUNs in customer environments. I have many ways to go about it, powershell, ruby, but my awk script is my #1 way to do it

Imagine having to make luns for dozens of database instances on multiple hosts for dev/prod/qa. Suckage!

They all would follow a certain order and naming convention. Most of the sizes would be the same.

If I have to do anything once, I’ll probably have to do it again. So, script it! This will work in any shell with awk (osx/linux/solaris/CygWin)

Click to continue reading “Quick n Dirty Netapp LUN creation script”

Leave a comment Continue Reading →