Link to home
Start Free TrialLog in
Avatar of Sharaf K
Sharaf KFlag for United Arab Emirates

asked on

Alternative file witness server in the same DC Exchange 2013 DAG

Hi Experts ,

Before the question below are  My configuration :-

I have exchange 2013 in DAG, Two mbx servers and Two cas servers running on  Two  Hyper-v host server running on windows server 2012 .

1. Host 1 server has MBX server 1 & CAS server 1 on hyper-v
2. Host 2 server has MBX server 2 & CAS Server 2 on Hyper-v
3.File witness server is running on CAS Server 1.
4. Fail over cluster type "Node and fileshare Majority"
5. Failover cluster members "Mbx1 ,Mbx2 & Cas1"

Is it required to configure alternative file witness server on same data-center.? The reason been ,recently I had to shutdown  host server 1 & 2 (Each servers one at a time) for a hardware maintenance .But when i took the host server 1 offline My all the 7 databases got dismounted whereas when i took the server Host 2 offline databases were running just fine , i didn't have any issue.

I assume DBs were dismounted because ,filewitness server and fail over member (MBX1) were offline out of 3 members participating on fail over cluster .

Please enlighten me on below doubts :-

A. What are the best practice to consider to avoid such a scenario?
B. How can i change File Witness Server  if existing File witness Server crashes ?
C. How can i move file winess server from CAS1 to CAS2 without downtime?
D. or Do i really need an alternative FWS ? if so , what are the steps to create ?

Thank you in advance for your support,

PS:-  All the exchange servers are running on Microsoft windows server 2012 .

Best Regards,
Sharaf.
Avatar of timgreen7077
timgreen7077

The reason the DBs got dismounted is because quorum was lost. It was lost when you rebooted CAS1 which is your witness server.
You can add an alternate witness server to help with that, by adding it on the other CAS server or a separate server that's not even an Exchange server at all. It doesn't have to be in the same datacenter, it just needs to be a server that's in the same AD Forest. The site doesn't matter as long as Exchange can access ping it. The easiest thing to do is not to change or move the Primary witness but to just add the Alternate Witness, so determine what server you want to add the alternate witness to and follow the same steps you followed when you setup the primary witness.

Notes:
Witness can't be added to DAG nodes, so don't add to your mailbox servers.
You can add the alternate witness to CAS 2, or any server you choose.
Datacenter and site doesn't matter, just same AD Forest
Be sure not to reboot the servers with the primary and alternate witness simultaneously.
Setup alternate witness the same way you setup the primary.
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sharaf K

ASKER

@Mahesh ::- i got the point. so what can i do if i want to shutdown host 1 server without getting databases dismounted??(where my fws & Mbx1 server s reside)???
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
See the link for assistance with moving witness server. I wouldn't suggest putting on CAS. Put on a different server.

https://blogs.technet.microsoft.com/karthikm/2016/09/28/change-the-file-share-witness-on-exchange-server/
And there is no downtime required to change witness server
what if my FWS is already down ??? can i move FWS to new location by below comment ???

Set-DatabaseAvailabilitygroup -Identity <DAGNAME> -WitnessDirectory <C:\FSW_DIR_DAG1> -WitnessServer <Server FQDN>
yes, you can.
Yes that is correct
Answer provided