ViPR SRM: Error seen while running mysql-database-check.sh

Zusammenfassung: mysql-database-check-sh shows Operation failed

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

Error seen after running mysql-database-check.sh

Error seen:
Error : Table apg.recovery_group doesn't exist
Status : Operation failed

Ursache

The Table apg.recovery_group is used during the database check for recovery, it is not a necessary table and was not created during the task at this time.

Lösung

Run mysql-database-check-sh again. The error will clear as the table will be created again properly during the task

Weitere Informationen

How to run database check:

Log into each Backend host and run the following command:
 
printf "apg\n--password=watch4net --all-databases\n" | /opt/APG/bin/mysql-database-check.sh

Alternatively, we can perform the checks by following the steps below:

Log into Primary BackEnd:
 
srm:/opt/APG/bin # ./mysql-database-check.sh
Enter username: [apg]
 
Enter database: [apg]
 
Enter password: watch4net
 
On Secondary backends, login as root and perform on each of the databases there one at a time,  such as apg1, apg2, apg3 and apg4:
 
srm:/opt/APG/bin # ./mysql-database-check.sh
Enter username: [apg]
 
Enter database: [apg1]
 
Enter password: watch4net

Betroffene Produkte

SRM
Artikeleigenschaften
Artikelnummer: 000167710
Artikeltyp: Solution
Zuletzt geändert: 20 Juni 2024
Version:  5
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.