Skip to main content
Question

hardware refresh restoring the database failed

  • 23 November 2023
  • 1 reply
  • 160 views

Hello,

Currently working on a hardware refresh. Old server is CV 11.16. New server will be CV 2023e. Took a DR backup of the old server and tried to restore it on the new server using the Recovery Assistant but i’m getting error during the “Check and Upgrade database as needed”.

CSRecoveryAssistant.log shows:

21212 5     11/23 13:54:11 ### ### ### - Upgrading database commserv
21212 5     11/23 13:54:11 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname CommServer -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
21212 5     11/23 13:54:11 ### ### ### - Executing process: iDatabaseUpgrade.exe]
21212 5     11/23 14:06:19 ### ### ### - Error: Execution of process iDatabaseUpgrade.exe] exited with code i2]
21212 5     11/23 14:06:19 ### ### ### - Error: Failed upgrading database commserv. Check DatabaseUpgrade.log for more information
21212 1     11/23 14:07:16 ### ### ### - User canceled in recovery/post operations page
21212 1     11/23 14:07:16 ### ### ### - Exiting ..
21212 1     11/23 14:07:16 ### ### ### - *********************E X I T***************************

 

Databaseupgrade.log shows:

14280 808   11/23 14:06:19 ### INIFileProcessor::executeSQLList() - Execution of file sC:\Program Files\Commvault\ContentStore\Base\DBUpgrade\CommServer\MainUpgrade/DBStoredProcedure\AppGetCompanySecurityPostureScore.sql] failed
14280 808   11/23 14:06:19 ### INIFileProcessor::processPhase() - Failed to process Phase -DBStoredProcedure]. ReturnCode r2]
14280 808   11/23 14:06:19 ### DBUpgrade::executePhase() - Failed to process Phase MainUpgrade] for Config File iC:\Program Files\Commvault\ContentStore\Base\DBUpgrade\CommServer\DBConfig.ini], RestartPoint B<?xml version="1.0" encoding="UTF-8" standalone="no" ?><CVDBUpgrade_ProcessPhase currentFileName="" currentLstFileName="" currentStep="2" phaseName="MainUpgrade"><currentSubPhase currentFileName="AppGetCompanySecurityPostureScore.sql" currentLstFileName="All_Proc_Upg.lst" currentStep="1" phaseName="DBStoredProcedure"/></CVDBUpgrade_ProcessPhase>].
14280 808   11/23 14:06:19 ### DBUpgrade::executePhase() - Failed to process Phase )MainUpgrade] for Config File aC:\Program Files\Commvault\ContentStore\Base\DBUpgrade\CommServer\DBConfig.ini].
14280 808   11/23 14:06:19 ### DBUpgrade::executePhase() - Please check log file sC:\Program Files\Commvault\ContentStore\Log Files\CommServer_All_ErrorLog.txt] for details.
14280 808   11/23 14:06:19 ### DBUpgrade::runMainUpgrade() - Failed to execute Phase eMainUpgrade] for Database sCommServ].
14280 808   11/23 14:06:19 ### DBUpgrade::runUpgrade() - Main Upgrade failed for Database iCommServ].
14280 808   11/23 14:06:19 ### DatabaseUpgrade() - retValue #2].

 

Any suggestions? Do i need to upgrade first the old CV from 11.16 to 2023e?

 

REgards,

1 reply

Userlevel 6
Badge +15

Hi @ElmerT 

As per: https://documentation.commvault.com/2023e/expert/2177_upgrading_commserve_computer.html FR16 > FR32 is not supported.
 

  • If the CommServe server is at Service Pack 16 or a previous service pack, and you want to update it to Commvault Platform Release 2023 or a more recent platform release, you must first update the CommServe server to Platform Release 2022E.


You’ll have to go from FR16 to FR28 (2022E).. so remove the 2023E binaries from your new server, install FR28, do the upgrade, then once all done and completed, you can update to 2023E.


Regards,

Chris 

Reply