Configuring the VXFEN module parameters

After adjusting the tunable kernel driver parameters, you must reconfigure the VXFEN module for the parameter changes to take effect.

The following example procedure changes the value of the vxfen_min_delay parameter.

On each Solaris node, edit the file /kernel/drv/vxfen.conf to change the value of the vxfen driver tunable global parameters, vxfen_max_delay and vxfen_min_delay.

Note:

You must restart the VXFEN module to put any parameter change into effect.

To configure the VxFEN parameters and reconfigure the VxFEN module

  1. Edit the file /kernel/drv/vxfen.conf to change the vxfen_min_delay value to 30.

    The following VXFEN example displays the content of the default file /kernel/drv/vxfen.conf before changing the vxfen_min_delay parameter:

    #
    # VXFEN configuration file
    #
    name="vxfen" parent="pseudo" instance=0 dbg_log_size=65536 
    vxfen_max_delay=60 vxfen_min_delay=1;

    After editing the file to change the vxfen_min_delay value to 30, the default file /kernel/drv/vxfen.conf contains the following values:.

    #
    # VXFEN configuration file
    #
    name="vxfen" parent="pseudo" instance=0 dbg_log_size=65536 
    vxfen_max_delay=60 vxfen_min_delay=30;

    After reviewing the edits that you made to the default file, close and save the file.

  2. Stop VCS.

    # hastop -local
  3. Unconfigure the VXFEN module:

    # vxfenconfig -U
  4. Determine the VXFEN module ID:

    # /usr/sbin/modinfo | grep -i vxfen

    The module ID is the number in the first column of the output.

  5. Unload the VXFEN module, using the module ID you determined:

    # /usr/sbin/modunload -i module_ID
  6. For a system running Solaris 10, run the update_drv command to re-read the /kernel/drv/vxfen.conf file.

    # /usr/sbin/update_drv vxfen

    Note:

    The modunload command has often been used on driver modules to force the system to reread the associated driver configuration file. While this procedure and command works in Solaris 9, this behavior may fail in later releases. The supported method for rereading the driver configuration file for systems running Solaris 10 is through the update_drv command. For additional information, refer to update_drv(1M).

  7. Configure the VXFEN module:

    # vxfenconfig -c
  8. Start VCS.

    # hastart