Salam & hi,
Sebelum ni, log shipping setting tidak ada masalah. Sehinggalah, pada suatu hari, server pada secondary server shut-down secara tiba-tiba.
La ni, bila view pada history job, ada 2 error bagi Alert job pada log shipping secondary database.
Semalam, saya telah cuba reset configuration log shipping, dan ia nya kembali berfungsi. Tapi pagi ni error ini berlaku lagi.
Apa yang perlu saya check untuk setting ni ya?
Ni saya dapat dari job history...
----------------------------------------------------------------------------------
Untuk Alert Job:
Alert Error: 1
Message
The job failed. The Job was invoked by Schedule 105 (Log shipping alert job schedule.). The last step to run was step 1 (Log shipping alert job step.).
Alert Error: 2
Message
Executed as user: SERVERPRIMARY\Administrator. The log shipping secondary database SERVERSECOND.DB has restore threshold of 45 minutes and is out of sync. No restore was performed for 1111 minutes. Restored latency is 0 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14421). The step failed
----------------------------------------------------------------------------------
Copy Job:
Message : 1
2009-07-08 11:00:08.01 *** Error: The process cannot access the file '\\SERVERPRIMARY\backup\DB_20090708030000.trn' because it is being used by another process.(mscorlib)
Message : 2
*** Error: Could not copy log backup file '\\SERVERPRIMARY\backup\DB_20090708030000.trn'. The copy operation will be re-attempted on the next run of the Copy job.(Microsoft.SqlServer.Management.LogShipping) ***
----------------------------------------------------------------------------------
Restore Job:
Message
2009-07-08 11:36:22.98 Skipped log backup file. Secondary DB: 'DB', File: '\\SERVERSECOND\Backup\DB_20090706150000.trn'
----------------------------------------------------------------------------------
Terima kasih in advanced
Sebelum ni, log shipping setting tidak ada masalah. Sehinggalah, pada suatu hari, server pada secondary server shut-down secara tiba-tiba.
La ni, bila view pada history job, ada 2 error bagi Alert job pada log shipping secondary database.
Semalam, saya telah cuba reset configuration log shipping, dan ia nya kembali berfungsi. Tapi pagi ni error ini berlaku lagi.
Apa yang perlu saya check untuk setting ni ya?
Ni saya dapat dari job history...
----------------------------------------------------------------------------------
Untuk Alert Job:
Alert Error: 1
Message
The job failed. The Job was invoked by Schedule 105 (Log shipping alert job schedule.). The last step to run was step 1 (Log shipping alert job step.).
Alert Error: 2
Message
Executed as user: SERVERPRIMARY\Administrator. The log shipping secondary database SERVERSECOND.DB has restore threshold of 45 minutes and is out of sync. No restore was performed for 1111 minutes. Restored latency is 0 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14421). The step failed
----------------------------------------------------------------------------------
Copy Job:
Message : 1
2009-07-08 11:00:08.01 *** Error: The process cannot access the file '\\SERVERPRIMARY\backup\DB_20090708030000.trn' because it is being used by another process.(mscorlib)
Message : 2
*** Error: Could not copy log backup file '\\SERVERPRIMARY\backup\DB_20090708030000.trn'. The copy operation will be re-attempted on the next run of the Copy job.(Microsoft.SqlServer.Management.LogShipping) ***
----------------------------------------------------------------------------------
Restore Job:
Message
2009-07-08 11:36:22.98 Skipped log backup file. Secondary DB: 'DB', File: '\\SERVERSECOND\Backup\DB_20090706150000.trn'
----------------------------------------------------------------------------------
Terima kasih in advanced