Unsolved
This post is more than 5 years old
9 Posts
0
415
July 3rd, 2013 13:00
Prepping changes with a script
One of the things I've found most useful about Solutions Enabler, is that you've got a reasonable amount of room to prepare a change. Between the chain of commands to configure, map, mask, assign storage groups etc. You're in a position to 'describe' what you're going to do, in terms of Symmetrix commands.
I like this notion, because it makes change control and change management a lot easier. You have something that _exactly_ describes what you're going to do, which can be reviewed and approved accordingly, with a view to running it at a later date.
But I've been thinking - what if this went one step further. I'm thinking in terms of ... probably a Perl module, mostly because I like Perl. Which allows you to - essentially - write a script that 'does everything' - from creating a new dev, capturing the LUN IDs, fiddling with meta configs where relevant, and creating SRDF/Snap/Clone relationships, assigning device groups etc.
The idea being that thanks to change control lead times and outage windows - it can quite easily be a few days between starting and finishing a change. So it would be marvelous if I could do all the work up front - prep it, validate it, make it 'ready to run'. Submit it to a change review group, wait 5 days, and if I happen to be on holiday, someone else can run it for me, without needing to redo everything from scratch.
Does that sound viable, and does anything along these lines already exist? I've done a reasonable amount along these lines already, but it's a somewhat bitty 'describe several steps' which'll need a bit of modifying later. (e.g. creating LUNs, the LUN ids may well not be the same in a week's time).