Configure Oracle Clustering Timeout Settings

If you experience reboot or hang problems with Oracle Cluster File System (OFCS) , Oracle recommends setting O2CB service parameters to values that are higher than the usual suggested minimums.

Prerequisite: Review the Oracle FS Path Manager Release Notes notes for any changes to the recommended timeout settings for Oracle Clustering.
Use the O2CB services configuration file to automatically start up the O2CB driver for the OFCS.
  1. Run the following command to generate the /etc/sysconfig/o2cb configuration file:
    /etc/init.d/o2cb configure
  2. Use a text editor to make the following modifications to the generated o2cb file:
    O2CB_HEARTBEAT_THRESHOLD = 181
    O2CB_IDLE_TIMEOUT_MS = 9000000
    O2CB_KEEPALIVE_DELAY_MS = 90000
    O2CB_RECONNECT_DELAY_MS = 20000
    
  3. Add the following new line to the /etc/fstab file.
    Note: In this example, the OCFS is mounted at /dev/mapper/2000b08008e001305.
    /dev/mapper/2000b08008e001305/u02/oradata/orcl ocfs _netdev 0 0
    

    This line configures the OCFS filesystems to mount automatically at startup.

    Note: The _netdev option prevents the OCFS filesystem from being mounted until the network has first been enabled on the system, which provides access to the storage device (see mount(8)).