Scripting Exchange 2007 failover

I got a bit bored of command line/command-let Exchange 2007 SCC failovers on Server 2008 today and always find the GUI too much faff, so I made batch files that provides some feedback and prompts along the way. Hope people find this useful.

Create PowerShell PS1 files called ‘E12CMS1N1-Ex-Failover.ps1’ and ‘E12CMS1N2-Ex-Failover.ps1’ .

move-ClusteredMailboxServer -Identity 'E12CMS1' -MoveComment 'Failover' -TargetMachine 'E12CMS1N1'

and,

move-ClusteredMailboxServer -Identity 'E12CMS1' -MoveComment 'Failover' -TargetMachine 'E12CMS1N2'

Then create batch files called ‘E12CMS1N1-Ex-Failover.bat’ and ‘E12CMS1N2-Ex-Failover.bat’

cluster group
pause
cluster . group "available storage" /move:E12CMS1N1
cluster . group "cluster group" /move:E12CMS1N1
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1" -command ". 'C:\EXAdminScripts\E12CMS1N1-Ex-Failover.ps1'"
cluster group
pause

and,

cluster group
pause
cluster . group "available storage" /move:E12CMS1N2
cluster . group "cluster group" /move:E12CMS1N2
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1" -command ". 'D:\EXAdminScripts\E12CMS1N2-Ex-Failover.ps1'"
cluster group
pause

Run the corresponding file to failover to that node, maybe even place a shortcut on the admin desktops. I especially like this because it reports the cluster groups owner before proceeding and and at the end.

I have thought about going one step further by setting SCOM maintenance mode on and off at the start and end of the script, setting Yes/No options for each step, having editable comment sections and listing the node names for selection rather than having 2 scripts. Oh well, a job for another day maybe when I’m not so busy. :o)

Technorati Tags: ,

Daniel

Outlook 2010: CRM + Mobile Device Center + SharePoint

Last week I downloaded Office 2010 Beta 2 in both 64bit and 32bit flavours to play with and test with the differing services/applications I use.

Good news:

  • If upgrade my Office 2007 install the CRM Outlook client works.
  • The major niggles with SharePoint seem to have gone.
  • The 32bit version works with Mobile Device Center.
  • Outlook 2010 works well with my Hosted Exchange provider (Cobweb)

Not so good news:

  • 64bit does not work with Mobile Device Center. :(
  • 64bit does not work with CRM Outlook client. :(

There are loads of people writing about this stuff, so I’ll leave it at that.

Daniel

Technorati Tags: ,,

MS 071-663 PRO: Design & Deploy Messaging Solutions with MS Exchange Server 2010


The 071-663 PRO: Design & Deploy Messaging Solutions with MS Exchange Server 2010 certification became available today in beta and can be taken from 1st December 2009 for a few weeks. I’ve decided to book myself in for 08:45 on 1st December. :o)

The PRO exam should be quite a step up from TS, which I completed in about 25 minutes although I hope I’m not in there for the full 4 hour duration allocated.

I shall be taking a deeper look in to cross forest/cloud options, migration and cross premise solutions to prepare along with other materials. If you have any suggestions for me please drop me a message.

Daniel