functions/Add-DbaAgDatabase.ps1
function Add-DbaAgDatabase { <# .SYNOPSIS Adds database(s) to an Availability Group on a SQL Server instance. .DESCRIPTION Adds database(s) to an Availability Group on a SQL Server instance. After checking for prerequisites, the commands runs these five steps for every database: * Step 1: Setting seeding mode if needed. - If -SeedingMode is used and the current seeding mode of the replica is not in the desired mode, the seeding mode of the replica is changed. - The seeding mode will not be changed back but stay in this mode. - If the seeding mode is changed to Automatic, the necessary rights to create databases will be granted. * Step 2: Running backup and restore if needed. - Action is only taken for replicas with a desired seeding mode of Manual and where the database does not yet exist. - If -UseLastBackup is used, the restore will be performed based on the backup history of the database. - Otherwise a full and log backup will be taken at the primary and those will be restored at the replica using the same folder structure. * Step 3: Add the database to the Availability Group on the primary replica. - This step is skipped, if the database is already part of the Availability Group. * Step 4: Add the database to the Availability Group on the secondary replicas. - This step is skipped for those replicas, where the database is already joined to the Availability Group. * Step 5: Wait for the database to finish joining the Availability Group on the secondary replicas. Use Test-DbaAvailabilityGroup with -AddDatabase to test if all prerequisites are met. If you have special requirements for the setup for the database at the replicas, perform the backup and restore part with Backup-DbaDatabase and Restore-DbaDatabase in advance. Please make sure that the last log backup has been restored before running Add-DbaAgDatabase. .PARAMETER SqlInstance The primary replica of the Availability Group. Server version must be SQL Server version 2012 or higher. .PARAMETER SqlCredential Login to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential). Windows Authentication, SQL Server Authentication, Active Directory - Password, and Active Directory - Integrated are all supported. For MFA support, please use Connect-DbaInstance. .PARAMETER Database The database(s) to add. .PARAMETER AvailabilityGroup The name of the Availability Group where the databases will be added. .PARAMETER Secondary Not required - the command will figure this out. But use this parameter if secondary replicas listen on a non default port. This parameter can be used to only add the databases on specific secondary replicas. .PARAMETER SecondarySqlCredential Login to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential). Windows Authentication, SQL Server Authentication, Active Directory - Password, and Active Directory - Integrated are all supported. For MFA support, please use Connect-DbaInstance. .PARAMETER InputObject Enables piping from Get-DbaDatabase, Get-DbaDbSharePoint and more. .PARAMETER SeedingMode Specifies how the secondary replica will be initially seeded. Automatic enables direct seeding. This method will seed the secondary replica over the network. This method does not require you to backup and restore a copy of the primary database on the replica. Manual uses full and log backup to initially transfer the data to the secondary replica. The command skips this if the database is found in restoring state at the secondary replica. If not specified, the setting from the availability group replica will be used. Otherwise the setting will be updated. .PARAMETER SharedPath The network share where the backups will be backed up and restored from. Each SQL Server service account must have access to this share. NOTE: If a backup / restore is performed, the backups will be left in tact on the network share. .PARAMETER UseLastBackup Use the last full and log backup of the database. A log backup must be the last backup. .PARAMETER AdvancedBackupParams Provide additional parameters to the backup command as a hashtable. .PARAMETER WhatIf Shows what would happen if the command were to run. No actions are actually performed. .PARAMETER Confirm Prompts you for confirmation before executing any changing operations within the command. .PARAMETER EnableException By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message. This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting. Using this switch turns this "nice by default" feature off and enables you to catch exceptions with your own try/catch. .NOTES Tags: AG, HA Author: Chrissy LeMaire (@cl), netnerds.net | Andreas Jordan (@JordanOrdix), ordix.de Website: https://dbatools.io Copyright: (c) 2018 by dbatools, licensed under MIT License: MIT https://opensource.org/licenses/MIT .LINK https://dbatools.io/Add-DbaAgDatabase .EXAMPLE PS C:\> Add-DbaAgDatabase -SqlInstance sql2017a -AvailabilityGroup ag1 -Database db1, db2 -Confirm Adds db1 and db2 to ag1 on sql2017a. Prompts for confirmation. .EXAMPLE PS C:\> Get-DbaDatabase -SqlInstance sql2017a | Out-GridView -Passthru | Add-DbaAgDatabase -AvailabilityGroup ag1 Adds selected databases from sql2017a to ag1 .EXAMPLE PS C:\> Get-DbaDbSharePoint -SqlInstance sqlcluster | Add-DbaAgDatabase -AvailabilityGroup SharePoint Adds SharePoint databases as found in SharePoint_Config on sqlcluster to ag1 on sqlcluster .EXAMPLE PS C:\> Get-DbaDbSharePoint -SqlInstance sqlcluster -ConfigDatabase SharePoint_Config_2019 | Add-DbaAgDatabase -AvailabilityGroup SharePoint Adds SharePoint databases as found in SharePoint_Config_2019 on sqlcluster to ag1 on sqlcluster .EXAMPLE PS C:\> Add-DbaAgDatabase -SqlInstance sql2017a -AvailabilityGroup ag1 -Database db1 -Secondary sql2017b -SeedingMode Manual -SharedPath \\FS\Backup -AdvancedBackupParams @{ CompressBackup = $true ; FileCount = 3 } Adds db1 to ag1 on sql2017a and sql2017b. Uses compression and three files while taking the backups. #> [CmdletBinding(SupportsShouldProcess, ConfirmImpact = 'Low')] param ( [Parameter(ParameterSetName = 'NonPipeline', Mandatory = $true, Position = 0)] [DbaInstanceParameter]$SqlInstance, [Parameter(ParameterSetName = 'NonPipeline')] [PSCredential]$SqlCredential, [Parameter(ParameterSetName = 'NonPipeline', Mandatory = $true)] [Parameter(ParameterSetName = 'Pipeline', Mandatory = $true, Position = 0)] [string]$AvailabilityGroup, [Parameter(ParameterSetName = 'NonPipeline', Mandatory = $true)] [string[]]$Database, [Parameter(ParameterSetName = 'NonPipeline')] [Parameter(ParameterSetName = 'Pipeline')] [DbaInstanceParameter[]]$Secondary, [Parameter(ParameterSetName = 'NonPipeline')] [Parameter(ParameterSetName = 'Pipeline')] [PSCredential]$SecondarySqlCredential, [parameter(ValueFromPipeline, ParameterSetName = 'Pipeline', Mandatory = $true)] [Microsoft.SqlServer.Management.Smo.Database[]]$InputObject, [Parameter(ParameterSetName = 'NonPipeline')] [Parameter(ParameterSetName = 'Pipeline')] [ValidateSet('Automatic', 'Manual')] [string]$SeedingMode, [Parameter(ParameterSetName = 'NonPipeline')] [Parameter(ParameterSetName = 'Pipeline')] [string]$SharedPath, [Parameter(ParameterSetName = 'NonPipeline')] [Parameter(ParameterSetName = 'Pipeline')] [switch]$UseLastBackup, [Parameter(ParameterSetName = 'NonPipeline')] [Parameter(ParameterSetName = 'Pipeline')] [hashtable]$AdvancedBackupParams, [Parameter(ParameterSetName = 'NonPipeline')] [Parameter(ParameterSetName = 'Pipeline')] [switch]$EnableException ) begin { # We have three while loops, that need a timeout to not loop forever if somethings goes wrong: # while ($agDb.State -ne 'Existing') - should only take milliseconds, so we set a default timeout of one minute # while ($replicaAgDb.State -ne 'Existing') - should only take milliseconds, so we set a default timeout of one minute # while ($stillWaiting) - can take a long time with automatic seeding, but progress is displayed, so we set a default timeout of one day # We will use two timeout configuration values, as we don't want to add more timeout parameters to the command. We will store the timeouts in seconds. # The timout for synchronization can be set to a lower value to end the command even when the synchronization is not finished yet. # The synchronization will continue even the command or the powershell session stops. # Even when the SQL Server instance is restarted, the synchronization will continue after the restart. # Set-DbatoolsConfig -FullName commands.add-dbaagdatabase.timeout.existing -Value 60 # Set-DbatoolsConfig -FullName commands.add-dbaagdatabase.timeout.synchronization -Value 86400 $timeoutExisting = Get-DbatoolsConfigValue -FullName commands.add-dbaagdatabase.timeout.existing -Fallback 60 $timeoutSynchronization = Get-DbatoolsConfigValue -FullName commands.add-dbaagdatabase.timeout.synchronization -Fallback 86400 # While in a while loop, configure the time in milliseconds to wait for the next test: # Set-DbatoolsConfig -FullName commands.add-dbaagdatabase.wait.while -Value 100 $waitWhile = Get-DbatoolsConfigValue -FullName commands.add-dbaagdatabase.wait.while -Fallback 100 # With automatic seeding we add the current seeding progress in verbose output and a progress bar. This can be disabled: # Set-DbatoolsConfig -FullName commands.add-dbaagdatabase.report.seeding -Value $true $reportSeeding = Get-DbatoolsConfigValue -FullName commands.add-dbaagdatabase.report.seeding -Fallback $true } process { # We store information for the progress bar in a hashtable suitable for splatting. $progress = @{ } $progress['Id'] = Get-Random $progress['Activity'] = "Adding database(s) to Availability Group $AvailabilityGroup." $testResult = @( ) foreach ($dbName in $Database) { try { $progress['Status'] = "Test prerequisites for joining database $dbName." Write-Progress @progress $testSplat = @{ SqlInstance = $SqlInstance SqlCredential = $SqlCredential Secondary = $Secondary SecondarySqlCredential = $SecondarySqlCredential AvailabilityGroup = $AvailabilityGroup AddDatabase = $dbName UseLastBackup = $UseLastBackup EnableException = $true } if ($SeedingMode) { $testSplat['SeedingMode'] = $SeedingMode } if ($SharedPath) { $testSplat['SharedPath'] = $SharedPath } $testResult += Test-DbaAvailabilityGroup @testSplat } catch { Stop-Function -Message "Testing prerequisites for joining database $dbName to Availability Group $AvailabilityGroup failed." -ErrorRecord $_ -Continue } } foreach ($db in $InputObject) { try { $progress['Status'] = "Test prerequisites for joining database $($db.Name)." Write-Progress @progress $testSplat = @{ SqlInstance = $db.Parent Secondary = $Secondary SecondarySqlCredential = $SecondarySqlCredential AvailabilityGroup = $AvailabilityGroup AddDatabase = $db.Name UseLastBackup = $UseLastBackup EnableException = $true } if ($SeedingMode) { $testSplat['SeedingMode'] = $SeedingMode } if ($SharedPath) { $testSplat['SharedPath'] = $SharedPath } $testResult += Test-DbaAvailabilityGroup @testSplat } catch { Stop-Function -Message "Testing prerequisites for joining database $($db.Name) to Availability Group $AvailabilityGroup failed." -ErrorRecord $_ -Continue } } Write-Message -Level Verbose -Message "Test for prerequisites returned $($testResult.Count) databases that will be joined to the Availability Group $AvailabilityGroup." foreach ($result in $testResult) { $server = $result.PrimaryServerSMO $ag = $result.AvailabilityGroupSMO $db = $result.DatabaseSMO $replicaServerSMO = $result.ReplicaServerSMO $restoreNeeded = $result.RestoreNeeded $backups = $result.Backups $replicaAgDbSMO = @{ } $targetSynchronizationState = @{ } $output = @( ) $progress['Activity'] = "Adding database $($db.Name) to Availability Group $AvailabilityGroup." $progress['Status'] = "Step 1/5: Setting seeding mode if needed." Write-Message -Level Verbose -Message $progress['Status'] Write-Progress @progress if ($SeedingMode) { Write-Message -Level Verbose -Message "Setting seeding mode to $SeedingMode." $failure = $false foreach ($replicaName in $replicaServerSMO.Keys) { $replica = $ag.AvailabilityReplicas[$replicaName] if ($replica.SeedingMode -ne $SeedingMode) { if ($Pscmdlet.ShouldProcess($server, "Setting seeding mode for replica $replica to $SeedingMode")) { try { Write-Message -Level Verbose -Message "Setting seeding mode for replica $replica to $SeedingMode." $replica.SeedingMode = $SeedingMode $replica.Alter() if ($SeedingMode -eq 'Automatic') { Write-Message -Level Verbose -Message "Setting GrantAvailabilityGroupCreateDatabasePrivilege on server $($replicaServerSMO[$replicaName]) for Availability Group $AvailabilityGroup." $null = Grant-DbaAgPermission -SqlInstance $replicaServerSMO[$replicaName] -Type AvailabilityGroup -AvailabilityGroup $AvailabilityGroup -Permission CreateAnyDatabase } } catch { $failure = $true Stop-Function -Message "Failed setting seeding mode for replica $replica to $SeedingMode." -ErrorRecord $_ -Continue } } } } if ($failure) { Stop-Function -Message "Failed setting seeding mode to $SeedingMode." -Continue } } $progress['Status'] = "Step 2/5: Running backup and restore if needed." Write-Message -Level Verbose -Message $progress['Status'] Write-Progress @progress if ($restoreNeeded.Count -gt 0) { if (-not $backups) { if ($Pscmdlet.ShouldProcess($server, "Taking full and log backup of database $($db.Name)")) { try { Write-Message -Level Verbose -Message "Taking full and log backup of database $($db.Name)." if ($AdvancedBackupParams) { $fullbackup = $db | Backup-DbaDatabase -BackupDirectory $SharedPath -Type Full -EnableException @AdvancedBackupParams $logbackup = $db | Backup-DbaDatabase -BackupDirectory $SharedPath -Type Log -EnableException @AdvancedBackupParams } else { $fullbackup = $db | Backup-DbaDatabase -BackupDirectory $SharedPath -Type Full -EnableException $logbackup = $db | Backup-DbaDatabase -BackupDirectory $SharedPath -Type Log -EnableException } $backups = $fullbackup, $logbackup } catch { Stop-Function -Message "Failed to take full and log backup of database $($db.Name)." -ErrorRecord $_ -Continue } } } $failure = $false foreach ($replicaName in $restoreNeeded.Keys) { if ($Pscmdlet.ShouldProcess($replicaServerSMO[$replicaName], "Restore database $($db.Name) to replica $replicaName")) { try { Write-Message -Level Verbose -Message "Restore database $($db.Name) to replica $replicaName." $null = $backups | Restore-DbaDatabase -SqlInstance $replicaServerSMO[$replicaName] -NoRecovery -TrustDbBackupHistory -ReuseSourceFolderStructure -EnableException } catch { $failure = $true Stop-Function -Message "Failed to restore database $($db.Name) to replica $replicaName." -ErrorRecord $_ -Continue } } } if ($failure) { Stop-Function -Message "Failed to restore database $($db.Name)." -Continue } } $progress['Status'] = "Step 3/5: Add the database to the Availability Group on the primary replica." Write-Message -Level Verbose -Message $progress['Status'] if ($Pscmdlet.ShouldProcess($server, "Add database $($db.Name) to Availability Group $AvailabilityGroup on the primary replica")) { try { $progress['CurrentOperation'] = "State of AvailabilityDatabase for $($db.Name) on is not yet known." Write-Message -Level Verbose -Message "Object of type AvailabilityDatabase for $($db.Name) will be created. $($progress['CurrentOperation'])" Write-Progress @progress if ($ag.AvailabilityDatabases.Name -contains $db.Name) { Write-Message -Level Verbose -Message "Database $($db.Name) is already joined to Availability Group $AvailabilityGroup. No action will be taken on the primary replica." } else { $agDb = Get-DbaAgDatabase -SqlInstance $server -AvailabilityGroup $ag.Name -Database $db.Name $agDb = New-Object Microsoft.SqlServer.Management.Smo.AvailabilityDatabase($ag, $db.Name) $progress['CurrentOperation'] = "State of AvailabilityDatabase for $($db.Name) is $($agDb.State)." Write-Message -Level Verbose -Message "Object of type AvailabilityDatabase for $($db.Name) is created. $($progress['CurrentOperation'])" Write-Progress @progress $agDb.Create() $progress['CurrentOperation'] = "State of AvailabilityDatabase for $($db.Name) is $($agDb.State)." Write-Message -Level Verbose -Message "Method Create of AvailabilityDatabase for $($db.Name) is executed. $($progress['CurrentOperation'])" Write-Progress @progress # Wait for state to become Existing # https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.management.smo.sqlsmostate $timeout = (Get-Date).AddSeconds($timeoutExisting) while ($agDb.State -ne 'Existing') { $progress['CurrentOperation'] = "State of AvailabilityDatabase for $($db.Name) is $($agDb.State), waiting for Existing." Write-Message -Level Verbose -Message $progress['CurrentOperation'] Write-Progress @progress if ((Get-Date) -gt $timeout) { Stop-Function -Message "Failed to add database $($db.Name) to Availability Group $AvailabilityGroup. Timeout of $timeoutExisting seconds is reached. State of AvailabilityDatabase for $($db.Name) is still $($agDb.State)." -Continue } Start-Sleep -Milliseconds $waitWhile $agDb.Refresh() } # Get customized SMO for the output $output += Get-DbaAgDatabase -SqlInstance $server -AvailabilityGroup $AvailabilityGroup -Database $db.Name -EnableException } } catch { Stop-Function -Message "Failed to add database $($db.Name) to Availability Group $AvailabilityGroup" -ErrorRecord $_ -Continue } } $progress['Status'] = "Step 4/5: Add the database to the Availability Group on the secondary replicas." Write-Message -Level Verbose -Message $progress['Status'] $failure = $false foreach ($replicaName in $replicaServerSMO.Keys) { if ($Pscmdlet.ShouldProcess($replicaServerSMO[$replicaName], "Add database $($db.Name) to Availability Group $AvailabilityGroup on replica $replicaName")) { $progress['CurrentOperation'] = "State of AvailabilityDatabase for $($db.Name) on replica $replicaName is not yet known." Write-Message -Level Verbose -Message $progress['CurrentOperation'] Write-Progress @progress try { $replicaAgDb = Get-DbaAgDatabase -SqlInstance $replicaServerSMO[$replicaName] -AvailabilityGroup $AvailabilityGroup -Database $db.Name -EnableException } catch { $failure = $true Stop-Function -Message "Failed to get database $($db.Name) on replica $replicaName." -ErrorRecord $_ -Continue } if ($replicaAgDb.IsJoined) { Write-Message -Level Verbose -Message "Database $($db.Name) is already joined to Availability Group $AvailabilityGroup. No action will be taken on the replica $replicaName." $replicaAgDbSMO[$replicaName] = $replicaAgDb } else { # Save SMO in array for the output $output += $replicaAgDb # Save SMO in hashtable for further processing $replicaAgDbSMO[$replicaName] = $replicaAgDb # Save target targetSynchronizationState for further processing # https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.management.smo.availabilityreplicaavailabilitymode # https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.management.smo.availabilitydatabasesynchronizationstate $availabilityMode = $ag.AvailabilityReplicas[$replicaName].AvailabilityMode if ($availabilityMode -eq 'AsynchronousCommit') { $targetSynchronizationState[$replicaName] = 'Synchronizing' } elseif ($availabilityMode -eq 'SynchronousCommit') { $targetSynchronizationState[$replicaName] = 'Synchronized' } else { $failure = $true Stop-Function -Message "Unexpected value '$availabilityMode' for AvailabilityMode on replica $replicaName." -Continue } $progress['CurrentOperation'] = "State of AvailabilityDatabase for $($db.Name) on replica $replicaName is $($replicaAgDb.State)." Write-Message -Level Verbose -Message $progress['CurrentOperation'] Write-Progress @progress # https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.management.smo.sqlsmostate $timeout = (Get-Date).AddSeconds($timeoutExisting) while ($replicaAgDb.State -ne 'Existing') { $progress['CurrentOperation'] = "State of AvailabilityDatabase for $($db.Name) on replica $replicaName is $($replicaAgDb.State), waiting for Existing." Write-Message -Level Verbose -Message $progress['CurrentOperation'] Write-Progress @progress if ((Get-Date) -gt $timeout) { Stop-Function -Message "Failed to add database $($db.Name) on replica $replicaName. Timeout of $timeoutExisting seconds is reached. State of AvailabilityDatabase for $db is still $($replicaAgDb.State)." -Continue } Start-Sleep -Milliseconds $waitWhile $replicaAgDb.Refresh() } # With automatic seeding, .JoinAvailablityGroup() is not needed, just wait for the magic to happen if ($ag.AvailabilityReplicas[$replicaName].SeedingMode -ne 'Automatic') { try { $progress['CurrentOperation'] = "Joining database $($db.Name) on replica $replicaName." Write-Message -Level Verbose -Message $progress['CurrentOperation'] Write-Progress @progress $replicaAgDb.JoinAvailablityGroup() } catch { $failure = $true Stop-Function -Message "Failed to join database $($db.Name) on replica $replicaName." -ErrorRecord $_ -Continue } } } } } if ($failure) { Stop-Function -Message "Failed to add or join database $($db.Name)." -Continue } # Now we have configured everything and we only have to wait... $progress['Status'] = "Step 5/5: Wait for the database to finish joining the Availability Group on the secondary replicas." $progress['CurrentOperation'] = '' Write-Message -Level Verbose -Message $progress['Status'] Write-Progress @progress if ($Pscmdlet.ShouldProcess($server, "Wait for the database $($db.Name) to finish joining the Availability Group $AvailabilityGroup on the secondary replicas.")) { # We need to setup a progress bar for every replica to display them all at once. $syncProgressId = @{ } foreach ($replicaName in $replicaServerSMO.Keys) { $syncProgressId[$replicaName] = Get-Random } $stillWaiting = $true $timeout = (Get-Date).AddSeconds($timeoutSynchronization) while ($stillWaiting) { $stillWaiting = $false $failure = $false foreach ($replicaName in $replicaServerSMO.Keys) { if (-not $targetSynchronizationState[$replicaName]) { Write-Message -Level Verbose -Message "Database $($db.Name) is already joined to Availability Group $AvailabilityGroup. No action will be taken on the replica $replicaName." continue } if (-not $replicaAgDbSMO[$replicaName].IsJoined -or $replicaAgDbSMO[$replicaName].SynchronizationState -ne $targetSynchronizationState[$replicaName]) { $stillWaiting = $true } $syncProgress = @{ } $syncProgress['Id'] = $syncProgressId[$replicaName] $syncProgress['ParentId'] = $progress['Id'] $syncProgress['Activity'] = "Adding database(s) to Availability Group $AvailabilityGroup." if ($replicaAgDbSMO[$replicaName].SynchronizationState -ne $targetSynchronizationState[$replicaName]) { $syncProgress['Status'] = "IsJoined is $($replicaAgDbSMO[$replicaName].IsJoined), SynchronizationState is $($replicaAgDbSMO[$replicaName].SynchronizationState), waiting for $($targetSynchronizationState[$replicaName])." } else { $syncProgress['Status'] = "IsJoined is $($replicaAgDbSMO[$replicaName].IsJoined), SynchronizationState is $($replicaAgDbSMO[$replicaName].SynchronizationState), replica is in desired state." } if ($ag.AvailabilityReplicas[$replicaName].SeedingMode -eq 'Automatic' -and $reportSeeding) { $seedingStats = $server.Query("SELECT TOP 1 * FROM sys.dm_hadr_physical_seeding_stats WHERE local_database_name = '$($db.Name)' AND remote_machine_name = '$($ag.AvailabilityReplicas[$replicaName].EndpointUrl)' ORDER BY start_time_utc DESC") if ($seedingStats) { if ($seedingStats.failure_message -ne [DBNull]::Value) { $failure = $true Stop-Function -Message "Failed while seeding database $($db.Name) to $replicaName. failure_message: $($seedingStats.failure_message)." -Continue } $syncProgress['PercentComplete'] = [int]($seedingStats.transferred_size_bytes * 100.0 / $seedingStats.database_size_bytes) $syncProgress['SecondsRemaining'] = [int](($seedingStats.estimate_time_complete_utc - (Get-Date).ToUniversalTime()).TotalSeconds) $syncProgress['CurrentOperation'] = "Seeding state: $($seedingStats.internal_state_desc), $([int]($seedingStats.transferred_size_bytes/1024/1024)) out of $([int]($seedingStats.database_size_bytes/1024/1024)) MB transferred." } } Write-Message -Level Verbose -Message ($syncProgress['Status'] + $syncProgress['CurrentOperation']) Write-Progress @syncProgress } if ($failure) { $stillWaiting = $false Stop-Function -Message "Failed while seeding database $($db.Name)." -Continue } if ((Get-Date) -gt $timeout) { $stillWaiting = $false $failure = $true Stop-Function -Message "Failed to join or synchronize database $($db.Name). Timeout of $timeoutSynchronization seconds is reached. $progressOperation" -Continue } Start-Sleep -Milliseconds $waitWhile foreach ($replicaName in $replicaServerSMO.Keys) { $replicaAgDbSMO[$replicaName].Refresh() } } if ($failure) { Stop-Function -Message "Failed to join or synchronize database $($db.Name)." -Continue } } $output } } } # SIG # Begin signature block # MIIjZgYJKoZIhvcNAQcCoIIjVzCCI1MCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCD+b9wx3RFJxUlC # yOO+1eI7LUFpoMz7z7hO6UcV0dVSrqCCHV8wggUaMIIEAqADAgECAhADBbuGIbCh # Y1+/3q4SBOdtMA0GCSqGSIb3DQEBCwUAMHIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK # EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xMTAvBgNV # BAMTKERpZ2lDZXJ0IFNIQTIgQXNzdXJlZCBJRCBDb2RlIFNpZ25pbmcgQ0EwHhcN # MjAwNTEyMDAwMDAwWhcNMjMwNjA4MTIwMDAwWjBXMQswCQYDVQQGEwJVUzERMA8G # A1UECBMIVmlyZ2luaWExDzANBgNVBAcTBlZpZW5uYTERMA8GA1UEChMIZGJhdG9v # bHMxETAPBgNVBAMTCGRiYXRvb2xzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB # CgKCAQEAvL9je6vjv74IAbaY5rXqHxaNeNJO9yV0ObDg+kC844Io2vrHKGD8U5hU # iJp6rY32RVprnAFrA4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