[Ocfs2-users] Overriding O2NET_IDLE_TIMEOUT_SECS/KEEPALIVE_DELAY default values in precompiled OCFS2 1.2.1

Tao Ma tao.ma at oracle.com
Sat Aug 15 08:17:37 PDT 2009


Hi Karim,
    We use configfs to pass these parameters to kernel space. See 
http://lwn.net/Articles/148973/ for details. Hope it is helpful.

Regards,
Tao

Karim Alkhayer wrote:
>
>  
>
> How is it possible to override O2NET_IDLE_TIMEOUT_SECS(value 
> =10)O2NET_KEEPALIVE_DELAY_SECS (value=5), assuming that OCFS2 is the 
> bundled (precompiled)release with SLES9 SP3?
>
>  
>
> in ocfs2/cluster/tcp_internal.h          
>
> #define O2NET_KEEPALIVE_DELAY_SECS      5
>
> #define O2NET_IDLE_TIMEOUT_SECS         10
>
>  
>
>  
>
> _Given_
>
>  
>
> O2CB_HEARTBEAT_THRESHOLD=61
>
> O2CB_IDLE_TIMEOUT_MS=30000
>
> O2CB_KEEPALIVE_DELAY_MS=2000
>
> O2CB_RECONNECT_DELAY_MS=2000
>
>  
>
>  
>
> # modinfo ocfs2
>
> license:        GPL
>
> author:         Oracle
>
> version:        1.2.1-SLES AC2C92855997647E2A862F0
>
> description:    OCFS2 1.2.1-SLES Thu Apr 20 18:03:18 PDT 2006 (build sles)
>
> depends:        ocfs2_nodemanager,ocfs2_dlm,jbd
>
> supported:      yes
>
> vermagic:       2.6.5-7.257-default SMP ia64gcc-3.3
>
>  
>
>  
>
> # rpm -qa | grep ocfs2
>
> ocfs2console-1.1.4-0.5
>
> ocfs2-tools-1.1.4-0.5
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



More information about the Ocfs2-users mailing list