You can add another Search node to a cluster where there is an existing Search node for load-balancing purposes or if you want to have a backup node for redundancy.
Before you begin
® Application Server Network Deployment (Application Server option) must installed on the new node.
To add a second Search node to a cluster, complete these steps.
- Add a new node to the Deployment Manager cell by doing the following:
- Log in to the new node.
- Open a command prompt and change to the bin directory of the local WebSphere Application Server profile:
is the name of the applicable WebSphere
Application Server profile on this node.
- Run the addNode command to add the node to the Deployment Manager cell:
addnode [dmgr_host] [dmgr_port] [-username uid] [-password pwd] [-localusername localuid] [-localpassword localpwd]
- dmgr_host is the host name of the Deployment Manager.
- dmgr_port is the SOAP port of the Deployment Manager. The default is 8879.
- uid and pwd are the DM administrator username and password respectively.
- localuid and localpwd are the username and password respectively for the node's WebSphere Application Server administrator.
- Open the addNode.log file and confirm that the node was successfully added to the Deployment Manager cell.
The file is stored in the following location:
- Copy the relevant JDBC files from the Deployment Manager node to the new node, placing them in the same location as the JDBC files on the Deployment Manager.
For example, if you copied the db2jcc.jar
file from the C:\IBM\SQLLIB
directory on the Deployment Manager, you need to copy the same file to the C:\IBM\SQLLIB
directory on the new node. Use the following table to determine which files to copy.
Table 1. JDBC files
|Database type||JDBC files|
|Microsoft SQL Server||sqljdbc4.jar|
- Ensure that the shared folders that are used for the application content stores in the cluster are accessible from the new node.
- Add the node as an additional member to the cluster.
- Log in to the Deployment Manager Integration Solutions Console.
- Select Servers
- Specify the following information about the new cluster member:
The name of the server instance that is created for the cluster. The Deployment Manager creates a new server instance with this name.Select node
Note: Each member name in the same cluster must be unique.
The node where the server instance resides.
- Click Add Member to add this member to the cluster member list.
- Click Next to go to the summary page where you can examine detailed information about the cluster member. Click Finish to complete this step or click Previous to modify the settings.
- Click Save to save the configuration.
- Select Server
Cluster members. In the member list, click the new member that you added in the previous step.
- On the detailed configuration page, click Ports to expand the port information of the member. Make a note of the WC_defaulthost and WC_defaulthost_secure port numbers.
For example, the WC_defaulthost port number is typically 9084, while the WC_defaulthost_secure port number is typically 9447.
- Select Environment
Enter the following information for the host alias for the WC_defaulthost port:
The IP address or DNS host name of the node where the new member resides.Port:
The port number for WC_defaulthost. For example, 9084.
- Click OK to complete the virtual host configuration, and then click Save to save the configuration.
- Repeat the previous two substeps to add the host alias for the WC_defaulthost_secure port.
- Select System administration
- In the node list page, select all the nodes where the target cluster members reside, and then click Synchronize to perform a synchronization between the nodes.
- Using the WebSphere Application Server Integrated Solutions Console, stop the Search application on the new node.
- Stop all the previously existing nodes that are running the Search application.
- Copy the index directory from one of the existing nodes to the new node.
- Restart all the nodes that are running Search.
What to do next
HTTP Server to connect to the new node. For more information, see Configuring IBM HTTP Server
and Defining IBM HTTP Server
only: Configure the path variables to point to the Search application. For more information, see Setting AIX or Linux path variables for Search
If you experience interoperability failure, you might be running two servers on the same host with the same name. This problem can cause the Search and News applications to fail. For more information, go to the following web page: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/rtrb_namingprobs.html
Parent topic: Administering Search
Backing up the Search index
Configuring IBM HTTP Server
Restoring the Search index
Copying Search conversion tools to local nodes
Adding a node to a cluster
Defining IBM HTTP Server