Você está na página 1de 2

LOGSHIPPING

1.What is Logshipping ?
* Shipping of transaction log files from primary server database to second server
database to get both data base in continuous synchronization .
2. Log shipping requires servers ?

PRIMARY ;- Primary server contains source database for sending the


transaction logs.
(or) Primary server is a production server which holds the original copy of the
data base.log shipping configuration and administrating will be done from
primary server .
SECONDARY ;- Secondary server contains destination database receiving
the transaction logs. (or) secondary server hold the standby copy of the
databse .
MONITOR ;- Monitor server tracks information related to log shipping jobs
and sends alerts in case of failure

3.Wohat are jobs running for Log shipping?

BACKUP JOB :- Back up job created on primary server instance and it


performs backup operation .
COPY JOB
:- Copy job created on secondary server instance and it
perform copies the back up files from primary server to secondary server.
RESTORE JOB :-Restore job created on secondary server instance and it
perform restore operation .

4. Reasons for log shipping failed ?

LSN miss match .


Ndf added on primary.
Agents are on disable.
Backup ,copy or restoration jobs might be failed

5. What Prerequisites ?

Both the servers must have the same collation setting .


Maintain same hardware between both server to avoid performannce issue .
Make sure number of drives and name of drives should be same on both
servers .
Data base must be in full \bulk Recovery mode.
Secondary database must be initialized with no recovery or standby mode .

6.What Advantages and Disadvantages ?


Advantages :

When ever we have requirement , we can keep secondary database in


standby mode .
We can maintain multiple secondary database .
No additional hard ware or software required .

Disadvantages:

More down time and data losspossible.

We have to perform manual failover .


Need to perform several steps to bring secondary server online which
We call Warm stand by .

7.Primary goes down ?


Disable logshipping.

Manually copy last backup and tailing backup from network share to
secondary server .
Restore all available log backups with no recovery and last log backup with no
recovery .
Now secondary server become online.
Sync all logins ,jobs.
Find orphaned users and fix it .

8.Secondary server goes down ?

Disable the logshipping , and work on secondary for why it has goes down .
Once it comes into online just enable the log shipping and run the jobs
manually.

9.How to configuration Log shipping ?


Right click on primary data base , select on ship transactional log option . it will
display a window .in that enable log shipping ,next click on back up setting and
configure the back up job ,click add button for secondary server configuration
and configure the copy and restoration jobs .

Você também pode gostar