Bash Scripting: SAN Storage Pool Tiering
One of many of my team’s tasks for the Jackson National Life infrastructure was working on daily storage/back up tickets, I gravitated toward this work throughout as I appreciated the chance to work on an enterprise SAN directly. Later while in training with the senior Storage admins, I was given the goal of developing a method for collecting and sorting the significant changes in SVC pool activity from nightly logs in an efficient manner. The senior admins could then verify the findings and draft commands necessary to shift LUN’s between various qualities of HD and SSD.
Instead of pulling this information by hand and sorting, which was estimated to be a days long task for something that could easily change daily, I was able to develop a bash script to automate the operations needed. That included but was not limited to pulling the log data from the collector server, formatting it, checking the LUN size(s) to be moved against available space in the recommended destination Tier, and output’ing that all in a manner that was easily comprehensible to admins without SAN infrastructure training. I also wrote the accompanying Confluence documentation for the process and delivery to senior admins.
categorized under sysadmin