Chapter 13. Configuring a Cluster Session in domain.xml

Table of Contents

13.1. Introduction
13.2. XML Schema/XML Tree - Session Cluster
13.3. Element Reference - Session Cluster
13.4. XML Schema/XML Tree - Cluster Session Server Configuration
13.5. Element Reference - Cluster Session Server Configuration
13.6. Cluster Sesssion Server Configuration Example in domain.xml

This chapter explains the tags related to cluster session in domain.xml.

XML references are configured in the following format.

  1. XML Schema/XML Tree: Summarizes all the tags of XML configuration file. Each node is defined in the following format.

    1. Tag reference enables quick search for tags. Each tag is attached with index numbers ( ex: (11) ). Tags are explained with this number in tag reference.

    2. The XML tag name defined in the XML schema is expressed in the format of <tag name>.

    3. Tags are set with cardinality defined in XML schema.

      “?” is for 0 or 1 element, “+” is for 1 or more elements, “*” is for 0 or more elements, (no symbol) is for exactly one element

    4. Several tags have "P" character, meaning that they are the tags related to performance. These tags are used to tune the setting.

  2. Element Reference: Explains XML tags in the tree.

    1. Dynamic: Allowed to change the configuration dynamically.

    2. Non-Dynamic: Not allowed to change the configuration dynamically. This is expressed only for the special case to comment out.

    3. Description: A short description for tags.

    4. Value Description: The value and type.

    5. Value Type: Data type of the value. (ex: String)

    6. Value Type Description: Description for the data type of the value.

    7. Default Value: The value to be used by default when the XML is not used.

    8. Defined Value: The default value.

    9. Example: The XML tag example.

    10. Performance Recommendation: The value recommended to improve performance.

    11. Child Elements:The tags contained in its own tag element.

(1885) < domain > <session-server>
Value Type session-serverType
Child Elements

(1887) cluster-mode

(1888) session-storage

(1919) jeus-login-manager

(1926) jeus-central-session-server

(1929) property

(905) < domain >< clusters >< cluster > <session-cluster-config>
Description Information about the session server in the cluster.
Value Type session-cluster-configType
Child Elements

(907) jeus-login-manager

(914) reserved-thread-num

(915) connect-timeout

(916) read-timeout

(917) allow-fail-back

(918) failover-strategy

(919) backup-level

(920) backup-unit-size

(921) backup-queue-size

(922) ignore-flow-control

(923) prevent-migration

(924) failover-delay

(925) restart-delay

(926) passivation

(936) properties

[Example 13.1] Example File




<?xml version="1.0" encoding="UTF-8"?><domain xmlns="http://www.tmaxsoft.com/xml/ns/jeus" version="7.0">
<!-- Complex Configuration -->
	<servers>
		<!--Server Side Config : upper Example -->
	</servers>
	<clusters>
		<cluster>
            <!-- Name -->
            <name>Distributed</name>


            <!-- Servers in member of Clustering-->
            <servers>
                <server-name>server1</server-name>
                <server-name>server2</server-name>
            </servers>

			<!-- Configuration Starting point -->
			<session-cluster-config>

				<!-- System Thread Pool Config -->
				<reserved-thread-num>0</reserved-thread-num>

				<!-- Fail-back Config -->
				<allow-fail-back>true</allow-fail-back>

				<!-- Connection Config -->
				<connect-timeout>5000</connect-timeout>
				<read-timeout>20000</read-timeout>

				<!--Backup target -->
				<backup-level>access</backup-level>


				<!-- Backup table restore delay in failover -->
				<failover-delay>1000</failover-delay>

				<!-- Backup table restore delay in normal shutdown -->
				<restart-delay>2000</restart-delay>

				<passivation>
					<single-folder-file-limit>10000</single-folder-file-limit>
					<trigger>
						<timeout>60000</timeout>
						<count-threshold>10000</count-threshold>
					</trigger>
				</passivation>

			</session-cluster-config>

		</cluster>
	</clusters>
</domain>

<?xml version="1.0" encoding="UTF-8"?><domain xmlns="http://www.tmaxsoft.com/xml/ns/jeus" version="7.0">
<!-- Simple Configuration, Only Cluster Config -->
<servers>
	<!--Server Side Config : upper Example -->
</servers>
	<clusters>
		<cluster>
			<!-- Name -->
			<name>Distributed</name>
			
			<!-- Servers in member of Clustering-->
			<servers>
				<server-name>server1</server-name>
				<server-name>server2</server-name>
			</servers>
		</cluster>
	</clusters>
</domain>