Change Locations for the Search Index, Analysis Cache, and Log Files

Discovery Center operations rely on sufficient disk space being available for a number of things including; a Lucene search index, the caching of files during analysis, and logging indexing and actions.
  • The FileCache needs to have sufficient space to accommodate the largest files for analysis.
  • The SearchData folder needs sufficient space to accommodate developing classifications for indexes.
  • The Log files need sufficient space as they will accumulate over time.
Since file sizes, index sizes, and organizational retention requirements can vary, it is difficult to predict the appropriate space required. For guidance on the amount of space required please see the section 'Discovery Center Sizing and Capacity' in the Active Navigation System Administrators Guide.

If you find that the locations set during installation are no longer appropriate, follow the steps below to reconfigure Discovery Center to use new locations.
 

Resolution

  1. Begin with stopping the Discovery Center Scheduler Service.

  2. Create the relevant folders (SearchData, FileCache, or Logs) in the new desired location.

  3. Replicate the folder permissions schema that was previously used, else the scheduler will not be able to create and edit the files and folders it needs to.
  4. Execute the relevant SQL UPDATE statement/s:
    Note: Change the text in Red, to the desired location.

    UPDATE SystemSetting SET DefaultValue = 'C:\NewLocation\SearchData\' 
    WHERE KeyName ='SEARCH_DATA_LOCATION'
    UPDATE SystemSetting SET DefaultValue = 'C:\NewLocation\FileCache\' 
    WHERE KeyName ='FILE_CACHE_LOCATION'
    UPDATE SystemSetting SET DefaultValue = 'C:\NewLocation\Logs\' 
    WHERE KeyName ='LOG_LOCATION'
    At this point, updating the File Cache and SearchData locations has been completed. 

    If you are changing the location of the Log files, please continue with the remaining steps.

  5. Create a backup of the files below, and then open them in a text editor.

    Program Files/ActiveNavigation/DiscoveryCenter/Analysis/AnAnalysis.exe.config
    Program Files/ActiveNavigation/DiscoveryCenter/Skimmer/ANSkimmer.exe.config
    Program Files/ActiveNavigation/DiscoveryCenter/Scheduler/ActiveNavigationScheduler.exe.config

  6. Search for the old log location and update it to reflect the new location for each of these three files.
    By default, you would search for 'C:\Program Files\Active Navigation\Discovery Center\Logs'
  7. Save the files when you are done.
  8. Restart the Discovery Center Scheduler service. You should now see the scheduler.log file in your new location.