Problem
Migration using NBServerMigrator fails to stop the database in the prep_source module.
Error Message
----------------------------------------------------------
[START] prep_source
----------------------------------------------------------
[ERROR] Failed to stop database after 4 attempts
[INFO] Please check C:/Program Files/Veritas/nbsm/logs/nbsm_target_20240830_172427.log for more details. Ensure to act on 'ERROR' and 'WARN' in log file
Cause
N/A
Solution
Check if the NBDB is up:
On Linux:
/usr/openv/db/bin/nbdb_ping
On Windows:
<install_path>\veritas\netbackup\bin\nbdb_ping
If the NBDB is down, resume the migration on the target primary server by using the -resume switch.
If the NBDB is up, please do the following:
1) Stop the NBDB:
On Linux:
/usr/openv/db/bin/nbdb_admin -stop NBDB
On Windows:
<install_path>\veritas\netbackup\bin\nbdb_admin -stop NBDB
2) Confirm if the NBDB is down.
3) Resume the migration on the target primary server by using the -resume switch.