Moving Index File Locations on the MOSS 2007 Index and Query Servers

There is a common MOSS 2007 best practice to have index and query server index file locations to the other volume than C drive for fault tolerance, performance improvement, and to ensure server won’t run out of C drive space (which could be fatal for the MOSS farm). Default Index and Query file locations are “C:\Program Files\Microsoft Office Servers\12.0\Data\Applications\[SSPGUID]”. Depends on the content of the search environment, this file can be from 2 GB to 20 GB or more.

As many of you might know, there are two kinds of search services probably running on your MOSS environment. – WSS Search Service and MOSS Search Service. Typically if you have only WSS environment installed, WSS Search Service will function as both to serve user queries against WSS help and Contents. In MOSS, content queries are hosted by SSP and served by the Office Server Search Service. WSS Search Service role is limited to only serving queries against WSS help in the MOSS environment.

Different ways to configure the WSS Search Service Index Locations
===================================================
Use the STSADM indexlocation operation of the spsearch command. It will move the index files to the new location next time WSS Search Service crawls the WSS help. E.g. If you want to move your WSS Search Index location to the E:\WSSIndex, you have to run the following command.
stsadm -o spsearch -indexlocation “E:\WSSIndex”

Different ways to configure the MOSS Search Service Index Locations
====================================================
Different ways to configure the MOSS Query Server – Index Propagation Locations

  • During the initial configuration of Query server role using Office SharePoint Server Service on the Services on the Server page from the Central Administration Site, you can set the shared folder location.
  • Run the STSADM propagationlocation operation of osearch Command on the Query server. It will move the index files to the new location next time MOSS Search service propagates index file from index server to the query server and create the share automatically. Search service deletes the previous index file from the previously configured location. E.g. If you want to move your Query server propagation location to the E:\Index, you have to run the following command – stsadm -o osearch -propagationlocation “E:\Index”

Different ways to configure the MOSS Index Server – Index Hosting Locations
Moving Index Server file location to another location on the same server requires understanding of how search service moves index files for different options. With query service, it’s easy to copy index file from one location but another but with index server, it can either move the file from one location to another location with index reset (delete the current index and create a new index at new location) or without index reset (copy the current index to the new location). Resetting the index may affect search functionality for the end users and may be less desirable. It could be a huge driver whether to reset the index or not.

    • During the initial configuration of Index Server, unlike query service, you must accept default index file location when you configure the Index Server role using the Office SharePoint Server Services on the services on the server page from the central administration site. It’s always grayed out. You can not specify the different index location from this page.
  • If you can’t configure the index file location from the Services on the Server page during initial configuration of MOSS search service, don’t worry. Use the Edit SSP page from SSP Administration Site to specify the index server and index file location. It is important to remember that specifying different index file location from this page, reset the index and search won’t work for specific period of time until search service initiate the index. During initial configuration it wouldn’t be a problem but if you ever change the index location later by editing the existing SSP, it will reset the index.

 

  • Use the STSADM indexlocation operation of osearch command. It will move the index files to the specified location. Like EditSSP page, indexlocation operation of osearch command will reset the index. E.g. If you want to move your Query server propagation location to the E:\Index, you have to run the following command – stsadm -o osearch -indexlocation “E:\Index”

 

  • To copy the index file to other location without resetting the index, you can use the indexlocation operation of the EditSSP command. E.g. If you want to move your index location to the E:\Index without resetting the index, you have to run the following command – stsadm -o editssp -title SharedServices1 -indexlocation “E:\Index”

 

Advertisements
This entry was posted in SP2007 Admin. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s