all groups > sql server replication > february 2007 >
You're in the

sql server replication

group:

SQL 2005 Log shipping monitoring


SQL 2005 Log shipping monitoring Jason Murray
2/26/2007 5:15:08 PM
sql server replication:

Hi All,

Just a stupid question for you all :)

We have log shipping set up (SQL 2005) and running perfectly fine. We have
one primary server and one secondary server with one database.

Occasionallyi would like to manually enter a query or procedure on both the
primary and secondary servers that will display information such as:
* Last transaction log restored in secondary
* tables , consistency checks, etc

I want to do this just for peace of mind.

Does anybody know if this is possible and if so what i can do? We have
monitoring already set up but i just want to be able to do this extra
function as well.

Thanks


--
Re: SQL 2005 Log shipping monitoring Paul Ibison
2/27/2007 12:00:00 AM
Jason,
the log shipping monitor will give you some of this info, or you could use
"sp_help_log_shipping_monitor_secondary". To be able to query the tables,
restore the secondary server in standby mode. When running the queries, the
only thing to be sure of is that you don't do it when the logs are being
restored.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Re: SQL 2005 Log shipping monitoring Jason Murray
2/27/2007 10:14:10 PM

Hi Paul,

How do you view this information through the log shipping monitor?

Thanks


--
Jason Murray


[quoted text, click to view]
Re: SQL 2005 Log shipping monitoring Paul Ibison
2/28/2007 12:00:00 AM
The monitor report has much the same info as
sp_help_log_shipping_monitor_secondary. The report is available by
right-clicking the monitor server's registration, Reports, Transaction Log
Shipping Status.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Re: SQL 2005 Log shipping monitoring Jason Murray
3/11/2007 6:19:00 PM

Cheers. THanks for that. Exactly what i wanted.

Is there any way to automate this procedure?

For example automating the transaction log status report to be sent every
morning to an email address?

Thanks

--
Jason Murray


[quoted text, click to view]
AddThis Social Bookmark Button