当前位置: 代码迷 >> 多核软件开发 >> 这道题关于check log shipping and find out the problem,该如何处理
  详细解决方案

这道题关于check log shipping and find out the problem,该如何处理

热度:6538   发布时间:2013-02-26 00:00:00.0
这道题关于check log shipping and find out the problem
You are log shipping the Adventureworks database to a remote SQL Server 2008 instance. The primary SQL Server instance required a restart during the weekend. But you notice that log shipping has stopped working after the weekend. You have to check log shipping of the Adventureworks database and find out the problem. What should you do?
Answer:You should identify whether the SQL Server Agent is started on the primary server.您应该确定是不是在主服务器上启动SQL Server代理。

这段又该怎么理解呢?

------解决方案--------------------------------------------------------
探讨
您应该确定是不是在主服务器上启动SQL Server代理

------解决方案--------------------------------------------------------
这个简单,因为log shipping是基于sql job来做backup log and transfer trns to remote server .
所以当然要看为什么没有backup log and transfer trn,也就是要看下sql job为什么没有执行成功,继而就是检查sql agent是不是已经启动。
------解决方案--------------------------------------------------------
日志传送靠的是代理服务
------解决方案--------------------------------------------------------
检查日志传送和找出问题
你的日志传送Adventure Works数据库远程服务器的2008个实例。
主服务器实例需要重新启动在周末。但你发现日志传送已停止工作后的周末。
你必须检查Adventure Works数据库的日志传送和找出问题。
你们会做什么?

------解决方案--------------------------------------------------------
log shipping 基于sql server agent 服务来进行发送log 至备机的。如果主机shutdown了,重启后,需要确定的第一项就是agent 服务是否启用。
  相关解决方案