If you need hc to continue processing, fork a background process from the hc.activate script. Then exit the hc.activate script with an exit code of 1, which indicates that communication with the application does not have to be complete for hc to continue processing. That is, if a client application fails to respond to a ping sent from the hc program within 10 minutes, hc will consider the application to have failed and will invoke hc.deactivate. After hc.deactivate runs, it sends a node down message to the other nodes. If hc fails, the application will receive a zero-length message over the socket and should shut itself down.
Applications are responsible for cleaning up system resources when they complete or fail.
All rights reserved.