If the Locator 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 Locator data files to another drive may be required. To change the location of the Locator data files, perform the following:
- From an elevated command prompt, issue "iisreset /stop" to stop the Internet Information Services
- Stop all Windows ViaWorks/Locator services in the following order:
- Each connector service (e.g. Exchange Fetch Service)
- Index Builder Service
- Licensing Service
- Index Service
- 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".
- For 2.8 or later: C:\Program Files\VirtualWorks\ViaWorks\SOLR\server\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/Locator services in the following order:
- Database Service
- Index Service
- Licensing Service
- Index Builder Service
- Each connector service (e.g. Exchange Fetch Service)
- From an elevated command prompt, issue "iisreset /start" to start the Internet Information Services