Accessing the Search configuration environment
You need to initialize the Search configuration environment to be able to run the SearchCellConfig and SearchService MBean commands.
Before you begin
See Starting the wsadmin client for information about how to start the wsadmin command-line tool.
About this task
- SearchCellConfig
- An MBean used to check out, update, and check in copies of the
Search configuration file, search-config.xml.
This file is used to control many aspects of Search configuration,
such as:
- The location of the Search index
- The location of the IBM® LanguageWare® dictionaries used by Search
- The configuration of the file download and conversion service used by Search when indexing file attachments
For more information about the syntax of the SearchCellConfig commands and a description of what each command does, see SearchCellConfig commands.
- SearchService
- An MBean used to create, retrieve, update, and delete scheduled
task definitions of the following Search operations. This includes
a facility to trigger one of these operations.
- Indexing
- Indexing optimization
For more information about the syntax of the SearchService commands and a description of what each command does, see SearchService commands.
Procedure
To initialize the Search configuration environment, complete
the following steps.
-
Start the wsadmin client from one of the following directories on the system on which you
installed the Deployment Manager:
Linux:
app_server_root\profiles\dm_profile_root\bin
Windows:
where app_server_root is the WebSphere® Application Server installation directory and dm_profile_root is the Deployment Manager profile directory, typically dmgr01.app_server_root/profiles/dm_profile_root/bin
You must start the client from this directory or subsequent commands that you enter do not execute correctly.
- After the wsadmin command environment
has initialized, enter the following command to initialize the Search
environment and start the Search script interpreter:
execfile("searchAdmin.py")
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, you must pick the node where the file is stored.When the command is run successfully, the following message displays:Search Administration initialized