About VXFEN tunable parameters

On each node, edit the file /etc/sysconfig/vxfen to change the value of the vxfen driver tunable global parameter, vxfen_max_delay and vxfen_min_delay. You must restart the system to put change into effect.

VXFEN tunable parameters describes tunable parameters for the VXFEN driver.

VXFEN tunable parameters

vxfen Parameter

Description and Values: Default, Minimum, and Maximum

vxfen_deblog_sz 

dbg_log_size 

 

Size of debug log in bytes 

  • Values

    Default: 65536

    Minimum: 65536

    Maximum: 256K

vxfen_max_delay and vxfen_min_delay 

(See below.) 

In the event of a network partition, the smaller sub-cluster delays before racing for the coordinator disks. The time delayed allows a larger sub-cluster to win the race for the coordinator disks. The vxfen_max_delay and vxfen_min_delay parameters define the delay in seconds. 

vxfen_max_delay 

Specifies the maximum number of seconds that the smaller sub-cluster waits before racing with larger clusters for control of the coordinator disks. 

This value must be greater than the vxfen_min_delay value. 

  • Values

    Default: 60

    Minimum: 0

    Maximum: 600

vxfen_min_delay 

Specifies the minimum number of seconds that the smaller sub-cluster waits before racing with larger sub-clusters for control of the coordinator disks. This value must be smaller than the vxfen_max_delay value. 

  • Values

    Default: 1

    Minimum: 0

    Maximum: 600

vxfen_vxfnd_tmt 

Specifies the time in seconds that the I/O fencing driver VxFEN waits for the I/O fencing daemon VXFEND to return after completing a given task. 

  • Values

    Default: 60

    Minimum: 10

    Maximum: 600

See Configuring the VXFEN parameters

Configuring the VXFEN parameters

For the parameter changes to take effect, reconfigure the VXFEN module.

To reconfigure the VXFEN module

  1. Stop VCS.

    # hastop -local

  2. Unconfigure the VXFEN module.

    # /sbin/vxfenconfig -U

  3. Unload the module.

    # /etc/init.d/vxfen stop

  4. Edit the /etc/sysconfig/vxfen file.

    For example, change the entry from:

    vxfen_min_delay=0

    to:

    vxfen_min_delay=30

  5. Start the VXFEN module.

    # /etc/init.d/vxfen start

  6. Start VCS.

    # hastart

  7. Bring the service groups online.

    # hagrp -online oragrp -sys galaxy

To change the VXFEN tunable parameter, use the chdev command, unload the driver, and reload the driver. Change the parameter on each cluster system. The example procedure changes the value of the vxfen_min_delay parameter.

To change the VXFEN tunable parameter

  1. Check the status of the driver and start it if necessary:

    # /etc/methods/vxfenext -status

    To start the driver:

    # /etc/init.d/vxfen.rc start

  2. List the current value of the tunable parameter:

    For example:

    # lsattr -El vxfen

    vxfen_deblog_sz 65536 N/A True

    vxfen_max_delay 3 N/A True

    vxfen_min_delay 1 N/A True

    vxfen_vxfnd_tmt 60 N/A True

    The current value is 1 (the default).

  3. Enter:

    # chdev -l vxfen -P -a vxfen_min_delay=30

  4. Ensure that Veritas Cluster Server is shut down. Unload and reload the driver after changing the value of the tunable:

    # /etc/methods/vxfenext -stop

    # /etc/methods/vxfenext -start

  5. Perform the commands on each cluster system to change the parameter.