3

I have what I think is a quick easy question. I'd like to apply a service pack to my exchange 2007 mailbox server. I don't have a CCR setup, so its a pretty standard configuration. We do have it running on VMware and I plan on snapshotting it before the service pack is applied.

My question is, can certain aspects of exchange be disabled so that outlook can't connect to the mailbox server before I snapshot/update the server? I'd like to avoid any data loss if it can be done. For example, one idea I had was disabling the mailbox databases and then patching the server. However, I don't know if that can be done.

Another idea I had was patching the exchange server while the network is disconnected, but once again, I don't know if that would work either.

Ben Pilbrow
  • 12,041
  • 5
  • 36
  • 57
Eric C. Singer
  • 2,329
  • 16
  • 17

2 Answers2

4

You've got a couple of options.

  • Do a full backup of all Mailbox Databases and start the upgrade ASAP after the backup (store this off the server you're upgrading!).
  • Stop (but don't disable) the Microsoft Exchage Information Store service, snapshot your machine and start the upgrade.

Of those options, the second will give you a consistent snapshot of your .edb files if you're doing a VM level snapshot. If you leave the Information Store service stopped and kick off the upgrade, that should effectively give you what you want.

I'd also leave the network connected when installing the Service Pack because IIRC some CRL checks are made, and these can take a long time to timeout if the network isn't connected, causing you an unnecessary delay during the upgrade.

The only thing I'd recommend is do it during "off" time, so an evening or preferably a weekend, just so you have some breathing space if anything goes wonky.

Ben Pilbrow
  • 12,041
  • 5
  • 36
  • 57
  • Ok, so to be clear, there's no other way you can think of to mitigate any data loss? So piggy backing off what you said, for me an ideal situation would be pre-disabling the services and preventing them from starting automatically, this way the data is in a consistent state when I snap shot the server **and** when i start the patching so no new mail has been submitted outlook side after the snapshot until i confirm everything is ok. My concern is if something does bomb in the patching and I have to roll the snapshot back. I just want to make sure there's no way for outlook to connect. – Eric C. Singer Dec 30 '11 at 21:25
  • I will be disabling the CAS / HT severs, so nothing to worry about on that end, just for the staff that happen to be directly connected (via VPN) – Eric C. Singer Dec 30 '11 at 21:25
  • @EricC.Singer I actually slightly misinterpreted your original question, so I just made a quick update. Basically, yes if you pre-stop (I wouldn't disable) the services you should achieve what you want. – Ben Pilbrow Dec 30 '11 at 21:30
  • So just to clarify, can I not only stop the information store service, but also disable it (to prevent an auto start)? If so, that sounds perfect. This way once i kown the patches applied, I can fire up the stores. if the stores don't fire up, then it's not the end of the world as i can roll back to the snapshot. – Eric C. Singer Dec 30 '11 at 21:31
  • I don't know this for sure, but I imagine the Service Pack will not be happy if you disabled a critical service like the Information Store. It will automatically try to start services as soon as it's done, and if one is disabled I'm not sure how it will react to that. If you snapshot the machine while the services are stopped you should be OK, since if you need to revert to that snapshot they will still be stopped. – Ben Pilbrow Dec 30 '11 at 21:34
  • sorry, I just saw your comment about not disabling? Tell you what, I'll find out for sure in two weeks if it can be disabled. Eaither way, I'll mark this as the answer, but I'll repost if it can be disabled without issue. IMO, while a small risk off hours, we should still be able to do this without any chance of data loss. I'd rather have users not be able to do something for a minute, then do work and lose it. – Eric C. Singer Dec 30 '11 at 21:35
  • Oh, and I guess with exchange 2010, this could be done (regardless of DAG's) since everything goes through the CAG anyway. – Eric C. Singer Dec 30 '11 at 21:36
  • Yes, in Exchange 2010 I guess you could stop the Client Access services for the same effect. The chances of an upgrade totally trashing your mailbox databases are incredibly slim, but by no means impossible. I'd always have a full backup available as well, for extra peace of mind. – Ben Pilbrow Dec 30 '11 at 21:44
0

Steps to safely Patch your Exchange server without potential data loss:

Step 1: Download CUs

Step 2: Put Exchange Server in Maintenance Mode

Step 3: Prepare for CU

Step 4: Install RSAT-ADDs Feature

Step 5: Prepare Schema, AD, and Domains

Step 6: Install CU via Unattended Setup or GUI

Step 7: Remove Server from Maintenance Mode

Step 8: Install Pending SUs

Refer this link for more information.