Loading

Subscribe via RSS

Subscribe by Email

Your email:

Do You Tweet Tech?

Are your tweets technology related? If so then we want to follow!
 

Admin Arsenal Blog

Current Articles | RSS Feed RSS Feed

Are you using the correct Powershell version?

  | Share on Twitter Twitter | Share on Facebook Facebook | Submit to Digg digg it |  Add to delicious  delicious |  Submit to StumbleUpon StumbleUpon | Submit to Reddit reddit 

Author: Shane Corellian 

Tobias Weltner wrote this article on the Powershell.com site. It is definitely worth the read. For those of you planning on implementing Powershell Version 2, pay special heed.

 An excerpt:

"When you search for PowerShell V2 downloads, you will find tons of articles and download links. Only some of them point to the correct final "RTM" link. A lot of people are still blogging about "CTP" versions which really were beta versions with limited functionality. Even worse, it turned out that these out-dated PowerShell versions are still up for download from the Microsoft Download center, so when you follow the "wrong" link, you could get the impression that these CTP versions really were official and up-to date releases."

 I have been playing with V2 now for about 3 weeks and so far I am pretty excited. Extending Admin Arsenal with a good CLI is important and Powershell will definitely be the foundation on which it is built.

 

 

 

 


Server Management - Migration Headache Edition

  | Share on Twitter Twitter | Share on Facebook Facebook | Submit to Digg digg it |  Add to delicious  delicious |  Submit to StumbleUpon StumbleUpon | Submit to Reddit reddit 

Angry Monkey
Photo by dboy
Author: Adam Ruth 
 
My least favorite server management task is migration. I really hate migrating servers. No, wait… hate is far too mild a term. There isn't really a term that gets to the depth of my feelings, probably not even in Klingon. It follows, then, that I more than love it when a migration is done. There are a number of reasons why I hate them, but there are two in particular. 

First, all of the testing, re-testing, and re-re-testing things that already work where they are. It's not only tedious but frightening. There always seems to be a couple things that can't be properly tested until after the migration is complete, and sometimes you don't even realize it until then.

Second, migrations lay bare all of the cruft and crap that you've built up over the years and months. It's like moving a couch that hasn't been cleaned under for years, it's shocking to realize what a slob you are. It's good that it's getting cleaned up, since it wouldn't otherwise be, but it's just a bit depressing.

Recently I was involved in the migration of a web site from two hosts to three different hosts with very different capabilities. I wrote most of the software behind the site and I never anticipated the way in which the site would be carved up. For example, the SSL certificate was created for the www host, but the new www host couldn't run the secure pages so there needed to be a new host created and the secure pages separated from the rest of the system. Naturally, this broke a bunch of external links that needed to be mapped over to their new counterparts. It was a time consuming job that wouldn't have been necessary if I'd had the foresight to build the secure pages separate (not a mistake I'll make again.)

It would be easy to respond by living each day as though each server is going to be migrated someday, and try to anticipate every conceivable problem that may arise (easy to say, much harder to do.) But I don't think that's the best solution. There are certainly some more likely scenarios that would be good to anticipate, particularly if they're not too costly to mitigate, but it would be a mistake to spend time mitigating every possibility. The old programmer's motto "Don't do today what you may not need to do tomorrow" holds sway. As painful as migrations are, it's the right choice to leave some of the pain there and not try to spread it out, since you'll probably spread out more pain than you remove. Don't peel that bandage too slowly!


All Posts