Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for executing CLI command of distributed file system and device thereof

A technology of distributed files and execution methods, applied in file systems, file system functions, hardware monitoring, etc., can solve problems such as large network bandwidth and consumption, and achieve the effect of reducing network bandwidth

Pending Publication Date: 2022-01-28
济南浪潮数据技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] With the development of new functions, the MON command set is getting bigger and bigger. If there are very frequent command requests, the command set must be requested once every time the command is executed, which will consume a large network bandwidth.

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 executing CLI command of distributed file system and device thereof
  • Method for executing CLI command of distributed file system and device thereof
  • Method for executing CLI command of distributed file system and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0049] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0050] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a method for executing a CLI command of a distributed file system. Such as figure 1 As shown, it includes the following steps:...

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 a method for executing CLI command of a distributed file system and a device thereof, and the method comprises the steps: the instantiation of a monclient process is performed in response to a to-be-executed command received by a CLI terminal, and the network connection between the monclient process and an MON is built; the monclient process searches whether the CLI terminal contains a local monitoring command set or not; in response to a local monitoring command set contained in the CLI terminal, the monclient process sends a version number of the local monitoring command set to the MON; and the MON checks whether the version number of the local monitoring command set is consistent with the version number of the server-side monitoring command set, and sends a corresponding ACK message to the monclient process based on a check result, and the monclient process processes the local monitoring command set after receiving the ACK message. According to the invention, the execution process of the CLI command is optimized, and the occupied network bandwidth is reduced.

Description

technical field [0001] The invention relates to the technical field of distributed file system monitoring, in particular to a method and device for executing CLI commands of a distributed file system. Background technique [0002] The distributed file system provides a CLI (command-line interface, command line interface) system for user and system interaction. Users enter commands on the CLI command line interface to query the status of the distributed file system or set some system parameters. [0003] CLI commands are executed by MON (MONitor, monitor). MON is the monitoring process of the distributed file system. An odd number (usually 3 or 5) MON services deployed on different server nodes form a distributed MON cluster. The MON cluster achieves consistency through the PAXOS algorithm and manages the state of the distributed file system. The MON cluster elects a primary MON through elections, and the rest are standby MONs. [0004] When the user enters a command thro...

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): G06F11/30G06F16/17G06F16/182
CPCG06F11/3006G06F11/3051G06F16/182G06F16/1734
Inventor 刘鑫孟祥瑞
Owner 济南浪潮数据技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More