CN103561064A - Method and device for LUN switching - Google Patents

Method and device for LUN switching Download PDF

Info

Publication number
CN103561064A
CN103561064A CN201310500986.4A CN201310500986A CN103561064A CN 103561064 A CN103561064 A CN 103561064A CN 201310500986 A CN201310500986 A CN 201310500986A CN 103561064 A CN103561064 A CN 103561064A
Authority
CN
China
Prior art keywords
main frame
storage array
lun
handover request
authority
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.)
Granted
Application number
CN201310500986.4A
Other languages
Chinese (zh)
Other versions
CN103561064B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310500986.4A priority Critical patent/CN103561064B/en
Publication of CN103561064A publication Critical patent/CN103561064A/en
Application granted granted Critical
Publication of CN103561064B publication Critical patent/CN103561064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method and device for LUN switching. According to the method and device for LUN switching, the ping-pong effect can be prevented, the burden of a storage array can be reduced, and service performance can be improved. The method for LUN switching comprises the steps that a host can send a switching application message with the ID of the host and the priority class of the host to the storage array; the storage array can return a switching application reply message to the host according to the priority class of the host; the host judges whether the host obtains the LUN switching permission according to the switching application reply message; the host which obtains the LUN switching permission can send an LUN switching instruction to the storage array so that switching can be carried out on an LUN according to the LUN switching instruction.

Description

The method and apparatus that a kind of LUN switches
Technical field
The present invention relates to the communications field, relate in particular to a kind of LUN(Logical Unit Number, LUN) method and apparatus that switches.
Background technology
Under cluster environment, a plurality of main frames can use a LUN in storage array jointly, and storage array distributes a plurality of storage controls can to a LUN, and main frame can carry out read-write operation to LUN by one of them storage control.
At two main frames, share in the scene of a LUN, described LUN is assigned two storage controls (storage control A and storage control B).When the first-selected link occurs fault of main frame 1, main frame 1 can send LUN switching command to storage array, and storage array can be switched to LUN the storage control B of main frame 1 reserve link opposite end from the storage control A of the first-selected link of main frame 1 opposite end.And now for main frame 2, its first-selected link fault-free occur, main frame 2 need to be by the read-write operation of first-selected link-attached storage control A to LUN with it, therefore main frame 2 will send LUN switching command to storage array, storage array can be switched to LUN on storage control A again.Now the fault of main frame 1 is not recovered, main frame 1 will send LUN switching command to storage array again, storage array can be switched to LUN on storage control B again, and main frame 2 also can send the requirement of LUN switching command again, LUN is switched on storage control A, so just cause storage array to switch back and forth LUN, form ping-pong.
Summary of the invention
The method and apparatus that embodiments of the invention provide a kind of LUN to switch, can avoid storage array LUN to be switched back and forth to the ping-pong of generation.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, discloses a kind of method that LUN switches, and described method is applied in storage system, and described storage system comprises storage array and main frame, comprising:
Described main frame sends handover request message to described storage array, and described handover request message comprises the priority level of described main frame;
Described main frame receives the handover request reply message that described storage array returns according to described priority level;
Described main frame is replied message according to described handover request and is determined that described main frame obtains LUN and switches authority;
Described main frame sends LUN switching command to described storage array, makes described storage array carry out LUN switching.
In conjunction with first aspect, in the possible implementation of the first, according to the connection of the controller of the described main frame input and output IO that storage array sends described in forward direction request and described main frame and described storage array, determine the priority level of described main frame.
In conjunction with the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second, the priority level of described main frame, is followed successively by from high to low: the first estate, the second grade, the tertiary gradient, the fourth estate;
When described main frame when storage array described in forward direction send input and output IO and only with described storage array in a storage control while connecting, the priority level of described main frame is the first estate;
When described main frame sends IO and when two storage controls in described storage array are connected, described host priority grade is the second grade when storage array described in forward direction;
When described main frame is current, to described storage array, do not send IO and when a storage control in described storage array is connected, described host priority grade is the tertiary gradient;
When described main frame is current, to described storage array, do not send IO and when two storage controls in described storage array are connected, described host priority grade is the fourth estate.
The possible implementation of the second in conjunction with the possible implementation of the first of first aspect, first aspect or first aspect, in the third possible implementation, the ID that also comprises described main frame in described handover request message, described handover request is replied and in message, is carried application ID, and described application ID is the ID of the main frame that the highest grade of handover request message medium priority that receives of described storage array;
Describedly according to described handover request, reply message and determine that described main frame obtains LUN and switches authority, comprising:
When described application ID is the ID of described main frame, described main frame obtains LUN switching authority.
In conjunction with first aspect, in the 4th kind of possible implementation, described main frame is replied message according to described handover request and is determined that described main frame does not obtain LUN and switches authority;
The default time delay in described main frame interval sends described handover request message to described storage array again.
In conjunction with first aspect, in the 5th kind of possible implementation, described main frame is after described storage array sends LUN switching command, and described method also comprises:
Described main frame periodically maintains message to described storage array sending permission, so that described storage array in the situation that the priority of described other main frames in the handover request message that other main frames send lower than the priority of described main frame, the described LUN that maintains described main frame switches authority.
Second aspect, discloses a kind of method that LUN switches, and described method is applied in storage system, and described storage system comprises storage array and main frame, comprising:
Described storage array receives the handover request message that described main frame sends, and described handover request message comprises the priority level of described main frame;
Described storage array judges whether the priority level of main frame described in described handover request message is greater than the request priority grade of record;
If be greater than, described storage array is updated to the request priority grade of described record the priority level of described main frame, and to described main frame, return to handover request and reply message, described handover request is replied message and is used to indicate described main frame acquisition LUN switching authority;
Described storage array receives and obtains the LUN switching command that LUN switches the main frame transmission of authority, carries out LUN switching.
In conjunction with second aspect, in the possible implementation of the first, the ID that also comprises the described main frame of described main frame in described handover request message, after described storage array judges whether the priority level of main frame described in described handover request message is greater than the request priority grade of record, described method also comprises:
If be greater than, described storage array is updated to the application ID of record the ID of described main frame; If be less than or equal to, described storage array not more the request priority grade of new record and application ID;
Described storage array returns to the handover request reply message that carries described application ID to described main frame, so that described main frame is replied message according to described handover request, judge whether to obtain LUN switching authority.
In conjunction with second aspect, in the possible implementation of the second, the authority that described storage array receives the main frame transmission that obtains LUN switching authority maintains message, and in the situation that the priority level of described other main frames in the handover request message that other main frames send switches the priority level of the main frame of authority lower than described acquisition LUN, the LUN that maintains the main frame of described acquisition LUN switching authority switches authority.
The third aspect, discloses a kind of main frame, comprising:
Transmitting element, for sending handover request message to described storage array, described handover request message comprises the priority level of described main frame;
Receiving element, the handover request reply message of returning according to described priority level for receiving described storage array;
Determining unit, replys message for the described handover request receiving according to described receiving element and determines that described main frame obtains LUN and switches authority;
Described transmitting element also for, when described determining unit determines that described main frame obtains described LUN and switches authority, to described storage array, send LUN switching command, make described storage array carry out LUN switching.
In conjunction with the third aspect, in the possible implementation of the first, according to the connection of the controller of the described main frame input and output IO that storage array sends described in forward direction request and described main frame and described storage array, determine the priority level of described main frame.
In conjunction with the possible implementation of the first of the third aspect or the third aspect, in the possible implementation of the second, the priority level of described main frame, is followed successively by from high to low: the first estate, the second grade, the tertiary gradient, the fourth estate;
When described main frame when storage array described in forward direction send input and output IO and only with described storage array in a storage control while connecting, the priority level of described main frame is the first estate;
When described main frame sends IO and when two storage controls in described storage array are connected, described host priority grade is the second grade when storage array described in forward direction;
When described main frame is current, to described storage array, do not send IO and when a storage control in described storage array is connected, described host priority grade is the tertiary gradient;
When described main frame is current, to described storage array, do not send IO and when two storage controls in described storage array are connected, described host priority grade is the fourth estate.
The possible implementation of the second in conjunction with the possible implementation of the first of the third aspect, the third aspect or the third aspect, in the third possible implementation, the ID that also comprises described main frame in described handover request message, described handover request is replied and in message, is carried application ID, and described application ID is the ID of the main frame that the highest grade of handover request message medium priority that receives of described storage array;
When described determining unit is replied described application ID in message and is the ID of described main frame specifically for, the handover request receiving at described receiving element, determine that described main frame obtains LUN switching authority.
In conjunction with the third aspect, in the 4th kind of possible implementation, described determining unit also for, the described handover request receiving according to described receiving element is replied message and is determined that described main frame does not obtain LUN and switches authority;
Described transmitting element also for, when described determining unit determines that described main frame does not obtain described LUN and switches authority, the default time delay in interval sends described handover request message to described storage array again.
In conjunction with the third aspect, in the 5th kind of possible implementation, described transmitting element also for, after described storage array sends LUN switching command, periodically to described storage array sending permission, maintain message, so that described storage array in the situation that the priority of described other main frames in the handover request message that other main frames send lower than the priority of described main frame, the described LUN that maintains described main frame switches authority.
Fourth aspect, discloses a kind of storage array, comprising:
Receiving element, the handover request message sending for receiving described main frame, described handover request message comprises the priority level of described main frame;
Judging unit, for judging whether the priority level of main frame described in the described handover request message that described receiving element receives is greater than the request priority grade of record;
Processing unit, for when described judging unit judges that the priority level of main frame described in described handover request message is greater than the request priority grade of record, the request priority grade of described record is updated to the priority level of described main frame, and to described main frame, return to handover request and reply message, described handover request is replied message and is used to indicate described main frame acquisition LUN switching authority;
Described receiving element also for, receive to obtain the LUN switching command that main frame that LUN switches authority sends;
Switch unit, after the LUN switching command sending, carries out LUN switching for the main frame in the described acquisition of described receiving element reception LUN switching authority.
In conjunction with fourth aspect, in the possible implementation of the first, in described handover request message, also comprise the ID of the described main frame of described main frame,
Described processing unit also for, after described judging unit judges that the priority level of main frame described in described handover request message is greater than the request priority grade of record, the application ID of record is updated to the ID of described main frame; After described judging unit judges that the priority level of main frame described in described handover request message is less than or equal to the request priority grade of record, not more the request priority grade of new record and application ID;
Described processing unit also for, to described main frame, return to the handover request that carries described application ID and reply message so that described main frame is replied message according to described handover request, judge whether to obtain LUN and switch authority.
In conjunction with fourth aspect, in the possible implementation of the second, also comprise and maintain unit,
Described receiving element also for, receive to obtain the authority that main frame that LUN switches authority sends and maintain message;
Described maintain unit specifically for, in the situation that the priority level of described other main frames in the handover request message of other main frames transmissions that described receiving element receives switches the priority level of the main frame of authority lower than described acquisition LUN, maintain the LUN switching authority that described acquisition LUN switches the main frame of authority.
The method and apparatus that the LUN that the embodiment of the present invention provides switches, the handover request message that main frame can send to storage array to carry the priority level of described host id and described main frame, described storage array can switch authority by LUN gives the main frame that priority level is the highest.Priority level is less than or equal to the main frame of priority level that the current LUN of having switches the main frame of authority and can not obtains LUN and switch authority, only have the main frame that obtains LUN switching authority to send LUN switching command to described storage array, make described storage array carry out LUN switching, described like this storage array just can only obtain the LUN switching command that LUN switches the main frame transmission of authority, and can be as in prior art, receive the LUN switching command of a plurality of main frames, described LUN is switched back and forth, avoid the generation of ping-pong.
In addition, storage array returns to handover request reply message can to the main frame that does not obtain LUN switching authority, at main frame, according to described handover request reply message, judge and oneself do not obtain described LUN switching authority, can to described storage array, send described handover request message more for a long time in interval, just can frequently as in prior art to storage array, not send LUN switching command, the burden that has so just alleviated storage array, has improved service feature.
Accompanying drawing explanation
The storage system Organization Chart that Fig. 1 provides for the embodiment of the present invention;
The method flow schematic diagram that a kind of LUN that Fig. 2 provides for the embodiment of the present invention 1 switches;
The method flow schematic diagram that the another kind of LUN that Fig. 3 provides for inventive embodiments 1 switches;
The method flow schematic diagram that a kind of LUN that Fig. 4 provides for inventive embodiments 2 switches;
The structured flowchart of a kind of main frame that Fig. 5 provides for inventive embodiments 3;
The structured flowchart of a kind of storage array that Fig. 6 provides for inventive embodiments 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The method that the LUN that the embodiment of the present invention provides switches, be applied in storage system, described storage system comprises storage array and main frame, in described storage system, a plurality of main frames can use a LUN in storage array jointly, storage array distributes a plurality of SP (Storage Processor to a LUN, storage control), main frame can carry out read-write operation to LUN by one of them SP.In order to improve the reliability of transfer of data, between main frame and storage array, adopt multilink to be connected, main frame can be connected with a SP-SPA in storage array by first-selected link conventionally, by reserve link, is connected with another SP-SPB.Conventionally, the working controller of LUN is and the link-attached SPA of first-selection, main frame can be by the IO(Input Output on first-selected link, input and output) by SPA, be transferred to LUN, LUN is carried out to read-write operation, and when first-selected link occurs fault, main frame can be switched to IO on reserve link, send LUN switching command to storage array, storage array is switched to LUN SPB from SPA after receiving this LUN switching command simultaneously; After first-selected link-recovery, will the choice for use first-selected link of main frame, is switched to first-selected link again by IO, sends LUN switching command to storage array simultaneously, and storage array can be switched to LUN SPA from SPB.
As shown in Figure 1, if main frame 1 shares a LUN with main frame 2.Between two main frames and storage array, all adopt two links of first-selected link and reserve link to be connected, by first-selected link, be connected with a SP-SPA in storage array, by reserve link, be connected with another SP-SPB.Conventionally, the working controller of LUN is and the link-attached SPA of first-selection that main frame can be transferred to LUN by SPA by the IO application on first-selected link, and LUN is carried out to read-write operation.
For main frame 1, when first-selected link 1 breaks down, main frame 1 can be switched to IO application the reserve link 2 of main frame 1 from first-selected link 1, sends LUN switching command to storage array simultaneously, and storage array is switched to LUN SPB from SPA after receiving this LUN switching command; After the first-selected link-recovery of main frame 1, will the choice for use first-selected link 1 of main frame, is switched to first-selected link again by IO, sends LUN switching command to storage array simultaneously, and storage array can be switched to LUN SPA from SPB.
Or for main frame 2, the SP of first-selected link 3 opposite ends is SPA, main frame 2 does not break down, so the preferential SPB of first-selected link 3 and first-selected link opposite end that selects of main frame 2 carries out read-write operation to LUN.When main frame 1 breaks down, storage array is by LUN after SPA is switched to SPB, and the SP that main frame 2 detects under current LUN is that SPB is not SPA, also can send handover request order to described storage array, requires described LUN to be switched on SPA.
Embodiment 1:
A kind of method that the embodiment of the present invention provides LUN to switch, executive agent is main frame, as shown in Figure 2, said method comprising the steps of:
201, described main frame sends handover request message to described storage array, and described handover request message comprises the priority level of described main frame.
Main frame is when carrying out read-write operation to LUN, when if the SP of first-selected link and connection thereof is normal, described main frame all can be selected, by the SP of first-selected link and connection thereof, LUN is carried out to read-write operation, now will guarantee to select link-attached SP headed by the affiliated SP of LUN.
When the first-selected link occurs fault of described main frame, described main frame can be by IO from described first-selected link switching to reserve link, simultaneously also will be by described LUN from being switched on the SPB being connected with reserve link with the link-attached SPA of first-selection.Now described main frame just need to carry out LUN switching.
Or, when the first-selected link of described main frame and reserve link are all normal, described Host Detection belongs to when inconsistent to the work of LUN, be that the SP of LUN under current be not while being the link-attached SP of first-selection of described main frame, described main frame just need to carry out LUN switching, requires described LUN to be switched to from the SP under current the link-attached SP of first-selection of described main frame.
When described main frame need to carry out LUN switching, described main frame will send handover request message to storage array, to described storage array application, obtain LUN and switch authority, wherein, described handover request message comprises the ID of described main frame and the priority level of described main frame, the priority level of described main frame is that described main frame and described storage array pre-establish according to certain rule, optionally, the priority level of described main frame is that the connection of the controller of the IO request that sent when storage array described in forward direction according to described main frame by described main frame and described storage array and described main frame and described storage array is formulated, example, the priority level that sends the main frame of IO request when storage array described in forward direction does not send to described storage array the main frame that IO asks higher than current, at described main frame, work as on the basis that described in forward direction, storage array transmission IO request situation is identical, the host priority that the number of the storage array controllers of the current connection of main frame is few is higher.Described main frame has different priority levels different in the situation that, and described like this storage array just can, according to the priority level of described main frame, allow the high main frame of priority level obtain LUN and switch authority.
Here, also comprise the ID of the described main frame of described main frame in described handover request message, so that in the priority of described main frame during higher than the priority of described storage array record, described storage array can be updated to the application ID of record the ID of described main frame.
202, described main frame receives the handover request reply message that described storage array returns according to described priority level.
Described storage array can determine whether that allowing described main frame obtain LUN switches authority, then returns to handover request to described main frame and replys message according to the priority level of described main frame.
203, described main frame determines that according to described handover request reply message described main frame obtains LUN and switches authority.
The content of carrying in message is replied in described handover request can make described main frame judge whether it obtains LUN and switch authority.
Optionally, described handover request is replied in message can carry a flag, if described flag is 1, shows that described main frame obtains described LUN and switches authority, if described flag is 0, shows that described main frame does not obtain described LUN and switches authority.The flag that described main frame can be replied in message according to described handover request judges whether it obtains LUN and switch authority.
Or optional, described handover request is replied in message can carry application ID, described application ID is the ID of the main frame that the highest grade of handover request message medium priority that receives of described storage array; Affiliated main frame receives described handover request and replys after message, if described application ID is the ID of described main frame, described main frame obtains LUN switching authority; If described application ID is not the ID of described main frame, described main frame does not obtain LUN switching authority.The application ID that described main frame can be replied in message according to described handover request judges whether it obtains LUN and switch authority.Certainly, described handover request is replied message and can also be carried other guide and show whether described main frame obtains LUN and switch authority, at this, does not limit.
If obtaining described LUN, described main frame switches authority, carry out step 104, if described main frame obtains described LUN, do not switch authority, described main frame can temporarily not send handover request message to described storage array, when default at interval, delay and again carries out step 201-202.Default time delay described here decides through consultation in advance according to actual conditions, during than the request of the untreated described main frame of described storage array described in main frame frequently to described storage array, send request, the time used is long.
204, described main frame sends LUN switching command to described storage array, makes described storage array carry out LUN switching.
Described main frame only, after judging the described LUN switching of oneself acquisition authority, could send LUN switching command to described storage array, and described storage array receives after LUN switching command, will carry out LUN switching.
Described main frame obtains LUN and switches authority, and after described storage array sends LUN switching command, described main frame can periodically maintain message to described storage array sending permission, so that described storage array in the situation that the priority of described other main frames in the handover request message that other main frames send lower than the priority of described main frame, the described LUN that maintains described main frame switches authority.
Certainly, the main frame that obtains LUN switching authority can not held described LUN switching authority always, and described main frame can initiatively discharge described LUN and switch authority or be forced to discharge described LUN switching authority.
When the first-selected link of described main frame breaks down, after described storage array application obtains LUN switching authority, if the first-selected link-recovery of described main frame is normal, described main frame can switch back to described first-selected link from described reserve link by described IO, and to described storage array, send described LUN switching command, make described storage array by described LUN switch back to the link-attached SP of described first-selection on.At this moment, the main frame that described acquisition LUN switches authority will initiatively discharge described LUN and switch authority to described storage array sending permission cancellation order, so that described storage array also discharges the LUN of described main frame, switches authority.
Or, described storage array can receive the handover request message that other main frames send, if the priority of described other main frames in the handover request message that other main frames send is switched the priority of the main frame of authority higher than described acquisition LUN, the LUN that described storage array will discharge described main frame switches authority, the authority sending to the main frame that obtains LUN switching authority maintains invalid message, notifies described main frame to discharge described LUN and switches authority.
Or, obtain the main frame of LUN switching authority after there are abnormal conditions, surpass Preset Time and to described storage array sending permission, do not maintain message, like this, the LUN that described storage array will discharge described main frame switches authority.
Above-mentioned steps is all carried out under described storage array receives the prerequisite of LUN handover request of described main frame, if described storage array for example, due to inside busy or abnormal (current business pressure is larger), and cannot receive the LUN handover request of described main frame, described main frame will receive the application failure command that described storage array sends, and when described main frame is will interval default, delays and sends described handover request message to described storage array.
A kind of method that the embodiment of the present invention provides LUN to switch, executive agent is storage array, as shown in Figure 3, said method comprising the steps of:
301, the handover request message that storage array Receiving Host sends, described handover request message comprises the priority level of described main frame.
After the handover request message that described storage array Receiving Host sends, due to reasons such as inside busy or abnormal (larger such as current business pressure), described storage array can not be accepted handover request, now, described storage array will send application failure command to described main frame, when described main frame is will interval default, delays and sends described handover request message to described storage array.Default time delay described here decides through consultation in advance according to actual conditions, during than the request of the untreated described main frame of described storage array described in main frame frequently to described storage array, send request, the time used is long.
Here, the priority level of described main frame is that described main frame and described storage array pre-establish according to certain rule, optionally, the priority level of described main frame is that the connection of the controller of the IO request that sent when storage array described in forward direction according to described main frame by described main frame and described storage array and described main frame and described storage array is formulated.
Here, also comprise the ID of the described main frame of described main frame in described handover request message, so that in the priority of described main frame during higher than the priority of described storage array record, described storage array can be updated to the application ID of record the ID of described main frame.
302, described storage array judges whether the priority level of main frame described in described handover request message is greater than the request priority grade of record.
After the handover request message that described storage array Receiving Host sends, whether the priority level of main frame described in will more described handover request message is greater than the priority level of the main frame of current acquisition LUN authority, described storage array can, according to described priority level, allow the high main frame of priority level obtain LUN and switch authority.Described storage array returns to handover request according to the priority level of described main frame to described main frame and replys message, and the content of carrying in message is replied in described handover request can make described main frame judge whether it obtains LUN and switch authority.
Optionally, described handover request is replied in message can carry a flag, if the priority level of main frame described in described handover request message is greater than the priority level of the main frame of current acquisition LUN authority, it is 1 that the described flag of carrying in message is replied in the handover request that described storage array returns, after described Host Detection is 1 to described flag, will judge and obtain LUN switching authority, if the priority level of main frame described in described handover request message is less than or equal to the priority level of the main frame of current acquisition LUN authority, it is 0 that the described flag of carrying in message is replied in the handover request that described storage array returns, after described Host Detection is 0 to described flag, will judge and not obtain LUN switching authority, the flag that described main frame can be replied in message according to described handover request judges whether it obtains LUN and switch authority.
Or, optionally, if the priority level of main frame described in described handover request message is greater than the priority level of the main frame of current acquisition LUN authority, it is the ID of described main frame that the application ID carrying in message is replied in the handover request that described storage array returns, after the ID that described Host Detection is oneself to described application ID, will judge and obtain LUN switching authority.If the priority level of main frame described in described handover request message is less than or equal to the priority level of the main frame of current acquisition LUN authority, it is not the ID of described main frame that the application ID carrying in message is replied in the handover request that described storage array returns, after described Host Detection is not the ID of oneself to described application ID, will judges and not obtain LUN switching authority.
If 303 are greater than, described storage array is updated to the request priority grade of described record the priority level of described main frame, and to described main frame, returns to handover request and reply message.
Here, described handover request is replied message and is used to indicate described main frame acquisition LUN switching authority.
If 304 are less than or equal to, described storage array is more the request priority grade of new record and application ID not, and to described main frame, returns to handover request and reply message.
Here, described handover request reply message is used to indicate described main frame and does not obtain LUN switching authority.
305, described storage array receives and obtains the LUN switching command that LUN switches the main frame transmission of authority, carries out LUN switching.
If in step 302, described storage array judges that the priority level of main frame described in described handover request message is greater than the request priority grade of record, and the handover request of returning to described main frame reply message indicates this main frame to obtain LUN switching authority, this main frame will send LUN switching command to described storage array, described storage array receives the LUN switching command that this main frame sends, and carries out LUN switching.
During main frame obtains LUN switching authority, the authority that described storage array also can receive the main frame transmission that obtains LUN switching authority maintains message, and in the situation that the priority of described other main frames in the handover request message that other main frames send, lower than the priority of described main frame, maintains the LUN switching authority that described acquisition LUN switches the main frame of authority.
Certainly, the main frame that obtains LUN switching authority can not held described LUN switching authority always, and described main frame can initiatively discharge described LUN and switch authority or be forced to discharge described LUN switching authority, and detailed process has description in step 304, does not repeat them here.
The method that the LUN that the embodiment of the present invention provides switches, the handover request message that main frame can send to storage array to carry the priority level of described host id and described main frame, described storage array can switch authority by LUN gives the main frame that priority level is the highest.Priority level is less than or equal to the main frame of priority level that the current LUN of having switches the main frame of authority and can not obtains LUN and switch authority, only have the main frame that obtains LUN switching authority to send LUN switching command to described storage array, make described storage array carry out LUN switching, described like this storage array just can only obtain the LUN switching command that LUN switches the main frame transmission of authority, and can be as in prior art, receive the LUN switching command of a plurality of main frames, described LUN is switched back and forth, avoid the generation of ping-pong.
In addition, storage array returns to handover request reply message can to the main frame that does not obtain LUN switching authority, at main frame, according to described handover request reply message, judge and oneself do not obtain described LUN switching authority, can to described storage array, send described handover request message more for a long time in interval, just can frequently as in prior art to storage array, not send LUN switching command, the burden that has so just alleviated storage array, has improved service feature.
Embodiment 2:
A kind of method that the embodiment of the present invention provides LUN to switch, as shown in Figure 4, said method comprising the steps of:
401, main frame sends handover request message to storage array, and described handover request message comprises the priority level of described main frame.
After the handover request message that described storage array Receiving Host sends, due to reasons such as inside busy or abnormal (larger such as current business pressure), described storage array can not be accepted handover request, and at this moment, described storage array will send application failure command to described main frame.When described main frame is will interval default, delays again and send described handover request message to described storage array.Default time delay described here decides through consultation in advance according to actual conditions, during than the request of the untreated described main frame of described storage array described in main frame frequently to described storage array, send request, the time used is long.
If described storage array detect s own situation good after, determine to receive handover request, will carry out step 402-408.
Here, the priority level of described main frame is that described main frame and described storage array pre-establish according to certain rule, optionally, the priority level of described main frame is according to the connection of the controller of the described main frame input and output IO that storage array sends described in forward direction request and described main frame and described storage array and definite.Example, the priority level that sends the main frame of IO request when storage array described in forward direction does not send to described storage array the main frame that IO asks higher than current, at described main frame, on the basis that described in forward direction, storage array transmission IO request situation is identical, the host priority that the storage array controllers number of the current connection of main frame is few is higher.If 2 main frames can use a LUN in storage array jointly in storage system, and storage array distributes 2 SP to a LUN, 2 storage array controllers of the current connection of each main frame, the priority level of described main frame, is followed successively by: the first estate, the second grade, the tertiary gradient, the fourth estate from high to low.When described main frame when storage array described in forward direction send input and output IO and only with described storage array in a storage control while connecting, the priority level of described main frame is the first estate; When described main frame sends IO and when two storage controls in described storage array are connected, described host priority grade is the second grade when storage array described in forward direction; When described main frame is current, to described storage array, do not send IO and when a storage control in described storage array is connected, described host priority grade is the tertiary gradient; When described main frame is current, to described storage array, do not send IO and when two storage controls in described storage array are connected, described host priority grade is the fourth estate.
402, the handover request message that described storage array Receiving Host sends, and judge whether the priority level of main frame described in described handover request message is greater than the request priority grade of record.
In described storage array, record request priority grade with and the ID of corresponding main frame, when obtaining LUN without any main frame at present, switch authority, show that described storage array did not also receive the LUN switching authority that handover request message or described storage array have just discharged certain main frame before this, the request priority grade recording in described storage array is 0.When having a main frame to obtain LUN switching authority, the request priority grade recording in described storage array is exactly the priority level of this main frame, and the application ID of record is exactly the ID of this main frame.
After the handover request message that described storage array Receiving Host sends, will more described handover request message described in the priority level of main frame whether be greater than the request priority grade of record.
If be greater than, described storage array is updated to the request priority grade of record the priority level of described main frame, the application ID of record is updated to the ID of described main frame; If be less than or equal to, described storage array not more the request priority grade of new record and application ID.
If 403 are greater than, described storage array is updated to the request priority grade of described record the priority level of described main frame, and to described main frame, returns to handover request and reply message.
Here, described handover request is replied message and is used to indicate described main frame acquisition LUN switching authority.
If the priority level of main frame is greater than the request priority grade of record described in described handover request message, described storage array is updated to the request priority grade of record the priority level of described main frame, the application ID of record is updated to the ID of described main frame.At this moment it is the ID of described main frame that the application ID carrying in message is replied in the handover request that described storage array returns.
If 404 are less than or equal to, described storage array is more the request priority grade of new record and application ID not, and to described main frame, returns to handover request and reply message.
Here, described handover request reply message is used to indicate described main frame and does not obtain LUN switching authority.
If the priority level of main frame is less than the request priority grade of record described in described handover request message, described storage array not more the request priority grade of new record and application ID.At this moment it is not the ID of described main frame that the application ID carrying in message is replied in the handover request that described storage array returns, but the application ID of the original record of described storage array.
405, described main frame receives the handover request reply message that described storage array returns, and judges whether to obtain LUN switching authority according to described handover request reply message.
If the priority level of main frame is greater than the request priority grade of record described in the more described handover request message of described storage array, the ID that the described application ID in message is described main frame is replied in the described handover request that described main frame receives, and described main frame judgement has obtained LUN switching authority.
If the priority level of main frame is less than the request priority grade of record described in the more described handover request message of described storage array, the described handover request that described main frame receives is replied described in message and is applied for that ID is still the ID of main frame corresponding to the request priority grade of described storage array record, and described main frame judgement does not obtain LUN switching authority.
If obtaining described LUN, described main frame switches authority, carry out step 406, if described main frame obtains described LUN, do not switch authority, described main frame can temporarily not send handover request message to described storage array, when default at interval, delay and again carries out step 401-405.Default time delay described here decides through consultation in advance according to actual conditions, during than the request of the untreated described main frame of described storage array described in main frame frequently to described storage array, send request, the time used is long.
406, the main frame that obtains LUN switching authority, to described storage array transmission LUN switching command, makes described storage array carry out LUN switching.
Described main frame only, after judging the described LUN switching of oneself acquisition authority, could send LUN switching command to described storage array, and described storage array receives after LUN switching command, will carry out LUN switching.
407, described main frame periodically maintains message to described storage array sending permission.
Described main frame obtains LUN and switches authority, and after described storage array sends LUN switching command, described main frame can periodically maintain message to described storage array sending permission, the authority that described storage array receives the main frame transmission of described acquisition LUN switching authority maintains after message, can in the situation that the priority of described other main frames in the handover request message that other main frames send lower than the priority of described main frame, the described LUN that maintains described main frame switches authority.
408, discharge and obtained the LUN switching authority that LUN switches the main frame of authority.
The main frame that obtains LUN switching authority can not held described LUN switching authority always, can initiatively discharge described LUN and switch authority or be forced to discharge described LUN switching authority.
When the first-selected link of described main frame breaks down, after described storage array application obtains LUN switching authority, if the first-selected link-recovery of described main frame is normal, described main frame can switch back to described first-selected link from described reserve link by described IO, and to described storage array, send described LUN switching command, make described storage array by described LUN switch back to the link-attached SP of described first-selection on.At this moment, the main frame of described acquisition LUN switching authority will be nullified order to described storage array sending permission, initiatively discharge described LUN and switch authority, the LUN that described storage array also discharges this main frame switches authority, removes the application ID of record and the request priority grade of record is updated to 0.
Or, described storage array can receive the handover request message that other main frames send, if the priority of described other main frames in the handover request message that other main frames send is switched the priority of the main frame of authority higher than described acquisition LUN, the LUN that described storage array will discharge described main frame switches authority, the request priority grade of record is updated to the priority level of described other main frames, the application ID of record is updated to the ID of described other main frames, and the authority sending to main frame corresponding to original application ID maintains invalid message, notify this main frame to discharge described LUN and switch authority.
Or, obtain the main frame of LUN switching authority after there are abnormal conditions, surpass Preset Time and to described storage array sending permission, do not maintain message, like this, the LUN that described storage array will discharge described main frame switches authority, removes the application ID of record and the request priority grade of record is updated to 0.
The method that the LUN that the embodiment of the present invention provides switches, the handover request message that main frame can send to storage array to carry the priority level of described host id and described main frame, described storage array can switch authority by LUN gives the main frame that priority level is the highest.Priority level is less than or equal to the main frame of priority level that the current LUN of having switches the main frame of authority and can not obtains LUN and switch authority, only have the main frame that obtains LUN switching authority to send LUN switching command to described storage array, make described storage array carry out LUN switching, described like this storage array just can only obtain the LUN switching command that LUN switches the main frame transmission of authority, and can be as in prior art, receive the LUN switching command of a plurality of main frames, described LUN is switched back and forth, avoid the generation of ping-pong.
In addition, storage array returns to handover request reply message can to the main frame that does not obtain LUN switching authority, at main frame, according to described handover request reply message, judge and oneself do not obtain described LUN switching authority, can to described storage array, send described handover request message more for a long time in interval, just can frequently as in prior art to storage array, not send LUN switching command, the burden that has so just alleviated storage array, has improved service feature.
Embodiment 3:
The embodiment of the present invention provides a kind of main frame, as shown in Figure 5, comprises transmitting element 501, receiving element 502, determining unit 503.
Transmitting element 501, for sending handover request message to described storage array, described handover request message comprises the priority level of described main frame.Receiving element 502, the handover request reply message of returning according to described priority level for receiving described storage array.Determining unit 503, replys message for the described handover request receiving according to described receiving element 502 and determines that described main frame obtains LUN and switches authority.
Described transmitting element 501 also for, when described determining unit 503 determines that described main frame obtains described LUN and switches authority, to described storage array, send LUN switching command, make described storage array carry out LUN switching.
Here, according to the connection of the controller of the described main frame input and output IO that storage array sends described in forward direction request and described main frame and described storage array, determine the priority level of described main frame.And the priority level of described main frame, is followed successively by from high to low: the first estate, the second grade, the tertiary gradient, the fourth estate.When described main frame when storage array described in forward direction send input and output IO and only with described storage array in a storage control while connecting, the priority level of described main frame is the first estate; When described main frame sends IO and when two storage controls in described storage array are connected, described host priority grade is the second grade when storage array described in forward direction; When described main frame is current, to described storage array, do not send IO and when a storage control in described storage array is connected, described host priority grade is the tertiary gradient; When described main frame is current, to described storage array, do not send IO and when two storage controls in described storage array are connected, described host priority grade is the fourth estate.
The ID that also comprises described main frame in described handover request message, described handover request is replied and in message, is carried application ID, and described application ID is the ID of the main frame that the highest grade of handover request message medium priority that receives of described storage array.When described determining unit 403 is replied described application ID in message and is the ID of described main frame specifically for, the handover request receiving at described receiving element 502, determine that described main frame obtains LUN switching authority.
Described determining unit 503 also for, the described handover request receiving according to described receiving element 502 is replied message and is determined that described main frame does not obtain LUN and switches authority.Described transmitting element 401 also for, when described determining unit 503 determines that described main frame does not obtain described LUN and switches authority, the default time delay in interval sends described handover request message to described storage array again.
Described transmitting element 501 also for, after described storage array sends LUN switching command, periodically to described storage array sending permission, maintain message, so that described storage array in the situation that the priority of described other main frames in the handover request message that other main frames send lower than the priority of described main frame, the described LUN that maintains described main frame switches authority.
The embodiment of the present invention provides a kind of storage array, as shown in Figure 6, comprises receiving element 601, judging unit 602, processing unit 603 and switch unit 604.
Receiving element 601, the handover request message sending for receiving described main frame, described handover request message comprises the priority level of described main frame.Judging unit 602, for judging whether the priority level of main frame described in the described handover request message that described receiving element 601 receives is greater than the request priority grade of record.Processing unit 603, while being greater than the request priority grade of record for the priority level at main frame described in the described handover request message of described judging unit 602 judgement, the request priority grade of described record is updated to the priority level of described main frame, and to described main frame, return to handover request and reply message, described handover request is replied message and is used to indicate described main frame acquisition LUN switching authority.Described receiving element 601 also for, receive to obtain the LUN switching command that main frame that LUN switches authority sends.Switch unit 605, after the LUN switching command sending, carries out LUN switching for the main frame in the described acquisition of described receiving element 601 reception LUN switching authority.
Here, the ID that also comprises the described main frame of described main frame in described handover request message.Described processing unit 603 also for, after the priority level of main frame described in the described handover request message of described judging unit 602 judgement is greater than the request priority grade of record, the application ID of record is updated to the ID of described main frame; After the priority level of main frame described in the described handover request message of described judging unit 602 judgement is less than or equal to the request priority grade of record, not more the request priority grade of new record and application ID.Described processing unit 603 also for, to described main frame, return to the handover request that carries described application ID and reply message so that described main frame is replied message according to described handover request, judge whether to obtain LUN and switch authority.
Also comprise and maintain unit 606, described receiving element 601 also for, receive to obtain the authority that main frame that LUN switches authority sends and maintain message.Described maintain unit 606 specifically for, in the situation that the priority level of described other main frames in the handover request message of other main frames transmissions that described receiving element receives switches the priority level of the main frame of authority lower than described acquisition LUN, maintain the LUN switching authority that described acquisition LUN switches the main frame of authority.
The device that the embodiment of the present invention provides, the handover request message that main frame can send to storage array to carry the priority level of described host id and described main frame, described storage array can switch authority by LUN gives the main frame that priority level is the highest.Priority level is less than or equal to the main frame of priority level that the current LUN of having switches the main frame of authority and can not obtains LUN and switch authority, only have the main frame that obtains LUN switching authority to send LUN switching command to described storage array, make described storage array carry out LUN switching, described like this storage array just can only obtain the LUN switching command that LUN switches the main frame transmission of authority, and can be as in prior art, receive the LUN switching command of a plurality of main frames, described LUN is switched back and forth, avoid the generation of ping-pong.
In addition, storage array returns to handover request reply message can to the main frame that does not obtain LUN switching authority, at main frame, according to described handover request reply message, judge and oneself do not obtain described LUN switching authority, can to described storage array, send described handover request message more for a long time in interval, just can frequently as in prior art to storage array, not send LUN switching command, the burden that has so just alleviated storage array, has improved service feature.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection range with claim.

Claims (18)

1. the method that LUN LUN switches, described method is applied in storage system, and described storage system comprises storage array and main frame, it is characterized in that, comprising:
Described main frame sends handover request message to described storage array, and described handover request message comprises the priority level of described main frame;
Described main frame receives the handover request reply message that described storage array returns according to described priority level;
Described main frame is replied message according to described handover request and is determined that described main frame obtains LUN and switches authority;
Described main frame sends LUN switching command to described storage array, makes described storage array carry out LUN switching.
2. method according to claim 1, is characterized in that, also comprises:
According to the connection of the controller of the described main frame input and output IO that storage array sends described in forward direction request and described main frame and described storage array, determine the priority level of described main frame.
3. according to the method described in claim 1 or 2 any one, it is characterized in that, the priority level of described main frame, is followed successively by from high to low: the first estate, the second grade, the tertiary gradient, the fourth estate;
When described main frame when storage array described in forward direction send input and output IO and only with described storage array in a storage control while connecting, the priority level of described main frame is the first estate;
When described main frame sends IO and when two storage controls in described storage array are connected, described host priority grade is the second grade when storage array described in forward direction;
When described main frame is current, to described storage array, do not send IO and when a storage control in described storage array is connected, described host priority grade is the tertiary gradient;
When described main frame is current, to described storage array, do not send IO and when two storage controls in described storage array are connected, described host priority grade is the fourth estate.
4. according to the method described in claim 1-3 any one, it is characterized in that, the ID that also comprises described main frame in described handover request message, described handover request is replied and in message, is carried application ID, and described application ID is the ID of the main frame that the highest grade of handover request message medium priority that receives of described storage array;
Describedly according to described handover request, reply message and determine that described main frame obtains LUN and switches authority, comprising:
When described application ID is the ID of described main frame, described main frame obtains LUN switching authority.
5. method according to claim 1, is characterized in that, described method also comprises:
Described main frame is replied message according to described handover request and is determined that described main frame does not obtain LUN and switches authority;
The default time delay in described main frame interval sends described handover request message to described storage array again.
6. method according to claim 1, is characterized in that, described main frame is after described storage array sends LUN switching command, and described method also comprises:
Described main frame periodically maintains message to described storage array sending permission, so that described storage array in the situation that the priority of described other main frames in the handover request message that other main frames send lower than the priority of described main frame, the described LUN that maintains described main frame switches authority.
7. the method that LUN LUN switches, described method is applied in storage system, and described storage system comprises storage array and main frame, it is characterized in that, comprising:
Described storage array receives the handover request message that described main frame sends, and described handover request message comprises the priority level of described main frame;
Described storage array judges whether the priority level of main frame described in described handover request message is greater than the request priority grade of record;
If be greater than, described storage array is updated to the request priority grade of described record the priority level of described main frame, and to described main frame, return to handover request and reply message, described handover request is replied message and is used to indicate described main frame acquisition LUN switching authority;
Described storage array receives and obtains the LUN switching command that LUN switches the main frame transmission of authority, carries out LUN switching.
8. method according to claim 7, it is characterized in that, the ID that also comprises the described main frame of described main frame in described handover request message, after described storage array judges whether the priority level of main frame described in described handover request message is greater than the request priority grade of record, described method also comprises:
If be greater than, described storage array is updated to the application ID of record the ID of described main frame; If be less than or equal to, described storage array not more the request priority grade of new record and application ID;
Described storage array returns to the handover request reply message that carries described application ID to described main frame, so that described main frame is replied message according to described handover request, judge whether to obtain LUN switching authority.
9. method according to claim 7, is characterized in that, described method also comprises:
The authority that described storage array receives the main frame transmission that obtains LUN switching authority maintains message, and in the situation that the priority level of described other main frames in the handover request message that other main frames send switches the priority level of the main frame of authority lower than described acquisition LUN, the LUN that maintains the main frame of described acquisition LUN switching authority switches authority.
10. a main frame, is characterized in that, comprising:
Transmitting element, for sending handover request message to described storage array, described handover request message comprises the priority level of described main frame;
Receiving element, the handover request reply message of returning according to described priority level for receiving described storage array;
Determining unit, replys message for the described handover request receiving according to described receiving element and determines that described main frame obtains LUN LUN and switches authority;
Described transmitting element also for, when described determining unit determines that described main frame obtains described LUN and switches authority, to described storage array, send LUN switching command, make described storage array carry out LUN switching.
11. main frames according to claim 10, it is characterized in that, according to the connection of the controller of the described main frame input and output IO that storage array sends described in forward direction request and described main frame and described storage array, determine the priority level of described main frame.
12. according to the main frame described in claim 10 or 11 any one, it is characterized in that, the priority level of described main frame, is followed successively by from high to low: the first estate, the second grade, the tertiary gradient, the fourth estate;
When described main frame when storage array described in forward direction send input and output IO and only with described storage array in a storage control while connecting, the priority level of described main frame is the first estate;
When described main frame sends IO and when two storage controls in described storage array are connected, described host priority grade is the second grade when storage array described in forward direction;
When described main frame is current, to described storage array, do not send IO and when a storage control in described storage array is connected, described host priority grade is the tertiary gradient;
When described main frame is current, to described storage array, do not send IO and when two storage controls in described storage array are connected, described host priority grade is the fourth estate.
13. according to the main frame described in claim 10-12 any one, it is characterized in that, the ID that also comprises described main frame in described handover request message, described handover request is replied and in message, is carried application ID, and described application ID is the ID of the main frame that the highest grade of handover request message medium priority that receives of described storage array;
When described determining unit is replied described application ID in message and is the ID of described main frame specifically for, the handover request receiving at described receiving element, determine that described main frame obtains LUN switching authority.
14. main frames according to claim 10, is characterized in that,
Described determining unit also for, the described handover request receiving according to described receiving element is replied message and is determined that described main frame does not obtain LUN and switches authority;
Described transmitting element also for, when described determining unit determines that described main frame does not obtain described LUN and switches authority, the default time delay in interval sends described handover request message to described storage array again.
15. main frames according to claim 10, is characterized in that,
Described transmitting element also for, after described storage array sends LUN switching command, periodically to described storage array sending permission, maintain message, so that described storage array in the situation that the priority of described other main frames in the handover request message that other main frames send lower than the priority of described main frame, the described LUN that maintains described main frame switches authority.
16. 1 kinds of storage arrays, is characterized in that, comprising:
Receiving element, the handover request message sending for receiving described main frame, described handover request message comprises the priority level of described main frame;
Judging unit, for judging whether the priority level of main frame described in the described handover request message that described receiving element receives is greater than the request priority grade of record;
Processing unit, for when described judging unit judges that the priority level of main frame described in described handover request message is greater than the request priority grade of record, the request priority grade of described record is updated to the priority level of described main frame, and to described main frame, return to handover request and reply message, described handover request is replied message and is used to indicate described main frame acquisition LUN LUN switching authority;
Described receiving element also for, receive to obtain the LUN switching command that main frame that LUN switches authority sends;
Switch unit, after the LUN switching command sending, carries out LUN switching for the main frame in the described acquisition of described receiving element reception LUN switching authority.
17. storage arrays according to claim 16, is characterized in that, also comprise the ID of the described main frame of described main frame in described handover request message,
Described processing unit also for, after described judging unit judges that the priority level of main frame described in described handover request message is greater than the request priority grade of record, the application ID of record is updated to the ID of described main frame; After described judging unit judges that the priority level of main frame described in described handover request message is less than or equal to the request priority grade of record, not more the request priority grade of new record and application ID;
Described processing unit also for, to described main frame, return to the handover request that carries described application ID and reply message so that described main frame is replied message according to described handover request, judge whether to obtain LUN and switch authority.
18. storage arrays according to claim 16, is characterized in that, also comprise and maintain unit,
Described receiving element also for, receive to obtain the authority that main frame that LUN switches authority sends and maintain message;
Described maintain unit specifically for, in the situation that the priority level of described other main frames in the handover request message of other main frames transmissions that described receiving element receives switches the priority level of the main frame of authority lower than described acquisition LUN, maintain the LUN switching authority that described acquisition LUN switches the main frame of authority.
CN201310500986.4A 2013-10-22 2013-10-22 A kind of method and apparatus of LUN switching Active CN103561064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310500986.4A CN103561064B (en) 2013-10-22 2013-10-22 A kind of method and apparatus of LUN switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310500986.4A CN103561064B (en) 2013-10-22 2013-10-22 A kind of method and apparatus of LUN switching

Publications (2)

Publication Number Publication Date
CN103561064A true CN103561064A (en) 2014-02-05
CN103561064B CN103561064B (en) 2016-12-07

Family

ID=50015214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310500986.4A Active CN103561064B (en) 2013-10-22 2013-10-22 A kind of method and apparatus of LUN switching

Country Status (1)

Country Link
CN (1) CN103561064B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329859A (en) * 2017-06-29 2017-11-07 杭州宏杉科技股份有限公司 A kind of data guard method and storage device
CN108762677A (en) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 A kind of intelligent scanning method and system of storage device
CN110018939A (en) * 2019-03-28 2019-07-16 山东超越数控电子股份有限公司 A kind of hard disk on-line fault diagnosis method based on SCSI protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076154A1 (en) * 2003-09-15 2005-04-07 International Business Machines Corporation Method, system, and program for managing input/output (I/O) performance between host systems and storage volumes
CN101645915A (en) * 2008-08-06 2010-02-10 中兴通讯股份有限公司 Disk array host channel daughter card, on-line switching system and switching method thereof
US20120254462A1 (en) * 2011-03-31 2012-10-04 Dhishankar Sengupta Remote data mirroring using a virtualized io path in a sas switch
US20130212386A1 (en) * 2011-08-30 2013-08-15 Brocade Communications Systems, Inc. Storage Access Authentication Mechanism

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050076154A1 (en) * 2003-09-15 2005-04-07 International Business Machines Corporation Method, system, and program for managing input/output (I/O) performance between host systems and storage volumes
CN101645915A (en) * 2008-08-06 2010-02-10 中兴通讯股份有限公司 Disk array host channel daughter card, on-line switching system and switching method thereof
US20120254462A1 (en) * 2011-03-31 2012-10-04 Dhishankar Sengupta Remote data mirroring using a virtualized io path in a sas switch
US20130212386A1 (en) * 2011-08-30 2013-08-15 Brocade Communications Systems, Inc. Storage Access Authentication Mechanism

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329859A (en) * 2017-06-29 2017-11-07 杭州宏杉科技股份有限公司 A kind of data guard method and storage device
CN108762677A (en) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 A kind of intelligent scanning method and system of storage device
CN110018939A (en) * 2019-03-28 2019-07-16 山东超越数控电子股份有限公司 A kind of hard disk on-line fault diagnosis method based on SCSI protocol

Also Published As

Publication number Publication date
CN103561064B (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN101557315B (en) Method, device and system for active-standby switch
CN100401247C (en) Memory system having a hot-swap function
CN102752093B (en) Based on the data processing method of distributed file system, equipment and system
CN103095463B (en) PCIE switching network system and communication means
CN103092778B (en) A kind of buffer memory mirror method of storage system
CN105138422A (en) Control method and electronic device
CN101110776A (en) Backup method, backup device and backup system for data business
CN103561064A (en) Method and device for LUN switching
JP2015162091A (en) Storage control apparatus, storage system, storage control method, and storage control program
CN103281720B (en) The hot standby changing method of wireless controller and device, wireless controller, connecting system
CN108009239A (en) Data bank access method and system
CN104407947A (en) Main/backup NAS (Network attached storage) switching method and device
CN101539874B (en) System, method and network device for achieving data mirror image
JP6304048B2 (en) Control system and control device
CN109783401B (en) Data storage method and storage system
CN101202671A (en) Method and apparatus for terminal port allocating
CN105389127B (en) The method, apparatus of message and storage system, controller are transmitted within the storage system
CN112013505A (en) Method and device for controlling communication compensation and air conditioner
CN105245387A (en) Method and system for processing message
CN103414588A (en) VTL backup method and VTL nodes
KR102379558B1 (en) Driver system of vehicle with feedback logic and operation method thereof
CN104683153B (en) A kind of active and standby MPU control method of cluster routers and its system
CN101908969B (en) Optimization method, maintenance node and network system of end-to-end restoration path
CN112230859A (en) Read-write migration method and device without interrupting service
CN101621465B (en) Method, device and system for sending data packet and exchanging equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant