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
This issue has been automatically closed because it is has not had activity from the community in the last 40 days. If this issue was wrongly closed, for a issue author please comment and re-open it, if you are not the issue author comment with a reason for it to be reopened and tag a maintainer in the comment.
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: