1) Primary is corrupt and hence we would want to perform Failover. First verify if
it is a suspect situation and if database can be rectified without Failover.
3) Disable/Delete all the Log Shipping Jobs. This will stop the log shipping which
is in progress.
4) Verify whether all backups have been moved to Backup share and also copied to
Local Copy or not.
5) If all backups have been moved and are in sync. Attempt last tail log backup on
the Primary database and copy the file to the Backupshare and Local Copy.
6) Copy job follows a pattern and hence would not copy the file to Local Copy
directory. Restore job restores and verifies each and every file and ensures that
the manual Tail log backup is restored.
8) Confirm Application Team about the new IP Address, Instance Name, Port Number,
New database name.
3) Disable all the Log Shipping Jobs. This will stop the log shipping which is in
progress.
4) Verify whether all backups have been moved to Backup share and also copied to
Local Copy or not.
5) If all backups have been moved and are in sync. Attempt last log backup WITH
NORECOVERY on the Primary database and copy the file to the Backupshare and Local
Copy.
This will set the Primary database to Restoring state to ensure that it will accept
backups from Standby server.
6) Copy job follows a pattern and hence would not copy the file to Local Copy
directory. Restore job restores and verifies each and every file and ensures that
the manual last log backup is restored on the standby server.
7) Restore the standby database WITH RECOVERY. This will make the standby database
ONLINE and it becomes the new Primary.
8) Confirm the customer the new IP Address, Instance Name, Port Number, New
database name.
sp_delete_log_shipping_primary_database LShip
sp_delete_log_shipping_secondary_database LShip_STBY
Query manually all the log_shipping_* tables to verify the old configurations are
deleted or not.
11) Reconfigure Reverse Log Shipping with Old Standby as New Primary and Old
Primary as New Standby.