You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add the availability group replica to the availability group
SqlAGReplica 'AddReplica'
{
Ensure = 'Present'
Name = $Node.NodeName
AvailabilityGroupName = 'AG01'
ServerName = $Node.NodeName
InstanceName = 'MSSQLSERVER'
PrimaryReplicaServerName = 'SERVERNAME.Domain'
PrimaryReplicaInstanceName = 'MSSQLSERVER'
ProcessOnlyOnActiveNode = $true
FailoverMode = 'Manual'
AvailabilityMode = 'AsynchronousCommit'
ConnectionModeInSecondaryRole = 'AllowAllConnections'
SeedingMode = 'Automatic'
DependsOn = '[SqlAlwaysOnService]EnableAlwaysOn'
PsDscRunAsCredential = $ActiveDirectoryAdministratorCredential
}
For some reason when the primary is created, the server name is lowercase and the secondary server name is uppercase. Has anyone else seen this? Everything is obviously working ok.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 40 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.
github-actionsbot
added
the
stale
The issue or pull request was marked as stale because there hasn't been activity from the community.
label
Nov 17, 2024
I am creating an availability group using
I am then adding a replica using
For some reason when the primary is created, the server name is lowercase and the secondary server name is uppercase. Has anyone else seen this? Everything is obviously working ok.
The text was updated successfully, but these errors were encountered: