Patent ID: 7787383

Claim:
A method for monitoring a connection with a remote processing system comprising: establishing, by a computer, a connection with a remote processing system, that is mirrored by a mirror processing system, wherein the connection is established in response to receiving an initial promiscuous packet at a special queue pair and wherein the promiscuous packet is received before the connection is established; generating an initial determination of whether the connection with the remote processing system has failed by receiving a heartbeat packet from the remote processing system at a regular interval, wherein the heartbeat packet is a promiscuous packet received at the special queue pair and wherein the heartbeat packet is not sent through the connection with the remote processing system and wherein the initial determination causes generation of a final determination of whether the connection with the remote processing system has failed if the heartbeat packet is not received; generating the final determination, in response to the initial determination, by performing a remote direct memory access read on memory coupled to the remote processing system over the connection with the remote processing system, wherein the final determination is that the connection with the remote processing system has failed if the remote direct memory access read fails; and establishing, in response to the final determination that the connection with the remote processing system has failed, a new connection with the mirror processing system.