Hello everyone,
I am currently facing challenges while attempting to restore the CommServe database on a new host following the Disaster Recovery procedures outlined in Commvault's documentation. Below are the details of my setup, the steps I followed, and the errors encountered during the process.
Context:
- Commvault Version: 11.28
- Operating System: Windows Server 2012 R2
- Source Server: Original CommServe is no longer functional.
- Target Server: New host configured to take over as the production CommServe.
- Target Operation Systeme : Windows Server 2019
- SQL Instance:
azur1-mybackupservertarget\Commvault
- DR Backup Files Path:
D:\Migration Commvault lab\DR\SET_14395
I am using the CSRecoveryAssistant.exe tool in "Recovery" mode to restore the database. While most steps appear to complete successfully, I encounter critical errors during post-recovery operations that prevent the restoration from finalizing.
Steps Followed:
- Configured the new server as the production CommServe.
- Stopped all Commvault services before initiating the recovery.
- Specified the DR backup file location (
*.dmp
) in CSRecoveryAssistant.exe. - Successfully restored all databases (e.g.,
AppStudioDB
,CacheDB
,CommServ
,CVCloud
, etc.). - Successfully upgraded databases using
DatabaseUpgrade.exe
. - Performed synchronization of configurations between CommServe and restored databases.
Errors Encountered:
-
SQL Authentication Issues:
Error: Failed to connect to database tCommServ] on SQL server instance razur1-mybackupservertarget\Commvault]
Error: Login failed for user 'sqladmin_cv'. -
Invalid SQL Access Key:
Error: Invalid SQL access key
System.NullReferenceException: Object reference not set to an instance of an object. -
Failed SQL Query Execution:
Error: There was an exception running the sql query tEXEC UpdateSQLLoginCredentials ...]
-
CommServe GUID Retrieval Failure:
Error: Failed to fetch CommServe GUID from database
-
Software Cache Synchronization Issues:
Error: SoftwareCache user is not set. Object reference not set to an instance of an object.
Actions Taken So Far:
- Verified that the SQL user
sqladmin_cv
has the necessary permissions (sysadmin
) on the SQL instance. - Attempted manual login to SQL Server Management Studio (SSMS) using
sqladmin_cv
, but it fails with a login error. - Confirmed that, per Commvault documentation, the default administrator password for CommServe should be reset to
admin
. However, this does not seem to resolve the issue. - Restarted all Commvault services and re-ran CSRecoveryAssistant.exe, but errors persist.
Questions for the Community:
- How can I reset or regenerate the SQL Access Key (
SQLCredentialsForCSDB
) that appears to be invalid or corrupted? - Is there a manual way to update or synchronize SQL credentials used by Commvault?
- How can I resolve issues related to fetching or replacing the CommServe GUID in the database?
- Are there any additional steps required after restoring a Disaster Recovery backup on a new host?
Thank you in advance for your assistance! Any guidance or suggestions would be greatly appreciated.
Best regards,
Andry
Admin TI