In Exchange 2010, While you add a server to a Database Availability Group (DAG), you may receive the below error:
A server-side database availability group administrative operation failed. Error: The operation failed with message: Error 0x6f7 (The stub received bad date) from cli_RpccCreateCluster
Error 0x6f7 (The stub received bad data) from cli_RpccCreateCluster
The operation wasn’t successful because an error was encountered. You may find more details in log file “C:\ExchangeSetupLogs\DagTasks\dagtask_xxxxxxx_add-databaseavailabilitygroupserver.log”
Exchange Management Shell command attempted:
Add-DatabaseAvailabilityGroupServer -Identity ‘DAG01’ -MailboxServer ‘SERVER NAME’
and you can check the mentioned log file (….add-databaseavailabilitygroupserver.log) for more details.
You know that when you prepare the server to be a member in a DAG, you configure 2 network cards on that server, one for connectivity to other Exchange servers and other services (MAPI NIC), and the other one for Replication (Replication NIC).
The above error happens when you didn’t configure a default Gateway (GW) in the TCP/IP properties of the (MAPI NIC).
Configure a default gateway in the TCP/IP properties of the (MAPI NIC), Even if it’s a dummy IP,
Make sure that your routing table is proper.