Method and system for realizing high availability of iSCSI

An implementation method and technology for implementing a system, applied in the field of service process management, to achieve the effect of highlighting substantive characteristics, reducing pressure, and achieving good load balancing effects

Active Publication Date: 2020-07-03
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF1 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For iSCSI services in a distributed environment, it is often encountered how to determine which storage node provides iSCSI services, and when the node providing iSCSI services fails, which node to migrate to continue To solve the problem of providing iSCSI, the present invention provides a method and system for realizing high availability of iSCSI

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 system for realizing high availability of iSCSI
  • Method and system for realizing high availability of iSCSI

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Such as figure 1 As shown, the technical solution of the present invention provides a method for realizing high availability of iSCSI, comprising the following steps:

[0050] S1: Initialize the iSCSI proxy service and etcd cluster, so that the iSCSI proxy service polls to detect whether the iSCSI service of its own node is already running;

[0051] S2: After the iSCSI service is started on the distributed storage node, deploy the network for the iSCSI service through the floating IP;

[0052] S3: Monitor the health status of the running node of the iSCSI server. When it is unhealthy, it will trigger iSCSI service switching or based on the status of the iSCSI service itself. When it detects that its own iSCSI service is unhealthy, it will automatically report the fault to trigger iSCSI service switching to achieve high iSCSI service. available. When the storage end service fails, the iSCSI connection is disconnected. At this time, the iSCSI client will query the iSCSI...

Embodiment 2

[0054] The technical solution of the present invention provides a method for realizing high availability of iSCSI, comprising the following steps:

[0055] S1: Initialize the iSCSI proxy service and etcd cluster, so that the iSCSI proxy service polls to detect whether the iSCSI service of its own node is running; it should be noted that this step specifically includes:

[0056] Such as figure 2 As shown, first, the etcd cluster is deployed with the basic parameters of each node; the basic parameters include the node IP, host name, etcd cluster name; after the etcd cluster is deployed, a proxy named proxy is created in the distributed database of etcd key directory;

[0057] Secondly, start the iSCSI Proxy service on each node. The service connects to the etcd cluster through the restful API provided by etcd to generate a unique identifier, and creates a subkey in the proxy directory according to the generated unique identifier, and records the unique identifier of the node a...

Embodiment 3

[0069] The technical solution of the present invention provides an iSCSI high-availability implementation system, including an initialization module, a network deployment module, and a high-availability implementation module;

[0070] The initialization module is used to initialize the iSCSI proxy service and the etcd cluster, so that the iSCSI proxy service polls to detect whether the iSCSI service of its own node is running; the initialization module includes an etcd cluster deployment unit, a directory creation unit, a service startup processing unit, and an update unit The etcd cluster deployment unit is used to deploy the etcd cluster with the basic parameters of each node; the basic parameters include node IP, host name, etcd cluster name; the directory creation unit is used to deploy the etcd cluster after the completion of etcd. Create a directory with the proxy name as the key in the distributed database; the service startup processing unit is specifically used to star...

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 provides a method and a system for realizing high availability of an iSCSI (Internet Small Computer System Interface). The method comprises the following steps of: initializing an iSCSIproxy service and an etcd cluster, so that the iSCSI proxy service polls and detects whether the iSCSI service of a node of the iSCSI proxy service is operated or not; the iSCSI service deploys a network for the iSCSI service through the floating IP after the distributed storage node is started; the method comprises the following steps: monitoring the health state of an iSCSI server operation node, triggering iSCSI service switching or based on the state of the iSCSI service when the iSCSI server operation node is unhealthy, and autonomously reporting a fault to trigger the iSCSI service switching to realize high availability of the iSCSI service when the iSCSI service is detected to be unhealthy.

Description

technical field [0001] The invention relates to the technical field of service process management, in particular to a method and system for realizing high availability of iSCSI. Background technique [0002] Etcd is an open source highly available distributed key-value (key-value) database. Using the raft protocol as its consensus algorithm can provide a strong consistency while taking into account high-availability database storage. Etcd is often used in service discovery systems. The main reason is that it provides a simple and convenient Http API interface. At the same time, it configures TTL for registered services and updates the timestamp of services regularly to ensure monitoring service status. [0003] iSCSI is a storage technology based on the internet and the SCSI-3 protocol, which is used to transmit the local SCSI protocol through the TCP / IP network, and is usually called IP-SAN. (iSCSI, Internet Small Computer System Interface internet, Small Computer System ...

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): H04L29/08H04L12/26
CPCH04L67/1034H04L67/1029H04L67/1097H04L43/0817H04L67/1001H04L67/56
Inventor 方浩
Owner INSPUR SUZHOU INTELLIGENT 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