Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A fast state service migration method and system based on dynamic Compound RPC

A fast state and migration system technology, applied in the direction of file system, file system management, inter-program communication, etc., can solve the problem of state migration time increase

Inactive Publication Date: 2019-02-19
INST OF COMPUTING TECH CHINESE ACAD OF SCI +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is based on pNFS, adding a dynamic Compound RPC mechanism, solving the problem that the state migration time increases linearly with the number of states, and providing a fast state service migration method

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 fast state service migration method and system based on dynamic Compound RPC
  • A fast state service migration method and system based on dynamic Compound RPC
  • A fast state service migration method and system based on dynamic Compound RPC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Specifically, the present invention discloses a fast state service migration method based on dynamic Compound RPC, which includes:

[0035] Step 1. Obtain the metadata sub-volume to be migrated from the migration end, and the migration end initializes a structure m;

[0036] Step 2. Traverse a file in the metadata sub-volume, and write the migration information in the file into m in sequence according to the order of the state open, lock, delegation, and layout;

[0037] Step 3. Create a new RPC connection and send m to the transfer-in terminal. The transfer-in terminal restores the migration information of each state in m one by one. The transfer-in terminal returns the error code indicating whether each state is successfully restored or not. The outgoing end, the outgoing end judges whether the status of the file is successfully restored according to the error code.

[0038] The fast state service migration method based on dynamic Compound RPC, wherein

[0039] This...

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 relates to a fast state service migration method and system based on a dynamic Compound RPC. The method comprises the following steps: acquiring metadata subvolumes to be migrated in a moving-out end, wherein the moving-out end initializes a structure m, sequentially traverses all files in the metadata subvolume that have the open, lock, deletion and layout states, and writes the states in the files and the number of the states into m; creating a new RPC connection, sending the m to the moving-in end, wherein the moving-in end recovers the migration information of each state in mone by one; then creating a Compound D, and returning the D to the moving-out end; The moving-out terminal checks D to confirm whether the status of the file has been migrated successfully. The invention can ensure the consistency of the states before and after the migration, and reduce the time cost of the state migration in the migration process.

Description

technical field [0001] The invention relates to the field of computer storage, in particular to the service migration technology of a distributed file system. Background technique [0002] NFS (Network File System) is a network file system, which allows computers in the network to share resources through a TCP / IP network. Local NFS client applications can transparently read and write files located on remote NFS servers, just like accessing same as local files. pNFS is a high-performance enhancement of NFSv4, which provides direct storage access to parallel file systems while maintaining the independence of the NFSv4 operating system and hardware platform. In pNFS, in order to maintain the consistency of files, the metadata server assigns four states to clients accessing files: open, lock, delegation, and layout. open means to open a file; lock means to lock a byte in the file; delegation means to recall the authorization of the file; layout means to obtain the layout of th...

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): G06F16/11G06F9/54
CPCG06F9/547G06F2209/541
Inventor 孙丹琦马建辉刘健张强王一宇卢森邵冰清许鲁
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products