A number of synchronization and ClusterXL capabilities are controlled by means of Security Gateway configuration parameters. Run these commands on the Security Gateway as follows:
|
Parameter is any of the kernel parameters described in the following sections.
Changes to their default values must be implemented on all Cluster Members. Setting different values on Cluster Members can cause configuration problems and possibly connection failures.
Note - All these configuration parameters can be configured to survive a reboot.
Security Gateway configuration parameters that are changed using the fw ctl set int command, do not survive reboot. To make them survive a reboot, you need to add the kernel parameter and its value to the $FWDIR/boot/modules/fwkern.conf
file (see sk26202).
In the following instructions, Parameter is any of the parameters described in the following sections.
For general instructions, see Working with Kernel Parameters on Security Gateway.
Important - You must configure all the Cluster Members in the same way.
The following Security Gateway configuration parameters are used to control the clustering and synchronization timers. Changing the default values is not recommended.
Parameter |
Meaning |
Default Value |
---|---|---|
|
The frequency of ClusterXL operations on the cluster.
Operations occur every: |
1 |
|
The frequency of sync flush operations on the cluster.
Operations occur every: |
1 |
|
Must be divisible by 10 with no remainders. |
10 |
This section applies only to Load Sharing modes. The reason for blocking new connections is that new connections are the main source of new Delta Synchronization traffic. Delta Synchronization may be at risk, if new traffic continues to be processed at high rate.
A related error message in cluster logs and in the /var/log/messages
file is:
"FW-1: State synchronization is in risk. Please examine your synchronization network to avoid further problems!".
Reducing the amount of traffic passing through the Cluster Member protects the Delta Synchronization mechanism. See sk43896: Blocking New Connections Under Load in ClusterXL.
Note that blocking new connections when sync is busy is only recommended for Load Sharing ClusterXL deployments. While it is possible to block new connections in High Availability mode, doing so does not solve inconsistencies in sync, as High Availability mode precludes that from happening. This parameter can be set to survive boot using the mechanism described in How to Configure a Kernel Parameter to Survive Reboot.
Summary table:
|
|
|
2 (except for data connections) |
|
4 (except for data connections) |
|
8 (the control connection should be established or allowed) |
|
16 (the control connection should be established or allowed) |
ClusterXL prevents out-of-state packets in non-sticky connections. It does this by holding packets until a Sync ACK is received from all other active Cluster Members. If for some reason a Sync ACK is not received, the Security Gateway on the Cluster Member will not release the packet, and the connection will not be established.
To find out if held packets are not being released, run the fw ctl pstat command. If the output of the command shows that the Number of Pending Packets is large under normal loads (more than 100 pending packets), and this value does not decrease over time, use the fwldbcast_pending_timeout parameter to reduce the number of pending packets.
Change the value of fwldbcast_pending_timeout from the default value of 50 to a value lower than 50.
The value is in ticks units, where each tick is equal to 0.1 sec, so that 50 ticks are 5 seconds.
The value represents the time, after which packets are released even if Sync ACKs are not received.