Server ID

When the server is created, WebSphere assigns a unique CloneID for each server, the cloneID is shown in the plugin-cfg.xml file:

    <ServerCluster Name="HACluster">
        <Server CloneID="u307p2vq" LoadBalanceWeight="2" 
Name="HAClusterServer1"></Server>
        <Server CloneID="u307p48r" LoadBalanceWeight="3" 
Name="HAClusterServer2"></Server>
        <Server CloneID="u307p62u" LoadBalanceWeight="4" 
Name="HAClusterServer3"></Server>
        <Server CloneID="u307p71m" LoadBalanceWeight="5" 
Name="HAClusterServer4"></Server>
    </ServerCluster>

The CloneID is used to create the serverGroup object. The plug-in will bind the CloneID and a client's sessionID when it receives the client's first request as shown in Example 9-7.

Example 9-7 Binding CloneID and sessionID

TRACE: ws_server_group: serverGroupCreate: Creating the server group object
TRACE: ws_server_group: serverGroupSetName: Setting the name: HACluster
TRACE: ws_server: serverCreate: Creating the server object
TRACE: ws_server: serverSetName: Setting name HAClusterServer1
TRACE: ws_server: serverSetCloneID: Setting clone id u307p2vq
TRACE: ws_transport: transportCreate: Creating transport
TRACE: ws_transport: transportSetProtocol: Setting the protocol http
TRACE: ws_transport: transportSetPort: Setting the port 9081
TRACE: ws_transport: transportSetHostname: Setting the hostname 9.5.90.22
TRACE: ws_server: serverAddTransport: Adding transport 9.5.90.22
TRACE: ws_server_group: serverGroupAddServer: Adding server 
HAClusterServer1
TRACE: ws_server_group: serverGroupAddServer: Server HAClusterServer1 has 
session affinity
TRACE: ws_server: serverCreate: Creating the server object
TRACE: ws_server: serverSetName: Setting name HAClusterServer2
TRACE: ws_server: serverSetCloneID: Setting clone id u307p48r
TRACE: ws_transport: transportCreate: Creating transport
TRACE: ws_transport: transportSetProtocol: Setting the protocol http
TRACE: ws_transport: transportSetPort: Setting the port 9082
TRACE: ws_transport: transportSetHostname: Setting the hostname 9.5.90.22
TRACE: ws_server: serverAddTransport: Adding transport 9.5.90.22
TRACE: ws_server_group: serverGroupAddServer: Adding server 
HAClusterServer2
TRACE: ws_server_group: serverGroupAddServer: Server HAClusterServer2 has 
session affinity
TRACE: ws_server: serverCreate: Creating the server object
TRACE: ws_server: serverSetName: Setting name HAClusterServer3
TRACE: ws_server: serverSetCloneID: Setting clone id u307p62u
TRACE: ws_transport: transportCreate: Creating transport
TRACE: ws_transport: transportSetProtocol: Setting the protocol http
TRACE: ws_transport: transportSetPort: Setting the port 9081
TRACE: ws_transport: transportSetHostname: Setting the hostname 9.5.90.84
TRACE: ws_server: serverAddTransport: Adding transport 9.5.90.84
TRACE: ws_server_group: serverGroupAddServer: Adding server 
HAClusterServer3
TRACE: ws_server_group: serverGroupAddServer: Server HAClusterServer3 has 
session affinity
TRACE: ws_server: serverCreate: Creating the server object
TRACE: ws_server: serverSetName: Setting name HAClusterServer4
TRACE: ws_server: serverSetCloneID: Setting clone id u307p71m
TRACE: ws_transport: transportCreate: Creating transport
TRACE: ws_transport: transportSetProtocol: Setting the protocol http
TRACE: ws_transport: transportSetPort: Setting the port 9082
TRACE: ws_transport: transportSetHostname: Setting the hostname 9.5.90.84
TRACE: ws_server: serverAddTransport: Adding transport 9.5.90.84
TRACE: ws_server_group: serverGroupAddServer: Adding server 
HAClusterServer4
TRACE: ws_server_group: serverGroupAddServer: Server HAClusterServer4 has 
session affinity

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.