Automatic configuration-free balancing control method and device for MDSs and storage medium

An automatic balancing and control method technology, applied in the field of metadata, can solve the problems of small node occupied resources, large node occupied resources, uneven distribution of nodes, etc., to achieve balanced resource occupancy, reduce excessive concentration of MDS, and achieve the effect of balanced deployment

Inactive Publication Date: 2018-01-26
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Distributed management means that the metadata server (MDS) is stored in any node of the file system and can be dynamically migrated. However, when the MDS is placed too centrally, the running state of the MDS will be unevenly distributed among the nodes in the cluster. As the read and write pressure on metadata increases, some nodes occupy large resources while others occupy relatively small resources. When a switchover is required, an MDS in the backup state will be randomly selected from the cluster. The running state has a great impact on the performance of the entire file system, and may even cause paralysis

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
  • Automatic configuration-free balancing control method and device for MDSs and storage medium
  • Automatic configuration-free balancing control method and device for MDSs and storage medium
  • Automatic configuration-free balancing control method and device for MDSs and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0034] The core of the present invention is to provide an automatic balance control method of MDS without configuration, which is used to uniformly configure the MDS in each node in the file system, so as to realize the balance of the resource occupancy of each node when the metadata is read. In addition, the present invention also provides an MDS automatic balance control device and a computer-readable storage medium without configuration.

[0035] In or...

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

The invention discloses an automatic configuration-free balancing control method and device for MDSs and a storage medium. The method comprises the steps that multiple MDSs are uniformly deployed on various nodes in a cluster in advance; when expanding is needed, on inactive node is selected from the cluster, one MDS on the inactive node is controlled to be in an operation state, and the other MDSs on the inactive node are controlled to be in a backup state; when switching is needed, the target MDS in the backup state is selected from the target node where the to-be-switched MDS is located, and the state of the target MDS is controlled to be switched to the operation state. Due to the fact that the MDSs deployed on the nodes are same, the problem that the MDSs are too concentrated can be effectively solved; in addition, no matter when expanding or switching, at most one MDS on each node is in the operation state, therefore, uniform configuration of the MDSs on the various nodes in a file system can be achieved, and deployment balancing can be achieved without complex configuration.

Description

Technical field [0001] The present invention relates to the technical field of metadata, in particular to an automatic balance control method, device and computer-readable storage medium of MDS without configuration. Background technique [0002] The data in the file system is divided into ordinary data and metadata. Common data refers to the actual data contained in a common file, and metadata refers to data used to describe the characteristics of the file, such as access permissions, file owner, and distribution information of file data blocks. Generally, a file system contains multiple nodes, and multiple nodes exist in a cluster to complete various functions of the file system. The distribution information of the file system includes the location of the file on the disk and the location of the disk in the cluster. Users who need to manipulate a file must first get its metadata before they can locate the location of the file and get the content or related attributes of the f...

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): G06F17/30G06F9/50G06F11/14
Inventor 罗浩
Owner ZHENGZHOU YUNHAI INFORMATION 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