If the ViaWorks database and index have increased in size to the point where there is very little remaining available disk space on the data partition on which they reside, moving the ViaWorks data files to another drive may be required. To change the location of the ViaWorks data files, perform the following:
- From an elevated command prompt, issue "iisreset /stop" to stop the Internet Information Services
- Stop all Windows ViaWorks services in the following order:
- Each connector service (e.g. ViaWorks Exchange Fetch Service)
- ViaWorks Index Builder Service
- ViaWorks Licensing Service
- ViaWorks Index Service
- ViaWorks Database Service
- Move the entire folder "C:\ProgramData\Virtual Works\ViaWorks" to the new location (e.g. "D:\ProgramData\Virtual Works\ViaWorks").
- Update the path stored in the Windows Registry key "DataDir" under "HKEY_LOCAL_MACHINE\SOFTWARE\Virtual Works\ViaWorks".
- Update the path to the index, in the file "C:\Program Files\Virtual Works\ViaWorks\SOLR\example\solr\solr.xml".
- Update the file "C:\Program Files\Virtual Works\ViaWorks\Config\Log.config". Search for all references to "C:\ProgramData\Virtual Works\ViaWorks\Log", and replace with the new location.
- Update the path to the Program Data folder in the Windows Registry key "ImagePath" under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ViaWorksDatabaseService". It's the path after the "-D" switch that must be updated.
- Reboot the server, or restart all Windows ViaWorks services in the following order:
- ViaWorks Database Service
- ViaWorks Index Service
- ViaWorks Licensing Service
- ViaWorks Index Builder Service
- Each connector service (e.g. ViaWorks Exchange Fetch Service)
- From an elevated command prompt, issue "iisreset /start" to start the Internet Information Services