Setting SnapCenter credentials on the DAG name fails on IP-less DAG
Applies to
- SnapCenter Plug-in for Exchange (SCE) 4.x
Issue
- The following command on the SnapCenter Server fails when the DAG name has not IP address in DNS:
PS C:\windows\system32> Set-SmHost -HostName <DAG.domain.com> -CredentialName <credential-name>
Set-SmHost : failed to set host in maintenance mode. Modify host operation failed.
At line:1 char:1
+ Set-SmHost -HostName <DAG.domain.com> -CredentialName <DAG-credential-name>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo "OpenError: (SMSSNapin.PSModifyHost:PSModifyHost) [Set-SmHost], Exception
+ fulQualifiedErrorId : Operation failed,SmPSSnapin.PSModifyHost
- The same error can be observed in the SnapCenter GUI when attempting to place the host in Maintenance Mode