×

Dynamic hashing method for optimal distribution of locks within a clustered system

  • US 5,612,865 A
  • Filed: 06/01/1995
  • Issued: 03/18/1997
  • Est. Priority Date: 06/01/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. In a clustered computer system including a network of processing nodes, resources shared by said processing nodes, and a distributed lock manager for coordinating processing activities within the clustered computer system, the improvement comprising a method for evenly distributing the mastership of said resources within a clustered computer system amongst the processing nodes, said method comprising the steps of:

  • maintaining a set of hash buckets within each processing node;

    assigning each one of said resources to one of said hash buckets;

    assigning a hash vector to each one of said hash buckets, each one of said hash vectors identifying said processing nodes in a predetermined sequence unique to said one of said hash buckets, mastership of the resources assigned to any one of said hash buckets residing with the first processing node identified by the hash vector assigned to said one of said hash buckets; and

    reassigning mastership of the resources assigned to said set of hash buckets associated with one of said processing nodes following a failure of said one of said processing nodes to the next processing node having an active state identified by the hash vector assigned to said set of hash buckets associated with said failed processing node.

View all claims
  • 12 Assignments
Timeline View
Assignment View
    ×
    ×