CN110781038A - Device and method for realizing rapid disaster recovery based on port number replication - Google Patents
Device and method for realizing rapid disaster recovery based on port number replication Download PDFInfo
- Publication number
- CN110781038A CN110781038A CN201910892353.XA CN201910892353A CN110781038A CN 110781038 A CN110781038 A CN 110781038A CN 201910892353 A CN201910892353 A CN 201910892353A CN 110781038 A CN110781038 A CN 110781038A
- Authority
- CN
- China
- Prior art keywords
- server
- port
- disaster recovery
- storage
- recovery module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
- G06F11/2033—Failover techniques switching over of hardware resources
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a device and a method for realizing rapid disaster recovery based on port number replication, wherein a disaster recovery module is arranged, a switch is used as a carrier, a photoelectric interface is configured, two or more servers and two or more sets of storages are connected to the disaster recovery module, a fixed port identifier is set for each server or storage, and when one server or storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier, so that the original mapping can be ensured without any configuration and without interruption, the aim of rapidly recovering services is achieved, the problem of server failure caused by various disasters or misoperation is solved, the safety of data information is improved, and enterprise informatization services are better provided.
Description
Technical Field
The invention relates to the technical field of rapid disaster recovery, in particular to a device and a method for realizing rapid disaster recovery based on port number replication.
Background
Data disaster tolerance refers to establishing a data system in a different place, in order to protect data security and improve continuous availability of data, an enterprise needs to consider from multiple aspects such as RAID protection, redundant structure, data backup, failure early warning, and the like, and copy necessary files of a database to a storage device, and backup is the most important item to be considered in the system.
In a conventional SAN, storage implements block-level disaster recovery through its own software, but at least two or more storages are generally required to implement storage disaster recovery, volume copy in a synchronous or asynchronous manner is implemented through an optical fiber or a network, and a highly available solution at a server level is generally set through HA software.
Nowadays, information technology has a highly centralized trend, and a disaster recovery scheme of a storage and a server is urgently needed to be combined into a whole so as to better serve enterprise information.
Disclosure of Invention
The invention aims to provide a device and a method for realizing rapid disaster recovery based on port number replication, which aim to solve the problem that the prior art lacks a scheme of combining storage and server disaster recovery into a whole, realize rapid disaster recovery and improve the safety of data information.
In order to achieve the above technical object, the present invention provides a device for implementing fast disaster recovery based on port number replication, including:
two or more servers, two or more sets of storage and disaster recovery modules;
the disaster recovery module is provided with an optical fiber port and a network port, and is connected with the server and the storage through the optical fiber port and the network port;
the server and the storage are both provided with fixed port identifiers, and when one of the server or the storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier.
Preferably, the disaster recovery module takes the switch as a carrier.
Preferably, the server and the stored port identification are different from each other.
Preferably, the switch system firmware is added with a record of port identification and a modification function.
The invention also provides a method for realizing rapid disaster recovery based on port number replication, which comprises the following steps:
s1, setting two or more servers and two or more sets of storage, wherein the configuration of the servers or the storage is the same;
s2, connecting the server and the storage with the light port and the network port of the disaster recovery module respectively;
and S3, setting a fixed port identifier for each server and storage, wherein when the server or storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier.
Preferably, the disaster recovery module takes the switch as a carrier.
Preferably, the server and the stored port identification are different from each other.
Preferably, the switch system firmware is added with a record of port identification and a modification function.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
compared with the prior art, the invention configures the photoelectric interface by setting the disaster recovery module and taking the switch as a carrier, connects two or more servers and two or more sets of storage to the disaster recovery module, and sets a fixed port identifier for each server or storage, when one server or storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier, thereby ensuring that the original mapping is not interrupted without any configuration, achieving the purpose of rapidly recovering services, solving the problem of server failure caused by various disasters or misoperation, improving the safety of data information, and better serving enterprise informatization.
Drawings
Fig. 1 is a schematic structural diagram of a device for implementing fast disaster recovery based on port number replication according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for implementing fast disaster recovery based on port number replication according to an embodiment of the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
The following describes in detail a device and a method for implementing fast disaster recovery based on port number replication according to an embodiment of the present invention with reference to the accompanying drawings.
As shown in fig. 1, the present invention discloses a device for implementing fast disaster recovery based on port number replication, wherein the device comprises:
two or more servers, two or more sets of storage and disaster recovery modules;
the disaster recovery module is provided with an optical fiber port and a network port, and is connected with the server and the storage through the optical fiber port and the network port;
the server and the storage are both provided with fixed port identifiers, and when one of the server or the storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier.
The embodiment of the invention takes the switch as a carrier, configures the photoelectric interface and adds a function of recording the port identification of the connected equipment in the system firmware.
The two servers and the two sets of storages are respectively connected with equipment ports of the disaster recovery module, the equipment ports of the disaster recovery module provide two ports, namely an optical fiber port and a network port, the identification of the optical fiber port is a WWN number, the identification of the network port is an IQN number, for example, the two servers and the two sets of storages are respectively provided with port identifications, the port identification of the Server1 is WWN1/IQN1, the port identification of the Server2 is WWN2/IQN2, the port identification of the Storage 35 1 is WWN3/IQN3, and the port identification of the Storage2 is WWN4/IQN 4. After the server is connected to the disaster recovery module, the disaster recovery module can record the port identifier of the server connection, and the storage is the same.
The disaster recovery module is transparent to the server and storage. When a server fails, a new server in the same system is connected to the disaster recovery module, and the disaster recovery module covers the original server port identifier to the port of the new server, so that the original mapping can be ensured without interruption without any configuration, and the purpose of rapidly recovering services is achieved. The Server1 and the Server2 are configured identically, only the Server1 and the Storage1 are mapped currently, when the Server1 fails, the Server2 is started to be on-line, and the disaster recovery module covers the port identification WWN1/IQN1 of the Server1 on the port of the Server2, so that for Storage, the mapping of the front end is not changed, and the service is not interrupted.
Similarly, when two sets of storage are configured identically, and one set of storage fails, the other set of storage connected to the disaster recovery module can immediately acquire the port identifier of the failed storage, so that service is ensured not to be interrupted. The Storage1 and the Storage2 are configured identically, the current Server1 accesses the Storage1, when the Storage1 fails, the Storage2 starts to be online, and the port identification WWN3/IQN3 of the Storage1 can be covered on the Storage2 through the disaster recovery module, so that the mapping is not changed, and the continuity of the service is finally guaranteed.
The embodiment of the invention configures the photoelectric interface by setting the disaster recovery module and taking the switch as a carrier, connects two or more servers and two or more sets of storages to the disaster recovery module, and sets a fixed port identifier for each server or storage, when one server or storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier, thereby ensuring the original mapping without interruption without any configuration, achieving the purpose of rapidly recovering services, solving the problem of server failure caused by various disasters or misoperation, improving the safety of data information, and better serving enterprise information.
As shown in fig. 2, an embodiment of the present invention further discloses a method for implementing fast disaster recovery based on port number replication, where the method includes the following steps:
s1, setting two or more servers and two or more sets of storage, wherein the configuration of the servers or the storage is the same;
s2, connecting the server and the storage with the light port and the network port of the disaster recovery module respectively;
and S3, setting a fixed port identifier for each server and storage, wherein when the server or storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier.
The embodiment of the invention takes the switch as a carrier, configures the photoelectric interface and adds a function of recording the port identification of the connected equipment in the system firmware.
The two servers and the two sets of storages are respectively connected with equipment ports of the disaster recovery module, the equipment ports of the disaster recovery module provide two ports, namely an optical fiber port and a network port, the identification of the optical fiber port is a WWN number, the identification of the network port is an IQN number, for example, the two servers and the two sets of storages are respectively provided with port identifications, the port identification of the Server1 is WWN1/IQN1, the port identification of the Server2 is WWN2/IQN2, the port identification of the Storage 35 1 is WWN3/IQN3, and the port identification of the Storage2 is WWN4/IQN 4. After the server is connected to the disaster recovery module, the disaster recovery module can record the port identifier of the server connection, and the storage is the same.
The disaster recovery module is transparent to the server and storage. When a server fails, a new server in the same system is connected to the disaster recovery module, and the disaster recovery module covers the original server port identifier to the port of the new server, so that the original mapping can be ensured without interruption without any configuration, and the purpose of rapidly recovering services is achieved. The Server1 and the Server2 are configured identically, only the Server1 and the Storage1 are mapped currently, when the Server1 fails, the Server2 is started to be on-line, and the disaster recovery module covers the port identification WWN1/IQN1 of the Server1 on the port of the Server2, so that for Storage, the mapping of the front end is not changed, and the service is not interrupted.
Similarly, when two sets of storage are configured identically, and one set of storage fails, the other set of storage connected to the disaster recovery module can immediately acquire the port identifier of the failed storage, so that service is ensured not to be interrupted. The Storage1 and the Storage2 are configured identically, the current Server1 accesses the Storage1, when the Storage1 fails, the Storage2 starts to be online, and the port identification WWN3/IQN3 of the Storage1 can be covered on the Storage2 through the disaster recovery module, so that the mapping is not changed, and the continuity of the service is finally guaranteed.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (8)
1. An apparatus for implementing fast disaster recovery based on port number replication, the apparatus comprising:
two or more servers, two or more sets of storage and disaster recovery modules;
the disaster recovery module is provided with an optical fiber port and a network port, and is connected with the server and the storage through the optical fiber port and the network port;
the server and the storage are both provided with fixed port identifiers, and when one of the server or the storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier.
2. The apparatus according to claim 1, wherein the disaster recovery module uses a switch as a carrier.
3. The apparatus according to claim 1, wherein the server and the stored port id are different from each other.
4. The apparatus according to claim 2, wherein the switch system firmware is configured to add a record of port id and modify the function.
5. A method for realizing rapid disaster recovery based on port number replication is characterized by comprising the following steps:
s1, setting two or more servers and two or more sets of storage, wherein the configuration of the servers or the storage is the same;
s2, connecting the server and the storage with the light port and the network port of the disaster recovery module respectively;
and S3, setting a fixed port identifier for each server and storage, wherein when the server or storage fails, the disaster recovery module modifies the backup server or the stored port identifier with the same configuration into the failed server or the stored port identifier.
6. The method according to claim 5, wherein the disaster recovery module uses a switch as a carrier.
7. The method according to claim 5, wherein the server and the stored port identifiers are different from each other.
8. The method according to claim 6, wherein the switch system firmware is added with a record of port identification and a modification function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910892353.XA CN110781038A (en) | 2019-09-20 | 2019-09-20 | Device and method for realizing rapid disaster recovery based on port number replication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910892353.XA CN110781038A (en) | 2019-09-20 | 2019-09-20 | Device and method for realizing rapid disaster recovery based on port number replication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110781038A true CN110781038A (en) | 2020-02-11 |
Family
ID=69384207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910892353.XA Withdrawn CN110781038A (en) | 2019-09-20 | 2019-09-20 | Device and method for realizing rapid disaster recovery based on port number replication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110781038A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101847148A (en) * | 2009-03-23 | 2010-09-29 | 国际商业机器公司 | Method and device for implementing high application availability |
CN107147529A (en) * | 2017-05-24 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of data disaster tolerance system and method |
-
2019
- 2019-09-20 CN CN201910892353.XA patent/CN110781038A/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101847148A (en) * | 2009-03-23 | 2010-09-29 | 国际商业机器公司 | Method and device for implementing high application availability |
CN107147529A (en) * | 2017-05-24 | 2017-09-08 | 郑州云海信息技术有限公司 | A kind of data disaster tolerance system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11334454B2 (en) | Trust relationship migration for data mirroring | |
US11422908B2 (en) | Non-disruptive controller replacement in a cross-cluster redundancy configuration | |
US12073091B2 (en) | Low overhead resynchronization snapshot creation and utilization | |
US11921679B2 (en) | Synchronizing configuration of partner objects across distributed storage systems using transformations | |
CN103226502B (en) | A kind of data calamity is for control system and data reconstruction method | |
US10496501B2 (en) | Configuration inconsistency identification between storage virtual machines | |
US10187256B2 (en) | Configuration replication across distributed storage systems | |
EP2713275A1 (en) | Virtual tape library device and data restoration method | |
US11836513B2 (en) | Transitioning volumes between storage virtual machines | |
US8301597B1 (en) | System and method for network file system server replication using reverse path lookup | |
CN103840961A (en) | Dual-computer hot backup system | |
EP3319258B1 (en) | Service take-over method and storage device, and service take-over apparatus | |
CN107135097A (en) | The disaster tolerance system and disaster recovery method filed based on bookkeeping | |
CN101808127A (en) | Data backup method, system and server | |
US8683258B2 (en) | Fast I/O failure detection and cluster wide failover | |
CN106331166A (en) | Access method and device of storage resource | |
US8117493B1 (en) | Fast recovery in data mirroring techniques | |
CN113330426B (en) | Method, device and system for backing up data | |
US10684985B2 (en) | Converting storage objects between formats in a copy-free transition | |
CN111190770A (en) | COW snapshot technology for data storage and data disaster recovery | |
CN101448028A (en) | Method for protecting continuous data, device and system thereof | |
CN110781038A (en) | Device and method for realizing rapid disaster recovery based on port number replication | |
CN107888430B (en) | Virtual machine management operation synchronization method and device | |
CN110109780A (en) | A kind of file-level data backup and restoration methods for NAS service | |
CN104317674A (en) | Disk data backup method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200211 |