Top
PRIMECLUSTER  Cluster Foundation Configuration and Administration Guide 4.3
FUJITSU Software

1.1.2 cfset

The cfset(1M) command can be used to set certain tunable parameters in the CF driver. The values are stored in /etc/default/cluster.config. The cfset(1M) command can be used to retrieve and display the values from the kernel or the file as follows:

cfset(1M) options are as follows:

cfset [ -r | -f | -a | -o  name | -g name | -h ]

Note

Refer to the Chapter "Chapter 9 Manual pages" and to the cfset(1M) manual page for more details on options.

The tuneables are as follows:

After any change to cluster.config, run the cfset(1M) command as follows:

# cfset -r

Example

Example 1 Use cfset(1M) to tune timeout as follows:
CLUSTER_TIMEOUT "30"

This changes the default 10-second timeout to 30 seconds. The minimum value is 1 second. There is no maximum. It is strongly recommended that you use the same value on all cluster nodes.

CLUSTER_TIMEOUT represents the number of seconds that one cluster node waits for a heartbeat response from another cluster node. Once CLUSTER_TIMEOUT seconds has passed, the non-responding node is declared to be in the LEFTCLUSTER state. The default value for CLUSTER_TIMEOUT is 10, which experience indicates is reasonable for most PRIMECLUSTER installations. We allow this value to be tuned for exceptional situations, such as networks which may experience long switching delays.

Example 2 To set tuneables to non-default values:
  1. Edit the /etc/default/cluster.config file and add entries for each tunable:

    CLUSTER_IP_TTL "64"
    CLUSTER_IP_CTRL_TOS "0x88"
    CLUSTER_IP_DATA_TOS "0x28"
  2. Run cfset -f to verify settings in file.

  3. Run cfset -r to load new values to CF.

  4. Run cfset -a to verify values in kernel.