I have configured Exchange Server 2016 DAG Environment wherein i used servers for the below mentioned roles-
DAG Name – DAG-01
DAG IPs : 192.168.10.7 and 192.168.2
PR-Site:
PR-Site Domain Controller – 192.168.10.2
Mailbox Server (MB-PR1) – 192.168.10.3
Mailbox Server (MB-PR2) – 192.168.10.4
PR Witness Server (PRWTNS) – 192.168.20.5
DR-Site
DR-Site Domain Controller – 192.168.20.2
Mailbox Server (MB-DR1) – 192.168.20.3
DR Witness Server (DRWTNS) – 192.168.20.5
And one Remote server RMT-SRV (192.168.10.6) where WinRM configured to access the DAG remotely.
Active Directory Site is created between both Domain Controllers to replicate data.
Added the Mailbox database Copy of MB-PR1 on MB-PR2 and MB-DR1 , and vice versa added other Mailbox servers database copies.
When PAM role moved from MB-PR1 to MB-DR1 that time that time DAG DR IP : 192.168.20.6 start pinging , at a time only one IP ping. which site the PAM role is only that DAG ip ping. but DAG-01 is connecting only when PAM role is at PR Site.
When the PrimayActiveManager (PAM Role) is on MB-PR1 then I am able to access DAG remotely from powershell, and when i move this PAM role to MB-DR1 Mailbox server then i am unable to access the DAG remotely from Powershell and getting below error
Error
New-PSSession : [dag-01.exc2016dom.com] Connecting to remote server dag-01.exc2016dom.com failed with the following error message : WinRM cannot process the request because the input XML
contains a syntax error. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:12
- $Session = New-PSSession -ConfigurationName Microsoft.Exchange -Conne …
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
- FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed
Commands:
$UserCredential = Get-Credential
$Srv1 = “DAG-01.exc2016dom.com”
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://$Srv1/PowerShell/ -Authentication Kerberos -Credential $UserCredential
Can someone please help? Thanks in advance.
Firewall Disabled on all Mailbox servers.
Given the DNS Entry.
Anoop Sharma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.