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

A kind of nfs service monitoring method, device, equipment and readable storage medium

A storage medium and business technology, applied in the storage field, can solve problems such as difficulty in unified monitoring of each business, inability to detect business anomalies in time, and unfavorable business adjustment.

Active Publication Date: 2022-05-24
GUANGDONG INSPUR BIG DATA RES CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because different businesses are placed in different shared directories, it is difficult to realize unified monitoring of each business in NFS
That is, it is impossible to detect business abnormalities in time, and it is also difficult to obtain the pressure changes of the business, which is not conducive to business adjustment

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
  • A kind of nfs service monitoring method, device, equipment and readable storage medium
  • A kind of nfs service monitoring method, device, equipment and readable storage medium
  • A kind of nfs service monitoring method, device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Please refer to figure 1 , figure 1 It is a flowchart of an NFS service monitoring method in an embodiment of the present invention, and the method includes the following steps:

[0043] S101. Receive an access request sent by a target client.

[0044] The access request includes the operation type and the identifier of the shared directory mounted by the target client.

[0045] In this embodiment of the present invention, in order to facilitate statistics on NFS services by using an access request, an ID number may be set for the shared directory corresponding to each service in advance. Then, after the client is mounted to the corresponding shared directory, the ID number of the shared directory is sent to the client, so that when the client sends an access request, the ID number is also sent to the NFS server, which is convenient for the NFS server to process accordingly. . The specific process is as follows:

[0046] Step 1. Use the mount command to mount the t...

Embodiment 2

[0066] In order to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present invention, the technical solutions provided by the embodiments of the present invention are described in detail below with reference to a specific application process as an example.

[0067] The NFS server sets an ID number for each shared directory, and stores all shared directories in the export list. Among them, the shared directory corresponds to the NFS service one-to-one.

[0068] When the client mounts the NFS service, the mounted shared directory is specified by the mount command. After the mount is successful, the NFS server returns the ID number of the mounted shared directory to the client. When the client needs to access the NFS service, it sends an access request including the mounted shared directory ID.

[0069] After receiving the request, the NFS server first determines whether the request is a read / write request. If it is a...

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 NFS service monitoring method, which comprises the following steps: receiving an access request sent by a target client; wherein, the access request includes an operation type and a shared directory identifier mounted by the target client; when the operation type is read / When writing an operation, determine the target export corresponding to the shared directory identifier in the export linked list; in the target export, add 1 to the target field corresponding to the operation type to obtain the IOPS corresponding to the shared directory; use IOPS to correspond to the shared directory The target business is monitored. The IOPS of each shared directory can be used to monitor business performance, anomaly detection, and pressure tracking. Further improve NFS system performance and user experience. The invention also discloses an NFS service monitoring device, equipment and a readable storage medium, which have corresponding technical effects.

Description

technical field [0001] The present invention relates to the technical field of storage, and in particular, to an NFS service monitoring method, apparatus, device and readable storage medium. Background technique [0002] NFS (Network File System, Network File System) has excellent stability and scalability, and has been widely used in various business scenarios in the field of distributed storage. The storage service cluster provides data services to all users through the NFS service. [0003] NFS service providers often put different services in different shared directories. Then, share different directories for different users. Since different services are placed in different shared directories, it is difficult to implement unified monitoring of each service in NFS. That is, it is impossible to detect business anomalies in a timely manner, and it is difficult to obtain business pressure changes, which is not conducive to business adjustment. [0004] To sum up, how to ...

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 Patents(China)
IPC IPC(8): G06F16/182G06F16/176
Inventor 李进文
Owner GUANGDONG INSPUR BIG DATA RES CO LTD