
Chapter 12: Working with Continuous Replication
347
Seeding can also be required under the following conditions:
❑ Initial seed
❑ Offline defragmentation was run against the source database
❑ Database divergence as a result of failover
❑ The LCR or CCR copy is corrupt
❑ Server loss
The process for seeding is the same for LCR, CCR, and SCR. First,
Suspend-StorageGroupCopy stops
any current log replication. This step may not be necessary for a first - time seed.
Suspend-StorageGroupCopy -Identity < StorageGroupIdParameter >
[-DomainController < Fqdn > ] [-SuspendComment < String > ] [-WhatIf < Boolean > ]
[-Confirm < Boolean > ]
The SuspendComment is an optional string used for commenting on why the storage group was
suspended. Even though this is an optional parameter, it is a good idea to use it. For example, after a
disaster recovery the suspend comment in the event log can help pinpoint when tasks were done.
This example suspends all of the storage groups on server MB100:
Get-StorageGroup -Server mb100 | Suspend-StorageGroupCopy
To check the status, run Get-StorageGroupCopyStatus :
Get-StorageGroupCopyStatus [-Identity < StorageGroupIdParameter > ]
[-DomainController < Fqdn > ] [-DumpsterStatistics < SwitchParameter > ]
[-StandbyMachine < String > ]
Get-StorageGroupCopyStatus -Server < ServerIdParameter > [-DomainController < Fqdn > ]
[-DumpsterStatistics ...