Important Update: Cohesity Products Knowledge Base Articles
All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.
Description
This article describes how to move the Enterprise Vault (EV) databases to a different SQL server or a new version of MS SQL Server for EV.
An occasion can exist where the Enterprise Vault databases must be moved from one SQL Server to another. Examples include, but not limited to:
- Upgrade of the SQL Server version (ex.: SQL Server 2008 R2 to SQL Server 2012 R2).
- Upgrade of the SQL Server hardware.
- Distribution of databases to allow for more processing power to be applied to each database.
Note: If Compliance Accelerator and/or Discovery Accelerator are also installed in the environment and their databases are to be moved to a different SQL Server and/or SQL Server instance and/or SQL Server TCP Port, refer to the following articles in the Related articles section:
- How to move Compliance Accelerator or Discovery Accelerator databases
- How to modify the configuration files after moving the Compliance Accelerator or Discovery Accelerator databases to a different SQL server
- How to move Discovery Accelerator and Analytics databases
This process will consist of the following steps.
Before you begin, It is important to note that Master DB collation on the new SQL server should match the EV Databases collation to avoid any issues. Please refer 100023860 for more details.
Directory database
a. Right click Enterprise Vault at the root level and select Properties
3. Grant the Vault Service account "Select" permissions on the following msdb tables:
- sysjobs
- sysjobschedules
- sysjobservers
- sysjobsteps.
USE MSDB
GRANT SELECT ON dbo.sysjobs TO "DOMAIN\VSA"
GRANT SELECT ON dbo.sysjobschedules TO "DOMAIN\VSA"
GRANT SELECT ON dbo.sysjobservers TO "DOMAIN\VSA"
GRANT SELECT ON dbo.sysjobsteps TO "DOMAIN\VSA"
GRANT VIEW SERVER STATE TO "domain\vsa_account"
GRANT ALTER ANY LOGIN TO "domain\vsa_account"
GRANT VIEW ANY DEFINITION TO "domain\vsa_account"
2. Copy the backup files to the new SQL server.
- Use the PowerShell commandlets provided with EV. Please refer to the Enterprise Vault PowerShell Cmdlets guide regarding the Get-EVDatabaseDetail and Set-EVDatabaseDetail commandlets to move databases (EV 12 and newer). This guide is version-specific and can be found in the product documentation (see Related Articles below).
Example:
Get-EVDatabaseDetail | where {$_.type -eq 'directory'} | Set-EVDatabaseDetail -ServerName AGlistener
Updates the "SQLServer Name" for the "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\KVS\Enterprise Vault\Directory\DirectoryService" key on all Enterprise Vault servers to "AGlistener". This example uses the Get-EVDatabaseDetail cmdlet as the pipeline input to the Set-EVDatabaseDetail cmdlet.
Step 6 - Resume EV operations using the new SQL Server