Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and application for sharing disk data consistency based on iSCSI (Internet Small Computer System Interface)

A shared disk and consistency technology, applied in the field of cloud computing, can solve problems such as data inconsistency

Active Publication Date: 2022-05-27
安超云软件有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The purpose of the present invention is to provide a method and application based on iSCSI shared disk data consistency to solve the problem of data inconsistency in distributed application scenarios

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 and application for sharing disk data consistency based on iSCSI (Internet Small Computer System Interface)
  • Method and application for sharing disk data consistency based on iSCSI (Internet Small Computer System Interface)
  • Method and application for sharing disk data consistency based on iSCSI (Internet Small Computer System Interface)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] like Figure 1 to Figure 9 As shown, a method for sharing disk data consistency based on iSCSI in an embodiment of the present invention is introduced, and the method includes the following steps.

[0052] In step S101, after receiving the PR command sent by the client, the SCST control module applies to Zookeeper for a lock node corresponding to the PR command, and locks the shared disk according to the lock node.

[0053] SCST is a general-purpose SCSI target subsystem in Linux. It provides a unified, consistent interface between the Linux kernel and processing and SCSI target drivers. It also provides the Linux kernel with a storage backend handle connection. After connecting to real or simulated storage side and target driver.

[0054] SCST only supports the PR semantic parsing of the stand-alone version, but in a shared storage distributed system, it is necessary to support distributed global PR semantics, that is, when accessing the same SCSI shared disk on any t...

Embodiment 2

[0072] like Figures 10 to 12 As shown, a method for sharing disk data consistency based on iSCSI in an embodiment of the present invention is introduced, and the method includes the following steps.

[0073] In step S201, after receiving the PR command sent by the client, the SCST control module applies to Zookeeper for a lock node corresponding to the PR command, and locks the shared disk according to the lock node.

[0074] SCST is a general-purpose SCSI target subsystem in Linux. It provides a unified, consistent interface between the Linux kernel and processing and SCSI target drivers. It also provides the Linux kernel with a storage backend handle connection. After connecting to real or simulated storage side and target driver.

[0075] SCST only supports the PR semantic parsing of the stand-alone version, but in a shared storage distributed system, it is necessary to support distributed global PR semantics, that is, when accessing the same SCSI shared disk on any targe...

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 and application for data consistency of a shared disk based on iSCSI, and the method comprises the following steps: after receiving a PR command sent by a client, an SCST control module applies for a lock node corresponding to the PR command in Zookeeper, and locks the shared disk according to the lock node; the PR information of the PR command is updated to a local memory of the SCST, the PR command is sequentially processed according to a preset sequence, and the PR information is uploaded to a Zookeeper; and when the SCST control module receives an unlocking notification, the lock node is deleted. According to the method, the consistency of PR information of the same shared disk under different target nodes in a distributed environment can be ensured by adding the SCST control module, so that a data consistency PR interface is provided for an upper-layer distributed application.

Description

technical field [0001] The present invention relates to the field of cloud computing, in particular to a method and application of data consistency based on iSCSI shared disk. Background technique [0002] With the rapid development and progress of distributed technology, there are more and more distributed application scenarios, and the demand for data consistency in distributed block storage is becoming more and more urgent. For example, Oracle RAC applications need to provide shared disks at the bottom to ensure data consistency sex. [0003] The main modules of the system in the prior art are composed of four parts: client (Initiator), VIP, SCST, and shared storage. The main functions are as follows: [0004] Client (Initiator): The client component of the iSCSI interface, which mainly accesses the entire system resources through this process; [0005] VIP: The client needs to access the VIP to determine the target resource of which node to use. When the selected node ...

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): G06F21/78
CPCG06F21/78Y02D10/00
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