How to rename a Windows file server that is archived by Enterprise Vault (EV) File System Archiving (FSA)
Problem
When a file server, which is being archived by EV, needs to be renamed or needs to be moved to a different Active Directory Domain, what changes are needed in EV so that there is no impact on archives and placeholders for the file server?
- Windows file server FSA1.test.com is renamed to FSA2.test.com.
- Windows file server FSA.test.com is moved from one domain test.com to another newtest.com to become FSA.newtest.com.
Note: This process would be valid for non-Windows file servers as well as long as the file server type is the same. For instance, NetApp C-Mode to C-Mode. The new server must be configured properly according to the configuration procedures.
Solution
- Stop all EV Services on all EV servers.
- Perform a backup of the EnterpriseVaultDirectory database (in case of issues, a backup is required to restore to a previous good state).
- Change the values in the following columns in the Directory Database:
Database
|
Table
|
Column
|
Old Value (example)
|
New Value (example)
|
Directory DB
|
ArchiveFolder
|
FolderPath
|
\\FSA1.test.com\Volume\Folder
|
\\FSA2.test.com\Volume\Folder
|
Directory DB
|
FileServerEntry
|
DnsName
|
FSA1.test.com
|
FSA2.test.com
|
Directory DB
|
FileServerEntry
|
UncName
|
\\FSA1
|
\\FSA2
|
In this example, the correct SQL commands would be:
USE EnterpriseVaultDirectory
UPDATE FileServerEntry
SET DnsName = 'FSA2.test.com'
WHERE DnsName = 'FSA1.test.com'
USE EnterpriseVaultDirectory
UPDATE FileServerEntry
SET UncName = '\\FSA2'
WHERE UncName = '\\FSA1'
USE EnterpriseVaultDirectory
UPDATE ArchiveFolder
SET FolderPath = replace(cast (FolderPath as nvarchar (1000)),
'\\FSA1.test.com', '\\FSA2.test.com')
WHERE FolderPath like '\\FSA1%'
- If the EV version running is 10.0.4 or above then the following command also needs to be run to update the CHECKSUM value in the FSAArchivePointFolderPathChecksum table . If the EV version is a version lower than 10.0.4 then proceed straight to the next step and do not run this command as it will fail.
USE EnterpriseVaultDirectory
UPDATE FSAArchivePointFolderPathChecksum
SET FolderPathChecksum = CHECKSUM(CAST(ArchiveFolder.FolderPath AS NVARCHAR(MAX)))
FROM FSAArchivePointFolderPathChecksum
INNER JOIN ArchiveFolder ON ArchiveFolder.RootIdentity = FSAArchivePointFolderPathChecksum.RootIdentity
- Start all EV Services on all EV servers.
- Open EV Administration Console (VAC)
- Run the File System Archiving synchronization task:
Site > Enterprise Vault Servers > Tasks > File System Archiving Task > Properties > Synchronization > Synchronize
- If Reporting is enabled, follow the following steps.
- In the VAC, right-click on the file server target and select properties. Then click on Reporting Data Collection tab.
- Check Enable data collection for FSA Reporting
- Select database for reporting
- Run the reporting scan