Thursday, December 23, 2010

How To: Change location of index files for FAST Search for SharePoint

[Update: The only supported way of moving the data folder is using symlinks ( eg. mklink.exe) - http://support.microsoft.com/kb/2506015]


When installing FS4SP it will default put the index files below the same folder which FAST Search is installed at. If you installed at C:\FASTSearch, then the files reside in
  • C:\FASTSearch\data\data_index (the search index)
  • C:\FASTSearch\data\data_fixml (raw format files)
Often you would like to put the data on a separate volume. If you don’t know what files to edit you can resolve to using mklink.exe and symlink the above folders to another volume.
Note: Changing the data location on a live system will require downtime.


Another option is to edit
  • C:\FASTSearch\etc\rtsplatformrc.xml
  • C:\FASTSearch\etc\searchrc-1.xml
Before editing the files create a backup and run the following command on your FS4SP server:


nctrl stop configserver indexer search-1


This will stop the services which use the configuration files we are to edit.


rtsplatformrc.xml
image


searchrc-1.xml
image


If you already have indexed data, make sure you copy the data from the old folder to the new ones. Restart the services previously stopped, and the system should be up and running.


nctrl start configserver indexer search-1

4 comments:

  1. Note that only the symlink option is officially supported. Editing these xml files breaks support, and you risk problems during a later upgrade of your installation.

    ReplyDelete
  2. I'll certainly make a note of this. Are there any official docs on which files you are allowed to edit? And I'm sure this will change in the next wave release :) Relying on symlinks for data directories is not very manage friendly.

    ReplyDelete
  3. Is it working with multinode environment which config server process only install at the admin node?

    ReplyDelete
  4. Hi,
    Do not follow this post, but use symlinks on all your servers. Follow this kb article - http://support.microsoft.com/kb/2506015

    ReplyDelete