SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


LSAlert job fails in job activity monitor in both DC & DR (Primary & secondary) servers in...


LSAlert job fails in job activity monitor in both DC & DR (Primary & secondary) servers in logshipping

Author
Message
naga.rohitkumar
naga.rohitkumar
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1582 Visits: 1378
HI,

1. LSAlert job fails in job activity monitor in both DC & DR (Primary & secondary) servers in logshipping

2. While manualy executing it is failing and msg in hisroty is "[[r] database] has backup threshold of 60 minutes and not performed a backup log operation "

3. Except this all my LSBackup jobs and LSCopy & LSRestore jobs are executing succes fully

4. In which conditions this type of issue comes and how to get reid of this and make the alerts working properly in both DC & DR


Thanks & regards
NAGA.ROHITKUMAR

Thanks
Naga.Rohitkumar
anthony.green
anthony.green
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25100 Visits: 6519
What is the frequency of your backups, copies and restores?



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


naga.rohitkumar
naga.rohitkumar
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1582 Visits: 1378
HI, Anthony
Its 5mins for each

1. same issue came early for two database at that time i performed manaul Full backup using GUI and restore in secondary with (leave the database in read-only mode)
2. later i executed manualy LSbackup job in primary and LScopy and LSrestore in secondary
3. refresh the primary and secondary then issue solved and the LSAlerts in Primary and Secondary excuting normaly "I don't know this is correct or not but it happend"

4. ivl monitor for some more time if the same continues ivl reconfigure the logshipping

5. but before that i want to know the actuall technical reason for this ,It may happen again in future its not right to reconfigure logshipping always

Thanks&Regards
NAGA.ROHITKUMAR

Thanks
Naga.Rohitkumar
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)

Group: General Forum Members
Points: 55423 Visits: 17709
naga.rohitkumar (9/3/2012)
HI,

1. LSAlert job fails in job activity monitor in both DC & DR (Primary & secondary) servers in logshipping

2. While manualy executing it is failing and msg in hisroty is "[[r] database] has backup threshold of 60 minutes and not performed a backup log operation "

3. Except this all my LSBackup jobs and LSCopy & LSRestore jobs are executing succes fully

4. In which conditions this type of issue comes and how to get reid of this and make the alerts working properly in both DC & DR


Thanks & regards
NAGA.ROHITKUMAR

Although the jobs are marked as executed successfully, thoroughly check the output for each step of each job, you'll likely find there are some errors. Post detail of these for us to help you further

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
naga.rohitkumar
naga.rohitkumar
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1582 Visits: 1378
HI,
As u mentioned i checkd the logs in sqlserver and event viewer
even after all jobs are executed success fully i got this mesage
the error message is : Logshipping secondary database has restore threshold 45 minutes and it is out of sync.no restoer was performed 2464 minutes. Restore latency is 10 minutes

Thanks & regards
NAGA.ROHITKUMAR

Thanks
Naga.Rohitkumar
anthony.green
anthony.green
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25100 Visits: 6519
are you setting the force disconnect of users on the restore to ensure that the database can be restored, otherwise if a user is connected to the database SQL cannot restore the log.



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)

Group: General Forum Members
Points: 55423 Visits: 17709
naga.rohitkumar (9/3/2012)
HI,
As u mentioned i checkd the logs in sqlserver and event viewer
even after all jobs are executed success fully i got this mesage
the error message is : Logshipping secondary database has restore threshold 45 minutes and it is out of sync.no restoer was performed 2464 minutes. Restore latency is 10 minutes

Thanks & regards
NAGA.ROHITKUMAR

For some reason logs are not being restored. Anthony has already provided one reason, are you taking log backups outside of the LS plan.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
naga.rohitkumar
naga.rohitkumar
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1582 Visits: 1378
Hi,
I did not set any force disconnect of database or users actualy iam practicing DC - DR drill(switch over and switch back ) in my laptop to gain knowledge

In my company mostly logshipping with cluster is in use among them one server is having DC-DR i configured same in my laptop

Thanks
Naga.Rohitkumar
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)SSC Guru (55K reputation)

Group: General Forum Members
Points: 55423 Visits: 17709
please check the rssults of the following query when executed against your secondary database and post them back


exec sp_help_log_shipping_secondary_database
@secondary_database = 'secondary_database'



-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
naga.rohitkumar
naga.rohitkumar
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1582 Visits: 1378
HI,
as u said earlier the logs are not restored for one database sothat the LSAlert job failed in both primary and secondary

i have checkd the same and reconfigured the logshipping now its working
thanks for ur immense support iam following this site daily it is a platform to gain knowledge and clear doubts who wont say to us but we are getting solutions in 5mins through sqlservercentral

Thanks & Regards
NAGA.ROHITKUMAR

Thanks
Naga.Rohitkumar
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search