Setting clone IDs for nodes
Assign a clone ID for all nodes in the cluster.
About this task
Procedure
- In a text editor, open the server.xml file from the JazzSM_WAS_Profile/config/cells/JazzSMNode01Cell/nodes/JazzSMNode01/servers/server1 directory
- In server.xml, locate the entry <components xmi:type="applicationserver.webcontainer:WebContainer.
- Within the components element, add the
following entry:
<properties xmi:id="WebContainer_1183077764084" name="HttpSessionCloneId" value="12345" required="false"/>
Where:
value is the clone ID for the node, for example, value="12345". The clone ID must be unique to each node. An example of an updated components element is provided here:
<components xmi:type="applicationserver.webcontainer:WebContainer"
xmi:id="WebContainer_1183077764084" enableServletCaching="false"
disablePooling="false"> <stateManagement xmi:id="StateManageable_1183077764087"
initialState="START"/> <services xmi:type="applicationserver.webcontainer:SessionManager"
xmi:id="SessionManager_1183077764084" enable="true" enableUrlRewriting="false"
enableCookies="true" enableSSLTracking="false"
enableProtocolSwitchRewriting="false"
sessionPersistenceMode="NONE" enableSecurityIntegration="false"
allowSerializedSessionAccess="false" maxWaitTime="5"
accessSessionOnTimeout="true"> <defaultCookieSettings xmi:id="Cookie_1183077764084" domain=""
maximumAge="-1" secure="false"/> <sessionDatabasePersistence
xmi:id="SessionDatabasePersistence_1183077764084"
datasourceJNDIName="jdbc/Sessions" userId="db2admin" password="{xor}Oz1tPjsyNjE="
db2RowSize="ROW_SIZE_4KB" tableSpaceName=""/> <tuningParams xmi:id="TuningParams_1183077764084"
usingMultiRowSchema="false" maxInMemorySessionCount="1000"
allowOverflow="true" scheduleInvalidation="false"
writeFrequency="TIME_BASED_WRITE" writeInterval="10"
writeContents="ONLY_UPDATED_ATTRIBUTES" invalidationTimeout="30"> <invalidationSchedule xmi:id="InvalidationSchedule_1183077764084"
firstHour="14" secondHour="2"/> </tuningParams> </services> <properties xmi:id="WebContainer_1183077764084" name="HttpSessionCloneId"
value="12345" required="false"/> </components> - Save the changes you made to server.xml.
Parent topic: Preparing the HTTP server for high availability