This document describes the various configurable timeouts. It should be noted that usually the defaults suffice and changing them is rarely required. The most common case for changing timeouts is when mirroring over a WAN. Below is an example for changing the mirroring timeouts. They are explained further below
MirrorSyncSendTimeout=60
MirrorSyncRecvTimeout=50
MirrorSendTimeout=60
MirrorRecvTimeout=5
MirrorSyncTimeout=30
MirrorConnectTimeout=30
The timeouts are specified in seconds and are listed down for the configuration file they apply to. A timeout is specified as Name=Value as show in the example above
/quadstor/etc/ndclient.conf
ClientSendTimeout
Default: 24
Min: 15
Max: 90
The ClientSendTimeout specifies the time interval a node client needs to wait for a command response before terminating a command
ClientConnectTimeout
Default: 5
Min: 5
Max: 90
The ClientConnectTimeout specifies the time interval to wait for a connection to the controller to complete before terminiating a connection
ControllerRecvTimeout
Default: 20
Min: 20
Max: 60
The ControllerRecvTimeout specifies the time interval to wait for a response from a client before terminating a command. This applies to a controller node and a node Master when it takes over from a controller
HASyncTimeout
Default: 20
Min: 20
Max: 60
The HASyncTimeout specifies the time to wait for a metadata sync to complete before terminating the operaton
HACheckTimeout
Default: 5
Min: 5
Max: 60
The HACheckTimeout specifies the time to wait for a change in peer state before fencing a peer
HAPingTimeout
Default: 8
Min: 2
Max: 60
The HAPingTimeout specifies the time to wait for a ping response
/quadstor/etc/ndcontroller.conf
ControllerConnectTimeout
Same as the ClientConnectTimeout but applies to the controller node
ControllerRecvTimeout
HASyncTimeout
HACheckTimeout
HAPingTimeout
Same as the timeout specified in ndclient.conf
/quadstor/etc/ndrecv.conf
MirrorConnectTimeout
Default: 5
Min: 5
Max: 70
The MirrorConnectTimeout specifies the time to wait for a connect to a peer node to succeed. This time out is used when connecting during synchronous mirroring and when connecting to the destination specified in a qmirror operation
MirrorSendTimeout
Default: 30
Min: 15
Max: 120
This timeout specifies the time to wait for data to be successfully sent from the source of a qmirror operation to the destination of a qmirror operation
MirrorRecvTimeout
Default: 30
Min: 15
Max: 120
This timeout specifies the time to wait for the destination of qmirror operation before expected data is completely received from the source
MirrorSyncSendTimeout
Default: 20
Min: 15
Max: 90
This is similar to the MirrorSyncTimeout but is used in the synchronous mirroring operations
MirrorSyncRecvTimeout
Default: 15
Min: 15
Max: 90
This is similar to the MirrrorRecvTimeout but is used in the synchronous mirroring operations
MirrorSyncTimeout
Default: 15
Min: 15
Max: 90
This timeout specifies the maximum time to wait during certain metadata operations used in synchronous mirroring