Couldnt sleep this evening so I thought it was about time I posted a blog entry, it’s been a while since I have, and I had kind of promised myself I would try and do one every few days.
Well, it’s been a tough week, both in the office at home. Spent the last few days sorting out a release we have pending, it’s due to hit our production servers in early next week, and its a fairly major release. The lucky thing is I’ve been involved from the start, however it made me thing about how is the best way to handle something that just drops on your desk.
In my view the key is preperation, in short, analyse what there, be it a release, a request for some data, or something else. Take a moment to digest what is required, how best you can acheive your objective, and then how you can go about delivering above and beyoned it.
In my case, I have a release, so I’ve analysed the risk factors and the potential issues I may encounter. I’ve looked at what it is that being delivered, and how I can best deliver it (sadly this means a bit of overtime for me). When it comes to a release, rollback scripts are a given, the number of business that operate releases without a rollback strategy amazes me.
What is essential for a release to me is the knowledge that should the unforseen happen, I can revert back to a safe point that wont affect the business. This really is paramount. I like to take a snapshot of the db on my local machine (obviously having put the release through dev, test and UAT), then apply the release, I then properly test it, and run my rollback, there is in my view, no excuse for not having a rollback, be it procedural changes, or data manipulation. A rollback of some variety should always exist.
I then test my rollback, ensuring everything works correctly, I personally use RedGate SQL Compare to compare the snapshot of the db to the ones I applied and rolled back the release too. Ensuring the two are identical after the rollback. This gives me the peice of mind that I can acheived the objective of not impacting the business should I need to revert my release.
As I said, the key really is preperation, be prepared for anything, cause it can happen. Trust me.
Anyway, it’s late and I’ve ranted on enough, as I said it’s late so you’ve have to forgive the no doubt numerous spelling mistakes.
I’m off to bed. Good night all, hope the above is of some use.
Recent Comments