Method for distributing shared resource lock in computer cluster system and cluster system

A technology for computer clustering and sharing resources, applied in the field of computers and cluster systems, can solve problems such as large cluster load and inability to meet service requirements, and achieve the effect of fast response and load balance.

Active Publication Date: 2007-04-11
HUAWEI TECH CO LTD +1
View PDF0 Cites 82 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The invention provides a method for allocating shared resource locks in a computer cluster system, which is used to solve the problem in the prior art that when a single node is used as the lock management node for all resources in the cluster, it cannot meet the requirements when the cluster scale increases or the load is large. Service Request Questions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for distributing shared resource lock in computer cluster system and cluster system
  • Method for distributing shared resource lock in computer cluster system and cluster system
  • Method for distributing shared resource lock in computer cluster system and cluster system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Embodiment 1: The member node that applies for a shared resource lock for the first time in the system is used as the lock management node of the shared resource.

[0058] Assume that there are 5 member nodes in the computer cluster system, namely: node 1, node 2, node 3, node 4 and node 5;

[0059] There are 10 shared resources in the system, namely: shared resource A, shared resource B, shared resource C, shared resource D, shared resource E, shared resource F, shared resource G, shared resource H, shared resource I and shared resource J ;

[0060] Each node (node ​​1-5) in the system stores a global resource directory information table, and the global resource directory information table includes at least two fields: shared resource name and corresponding lock management node. When the system is initialized, there is no record in the global resource directory information table in each node; when the system starts and runs, the application process in one or more node...

Embodiment 2

[0067] Embodiment 2: The corresponding lock management node of the shared resource is established through the hash algorithm.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

This invention publishes a locked distribution method of shared resources in a type of computer integration system including: making more than one node of system members as locking management node of all the shared resources in the system, meanwhile each shared resource matches a locking management node; when one apply asks for applicant or release shored resources lock, and send applicant to the corresponding locking management node of this shored resources, the corresponding locking management node will finish the distribution and release of lock's applicant. This invention also publishes the corresponding structure of computer integration system. The invention can be used for realizing high usable locking service in the integration, and it has a high expansibility and realizes a balance of load.

Description

technical field [0001] The invention relates to a computer system, in particular to a lock allocation method for shared resources in a computer cluster system and the corresponding computer and cluster system. Background technique [0002] Locks are a central concept in computer systems. In a stand-alone system, locks are used to ensure that multiple processes or threads have mutually exclusive access to the same shared resource. Simple lock models include shared locks and exclusive locks. A shared resource can only assign multiple shared locks or an exclusive lock at a certain time. In a computer cluster environment, distributed locks can ensure that processes distributed on each member node (that is, each physical device in the computer cluster system) have mutually exclusive access to the same shared resource in the cluster. A large number of cluster-based applications require the use of distributed lock services. [0003] Cluster-based applications can provide strong...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/46
Inventor 吴俊敏张少林
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products