CN105159846B - Method and storage system for supporting double-control switching of virtualized disk - Google Patents

Method and storage system for supporting double-control switching of virtualized disk Download PDF

Info

Publication number
CN105159846B
CN105159846B CN201510394716.9A CN201510394716A CN105159846B CN 105159846 B CN105159846 B CN 105159846B CN 201510394716 A CN201510394716 A CN 201510394716A CN 105159846 B CN105159846 B CN 105159846B
Authority
CN
China
Prior art keywords
storage controller
address
virtualized disk
virtualized
iscsi connection
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.)
Active
Application number
CN201510394716.9A
Other languages
Chinese (zh)
Other versions
CN105159846A (en
Inventor
熊小兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201510394716.9A priority Critical patent/CN105159846B/en
Publication of CN105159846A publication Critical patent/CN105159846A/en
Application granted granted Critical
Publication of CN105159846B publication Critical patent/CN105159846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides a double-control switching method for supporting a virtualized disk, which comprises the following steps: when the first storage controller is not in fault, the first storage controller is used as an initializer end, and the first IP address is used for establishing iscsi connection with a virtualized disk used as a target end to obtain the access control authority of the virtualized disk; when the first storage controller fails, the second storage controller serves as an initializer end, loads a first IP address, establishes iscsi connection with a virtualized disk serving as a target end by using the first IP address, and obtains access control authority of the virtualized disk; when the first storage controller is recovered from the fault, the second storage controller disconnects the iscsi connection established with the virtualized disk, releases the first IP address, and establishes the iscsi connection with the virtualized disk by using the first IP address through the first storage controller, so as to obtain the access control authority of the virtualized disk. Compared with the mode of recording the attribution information in the virtualized disk, the scheme of the invention is simple and is not easy to make mistakes, and the data security can be effectively ensured.

Description

Method and storage system for supporting double-control switching of virtualized disk
Technical Field
The invention relates to the technical field of storage, in particular to a method and a storage system for supporting double-control switching of a virtualized disk.
Background
The storage controller can integrate the third-party heterogeneous storage devices in a certain mode through a storage virtualization technology so as to overcome the physical limitations and differences of hardware devices and provide storage resources to an upper layer in a unified mode. The third party's disk that is integrated is referred to as a virtualized disk. The general virtualization technology is based on an initiator-target mode, a storage controller serves as an initiator in the mode, and a third-party heterogeneous storage device serves as a target.
In a storage dual-control environment, when a certain storage controller fails and cannot provide services to an upper layer, the services of the certain storage controller can be switched to another storage controller, so that the service interruption time is ensured to be minimum; when the failure of the storage controller is cleared, the service can be restored to the original storage controller. The virtualization disk supports double control by introducing a virtualization technology in a storage double control environment to ensure that the virtualization disk supports service switching and recovery of two storage controllers. Referring to FIG. 1, a storage duel control system including virtualized disks is shown.
In an existing storage dual-control system supporting a virtualized disk, two storage controllers are connected to the virtualized disk. The virtualized disk records the storage controller information to which the virtualized disk belongs, and the two storage controllers determine whether the two storage controllers have the authority of accessing the virtualized disk by reading the attribution information recorded in the virtualized disk. For example, when the virtualized disk is used by the storage controller SC0, the virtualized disk immediately records the storage controller's information, thereby indicating that it belongs to the storage controller. Another storage controller SC1, although the virtualized disk is visible, SC1 cannot operate the virtualized disk. When the service is switched, the storage controller SC1 reads the management information of the virtualized disk, reports the management information to the virtualized disk for use at the SC1 end, deletes the corresponding virtualized disk resource at the SC1 end when the service is recovered, and reports the virtualized disk again at the SC0 end. In the scheme, the processing of the virtualized disk during switching and recovery is complex, and if the information of the controller recorded in the virtualized disk fails to be read or is in error, the virtualized disk may be used by the controllers at two ends at the same time, so that data damage may be caused.
Disclosure of Invention
In view of the above, the present invention provides a method for supporting dual-control switching of a virtualized disk and a storage system.
The method is applied to a storage system, and the storage system comprises the following steps: a first storage controller and a second storage controller; the method comprises the following steps: initially, a first storage controller is used as an initializer end, and an iscsi connection is established between a first IP address and a virtualized disk used as a target end to obtain the access control authority of the virtualized disk; when the first storage controller fails, the second storage controller serving as a terminal end serves as an initiatier end, a first IP address is loaded, iscsi connection is established between the first IP address and the virtualized disk serving as a target end, and access control authority of the virtualized disk is obtained; when the first storage controller is recovered from the fault, the second storage controller disconnects the iscsi connection established with the virtualized disk, releases the first IP address, loads the first IP address by the first storage controller, and establishes the iscsi connection with the virtualized disk by using the first IP address to obtain the access control authority of the virtualized disk.
Preferably, when the first storage controller is recovered from the fault, the second storage controller disconnects iscsi connection established with the virtualized disk, and sends a notification of releasing the first IP address to the first storage controller after releasing the first IP address; and after receiving the notification, the first storage controller loads the first IP address, establishes iscsi connection with the virtualized disk by using the first IP address, and obtains the access control authority of the virtualized disk.
Preferably, the storage system further comprises a shared area for recording the states of the first and second storage controllers; the method further comprises the following steps: after the first storage controller establishes iscsi connection with the virtualized disk by using the first IP address, recording the state of the first storage controller in the shared area as 'single control un-switched' and recording the state of the second storage controller as 'single control un-switched'; after the first storage controller fails and the second storage controller establishes iscsi connection with the virtualized disk by using the first IP address, the state of the first storage controller is recorded as 'taken over' in the shared area, and the state of the second storage controller is recorded as 'taken over'.
Preferably, the method further comprises: after the first storage controller is restarted, if the self state in the shared area is read to be 'single control non-switching', loading a first IP address, and establishing iscsi connection with the virtualized disk serving as a target end by using the first IP address to obtain the access control authority of the virtualized disk; after the first storage controller is restarted, if the self state in the shared area is read to be 'taken over', the first IP address is not loaded until a notice that the first IP address sent by the second storage controller is released or a command for loading the first IP address by human intervention is received, and iscsi connection is established between the first IP address and the virtualized disk. After the second storage controller is restarted, if the self state in the shared area is read to be 'single control non-switching', the first IP address is not loaded; and after the second storage controller is restarted, if the self state in the shared area is read to be 'take over', judging whether the first storage controller fails, if not, not loading the first IP address, sending a notice that the first IP address is released to the first storage controller, if so, loading the first IP address, and establishing iscsi connection with the virtualized disk by using the first IP address.
A virtualized disk dually-switched storage system, the storage system comprising: a first storage controller and a second storage controller; initially, the first storage controller is used as an initializer end, and an iscsi connection is established between a first IP address and a virtualized disk used as a target end to obtain the access control authority of the virtualized disk; when the first storage controller fails, the second storage controller serving as a terminal end serves as an initiatier end, a first IP address is loaded, iscsi connection is established between the first IP address and the virtualized disk serving as a target end, and access control authority of the virtualized disk is obtained; when the first storage controller is recovered from the fault, the second storage controller disconnects the iscsi connection established with the virtualized disk, releases the first IP address, and establishes the iscsi connection with the virtualized disk by using the first IP address through the first storage controller to obtain the access control authority of the virtualized disk.
Preferably, when the first storage controller is recovered from the fault, the second storage controller disconnects iscsi connection established with the virtualized disk, and sends a notification of releasing the first IP address to the first storage controller after releasing the first IP address; and after receiving the notification, the first storage controller loads the first IP address, establishes iscsi connection with the virtualized disk by using the first IP address, and obtains the access control authority of the virtualized disk.
Preferably, the storage system further comprises a shared area for recording the states of the first and second storage controllers; after the first storage controller establishes iscsi connection with the virtualized disk by using the first IP address, recording the state of the first storage controller in the shared area as 'single control un-switched' and recording the state of the second storage controller as 'single control un-switched'; after the first storage controller fails and the second storage controller establishes iscsi connection with the virtualized disk by using the first IP address, the state of the first storage controller is recorded as 'taken over' in the shared area, and the state of the second storage controller is recorded as 'taken over'.
Preferably, after the first storage controller is restarted, if the state of the first storage controller in the shared area is read as 'single control un-switched', loading a first IP address, and establishing iscsi connection between the first IP address and the virtualized disk serving as the target end to obtain the access control authority of the virtualized disk; after the first storage controller is restarted, if the self state in the shared area is read to be 'taken over', the first IP address is not loaded until a notice that the first IP address sent by the second storage controller is released or a command for loading the first IP address by human intervention is received, and iscsi connection is established between the first IP address and the virtualized disk.
Preferably, after the second storage controller is restarted, if the self state in the shared area is read as 'single control non-switching', the first IP address is not loaded; and after the second storage controller is restarted, if the self state in the shared area is read to be 'take over', judging whether the first storage controller fails, if not, not loading the first IP address, sending a notice that the first IP address is released to the first storage controller, if so, loading the first IP address, and establishing iscsi connection with the virtualized disk by using the first IP address.
Compared with the prior art, the access authority of the storage controller to the virtualized disk is realized in a simple and convenient mode; in addition, the problems noted in the background are avoided by not having to record their attribution in the virtualized disk. The mode of recording the states of the double-control storage controllers in the shared area enables the two storage controllers to perform relevant processing according to the respective states recorded in the shared area after the two storage controllers fail, and avoids simultaneously executing access control on the virtualized disk.
Drawings
FIG. 1 is a storage duality system including virtualized disks.
Fig. 2 is a flow chart of an embodiment of the present invention.
Detailed Description
In view of the problems mentioned in the background art, the present invention provides a new scheme for supporting dual-control switching of a virtualized disk. According to the scheme, the storage controller to which the virtualized disk belongs is not required to be recorded in the virtualized disk, the iscsi connection is established according to which storage controller and the virtualized disk, and which storage controller has the authority of accessing and controlling the virtualized disk; a storage controller without access control authority cannot successfully establish an iscsi connection with the virtualized disk. The following is a detailed description of specific examples.
The storage system supporting the double-control switching of the virtualized disk comprises the following components: fig. 2 is a flowchart of an embodiment of the present invention, illustrating a method for two storage controllers to obtain access control authority for a virtualized disk.
Step S11, initially, the first storage controller serves as an initializer end, establishes iscsi connection with the virtualized disk serving as a target end by using the first IP address, and obtains an access right to the virtualized disk.
S12, when the first memory controller is failure, the second memory controller as the interface end is used as the initializer end to load the first IP address, and establishes iscsi connection with the virtualized disk as the target end by using the first IP address, and obtains the access right to the virtualized disk.
And S13, when the first storage controller is recovered from the fault, the second storage controller disconnects iscsi connection established with the virtualized disk, releases the first IP address, and establishes iscsi connection with the virtualized disk by using the first IP address through the first storage controller to obtain access authority to the virtualized disk.
The first storage controller SC0 and the second storage controller SC1 in the network storage system are two storage controllers supporting dual-steering switching. When the two storage controllers work normally, information interaction is carried out between the two storage controllers. When SC0 fails, traffic may be switched to SC 1; when SC1 fails, traffic may be switched to SC 0. When the failure is resolved, the traffic may be restored to the original storage controller.
Initially, a user is planning to which storage controller a virtualized disk belongs for use. For example, the user plans the virtualized disk a for use by the home storage controller SC 0. The user may add an IP address of the virtualized disk a, for example, IP1, to the storage controller SC0, and at this time, the SC0 may find the virtualized disk a as the target. At this time, the storage controller SC0 acts as an initializer and the virtualized disk a acts as a target, and the user establishes an iscsi connection between the SC0 and the virtualized disk a. The IP address at which the storage controller SC0 initiated and successfully established the iscsi connection is IP 0. After the storage controller SC0 establishes iscsi connection with the virtualized disk a, SC0 may access the virtualized disk a, i.e., read from and write to the virtualized disk a.
For the virtualized disk a, after being planned by the user as belonging to a storage resource used by the storage controller SC0, in the case where there is no failure in the storage controller SC0, the storage controller SC1 has no access control authority to it, and the SC1 is prohibited from establishing an iscsi connection with the virtualized disk a.
When storage controller SC0 fails, the iscsi connection previously established with the virtualized disk will be broken, and thus SC0 will not be able to access virtualized disk A. As the other party in the dual-control relationship: the SC1 recognizes the failure state of the storage controller SC0 after failure. Storage controller SC1 acts as a takeover of SC0 to gain access to virtualized disk a by establishing an iscsi connection with virtualized disk a. Specifically, storage controller SC1 loads the IP address at which SC0 establishes an iscsi connection with virtualized disk A: IP0, and establishes an iscsi connection with virtualized disk A using IP 0. After storage controller SC1 successfully establishes an iscsi connection with virtualized disk A, it can access virtualized disk A. For the virtualized disk, it does not perceive at all that the initializer is actually not the previous SC0, because the IP address used by SC1 when taking over SC0 and virtualized disk a to establish a connection is the IP address used by SC0 before, and the initializer name is set the same on SC0 and SC 1.
When the storage controller SC0 fails back, as the other party in the dual-steering relationship: SC1 will also necessarily be perceived. Therefore, upon determining that SC0 failed back, SC1 disconnects the iscsi connection established with virtualized disk A and releases the IP 0. The storage controller SC0 establishes iscsi connection with the virtualized disk a using the IP0, and regains the access right of the virtualized disk a. At this point, SC1 has disconnected the iscsi connection with virtualized disk a, and actively relinquishes access to virtualized disk a. The virtualized disk a still maintains a state that only one storage controller can access at the same time. Here, the storage controller SC0 needs to establish an iscsi connection with the virtualized disk a using this IP0 after the storage controller SC1 releases the IP 0. One preferred method is that after the storage controller SC1 releases IP0, the storage controller SC0 is notified that the IP0 address has been released, and after receiving this information, the storage controller SC0 establishes an iscsi connection with the virtualized disk a using IP 0.
The method determines the access affiliation of the virtualized disk A by establishing an iscsi connection with the virtualized disk A. At some point, which storage controller established an iscsi connection with the virtualized disk, the virtualized disk is owned for access by that storage controller. Compared with the mode of recording the attribution information in the virtualized disk, the scheme of the invention is simple and is not easy to make mistakes, and the data security can be effectively ensured.
In addition, the control of the iscsi connection establishment is also simple and convenient: initially, determining which storage controller is connected with a certain virtualized disk in an iscsi mode through a configuration mode; after the configured storage controller fails, the IP address of the iscsi connection established before the failed storage controller drifts to another storage controller in the double-control relationship, the previously established iscsi connection is disconnected, and the other storage controller establishes iscsi connection with the virtualized disk by using the drifted IP address, so that only one storage controller establishes iscsi connection with the virtualized disk at the same time, namely, the same virtualized disk is ensured to belong to only one storage controller at a certain time.
In a preferred embodiment of the present invention, writing of the state information of the memory controllers in the shared area of the memory controllers SC0 and SC1 may be added on the basis of the above-described method. After the storage controller SC0 establishes iscsi connection with the virtualized disk by using the IP0 address, the state of the record SC0 in the shared area is "single control not switched", and the state of the record SC1 is "single control not switched"; when the storage controller SC0 fails, and the storage controller SC1 establishes iscsi connection with the virtualized disk using the IP0 address, the state of the storage controller SC0 in the shared area is recorded as "taken over", and the state of the storage controller SC1 is recorded as "taken over".
After recording the status information of each storage controller in the shared area, the storage controller may determine whether to load the IP0 according to the respective status information, and establish an iscsi connection with the virtualized disk using the IP 0. Specifically, after the storage controller SC0 is restarted, if the state of the storage controller SC0 is read as "single control not switched", the IP0 address is loaded, and an iscsi connection is established between the IP0 address and the virtualized disk serving as the target end, so as to obtain the access control authority of the virtualized disk; after the storage controller SC0 is restarted, if the state of the storage controller SC0 is read as "taken over", the IP0 address is not loaded until a notification that the IP0 address sent by the storage controller SC1 is released or a command for loading the IP0 address by human intervention is received, the IP0 is not loaded, and iscsi connection is established with the virtualized disk by using the IP0 address.
After the storage controller SC1 is restarted, if the self state in the shared area is read as 'single control un-switched', the IP0 address is not loaded; after the storage controller SC1 is restarted, if the self state in the shared area is read as 'take over', whether the SC0 fails or not is judged, if the SC0 fails, the IP0 address is not loaded, a notice that the IP0 is released is sent to the storage controller SC0, and if the SC0 address fails, the IP0 is loaded, and iscsi connection is established with the virtualized disk.
This is described in detail below by way of some examples. The storage controller SC0 establishes iscsi connection with the virtualized disk by using IP0, and when SC1 does not take over SC0, the states of record SC0 and SC1 in the shared area are both 'single control not switched'; at this time, if SC0 and SC1 are powered down at the same time (for example, under the condition of single power control), after SC0 and SC1 are powered on and restarted, the state information in the shared area is read by the storage controllers SC0 and SC1, at this time, the state information is in an SC0 "single control unswitched" state, the storage controller SC0 establishes iscsi connection with the virtualized disk by using an IP0 address, and obtains the access control right of the virtualized disk; while storage controller SC1 does not establish an iscsi connection with the virtualized disk using the IP0 address.
When the storage controller SC0 fails and the storage controller SC1 takes over the SC0, the storage controller SC1 writes the 'taken over' state of the storage controller SC0 into the shared area, and also writes the 'taken over' state of the storage controller SC0 into the shared area; at this time, if the storage controller SC1 also fails, subsequently when the storage controllers SC0 and SC1 are restarted at the same time, SC0 and SC1 read the state information in the shared area, respectively. After the storage controller SC0 reads the self 'taken over' state, the IP0 is not loaded; the storage controller SC1 reads the self 'take over' state, and when the storage controller SC0 is sensed to be recovered to normal, the storage controller SC0 is informed that the IP0 address is released, after the storage controller SC0 receives the information, the IP0 is loaded, and the ISCSi connection is established with the virtual disk A by using the IP0, and then the states of the storage controllers SC0 and SC1 in the shared area are both modified into 'single control un-switching'.
When the storage controller SC0 fails and the storage controller SC1 takes over the SC0, the storage controller SC1 writes the 'taken over' state of the storage controller SC0 into the shared area, and also writes the 'taken over' state of the storage controller SC0 into the shared area; at this time, if the storage controller SC1 also fails, then when the storage controller SC0 recovers from the failure first, it reads its own "taken over" state in the shared area, and does not load IP 0; if the preset time is exceeded, the notification that the IP0 sent by the SC1 is released from the SC1 is not received (for example, the SC1 has not recovered from the failure), an alarm notification is sent, and the SC0 is manually intervened to load the IP0 and establish connection with the virtualized disk by using the IP 0.
When the storage controller SC0 fails and the storage controller SC1 takes over the SC0, the storage controller SC1 writes the 'taken over' state of the storage controller SC0 into the shared area, and also writes the 'taken over' state of the storage controller SC0 into the shared area; at this time, if the storage controller SC1 also fails and the subsequent storage controller SC1 recovers from the failure first, SC1 reads the "takeover" state of itself in the shared area, and when it is sensed that the storage controller SC0 does not recover to normal, loads IP0 and establishes iscsi connection with the virtualized disk using IP 0. The status of SC0 "taken over" and the status of SC1 "taken over" are still recorded in the shared area.
When the storage controller SC0 fails and the storage controller SC1 takes over the SC0, the storage controller SC1 writes the 'taken over' state of the storage controller SC0 into the shared area, and also writes the 'taken over' state of the storage controller SC0 into the shared area; subsequently, the storage controller SC0 recovers from the failure, and after reading the "taken over" status of itself in the shared area, it does not load the IP0 until receiving the IP0 sent by the storage controller SC1 and releasing the IP0, and establishes a connection with the virtualized disk using the IP 0.
It should be noted that the shared area is a power-off protected shared area, such as a nonvolatile memory.
As can be seen from the above embodiments, the technology of the present invention realizes the access right to the virtualized disk by the storage controller in a simple and convenient manner; in addition, the problems noted in the background are avoided by not having to record their attribution in the virtualized disk. The mode of recording the states of the double-control storage controllers in the shared area enables the two storage controllers to perform relevant processing according to the respective states recorded in the shared area after the two storage controllers fail, and avoids simultaneously executing access control on the virtualized disk.
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, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A double control switching method for supporting a virtualized disk is applied to a storage system, and the storage system comprises: a first storage controller and a second storage controller; the method is characterized by comprising the following steps:
initially, a first storage controller is used as an initializer end, and an iscsi connection is established between a first IP address and a virtualized disk used as a target end to obtain the access control authority of the virtualized disk;
when the first storage controller fails, the second storage controller serving as a terminal end serves as an initiatier end, a first IP address is loaded, iscsi connection is established between the first IP address and the virtualized disk serving as a target end, and access control authority of the virtualized disk is obtained;
when the first storage controller is recovered from the fault, the second storage controller disconnects the iscsi connection established with the virtualized disk, releases the first IP address, loads the first IP address by the first storage controller, and establishes the iscsi connection with the virtualized disk by using the first IP address to obtain the access control authority of the virtualized disk.
2. The method of claim 1, further comprising:
when the first storage controller is recovered from the fault, the second storage controller disconnects iscsi connection established with the virtualized disk, and sends a notification of releasing the first IP address to the first storage controller after releasing the first IP address; and after receiving the notification, the first storage controller loads the first IP address, establishes iscsi connection with the virtualized disk by using the first IP address, and obtains the access control authority of the virtualized disk.
3. The method of claim 2, wherein the storage system further comprises a shared area for recording the states of the first and second storage controllers; the method further comprises the following steps:
after the first storage controller establishes iscsi connection with the virtualized disk by using the first IP address, recording the state of the first storage controller in the shared area as 'single control un-switched' and recording the state of the second storage controller as 'single control un-switched';
after the first storage controller fails and the second storage controller establishes iscsi connection with the virtualized disk by using the first IP address, the state of the first storage controller is recorded as 'taken over' in the shared area, and the state of the second storage controller is recorded as 'taken over'.
4. The method of claim 3, further comprising:
after the first storage controller is restarted, if the self state in the shared area is read to be 'single control non-switching', loading a first IP address, and establishing iscsi connection with the virtualized disk serving as a target end by using the first IP address to obtain the access control authority of the virtualized disk;
after the first storage controller is restarted, if the self state in the shared area is read to be 'taken over', the first IP address is not loaded until a notice that the first IP address sent by the second storage controller is released or a command for loading the first IP address by human intervention is received, and iscsi connection is established between the first IP address and the virtualized disk.
5. The method of claim 4, further comprising:
after the second storage controller is restarted, if the self state in the shared area is read to be 'single control non-switching', the first IP address is not loaded;
and after the second storage controller is restarted, if the self state in the shared area is read to be 'take over', judging whether the first storage controller fails, if not, not loading the first IP address, sending a notice that the first IP address is released to the first storage controller, if so, loading the first IP address, and establishing iscsi connection with the virtualized disk by using the first IP address.
6. A virtualized disk dually-switched storage system, the storage system comprising: a first storage controller and a second storage controller; it is characterized in that the preparation method is characterized in that,
initially, the first storage controller is used as an initializer end, and an iscsi connection is established between a first IP address and a virtualized disk used as a target end to obtain the access control authority of the virtualized disk;
when the first storage controller fails, the second storage controller serving as a terminal end serves as an initiatier end, a first IP address is loaded, iscsi connection is established between the first IP address and the virtualized disk serving as a target end, and access control authority of the virtualized disk is obtained;
when the first storage controller is recovered from the fault, the second storage controller disconnects the iscsi connection established with the virtualized disk, releases the first IP address, and establishes the iscsi connection with the virtualized disk by using the first IP address through the first storage controller to obtain the access control authority of the virtualized disk.
7. The storage system of claim 6, wherein when the first storage controller fails back, the second storage controller disconnects iscsi connection established with the virtualized disk and sends a notification to the first storage controller to release the first IP address after releasing the first IP address; and after receiving the notification, the first storage controller loads the first IP address, establishes iscsi connection with the virtualized disk by using the first IP address, and obtains the access control authority of the virtualized disk.
8. The storage system of claim 7, further comprising a shared area for recording the states of the first and second storage controllers;
after the first storage controller establishes iscsi connection with the virtualized disk by using the first IP address, recording the state of the first storage controller in the shared area as 'single control un-switched' and recording the state of the second storage controller as 'single control un-switched';
after the first storage controller fails and the second storage controller establishes iscsi connection with the virtualized disk by using the first IP address, the state of the first storage controller is recorded as 'taken over' in the shared area, and the state of the second storage controller is recorded as 'taken over'.
9. The storage system of claim 8,
after the first storage controller is restarted, if the self state in the shared area is read to be 'single control non-switching', loading a first IP address, and establishing iscsi connection with the virtualized disk serving as a target end by using the first IP address to obtain the access control authority of the virtualized disk;
after the first storage controller is restarted, if the self state in the shared area is read to be 'taken over', the first IP address is not loaded until a notice that the first IP address sent by the second storage controller is released or a command for loading the first IP address by human intervention is received, and iscsi connection is established between the first IP address and the virtualized disk.
10. The storage system of claim 9,
after the second storage controller is restarted, if the self state in the shared area is read to be 'single control non-switching', the first IP address is not loaded;
and after the second storage controller is restarted, if the self state in the shared area is read to be 'take over', judging whether the first storage controller fails, if not, not loading the first IP address, sending a notice that the first IP address is released to the first storage controller, if so, loading the first IP address, and establishing iscsi connection with the virtualized disk by using the first IP address.
CN201510394716.9A 2015-07-02 2015-07-02 Method and storage system for supporting double-control switching of virtualized disk Active CN105159846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510394716.9A CN105159846B (en) 2015-07-02 2015-07-02 Method and storage system for supporting double-control switching of virtualized disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510394716.9A CN105159846B (en) 2015-07-02 2015-07-02 Method and storage system for supporting double-control switching of virtualized disk

Publications (2)

Publication Number Publication Date
CN105159846A CN105159846A (en) 2015-12-16
CN105159846B true CN105159846B (en) 2020-01-14

Family

ID=54800707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510394716.9A Active CN105159846B (en) 2015-07-02 2015-07-02 Method and storage system for supporting double-control switching of virtualized disk

Country Status (1)

Country Link
CN (1) CN105159846B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678891B (en) * 2017-10-13 2021-06-29 郑州云海信息技术有限公司 Double control method and device of storage system and readable storage medium
CN108459971A (en) * 2018-03-19 2018-08-28 国云科技股份有限公司 A kind of cloud disk performance acceleration method for sharing equipment based on desktop cloud
CN110034951A (en) * 2019-03-06 2019-07-19 平安科技(深圳)有限公司 The failure switching method and iSCSI major heading device of iscsi target device
CN113301090B (en) * 2020-07-29 2024-03-29 阿里巴巴集团控股有限公司 Storage system access method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984490A (en) * 2012-12-28 2013-03-20 浙江宇视科技有限公司 Network video recorder

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944785B2 (en) * 2001-07-23 2005-09-13 Network Appliance, Inc. High-availability cluster virtual server system
CN101651559B (en) * 2009-07-13 2011-07-06 浪潮电子信息产业股份有限公司 Failover method of storage service in double controller storage system
CN102426512A (en) * 2011-11-09 2012-04-25 浪潮电子信息产业股份有限公司 Realizing method for storing double-control disk array based on virtualization
CN104731727B (en) * 2015-03-25 2017-05-31 浪潮集团有限公司 A kind of dual control storage system monitoring management system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984490A (en) * 2012-12-28 2013-03-20 浙江宇视科技有限公司 Network video recorder

Also Published As

Publication number Publication date
CN105159846A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
US9632884B2 (en) Maintaining computer system operability
US10353790B1 (en) Disaster recovery rehearsals
CN105159846B (en) Method and storage system for supporting double-control switching of virtualized disk
WO2016202051A1 (en) Method and device for managing active and backup nodes in communication system and high-availability cluster
US9015519B2 (en) Method and system for cluster wide adaptive I/O scheduling by a multipathing driver
CN105933391A (en) Node capacity expansion method, device and system
CN108984349B (en) Method and device for electing master node, medium and computing equipment
US8788724B2 (en) Storage device to provide access to storage resources over a data storage fabric
US8732429B2 (en) Preserving a deleted data volume
CN106888111B (en) A method of solving dual computer group FC-SAN switching
US9841923B2 (en) Storage apparatus and storage system
US10409999B2 (en) Communication between key manager and storage subsystem kernel via management console
US10560496B2 (en) Automatic registration of devices
CN108512753B (en) Method and device for transmitting messages in cluster file system
CN113821168A (en) Shared storage migration system and method, electronic equipment and storage medium
CN111342986B (en) Distributed node management method and device, distributed system and storage medium
CN101923442B (en) Caching data synchronous system and method in process of accessing iSCSI (Internet Small Computer System Interface) storage device
US8819481B2 (en) Managing storage providers in a clustered appliance environment
CN109286583B (en) Method, device, equipment and storage medium for managing network ports of controller
US11144341B2 (en) Management apparatus and management method
CN111352574A (en) Path switching method and device and computer readable storage medium
US9535806B1 (en) User-defined storage system failure detection and failover management
CN102833096A (en) Method and device for implementation of low-cost high-availability system
JP2019197352A (en) Service continuing system and service continuing method
KR101694978B1 (en) Network option apparatus and the operating method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant