Solved

Need to move the exchange 2010 Witness server for my DAG

Posted on 2013-07-01
17
4,484 Views
Last Modified: 2013-07-08
I need to move the witness server from one server to another..
Can I just  do this via the EMC ?
I know I have add the exchange trusted subsystem to the new servers local admin group but just needed to know if I can remove the server now and add in the new one via the EMC and if so, is that all there is to change?
0
Comment
Question by:vmich
  • 10
  • 3
  • 2
  • +2
17 Comments
 
LVL 17

Accepted Solution

by:
Spartan_1337 earned 500 total points
Comment Utility
Go through EMC and run this command when you are ready:

set-databaseavailabilitygroup -witnessdirectory "c:\<Folder>" -witnessserver "newFSWserver" -id "dagname".
0
 

Author Comment

by:vmich
Comment Utility
So make the changes via the emc and then run the command via the exchange mgmt. shell?
0
 
LVL 18

Expert Comment

by:Sushil Sonawane
Comment Utility
0
 
LVL 17

Expert Comment

by:Spartan_1337
Comment Utility
I meant the Command line.. cannot change through EMC.
Just run that command, that is really all there is to it when changing the location of the witness server.

Now just make sure you have the other prerequisites ready before making this change.  

http://exchangeserverpro.com/configure-file-share-witness-exchange-2010-database-availability-group/
0
 

Author Comment

by:vmich
Comment Utility
Ok what about this then for making the change via the EMC..
http://www.ntweekly.com/?p=1244
0
 
LVL 9

Expert Comment

by:David Carr
Comment Utility
First please make sure the new server has the Exchange Trusted Subsystem added as a local administrator.

You should be able to change it in the EMC (at least on Exchange 2007 it was possible). Change the name of the new directory and new server.

Here is the PowerShell Command to do it :

Set-DatabaseAvailabilityGroup -Identity DAGname -WitnessServer servername.domain.com -WitnessDirectory c:\FSW
0
 

Author Comment

by:vmich
Comment Utility
Also can this be done on the fly without affecting exchange and the dag?
0
 

Author Comment

by:vmich
Comment Utility
Ok I ran the command via the exch mgmt. console, but it did not create the folder, which I have seen happen before, but it did make the switch,so I created the share after making the change. No I dont see any errors via the emc but I don't see any folders or files on the new witness server yet in the share.
Should I seen something there as of yet?
0
Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 
LVL 18

Expert Comment

by:suriyaehnop
Comment Utility
The folder shall created automatically if you successfully run the command. The default folder name is DAGFileShareWitnesses
0
 

Author Comment

by:vmich
Comment Utility
Well the command ran but it had an error about access but I have the exch trusted subsystem added to the local administrators group of the new server.
After the error I checked the emc and it did make the change to the new servers and directory but it did not create it by itself..
0
 

Author Comment

by:vmich
Comment Utility
If I run the following command, it does show it to be on the new witness server...
Get-DatabaseAvailabilityGroup -Identity abcdefgh | fl
0
 
LVL 18

Expert Comment

by:suriyaehnop
Comment Utility
What is the error message, post the screenshot
0
 

Author Comment

by:vmich
Comment Utility
AG
WARNING: The Exchange Trusted Subsystem is not a member of the local Administrators group on specified witness server
tmkcmsns.
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    + CategoryInfo          : NotSpecified: (0:Int32) [Set-DatabaseAvailabilityGroup], UnauthorizedAccessException
    + FullyQualifiedErrorId : EC1B050A,Microsoft.Exchange.Management.SystemConfigurationTasks.SetDatabaseAvailabilityGroup
 
But as I mentioned, it did move all to the new server except I had to create the folder on the witness server and make the share. This is a 2 node DAG
0
 

Author Comment

by:vmich
Comment Utility
I guess since I am not getting any errors on the exchange server and that the emc shows the new server and the correct folder since I ran the command, from what I an seeing I can ignore the message about access denied. This looks like it is a bug with exchange 2010..
Would this be a correct assumption?
0
 
LVL 17

Expert Comment

by:Spartan_1337
Comment Utility
Run this command to verify everything looks good:

Get-DatabaseAvailabilityGroup -Identity DAG -Status | fl
0
 

Author Comment

by:vmich
Comment Utility
I did run that earlier and it showed all was moved correct...
0
 

Author Closing Comment

by:vmich
Comment Utility
solved
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Resolve DNS query failed errors for Exchange
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now