Remove a node from the index management table 

After you remove a node from a cluster, use the SearchService.removeIndexingNode wsadmin command to remove the node from the index management table.


Before you begin

To edit configuration files, use the IBM WAS wsadmin client. See Starting the wsadmin client for details.

Before you use the SearchService.removeIndexingNode command, remove the node using the Integrated Solutions Console or the wsadmin client. For information about how to remove a node using the Integrated Solutions Console, see the following topic:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Finfo%2Fae%2Fae%2Ftagt_svr_conf_nodes.html


Procedure

To remove a node from the index management table...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./wsadmin.sh -jython
      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, pick the node where the file is stored.

  2. Use the following command:

      SearchService.removeIndexingNode(String nodeName)

        Removes the specified node from the index management table.

        This command takes a single argument:

        • nodeName. The name of the node to be removed. This argument is a string value that takes the following format:
          nodeName:serverName

        For example:

        SearchService.removeIndexingNode("Node01:cluster1_server1")


Parent topic

Manage the Search index


December 21, 2011 12:38:20 PM
   

 

Dec 21, 2011 12:38:20 PM 2 Sep 5, 2011 5:50:16 AM 1

});