Configuring Configuring Session Clustering

This topic explains how to configure Session Clustering to suit your personal preferences and specific working environment.

Configuring General Settings

This procedure describes how to configure Session Clustering periodic cleanup and IP communication settings.

 

 

Instructions on how to complete a procedure

To configure Session Clustering general settings:

  1. In the UI, go to Servers | Session Clustering.
  2. Configure the following settings:
  • Set the duration of the session's timeout limit.
  • Set the time interval between expired session cleanups by the Garbage Collector.
  • Select the I wish to work with Session Clustering in the cloud check-box to use unicast transmissions to facilitate communication between Session Clustering daemons in the cloud.
  1. Click .

 

Configuring Advanced Settings

This procedure describes how to configure the Session Clustering component.

Instructions on how to complete a procedure

To configure the component:

  1. In the UI, go to Administration | Components.
  2. From the Components list, select the component.
    The Expanded view will display the directives associated with the component.
  3. Review the assorted directives and their descriptions, and configure the component according to your personal preferences. For information on how to configure directives, see Working with Components.
  4. In the Action bar, click Save.
  5. In the toolbar, the restart icon lights up , indicating a restart is needed to apply changes. Click to restart server and apply changes.
    For information on restarting in Zend Server, see Server Restart.

For information on configuring the component daemon directives, see Configuring Component Daemon Directives (Zend Session Clustering, Zend Deployment, Zend Java Bridge, Zend Job Queue, and Zend Monitor).

Notes:

If your server is behind a firewall, ensure your broadcast ports are open so that your servers can broadcast to each other. The port that should be opened is defined in the mod_cluster.network.tcp_port_remote directive in your 'scd.ini' file. The default port number is 10060.

All servers in the cluster should be in the same subnet / broadcast domain.

Net Masks

Net Masks are used to define a string of IP addresses using Wildcards '*' to specify the range of IPs that are either allowed or denied hosts. This option, allows to specify a range of IPs from 0-255 according to the selected amount of Wildcards for example if you choose to use the Net Mask option to grant communication to the following IPs: 24 (10.1.3. *) all IP addresses beginning with 10.1.3 will be granted access to the Session Clustering Daemon on this server.