Patent ID: 8977888
Filing Date: 2015-03-10
Classification: G06F

Abstract:
1. A computer implemented method for resolving reservation conflicts in a clustering and storage system comprising a plurality of nodes, wherein the clustering and storage system supports registration, persistent reservations and input/output (I/O) fencing, the method comprising the steps of: registering, for a node of the plurality of nodes on physical devices, all paths to shared storage of the clustering and storage system, with a key unique to each of the nodes; subsequent to live migrating of a virtual machine from a source node of the plurality of nodes to a target node of the plurality of nodes, detecting a command failure with a reservation conflict, resulting from an attempt to access the shared storage by the virtual machine from the target node rather than from the source node; responsive to determining that the target node is registered with the shared storage with its unique key, determining that the reservation conflict has occurred as a result of the live migrating of the virtual machine; determining whether the target node is registered with the shared storage with a unique key for the target node; responsive to determining that the target node is registered with the shared storage with the unique key, determining that the target node is not fenced off from the shared storage; re-registering the target node for all paths to the shared storage with the target node unique key, thereby resolving the reservation conflict; and restarting the failed command.