Exchange 2003/2007 clustering & high availability

The Exchange development team have done a nice job of expanding the high availability options with the 2007 release. With Exchange 2003, the only real HA design was to use what is now known as a Single Copy Cluster (SCC) – ie. there’s one copy of the databases and log files, held on a Storage Area Network, and multiple physical cluster nodes connect to that SAN. Exchange 2007 introduced Local Continuous Replication and Cluster Continuous Replication, and is due to add Standby Continuous Replication later this year.


In the 2003 model, the “Exchange Virtual Server” (EVS) was a collection of resources that run on one of the physical cluster nodes at any given time, with each EVS having its own name and IP address which the clients connected to.



This model works well in providing a high level of service for clients – Microsoft’s own IT department ran an SLA of 99.99%, a maximum of 53 minutes of downtime a year. Routine maintenance tasks (like patching the OS, upgrading the firmware etc) could be performed one node at a time, by having the workload fail over to the passive node during the maintenance period. The downside with this single-copy approach is that there’s a single point of failure: the disks. Even though the SAN technology is highly fault tolerant, it’s still possible to knock out the entire SAN, or to have some catastrophe make the SAN corrupt the data on the disks.


Exchange 2007 added a couple of additions to the high availability arena – Local Continuous Replication (LCR), which doesn’t use clustering at all, and Cluster Continuous Replication (CCR) which does. The name “Exchange Virtual Server” used in clustering has also changed to “Clustered Mailbox Server” to prevent confusion with the Virtual Server software virtualisation technology.


Local Continuous Replication


In an LCR environment, the server keeps a 2nd copy of its databases and log files on a separate physical set of disks, which could be in the same place (maybe even a USB disk hanging off the back of the server, if it was a branch office or small business one). Basic Architecture of Local Continuous Replication


LCR could also replicate data to another datacenter using iSCSI storage, accessed over the WAN (assuming the bandwidth and network latency are OK). Downsides to LCR are that the server in question is doing more work (by keeping two separate sets of disks updated) and that there’s no automatic failover – an administrator would need to manually bring the LCR copy of data back online, in the event of a hardware failure of the server.


Cluster Continuous Replication


CCR provides a more complex but more robust (in terms of recovery) solution. There are two nodes in a cluster (and there can only be two, unlike the SCC approach which could have up to 8 nodes), with each node containing a copy of the databases and the log files being used by the active node. When a log file is closed on the active node, the passive one will copy it over the LAN/WAN and will apply the changes to its own copy of the database. The plus side of CCR is that there’s little overhead on the active node (since it’s not taking care of the 2nd copy) and because we’re using clustering, the nodes can fail over between each other automatically – they maintain a networked heartbeat between the nodes, so the passive node can tell if it needs to come fully online. 



In the case where either planned or unplanned failover occurs, the passive node will take over the role of servicing users, meaning the clients continue connecting to the same name and IP address they were using to previously, and the formerly active node will now take up the passive role, and will start pulling any changes back from the newly activated one.


In order to prevent the situation of both nodes coming online at the same time (something that’s referred to as a “split brain” cluster), there’s also a new “witness” role which is used to prevent the scenario where the passive node thinks the sky has fallen in and everything’s gone dead, when in fact, it’s the passive node that’s fallen off the network. The witness is just a file share, which uses locking semantics to illustrate if the active node is still alive (since both nodes connect to the file share witness) – so if the passive node can read the witness and deduce that the active node is still running, it won’t bring itself online, even if it can’t currently see the heartbeat from the active node.


CCR provides a solution to the single point of failure in the SCC model, but there are some limitations – namely, there can only be two cluster nodes, and they need to be on the same IP subnet. This means it can be tricky to have a node in a Disaster Recovery datacenter, what with needing to span a subnet and an AD site across the WAN. What many people feel would be the ideal scenario would be to have the both CCR nodes & copies sited in one datacenter, but then have a 3rd node in the DR datacenter, on a different subnet.


Standby Continuous Replication


Service Pack 1 for Exchange 2007 (due in the second half of 2007) plans to introduce a new replication paradigm called Standby Continuous Replication (SCR). This could be used in conjunction with a CCR model, where the active/passive nodes are in one place and will automatically fail over between each other, but a third (standby) node is in a different place. Activation of the 3rd node will only take place when both of the primary nodes are offline, such as if the primary datacenter failed completely. In that environment, a manual process will be followed to mount the databases on the standby node, similar to how an administrator would bring a backup copy from an LCR server online. The third node is not a member of the cluster, and will not need to be on the same IP subnet.


SCR will also offer the option of having a standalone Exchange server sending a copy of its data to another standalone server, meaning that cross-datacenter fault tolerance could be achieved without clustering at all, albeit at the expense of a manual failover regime.


More information on High Availability in Exchange 2003 can be found online here, and for Exchange 2007, here. Further details of what’s going to be in SP1 will be posted in the coming weeks to the Exchange team blog.

Is that a Zune in your pocket…?

(or are you just pleased to see me)

OK, after talking about media players just over a month ago, I couldn’t stop myself from buying a Zune when I was in the US last month (no willpower).

Zune 30 GB Digital Media Player (Brown)At $249 + tax, with the exchange rate currently so favourable, it worked out about £130, which is a pretty good price. I had to go for the brown one, since it’s a little different to the predictable shiny white or black that every other gadget seems to be. The edges of the device even have a distinctive green hue which appears to catch the light nicely (click on the pic and zoom in on the resulting image, to get an idea).

I think a lot of the reviews of the Zune have been a bit disappointed about the fact that it’s not really all that revolutionary – apart from the wireless sharing piece – but I personally think that’s one of its strengths. It’s packed full of nice touches which aren’t immediately obvious – like the fact it switches any playing media to Paused if you pull the headphones out.

Another nice usability feature – when the device is in the “sock” that it comes with, you can feel the dished 4-way control below the screen, so it’s easy to change volume or skip back and forward without needing to see the Zune… something I didn’t really appreciate until I started using it.

Now I’m looking forward to the launch in the UK!

Mac vs Vista ads

I think Apple scored a home run with their “I’m a Mac”/”I’m a PC” ads, and in the UK have done a great job (and no doubt spent a good chunk of cash) in getting Mitchell & Webb to feature in them. You can see the UK ads on Apple.com/uk if you have QuickTime installed, or if you haven’t, see some of them here. Nay-saying their coolness, there was a hilarious (depending on your persuasion, I suppose) article in The Guardian (I’m always tempted to call it the Grauniad, can’t think why*) which has the author admitting why he hates Macs, and rails against the latest ads as part of the argument.

Whatever you think of the merit of the ads and the messages they’re putting across, they are very effective – but the opportunity to be spoofed is clearly too good, given the rash of comedy vids that have appeared on Soapbox and YouTube since.

My favourite bunch came from TrueNuff TV!, which does a great spoof of the whole GetaMac! website, and has some genuinely side-splitting ads…

Computers are Computers

Macs are great. So are PCs.
So are toasters – what’s your point?
It’s just a computer, get over it.

They even manage to poke some fun at a few other communities besides Macs and PCs… Be careful, though, some of the content is a little “mature”…

 

* Interestingly enough, searching on Live.com to just check I had the spelling of “Grauniad correct”, guess what the top link is… www.guardian.co.uk 🙂

WSS Site Admin Templates now online

The second wave of releases for the Windows Sharepoint Services v3.0 templates (being referred to as the “Fabulous Forty” in some quarters … anyone remember the Nifty Fifty?) is now online

Server Admin Templates
Absence Request and Vacation Schedule Management
Budgeting and Tracking Multiple Projects
Bug Database
Call Center
Change Request Management
Compliance Process Support Site
Contacts Management
Document Library and Review
Event Planning
Expense Reimbursement and Approval
Help Desk
Inventory Tracking
IT Team Workspace
Job Requisition and Interview Management
Knowledge Base
Lending Library
Physical Asset Tracking and Management
Project Tracking Workspace
Room and Equipment Reservations
Sales Lead Pipeline

Transporter Suite 2007 for Lotus Domino

Exciting news if you’re looking to migrate from Lotus Domino to Exchange 2007: the development group has recently released the first wave of the new “Transporter Suite” for Domino (be sure to check out the release notes).

Exchange 2007 no longer needs a “Notes Connector” per se, since it uses SMTP to transfer mail to/from Domino, although there are some extra services (eg address book synchronisation, free/busy interchange) which are provided as part of the transporter suite.

Erik Ashby, Program Manager from the Exchange team, has been working on migration tools for years (he was behind the Exchange 5.5 Move Server Wizard, aka Pilgrim, which could lift a whole server between one site and another, and has been involved in cross-site mailbox moves, Notes & Groupwise migrations etc, ever since). There’s a nice video over on Channel9 of Erik talking about & demoing the new Transporter Suite.

Virtual PC 2007 now available

The Virtual PC team released the latest version to the web the other day, and it’s available for free, downloadable from here. Headline changes over previous versions are the ability to be run on Windows Vista, and to have Vista as a guest OS within VPC as well as miriad performance improvements.

I’ve been using VPC 2007 in beta for a while and it’s been rock solid, and performs snappier than I recall VPC 2004 doing (though since VPC 2004 wasn’t happy running on Vista, it’s been a while).

More technical information on Virtual PC 2007 is available here.

Remote control of Windows Mobile

The other day when I posted about VIrtual Earth Mobile, I was using some really great software to do remote control of my device and screen capture from the PC… SOTI Pocket Controller Professional.

It’s perfect for demoing Windows Mobile devices… even comes with a huge library of skins (which are updated online) so you can match the screen output from your device as its displayed on the PC to a surround which is identical, adding to the realism of the thing. Oh, and if you have a device which rotates the screen, the software auto-detects when you do that, and it redraws the skin in rotated mode – cool!

One tip: using USB/Activesync (or WMDC in Vista) as the connection method works fine for the basic show’n’tell, but some things aren’t available – device connectivity can be a bit confused, since it sees the Activesync connection as a possible route to the internet, but the PC might be disconnected. Also, the actual Activesync options (eg Schedule for sync) are grayed out when connected on a cable.

I use it over a Bluetooth PAN… so I connect the device to the PC as a network adapter (doubly useful in that it puts the PC on the net too), and then connect to the IP address of the device, which is always 192.168.0.1 (since it’s the gateway through which the PC will connect). That way, your PC is connected, the device is visible, and all the connectivity (such as Direct Push mail) & other options work just fine.

Thought provoking stuff…

I’ve no idea how accurate this information is, but in a short video on http://www.scottmcleod.org/didyouknow.wmv there are some wild predictions about the future… under the title of “Did you know?”


This echoes somewhat  “The Age of Spiritual Machines” by the eminent Ray Kurzweil (I saw him present once, and it was truly amazing – this guy has a brain the size of, I suppose, a planet … e.g. he invented OCR when a blind friend complained that the supply of audio books was seriously limited), where the author theorises that technological evolution is almost exponential – ie. the pace of change is accelerating.


Kurzweil reckons the first 30 years of the 21st century will see the same degree of technology progression that the entire 20th century saw, and that the next 10 years will see the same again… to the point where, by the middle of the century, nano-bots will be injected into the bloodstream to repair damaged organs and defeat blood-borne diseases.


Of course, all of this could be a load of old tosh – after all, people thought in the 1950s that we’d all be piloting flying cars, wearing space suits, and eating food in pill-form by the end of the 20th century…

Virtual Earth Mobile – mapping on the move

Microsoft’s Virtual Earth technology continues to take strides forward – not just in the inevitable mash-ups, but in new ways of accessing the maps (as well as from http://local.live.comwhich I keep on trying to access as live.local.com… d’oh). There are 3D maps in beta, as well as a cool add-in for Outlook 2000/3 (though yet to be updated for Outlook 2007).


I installed a newer version of Virtual Earth Mobile on my Pocket PC the other day… on searching for a business called Microsoft in Reading, here’s what I was offered as an initial map…


 


Switching to road + aerial, zooming in a bit and sliding the keyboard out to rotate the screen gives us…



… and it can still zoom in two more levels, so you can make out specific details like the parasols outside the restaurant!


I actually used this to get to a customer today – arrived at Waterloo station and realised that I didn’t know which immediate streets I needed to follow to get to the address I’d been given. I just searched for the street name, showed aerial view, walked past the London Eye and found it with no hassle … be careful though: prolonged use could lead to very large data bills 🙂


Have a look yourself from the Windows Mobile Blog.

Are you CrazyBusy?

 


I was reminded the other day of a term coined by Edward Hallowell in his excellent and thought-provoking book, CrazyBusy: Overstretched, Overbooked and About to Snap! Strategies for Coping in a World Gone ADD.

Hallowell, an ex-Harvard Medical School specialist in Attention Deficit Disorder, has deduced that technology and the modern way of life & work is turning us all into ineffective wastrels who burn out by the time we’re 50.

He tells a story of how he was staying in a remote cottage which had one of the old rotary Bakelite telephones, and no mobile coverage, and the act of dialling his friend in a nearby village took so long (in reality only a few seconds… the number probably had lots of 8s, 9s and 0s in it), that he was getting madly frustrated. This set him thinking about how strange it was that a simple act of waiting 15 seconds or so for something that normally takes a snap on a push-button phone, should be enough to make him near apoplectic. He started finding similarities in the symptoms of ADD patients he’s treated, and normal people who just get frustrated, distracted, impatient etc, in the normal run of their daily lives.

He’s even coined some interesting new terminology:


Vocabulary for a crazy world

Screensucking: wasting time stuck on the internet or Blackberry when you could be doing some work

EMV or e-mail voice: the ghostly tone of voice people assume on the phone when they are talking to you and reading their e-mail at the same time

Frazzing: when you are multitasking ineffectively

Gemmelsmerch: the ubiquitous force that distracts us from whatever we are doing with the desire to start doing something else

Doomdarts: suddenly remembered commitments such as a birthday or an invitation that had slipped our minds in all that frazzing and screensucking


I particularly like EMV and Doomdarts – been there, done that, many times…