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”