AppSync:由於 MSSQL 備份錯誤,SQL 複本在凍融階段失敗

Summary: 執行 SQL 資料庫的 MSSQL 備份時,SQL 資料庫的 Appsync 複本因逾時而失敗。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

客戶環境中未進行任何變更。
 

Appsync 無法取得 SQL 資料庫的一致複本。服務計畫事件將顯示:

(六) 2016-06-18 06:30:22 建立本機複本 SQL_000011 ServerName1 備份無法在指定的時間內完成。確認資料庫維護未執行,且沒有其他備份正在執行。嘗試以較少的資料庫執行服務計劃。
(六) 2016-06-18 06:30:22 建立本機複本 SQL_000114 ServerName1 開始備份 SQL Server 資料庫。
 

AppSync 附掛程式記錄會顯示:
 
2016-06-18 06:30:25.790 錯誤 [14112] [] [ServerName1] [xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx] 無法取得查詢金鑰CC_AGENT_THREAD_WAIT_TIME的值。Error: 系統找不到指定的檔案。 


後續嘗試掛接相同的 Appsync SQL 複製失敗,服務計劃事件中出現下列情況:


(六) 06/18/2016 06:47:24 AM 還原複本 SQL_000106 ServerName2 無法開啟還原作業的中繼資料檔案 C:\AppSyncMounts\ServerName1\APPSYNC_VDI_ServerName1_SQLDBName.bin。錯誤號為 2。如果使用 Windows 身份驗證,請確保用戶帳戶對目錄具有完全控制許可權。
(六) 06/18/2016 06:47:24 AM 還原副本 SQL_000034 ServerName2 恢復期間發生錯誤;中斷與資料庫 SQLInstance.SQLDBName 的連線。 

Cause

SQL DB 凍結後,Appsync 不會等待資料庫的 MSSQL 備份及時完成。

以下註冊表項位於
HKEY_LOCAL_MACHINE\SOFTWARE\EMC\AppSync  生產 SQL 伺服器上缺少:

名稱、類型、資料
CCAGENT_THREAD_WAIT_TIME REG_DWORD 1200
CC_SQL_VDI_TIMEOUT REG_DWORD 1200



 

Resolution

解決方案:

在生產主機的 HKEY_LOCAL_MACHINE\SOFTWARE\EMC\AppSync 中建立下列 2 個缺少的登錄檔項目。
類型為 REG_DWORD,值應為 1200


CCAGENT_THREAD_WAIT_TIMECC_SQL_VDI_TIMEOUT  

登錄變更後,請重新啟動 AppSync 主機附掛程式服務。

如果這是叢集,且在叢集的其他節點上也發現遺失相同的登錄專案,請確定也更新任何被動節點。 

Affected Products

AppSync

Products

AppSync
Article Properties
Article Number: 000056630
Article Type: Solution
Last Modified: 18 Sept 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.