Enabling a second WebSphere as a server within a cluster
To enable a second WebSphere® as a server within a cluster, there are
several lines that must be added to the
/IBM/WebSphere/Plugins/config/webserver1/plugin-cfg.xml
file.
The lines to be added are: <Server Name="server2" ConnectTimeout="0" ExtendedHandshake="false"
LoadBalanceWeight="1" MaxConnections="-1" WaitForContinue="false">
<Transport Hostname="192.168.30.11" Port="9080" Protocol="http"/>
<Transport Hostname="192.168.30.11" Port="9443" Protocol="https">
<Property name="keyring" value="/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
<Property name="stashfile" value="/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
</Transport>
</Server>
and they should be placed as follows (bold added
for emphasis only): <ServerCluster Name="server1_Cluster" CloneSeparatorChange="false" ↓
LoadBalance="Round Robin" PostSizeLimit="-1" RemoveSpecialHeaders="true" ↓
RetryInterval="60">
<Server Name="server1" ConnectTimeout="0" ExtendedHandshake="false"
LoadBalanceWeight="1" MaxConnections="-1" WaitForContinue="false">
<Transport Hostname="192.168.30.10" Port="9080" Protocol="http"/>
<Transport Hostname="192.168.30.10" Port="9443" Protocol="https">
<Property name="keyring" value="/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
<Property name="stashfile" value="/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
</Transport>
</Server>
<Server Name="server2" ConnectTimeout="0" ExtendedHandshake="false"
LoadBalanceWeight="1" MaxConnections="-1" WaitForContinue="false">
<Transport Hostname="192.168.30.11" Port="9080" Protocol="http"/>
<Transport Hostname="192.168.30.11" Port="9443" Protocol="https">
<Property name="keyring" value="/IBM/WebSphere/Plugins/etc/plugin-key.kdb"/>
<Property name="stashfile" value="/IBM/WebSphere/Plugins/etc/plugin-key.sth"/>
</Transport>
</Server>
</ServerCluster>
Note: The ↓ symbol indicates that the text continues on the next line. These
lines should be entered on one line, not broken into multiple lines.