20.3 Managing a Separate Lucene Index Server

20.3.1 Linux: Managing a Separate Lucene Index Server

Use the following commands to start and stop the Lucene index server manually:

/etc/init.d/indexserver start
/etc/init.d/indexserver stop

To configure the Lucene Index Server to start automatically when the Linux server reboots, use:

chkconfig --add indexserver

20.3.2 Windows: Managing a Separate Lucene Index Server

Use the following commands at a DOS command prompt to start and stop the Lucene index server manually:

c:\Program Files\Novell\Teaming\luceneserver\indexserver\bin\
                                                    indexserver-startup.bat
c:\Program Files\Novell\Teaming\luceneserver\indexserver\bin\
                                                    indexserver-shutdown.bat

To configure the Lucene Index Server to start automatically when the Windows server reboots, you can set it up as a scheduled task that runs at system startup.

  1. On the Windows server where the Lucene Index Server is installed, click Start > All Programs > Accessories > System Tools > Scheduled Tasks.

  2. Double-click Add Scheduled Task to open the Scheduled Task Wizard, then click Next to continue.

  3. Click Browse, then browse to and double-click the indexserver-startup.bat file in the following directory:

    c:\Program Files\Novell\Teaming\luceneserver\indexserver\bin
  4. In the Task name field, specify an informative name for the task, such as Lucene Index Server.

    The default task name is the name of the batch file.

  5. In the Perform this task field, select When my computer starts, then click Next.

  6. Specify and confirm the Administrator password for the Windows server, then click Next.

  7. Select Open advanced properties for this task when I click Finish, then click Finish.

  8. Verify that Run only if logged on is deselected, then click OK.

    A new task with the name you specified in Step 4 is added to the list in the Scheduled Tasks window.

  9. Click File > Exit to close the Scheduled Task Wizard.