ViPR SRM:執行 mysql-database-check.sh 時出現錯誤

Summary: mysql-database-check-sh 顯示作業失敗

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

執行 mysql-database-check.sh

後出現錯誤 顯示錯誤:
Error : Table apg.recovery_group doesn't exist
Status : Operation failed

Cause

表apg.recovery_group在資料庫恢復檢查期間使用,它不是必需的表,此時不是在任務期間創建的。

Resolution

再次執行 mysql-database-check-sh。錯誤將清除,因為表將在工作期間正確再次創建

Additional Information

如何執行資料庫檢查:

登入每個後端主機並執行以下命令:
 
printf "apg\n--password=watch4net --all-databases\n" | /opt/APG/bin/mysql-database-check.sh

或者,我們可以按照以下步驟執行檢查:

登錄到主要後端:
 
srm:/opt/APG/bin # ./mysql-database-check.sh
輸入使用者名稱:[亞太集團]
 
輸入資料庫:[亞太集團]
 
輸入密碼: watch4net
 
在次要後端,以 root 身分登入,並一次針對 每個 資料庫執行動作,例如 apg1apg2apg3apg4
 
srm:/opt/APG/bin # ./mysql-database-check.sh
輸入使用者名稱:[亞太集團]
 
輸入資料庫:[APG1]
 
輸入密碼: watch4net

Affected Products

SRM
Article Properties
Article Number: 000167710
Article Type: Solution
Last Modified: 20 Jun 2024
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.