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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com