Operating System - HP-UX
1836617 Members
2607 Online
110102 Solutions
New Discussion

Re: ??? What's "HEARTBEAT CONNECTION TIMEOUT" ???

 
SOLVED
Go to solution
Elif Gius
Valued Contributor

??? What's "HEARTBEAT CONNECTION TIMEOUT" ???

I have a simple question.
When I do a "cmscancl" I see the contents of the binary configuration file.
There, I can see a setting which is called "heartbeat connection timeout: 16 sec."

So what does this say, and where does this setting come from ?
Does the cluster do some math and put this setting automatically ?
5 REPLIES 5
Dietmar Konermann
Honored Contributor

Re: ??? What's "HEARTBEAT CONNECTION TIMEOUT" ???

That value is by default calculated automatically. Current revisions do something like:

CONNECTION_TIMEOUT = NODE_TIMEOUT * ((NODE_COUNT / 4) + 2)

(integer operation, / is DIV!)

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Elif Gius
Valued Contributor

Re: ??? What's "HEARTBEAT CONNECTION TIMEOUT" ???

But what does this option mean ??? What happens when the "heartbeart connection timeout" is reached ???
Dietmar Konermann
Honored Contributor
Solution

Re: ??? What's "HEARTBEAT CONNECTION TIMEOUT" ???

During cluster (re-)formation the heartbeat (hacl-hb) and general services (hacl-gs) connections between the nodes are (re-)established if needed. The value determines how long SG tries to do this. So this is internal operation, nothing one should worry about.

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Elif Gius
Valued Contributor

Re: ??? What's "HEARTBEAT CONNECTION TIMEOUT" ???

Hi,

we have ServiceGuard A.11.09
we have node timeout 8 sec.,2 nodes and the heartbeat_connection_timeout is 16 sec....
after your formula heartbeat_connection_timeout should be 20 sec.

can you explain it further ???

Dietmar Konermann
Honored Contributor

Re: ??? What's "HEARTBEAT CONNECTION TIMEOUT" ???

As mentioned above you need to do integer maths...

2 / 4 == 0

So we get: 8 * ( 0 + 2 ) == 16


Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)