Jump to ID:
Networking

Project Home

Discussions

Wiki

Project Info
Forum Topic - Using HAM across two QNX nodes: Page 1 of 2 (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