Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Using HAM across two QNX nodes: (2 Items)
   
Using HAM across two QNX nodes  
Hi,

Not sure if this is the approrpriate forum.

I am trying to find out if we can HAM-protect a process in one node by the high availability manager (HAM) in the other 
node.  Both the QNX machines are in the same IP network.

Would like to provide further info-

a. I am trying to make my process to self attach to a ham on other node so that i can send heartbeats to it.  I am doing
 a ham_connect_node() call to connect to a remote ham.  This step succeeds.

b. Then, I am using ham_self_attach() to attach to the remote HAM but it is getting attached to a local ham.  I believe 
the connection made in step a. should be used in ham_self_attach() and local process should be self attached to remote 
HAM.  But, this is not happening, instead the local process gets attached to the local HAM. Since, /proc/ham/entityname 
gets created in the local filesystem.  No entityname got created in the remote node.

Is it possible to self attach a local process to a remote HAM? If it is possible, how do I self attach a process in one 
node to a ham in other node?

Thanks and Regards,
Grunush D
RE: Using HAM across two QNX nodes  
Hi Grunush:
	This question would likely be best addressed in one of the Core
OS forums (probably OSTech) rather than here.  HAM is part of the OS.
It may be possible to use TDP (also known as QNET, which is a networking
component) to do this, but I'm not sure.
   Robert.

-----Original Message-----
From: Grunush D [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 07, 2008 3:18 AM
To: general-networking
Subject: Using HAM across two QNX nodes

Hi,

Not sure if this is the approrpriate forum.

I am trying to find out if we can HAM-protect a process in one node by
the high availability manager (HAM) in the other node.  Both the QNX
machines are in the same IP network.

Would like to provide further info-

a. I am trying to make my process to self attach to a ham on other node
so that i can send heartbeats to it.  I am doing a ham_connect_node()
call to connect to a remote ham.  This step succeeds.

b. Then, I am using ham_self_attach() to attach to the remote HAM but it
is getting attached to a local ham.  I believe the connection made in
step a. should be used in ham_self_attach() and local process should be
self attached to remote HAM.  But, this is not happening, instead the
local process gets attached to the local HAM. Since,
/proc/ham/entityname gets created in the local filesystem.  No
entityname got created in the remote node.

Is it possible to self attach a local process to a remote HAM? If it is
possible, how do I self attach a process in one node to a ham in other
node?

Thanks and Regards,
Grunush D

_______________________________________________
General
http://community.qnx.com/sf/go/post11509