CN103713925A - Method and device for avoiding service interruption of storage array in upgrading process - Google Patents

Method and device for avoiding service interruption of storage array in upgrading process Download PDF

Info

Publication number
CN103713925A
CN103713925A CN201310731126.1A CN201310731126A CN103713925A CN 103713925 A CN103713925 A CN 103713925A CN 201310731126 A CN201310731126 A CN 201310731126A CN 103713925 A CN103713925 A CN 103713925A
Authority
CN
China
Prior art keywords
controller
upgrading
software module
aku
master controller
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.)
Pending
Application number
CN201310731126.1A
Other languages
Chinese (zh)
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.)
BEIHAI YUNSHENG TECHNOLOGY CO.,LTD.
Original Assignee
Clouds Creators Information Technology (tianjin) Co Ltd
UNITED INFORMATION TECHNOLOGY 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 Clouds Creators Information Technology (tianjin) Co Ltd, UNITED INFORMATION TECHNOLOGY Co Ltd filed Critical Clouds Creators Information Technology (tianjin) Co Ltd
Priority to CN201310731126.1A priority Critical patent/CN103713925A/en
Publication of CN103713925A publication Critical patent/CN103713925A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method and device for avoiding service interruption of a storage array in the upgrading process. In the method and the device, when the storage array needs to be upgraded, only software modules which need to be upgraded are upgraded; meanwhile, if upgrading fails due to the fact that failures occur in the upgrading process, the software modules can rapidly go back to the upgrade version which runs before upgrading through the method and the device, and therefore services can not be interrupted, and the normal work state can be recovered as soon as possible.

Description

Avoid storage array at the service disconnection method and apparatus of escalation process
Technical field
The application relates to memory technology, particularly avoids the service disconnection method and apparatus of storage array in escalation process.
Background technology
Storage array, the data in its storage computer system, General Requirements can provide high reliability, guarantees the safety of data and stablizes, and meanwhile, storage array also requirement can provide data, services incessantly.
In order to reach high reliability and the continual service of storage array requirement, current storage array has adopted the design of double control system or multi-control system mostly, under this design, when software or hardware fault have occurred one of them control system, remaining control system can be taken over control immediately, market demand service is externally provided in the situation that not affecting user, and the pipe of reporting system management is simultaneously processed the control system breaking down, to solve fault.
But; when storage array need to be upgraded; generally need to shut down and upgrade; this can cause storage array and because shut down, stop service; simultaneously after upgrading; also need to carry out the test run of certain hour, and owing to knowing whether to upgrade successfully, also do not need storage battle array to stop service during this test run.
Summary of the invention
The application provides and has avoided the service disconnection method and apparatus of storage array in escalation process, to realize in the escalation process of storage array, avoids storage array to stop business.
The technical scheme that the application provides comprises:
A kind of service disconnection method of storage array in escalation process of avoiding, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from controller for controlling the described upgrading from control system software module; Described master controller is identical with the described software module of controlling from controller; The method comprises:
The software module of the needs upgrading of first by described master controller, self being controlled when described storage array need to be upgraded is upgraded, described control and the responsible market demand service of master controller of taking over whole storage array from controller during described master controller is to software module upgrading;
When the software module of self being controlled when described master controller upgrades successfully, master controller notice is upgraded to the software module of the needs upgrading of controlling from controller, and described master controller is taken over the control of whole storage array from controller during to software module upgrading and from the responsible market demand service of controller described;
When the software module of self being controlled when described master controller is upgraded unsuccessfully, describedly from controller, control described master controller and the software module of the needs upgrading of control is return back to the old AKU of operation before upgrading, and after completing rollback, described master controller is taken over the control of whole storage array and formerly belongs to self responsible market demand service from controller from described;
When the described software module of self being controlled from controller upgrades successfully, described adapter from controller from master controller originally by originally serving from the responsible market demand of controller;
When the described software module of self being controlled from controller is upgraded unsuccessfully, described master controller is first controlled the described old AKU that from controller, the software module of the needs upgrading of control is return back to operation before upgrading, and described master controller is taken over the control of whole storage array during software module being return back to old AKU from controller and from the responsible market demand service of controller described; The software module of the needs upgrading that described master controller is controlled from chief commander self afterwards return back to the old AKU of moving before upgrading, described control and the responsible market demand service of master controller of taking over whole storage array from controller during described master controller return back to old AKU to software module; After the old AKU that the software module of the needs upgrading of self being controlled at described master controller is moved before returning back to upgrading, described master controller is taken over the control of whole storage array and formerly belongs to the responsible market demand service of master controller from controller from described.
A kind of service disconnection device of storage array in escalation process of avoiding, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from the upgrading of software module from control system described in controller control; Described master controller is identical with the described software module of controlling from controller; This application of installation, in master controller, comprising:
Upgrading unit, for first the software module of the needs upgrading of main controller controls being upgraded, and from controller, consult to be served by described control of taking over whole storage array from controller during master controller is to the software module upgrading of controlling and the responsible market demand of master controller with described when described storage array need to be upgraded;
Notification unit, while upgrading successfully for the software module of self being controlled when described master controller, notice is upgraded to the software module of the needs upgrading of controlling from controller;
Take over unit, for described from controller to during software module upgrading, or during the old AKU of moving, take over the control of whole storage array and from the responsible market demand service of controller before the software module of the needs upgrading of self being controlled from controller return back to upgrading; And, during the old AKU moved before the software module of the needs upgrading of main controller controls return back to upgrading, from described, from controller, take over the control of whole storage array and formerly belong to self responsible market demand service;
Rollback unit while upgrading unsuccessfully for the software module of self being controlled when described master controller, return back to the software module of the needs upgrading of main controller controls the old AKU of operation before upgrading under the control from controller; And, when the old AKU that the software module of self being controlled from controller upgrade unsuccessfully and the software module of the described needs upgrading of self having been controlled the control at master controller from controller is moved before returning back to upgrading, from the software module of the needs upgrading of chief commander's main controller controls, return back to the old AKU that upgrading moves before;
Control module, for when the described software module of self being controlled from controller is upgraded unsuccessfully, the old AKU of operation before the software module of from controller, the needs of control being upgraded described in controlling return back to and upgrades.
A kind of service disconnection device of storage array in escalation process of avoiding, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from the upgrading of software module from control system described in controller control; Described master controller is identical with the described software module of controlling from controller; This application of installation in from controller, comprising:
Notice receiving element sends for receiving described master controller the notice that requirement is upgraded to the software module of the needs upgrading of controlling from controller when the software module that self is controlled upgrades successfully;
Upgrading unit, for when described notice receiving element receives described notice, upgrades to the software module of the described needs upgrading of controlling from controller;
Take over unit, for during master controller is to the software module upgrading of controlling, or during described master controller return back to old AKU to software module, take over control and the responsible market demand service of master controller of whole storage array, and when the described software module of self being controlled from controller upgrades successfully, from master controller, take over originally and served from the responsible market demand of controller by this;
Rollback unit, for when the described software module of self being controlled from controller is upgraded unsuccessfully, the old AKU that the software module of first under the control of described master controller, the needs of controlling from controller being upgraded is moved before returning back to upgrading;
Control module, for when described master controller is upgraded unsuccessfully to the software module of controlling, controls described master controller and the software module of the needs upgrading of control is return back to the old AKU of operation before upgrading.
As can be seen from the above technical solutions, in the present invention, when storage array need to be upgraded, only upgrading needs the software module of upgrading, and, if broken down in escalation process, cause upgrading unsuccessfully, adopt the present invention can return back to fast the upgraded version moving before upgrading, business can not interrupted, return to as early as possible normal operating conditions.
Accompanying drawing explanation
The method flow diagram that Fig. 1 provides for the embodiment of the present invention;
The double control system storage array hardware configuration schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The double control system storage array software configuration schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The example flow chart that Fig. 4 provides for the embodiment of the present invention;
The structure drawing of device that Fig. 5 provides for the embodiment of the present invention;
Another structure drawing of device that Fig. 6 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the drawings and specific embodiments, describe the present invention.
Method provided by the invention can be accelerated the escalation process of storage array, only upgrading needs the software module of upgrading, and, if broken down in escalation process, cause upgrading unsuccessfully, adopt the present invention can return back to fast the upgraded version moving before upgrading, business can not interrupted, return to as early as possible normal operating conditions.
The technical scheme that the application provides comprises flow process shown in Fig. 1.
Referring to Fig. 1, the method flow diagram that Fig. 1 provides for the embodiment of the present invention.
Wherein, before the method flow providing at description Fig. 1, first the storage array the present invention relates to is described:
In the present invention, storage array, it is double control system storage array, and one of them control system is called master control system, bears the control of whole storage array, and another control system is called from control system, and auxiliary master control system carries out work.
In the present invention, master control system, the hardware comprising from control system, software configuration are similar.As shown in Figure 2, master control system, from control system, all comprise following hardware configuration:
Controller;
Timer in controller;
Firmware memory;
(BMC:Basedboard Mansgement Controller) device is controlled in substrate management.
In the present invention, data path between master and slave control system is not directly based upon between both controllers of master and slave control system, but for the ease of master and slave control system read-write the other side solid-state memory, BMC device, respectively the data path between master and slave control system middle controller and solid-state memory, BMC device is all carried on the data path between master and slave control system, specifically as shown in Figure 2.
It should be noted that, in the present invention, for ease of describing, the controller here master control system being comprised is called master controller, and it is responsible for the control of whole storage array, and the controller comprising from control system is called from controller.
The hardware configuration comprising corresponding to the master and slave control system shown in Fig. 2, the invention also discloses the software configuration in master and slave control system.Wherein, in master and slave control system, software configuration is similar, all comprises identical software module, and the software module in the master and slave control system respectively controller in master and slave control system is controlled.
Fig. 3 shows the software configuration in master and slave control system.As shown in Figure 3, the software configuration in master and slave control system comprises following software module:
Order receiver module, be responsible for to receive the go forward side by side rough handling of line command of outside order of importing into.Preferably, as an embodiment, order receiver module is mainly responsible for receiving firmware upgrade order, and after command execution, passes through the notification command execution result that makes progress herein.
Control module, the control during the whole service of responsible system and the processing of data.
Timing module, is responsible for carrying out system time counting.
Communication module, is responsible for the communication between control module and other modules, comprises the communication of each module of this control system and the communication to each module of end control system, and by this module, control module can complete the read-write of firmware memory and the operation of BMC device.
Memory I/O module, is responsible for firmware memory to carry out I/O operation, provides I/O operation-interface to read or to write firmware memory.
BMC module, is responsible for the information in BMC device to monitor and manage, and system power supply is managed, and BMC operation-interface is provided, by BMC operation-interface, and can be by reset system power supply with reset system.
Hardware configuration based on above-described master and slave control system and software configuration, as shown in Figure 1, this flow process can comprise the following steps:
Step 101, the software module of the needs upgrading of first by described master controller, self being controlled when described storage array need to be upgraded is upgraded, described control and the responsible market demand service of master controller of taking over whole storage array from controller during described master controller is to software module upgrading.
As one embodiment of the present of invention, the software module of the needs upgrading that described master controller is controlled self can be the one or more software modules in master control system shown in Fig. 3.
Step 102, when the software module of self being controlled when described master controller upgrades successfully, master controller notice is upgraded to the software module of the needs upgrading of controlling from controller, and described master controller is taken over the control of whole storage array from controller during to software module upgrading and from the responsible market demand service of controller described.
As one embodiment of the present of invention, the software module of the described needs upgrading of self being controlled from controller can be the one or more software modules from control system shown in Fig. 3.
Step 103, when the software module of self being controlled when described master controller is upgraded unsuccessfully, describedly from controller, control described master controller and the software module of the needs upgrading of control is return back to the old AKU of operation before upgrading, and after completing rollback, described master controller is taken over the control of whole storage array and formerly belongs to self responsible market demand service from controller from described.
Step 104, when the described software module of self being controlled from controller upgrades successfully, described adapter from controller from master controller originally by originally serving from the responsible market demand of controller.
Step 105, when the described software module of self being controlled from controller is upgraded unsuccessfully, described master controller is first controlled the described old AKU that from controller, the software module of the needs upgrading of control is return back to operation before upgrading, and described master controller is taken over the control of whole storage array during software module being return back to old AKU from controller and from the responsible market demand service of controller described; The software module of the needs upgrading that described master controller is controlled from chief commander self afterwards return back to the old AKU of moving before upgrading, described control and the responsible market demand service of master controller of taking over whole storage array from controller during described master controller return back to old AKU to software module; After the old AKU that the software module of the needs upgrading of self being controlled at described master controller is moved before returning back to upgrading, described master controller is taken over the control of whole storage array and formerly belongs to the responsible market demand service of master controller from controller from described.
So far, complete flow process shown in Fig. 1.
It should be noted that, in the present invention, there is not regular time sequencing to step 103 in the step 102 shown in Fig. 1, and step 103 to step 105 does not exist regular time sequencing yet, it is just for convenience of describing the numbering of having done, and non-limiting the present invention.
Method Fig. 1 being provided below by Fig. 4 is described in detail:
Referring to Fig. 4, the example flow chart that Fig. 4 provides for the embodiment of the present invention.In this example, master controller is designated as controller A, the residing system of master controller is designated as control system A, from controller, be designated as controller B, from the residing system of controller, be designated as control system B, before storage array upgrading, the AKU of all preserving the current operation version of each software module in system of living on controller A and B, is called old AKU.
Afterwards, when needs are upgraded to storage array, carry out following steps:
Step 401, the external world issues upgrading and orders to storage array.
Here, when controller A first receives upgrading order, directly perform step 402.And when controller B first receives upgrading order, because the residing system of controller A has the control of whole storage array, controller B can be forwarded to controller A by the upgrading order of reception, to guarantee that the controller in master control system receives and carry out upgrading order, performs step 402 afterwards.
Step 402, controller A receives and stores the extraneous new AKU of importing into.
New AKU described here is storage array AKU used when current need to upgrading.
Step 403, controller A sends new AKU to controller B, and controller B receives and stores new AKU.
Step 404, controller A notification controller B will upgrade, and notification controller B starts the first upgrading timer of setting.
Here, the time-out time of the first upgrading timer can be the update time of estimation, and it is according to actual conditions setting.
Step 405, the software module of the needs upgrading that controller A controls self is upgraded: start the new AKU of decompress(ion), detect the software module that each need to be upgraded, the software module of needs upgrading is upgraded in order.
In the present invention, for guaranteeing can also to continue to provide market demand service during upgrading, keep market demand service not interrupt, controller A and controller B need to consult, the control and the responsible market demand service of controller A that require controller B to take over whole storage array during controller A is to software module upgrading.
Based on this, in the present invention, during the software module of the needs upgrading of self being controlled at step 405 middle controller A is upgraded, controller B takes over control and the responsible market demand service of controller A of the former responsible whole storage array of controller A.
Step 406, if controller A upgrades successfully, controller A is restarted control system A, control system A brings into operation, and turns to step 407; If controller A cannot operation control system A, during the first upgrading timer expiry of starting at controller B, controller B judges that controller A upgrades unsuccessfully, turns to step 420.
Step 407, controller A successful operation plays system, from controller B, takes over the control of whole storage array and takes over the responsible market demand service of controller B.
Step 408, the second upgrading timer that controller A sets at local boot, and send upgrading order to controller B.
As a preferred embodiment of the present invention, the time-out time of the upgrading of second in this step 408 timer can be identical with the time-out time of above-mentioned the first upgrading timer.
Step 409, controller B receives upgrading order, and the software module of the needs that self is controlled upgrading is upgraded: start the new AKU of decompress(ion), detect the software module that each need to be upgraded, the software module of needs upgrading is upgraded in order.
Step 410, if controller B upgrades successfully, restarts control system B, and control system B brings into operation, and turns to step 411; If controller B upgrades unsuccessfully, cannot successful operation control system B, turn to step 413.
Step 411, controller B successful operation plays system, belongs to self responsible market demand service, and return to successfully run signal to controller A from controller A adapter is former.Perform step afterwards 412.
Step 412, controller A receives after the successful operation signal that controller B returns, and deletes old AKU, and notification controller B deletes old AKU, after waiting for that controller B has deleted, upgrading order is sent to the signal prompt having upgraded successfully, duty before recovery upgrading.Finish current flow process.
Step 413, controller B cannot operational system, and during the second upgrading timer expiry starting at controller A, controller A judges that controller B upgrades unsuccessfully, and the update controller B failed number of times of upgrading.Perform step afterwards 414.
Step 414, controller A judges at this upgrading stage control device B failed number of times of upgrading whether arrive the number of times of regulation, if so, proceeds to step 415, otherwise, again attempt the module that controller B upgrades to needs and carry out updating operation, return to step 408.
Step 415, controller B cannot upgrade successfully through repeatedly attempting, the new and old AKU of controller A, detect the module that needs upgrading, the old AKU of the module of needs upgrading is recorded to controller B, so that controller B return back to the software module of needs upgrading the old AKU of moving before upgrading, restart control system B, control system B operation.Perform step afterwards 416.
Step 416, controller B operational system, controller A notification controller B carries out the software module of the needs upgrading that self is controlled to return back to the upgrading operation of the old AKU of operation before, and notification controller B starts the 3rd upgrading timer of setting.
Here, the time-out time of the 3rd upgrading timer can be the time of estimation, and it is according to actual conditions setting, and large I is less than or equal to the time-out time of the above-mentioned first or second upgrading timer.
Similar with step 405, in the present invention, for guaranteeing can also to continue to provide market demand service during upgrading, keep market demand service not interrupt, controller A also needs to consult with controller B, control and the responsible market demand service of controller A that the operating period of the old AKU of moving before requiring the software module of the needs upgrading that controller B controls self at controller A to carry out to return back to upgrading is taken over whole storage array.
Step 417, the software module that the needs that controller A controls self are upgraded is carried out and is return back to the upgrading operation of the old AKU of operation before: compare the old and new's AKU, detect the software module that needs upgrading, by the old AKU of the software module of needs upgrading, writing controller A, so that need the software module of upgrading to return back to the old AKU of moving before upgrading.
Step 418, if control system A is restarted in controller A rollback success, control system A operation, proceeds to step 421, if the failure of controller A rollback, cannot successful operation control system A, proceed to step 419.
Step 419, controller A cannot operation control system A, and during the 3rd upgrading timer expiry that starts at controller B, controller B judges the failure of controller A rollback.Perform step afterwards 420.
Step 420, the new and old AKU of controller B, detect the software module that each need to be upgraded, by the old AKU of the software module of needs upgrading, writing controller A, the software module of the needs upgrading of main controller controls runs to the old AKU of moving before upgrading, and restart controller A waits for controller A operation control system A.Perform step afterwards 421.
Step 421, controller A operational system, controller B notification controller A deletes new AKU, then delete the new AKU of controller B, controller A takes over master controller power and the former market demand service that belongs to self from controller B, controller A sends the unsuccessful signal prompt completing of upgrading, recovers the front duty of upgrading.Finish current flow process.
So far, complete flow process shown in Fig. 4.
Above method provided by the invention is described, below device provided by the invention is described:
Referring to Fig. 5, the structure drawing of device that Fig. 5 provides for the embodiment of the present invention.In this apparatus structure, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from the upgrading of software module from control system described in controller control; Described master controller is identical with the described software module of controlling from controller; As shown in Figure 5, this application of installation, in master controller, comprising:
Upgrading unit, for first the software module of the needs upgrading of main controller controls being upgraded, and from controller, consult to be served by described control of taking over whole storage array from controller during master controller is to the software module upgrading of controlling and the responsible market demand of master controller with described when described storage array need to be upgraded;
Notification unit, while upgrading successfully for the software module of self being controlled when described master controller, notice is upgraded to the software module of the needs upgrading of controlling from controller;
Take over unit, for described from controller to during software module upgrading, or during the old AKU of moving, take over the control of whole storage array and from the responsible market demand service of controller before the software module of the needs upgrading of self being controlled from controller return back to upgrading; And, during the old AKU moved before the software module of the needs upgrading of main controller controls return back to upgrading, from described, from controller, take over the control of whole storage array and formerly belong to self responsible market demand service;
Rollback unit while upgrading unsuccessfully for the software module of self being controlled when described master controller, return back to the software module of the needs upgrading of main controller controls the old AKU of operation before upgrading under the control from controller; And, when the old AKU that the software module of self being controlled from controller upgrade unsuccessfully and the software module of the described needs upgrading of self having been controlled the control at master controller from controller is moved before returning back to upgrading, from the software module of the needs upgrading of chief commander's main controller controls, return back to the old AKU that upgrading moves before;
Control module, for when the described software module of self being controlled from controller is upgraded unsuccessfully, the old AKU of operation before the software module of from controller, the needs of control being upgraded described in controlling return back to and upgrades.
Preferably, as shown in Figure 5, described device further comprises:
Receiving element, for receiving and store described storage array new AKU used when current need to the upgrading;
Transmitting element, for sending described new AKU extremely from controller;
Sequentially upgrade according to setting to the software module of the needs upgrading of controlling according to described new AKU in described upgrading unit;
Cleaning unit, for after the software module of the needs upgrading of controlling being upgraded successfully from controller, delete the old AKU of software module operation before upgrading of the needs upgrading of self controlling, and send to delete notice to from controller, old AKU with by delete software module operation before upgrading of the needs upgrading of self controlling from controller, provides the prompting having upgraded successfully; And,
After the old AKU of moving before returning back to upgrading in described master controller, the described software module of all controlling the needs upgrading of self controlling from controller, delete described new AKU, provide upgrading the unsuccessful prompting completing.
Preferably, as shown in Figure 5, described rollback unit is at the software module that further renewal is upgraded to the needs of control from controller after controller upgrade unsuccessfully to the software module of the needs upgrading of the controlling failed number of times of upgrading, whether the number of times after detection is upgraded reaches the number of times of setting, if so the software module of, touching the needs upgrading described control module is controlled first self is controlled from controller return back to described in the old upgrading of operation before upgrading the operation from controller bag; If not, the operation that trigger notice unit notice is upgraded to the software module of the needs upgrading of controlling from controller from controller.
So far, complete the unit describe shown in Fig. 5.
Referring to Fig. 6, another structure drawing of device that Fig. 6 provides for the embodiment of the present invention.In this apparatus structure, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from the upgrading of software module from control system described in controller control; Described master controller is identical with the described software module of controlling from controller; As shown in Figure 6, this application of installation in from controller, comprising:
Notice receiving element sends for receiving described master controller the notice that requirement is upgraded to the software module of the needs upgrading of controlling from controller when the software module that self is controlled upgrades successfully;
Upgrading unit, for when described notice receiving element receives described notice, upgrades to the software module of the described needs upgrading of controlling from controller;
Take over unit, for during master controller is to the software module upgrading of controlling, or during described master controller return back to old AKU to software module, take over control and the responsible market demand service of master controller of whole storage array, and when the described software module of self being controlled from controller upgrades successfully, from master controller, take over originally and served from the responsible market demand of controller by this;
Rollback unit, for when the described software module of self being controlled from controller is upgraded unsuccessfully, the old AKU that the software module of first under the control of described master controller, the needs of controlling from controller being upgraded is moved before returning back to upgrading;
Control module, for when described master controller is upgraded unsuccessfully to the software module of controlling, controls described master controller and the software module of the needs upgrading of control is return back to the old AKU of operation before upgrading.
Preferably, as shown in Figure 6, this device further comprises:
Receiving element, for receiving and store described storage array that master controller sends new AKU used when current need to the upgrading;
Sequentially upgrade according to setting to the software module of the needs upgrading of controlling according to described new AKU in described upgrading unit;
Cleaning unit, for after the software module of the needs upgrading of controlling being upgraded successfully from controller, the deletion notice sending according to main control is deleted the old AKU of software module operation before upgrading of the described needs upgrading of controlling from controller; And,
After the old AKU of moving before returning back to upgrading in described master controller, the described software module of all controlling the needs upgrading of self controlling from controller, further delete described new AKU.
So far, complete the device shown in Fig. 6.
As can be seen from the above technical solutions, in the present invention, when storage array need to be upgraded, only upgrading needs the software module of upgrading, and, if broken down in escalation process, cause upgrading unsuccessfully, adopt the present invention can return back to fast the upgraded version moving before upgrading, business can not interrupted, return to as early as possible normal operating conditions.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (15)

1. avoid the service disconnection method of storage array in escalation process for one kind, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from controller for controlling the described upgrading from control system software module; Described master controller is identical with the described software module of controlling from controller; It is characterized in that, the method comprises:
The software module of the needs upgrading of first by described master controller, self being controlled when described storage array need to be upgraded is upgraded, described control and the responsible market demand service of master controller of taking over whole storage array from controller during described master controller is to software module upgrading;
When the software module of self being controlled when described master controller upgrades successfully, master controller notice is upgraded to the software module of the needs upgrading of controlling from controller, and described master controller is taken over the control of whole storage array from controller during to software module upgrading and from the responsible market demand service of controller described;
When the software module of self being controlled when described master controller is upgraded unsuccessfully, describedly from controller, control described master controller and the software module of the needs upgrading of control is return back to the old AKU of operation before upgrading, and after completing rollback, described master controller is taken over the control of whole storage array and formerly belongs to self responsible market demand service from controller from described;
When the described software module of self being controlled from controller upgrades successfully, described adapter from controller from master controller originally by originally serving from the responsible market demand of controller;
When the described software module of self being controlled from controller is upgraded unsuccessfully, described master controller is first controlled the described old AKU that from controller, the software module of the needs upgrading of control is return back to operation before upgrading, and described master controller is taken over the control of whole storage array during software module being return back to old AKU from controller and from the responsible market demand service of controller described; The software module of the needs upgrading that described master controller is controlled from chief commander self afterwards return back to the old AKU of moving before upgrading, described control and the responsible market demand service of master controller of taking over whole storage array from controller during described master controller return back to old AKU to software module; After the old AKU that the software module of the needs upgrading of self being controlled at described master controller is moved before returning back to upgrading, described master controller is taken over the control of whole storage array and formerly belongs to the responsible market demand service of master controller from controller from described.
2. method according to claim 1, is characterized in that, described master controller, after the software module of the needs upgrading of controlling being upgraded successfully from controller, further comprises:
Described master controller is deleted the old AKU of software module operation before upgrading of the needs upgrading of self controlling, and sends and delete notice to from controller;
Described old AKU of deleting software module operation before upgrading of the needs upgrading of self controlling from controller receives deletion notice;
Described master controller provides the prompting having upgraded successfully.
3. method according to claim 1, is characterized in that, after controller is upgraded unsuccessfully to the software module of the needs upgrading of controlling, the method further comprises:
Renewal from controller to the software module of the needs upgrading of the controlling failed number of times of upgrading;
Whether the number of times after detect upgrading reaches the number of times of setting, if so, returns to described in described main controller controls the operation that from controller, the software module of the needs upgrading of control is return back to the old AKU of operation before upgrading; If not, return to the operation that master controller notice is upgraded to the software module of the needs upgrading of controlling from controller from controller.
4. according to the arbitrary described method of claims 1 to 3, it is characterized in that, described master controller further comprised before the software module of the needs upgrading that self is controlled is upgraded:
Master controller receives and stores described storage array new AKU used when current need to upgrading, and described new AKU is sent to from controller;
Describedly from controller, receive and store described new AKU;
Described master controller is upgraded and is comprised in the software module of the needs upgrading that self is controlled: described master controller is sequentially upgraded according to setting to the software module of the needs upgrading of controlling according to described new AKU;
Described master controller notice is upgraded and is comprised the software module of the needs upgrading of controlling from controller from controller:
Described master controller sends upgrading order to from controller;
Described software module of according to described new AKU, the needs of controlling being upgraded from controller reception upgrading order is sequentially upgraded according to setting.
5. method according to claim 1, is characterized in that, described master controller further comprised before the software module of the needs upgrading that self is controlled is upgraded:
Notice starts the first upgrading timer of setting from controller;
The software module that described master controller is controlled self upgrades successfully or upgrades and unsuccessfully by following steps, determine:
Detect master controller and whether before described the first upgrading timer expiry, the software module of the needs upgrading of controlling is completed to upgrading;
If so, determine that master controller upgrades successfully the software module of the needs upgrading of controlling;
If not, definite master controller is upgraded unsuccessfully to the software module of the needs upgrading of controlling.
6. method according to claim 1, is characterized in that, described master controller notice is upgraded and further comprised the software module of the needs upgrading of controlling from controller: the second upgrading timer that described master controller is set at local boot;
The described software module of self being controlled from controller upgrades successfully or upgrades and unsuccessfully by following steps, determine:
Whether detection completed upgrading to the software module of the needs upgrading of controlling from controller before described the second upgrading timer expiry,
If so, determine from controller the software module of the needs upgrading of controlling is upgraded successfully;
If not, determine from controller the software module of the needs upgrading of controlling is upgraded unsuccessfully.
7. method according to claim 1, is characterized in that, describedly from controller, controls the old AKU that described master controller return back to operation before upgrading by the software module of the needs upgrading of control and comprises:
The old AKU of operation before the software module upgrading of the described needs upgrading that detects described main controller controls from controller, this old AKU is write to master controller, restart master controller, so that the software module of the needs of main controller controls upgrading runs to the old AKU of moving before upgrading;
The old AKU that from controller, the software module of the needs upgrading of control is return back to operation before upgrading described in described main controller controls comprises:
The old AKU of moving before the software module upgrading of the needs upgrading of controlling from controller described in described master controller detects, this old AKU is write to from controller, restart from controller, so that the software module of the needs of controlling from controller upgrading runs to the old AKU of moving before upgrading.
8. method according to claim 1, is characterized in that, during the described old AKU of moving before the software module of the unsuccessful needs upgrading of controlling from chief commander self of master controller return back to upgrading from controller, the method further comprises:
The old AKU of operation before the software module upgrading of the described needs upgrading that detects described main controller controls from controller, this old AKU is write to master controller, restart master controller, so that the software module of the needs of main controller controls upgrading runs to the old AKU of moving before upgrading.
9. method according to claim 8, is characterized in that, before the old AKU that master controller moved before the software module of the needs upgrading of controlling from chief commander self return back to upgrading, further comprises:
Notice starts the 3rd upgrading timer of setting from controller;
The whether autonomous software module of successfully self being controlled of described master controller return back to the old AKU of moving before upgrading and determines by following steps:
The old AKU that detection master controller moves before whether the software module of the needs upgrading of control being return back to upgrading before described the 3rd upgrading timer expiry,
If so, determine rollback success;
If not, determine rollback failure.
10. method according to claim 1, is characterized in that, before the software module of described master controller, the described needs upgrading of all self being controlled from controller return back to upgrading, after the old AKU of operation, the method further comprises:
Delete the described described new AKU from controller, master controller storage;
Provide upgrading the unsuccessful prompting completing.
Avoid the service disconnection device of storage array in escalation process for 11. 1 kinds, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from the upgrading of software module from control system described in controller control; Described master controller is identical with the described software module of controlling from controller; It is characterized in that, this application of installation, in master controller, comprising:
Upgrading unit, for first the software module of the needs upgrading of main controller controls being upgraded, and from controller, consult to be served by described control of taking over whole storage array from controller during master controller is to the software module upgrading of controlling and the responsible market demand of master controller with described when described storage array need to be upgraded;
Notification unit, while upgrading successfully for the software module of self being controlled when described master controller, notice is upgraded to the software module of the needs upgrading of controlling from controller;
Take over unit, for described from controller to during software module upgrading, or during the old AKU of moving, take over the control of whole storage array and from the responsible market demand service of controller before the software module of the needs upgrading of self being controlled from controller return back to upgrading; And, during the old AKU moved before the software module of the needs upgrading of main controller controls return back to upgrading, from described, from controller, take over the control of whole storage array and formerly belong to self responsible market demand service;
Rollback unit while upgrading unsuccessfully for the software module of self being controlled when described master controller, return back to the software module of the needs upgrading of main controller controls the old AKU of operation before upgrading under the control from controller; And, when the old AKU that the software module of self being controlled from controller upgrade unsuccessfully and the software module of the described needs upgrading of self having been controlled the control at master controller from controller is moved before returning back to upgrading, from the software module of the needs upgrading of chief commander's main controller controls, return back to the old AKU that upgrading moves before;
Control module, for when the described software module of self being controlled from controller is upgraded unsuccessfully, the old AKU of operation before the software module of from controller, the needs of control being upgraded described in controlling return back to and upgrades.
12. devices according to claim 11, is characterized in that, described device further comprises:
Receiving element, for receiving and store described storage array new AKU used when current need to the upgrading;
Transmitting element, for sending described new AKU extremely from controller;
Sequentially upgrade according to setting to the software module of the needs upgrading of controlling according to described new AKU in described upgrading unit;
Cleaning unit, for after the software module of the needs upgrading of controlling being upgraded successfully from controller, delete the old AKU of software module operation before upgrading of the needs upgrading of self controlling, and send to delete notice to from controller, old AKU with by delete software module operation before upgrading of the needs upgrading of self controlling from controller, provides the prompting having upgraded successfully; And,
After the old AKU of moving before returning back to upgrading in described master controller, the described software module of all controlling the needs upgrading of self controlling from controller, delete described new AKU, provide upgrading the unsuccessful prompting completing.
13. according to the device described in claim 11 or 12, it is characterized in that, described rollback unit is at the software module that further renewal is upgraded to the needs of control from controller after controller upgrade unsuccessfully to the software module of the needs upgrading of the controlling failed number of times of upgrading, whether the number of times after detection is upgraded reaches the number of times of setting, if so the software module of, touching the needs upgrading described control module is controlled first self is controlled from controller return back to described in the old upgrading of operation before upgrading the operation from controller bag; If not, the operation that trigger notice unit notice is upgraded to the software module of the needs upgrading of controlling from controller from controller.
Avoid the service disconnection device of storage array in escalation process for 14. 1 kinds, described storage array comprises master and slave control system, described master control system comprises master controller, describedly from control system, comprise from controller, described master controller is responsible for the control of whole storage array, for controlling the upgrading of described master control system software module, described from the upgrading of software module from control system described in controller control; Described master controller is identical with the described software module of controlling from controller; It is characterized in that, this application of installation in from controller, comprising:
Notice receiving element sends for receiving described master controller the notice that requirement is upgraded to the software module of the needs upgrading of controlling from controller when the software module that self is controlled upgrades successfully;
Upgrading unit, for when described notice receiving element receives described notice, upgrades to the software module of the described needs upgrading of controlling from controller;
Take over unit, for during master controller is to the software module upgrading of controlling, or during described master controller return back to old AKU to software module, take over control and the responsible market demand service of master controller of whole storage array, and when the described software module of self being controlled from controller upgrades successfully, from master controller, take over originally and served from the responsible market demand of controller by this;
Rollback unit, for when the described software module of self being controlled from controller is upgraded unsuccessfully, the old AKU that the software module of first under the control of described master controller, the needs of controlling from controller being upgraded is moved before returning back to upgrading;
Control module, for when described master controller is upgraded unsuccessfully to the software module of controlling, controls described master controller and the software module of the needs upgrading of control is return back to the old AKU of operation before upgrading.
15. devices according to claim 14, is characterized in that, this device further comprises:
Receiving element, for receiving and store described storage array that master controller sends new AKU used when current need to the upgrading;
Sequentially upgrade according to setting to the software module of the needs upgrading of controlling according to described new AKU in described upgrading unit;
Cleaning unit, for after the software module of the needs upgrading of controlling being upgraded successfully from controller, the deletion notice sending according to main control is deleted the old AKU of software module operation before upgrading of the described needs upgrading of controlling from controller; And,
After the old AKU of moving before returning back to upgrading in described master controller, the described software module of all controlling the needs upgrading of self controlling from controller, further delete described new AKU.
CN201310731126.1A 2013-12-26 2013-12-26 Method and device for avoiding service interruption of storage array in upgrading process Pending CN103713925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310731126.1A CN103713925A (en) 2013-12-26 2013-12-26 Method and device for avoiding service interruption of storage array in upgrading process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310731126.1A CN103713925A (en) 2013-12-26 2013-12-26 Method and device for avoiding service interruption of storage array in upgrading process

Publications (1)

Publication Number Publication Date
CN103713925A true CN103713925A (en) 2014-04-09

Family

ID=50406928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310731126.1A Pending CN103713925A (en) 2013-12-26 2013-12-26 Method and device for avoiding service interruption of storage array in upgrading process

Country Status (1)

Country Link
CN (1) CN103713925A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980956A (en) * 2015-06-29 2015-10-14 迈锐数据(北京)有限公司 Method for remotely updating node firmware in batched manner
CN105704707A (en) * 2016-04-26 2016-06-22 江苏惠通集团有限责任公司 Slave equipment and air upgrading method thereof
CN106685688A (en) * 2016-09-26 2017-05-17 深圳市潮流网络技术有限公司 Cluster computer device synchronous upgrade method
CN107046476A (en) * 2017-02-21 2017-08-15 杭州迪普科技股份有限公司 A kind of method and device of edition upgrading
WO2017185706A1 (en) * 2016-04-28 2017-11-02 华为技术有限公司 System upgrade method and system upgrade apparatus
CN107315618A (en) * 2017-07-03 2017-11-03 郑州云海信息技术有限公司 A kind of software refreshing method for server power block
CN108958827A (en) * 2017-05-25 2018-12-07 贵州白山云科技有限公司 A kind of method and system of processing routine upgrade failure
CN109032639A (en) * 2018-07-19 2018-12-18 郑州云海信息技术有限公司 A kind of complete machine flogic system upgrade method, system and independent logical device
CN110515637A (en) * 2019-07-12 2019-11-29 湖南新云网科技有限公司 A kind of programme upgrade method, system and terminal device
CN111796854A (en) * 2020-07-03 2020-10-20 中国建设银行股份有限公司 Module hot upgrading method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device
US20100042869A1 (en) * 2008-08-18 2010-02-18 F5 Networks, Inc. Upgrading network traffic management devices while maintaining availability
CN101876910A (en) * 2009-10-28 2010-11-03 创新科存储技术有限公司 Double-controller disk memory array, firmware upgrading method and controller thereof
CN103047739A (en) * 2012-12-28 2013-04-17 无锡博欧节能科技有限公司 Intelligent central ventilation system and remote automatic batch software updating method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616018A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 The method of upgrading network management software and device
US20100042869A1 (en) * 2008-08-18 2010-02-18 F5 Networks, Inc. Upgrading network traffic management devices while maintaining availability
CN101876910A (en) * 2009-10-28 2010-11-03 创新科存储技术有限公司 Double-controller disk memory array, firmware upgrading method and controller thereof
CN103047739A (en) * 2012-12-28 2013-04-17 无锡博欧节能科技有限公司 Intelligent central ventilation system and remote automatic batch software updating method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980956A (en) * 2015-06-29 2015-10-14 迈锐数据(北京)有限公司 Method for remotely updating node firmware in batched manner
CN104980956B (en) * 2015-06-29 2019-02-22 迈锐数据(北京)有限公司 The method of remote batch update node firmware
CN105704707A (en) * 2016-04-26 2016-06-22 江苏惠通集团有限责任公司 Slave equipment and air upgrading method thereof
CN107341024A (en) * 2016-04-28 2017-11-10 华为技术有限公司 Method for upgrading system and system upgrade device
WO2017185706A1 (en) * 2016-04-28 2017-11-02 华为技术有限公司 System upgrade method and system upgrade apparatus
CN106685688A (en) * 2016-09-26 2017-05-17 深圳市潮流网络技术有限公司 Cluster computer device synchronous upgrade method
CN107046476A (en) * 2017-02-21 2017-08-15 杭州迪普科技股份有限公司 A kind of method and device of edition upgrading
CN108958827A (en) * 2017-05-25 2018-12-07 贵州白山云科技有限公司 A kind of method and system of processing routine upgrade failure
CN108958827B (en) * 2017-05-25 2021-11-02 贵州白山云科技股份有限公司 Method and system for processing program upgrading fault
CN107315618A (en) * 2017-07-03 2017-11-03 郑州云海信息技术有限公司 A kind of software refreshing method for server power block
CN109032639A (en) * 2018-07-19 2018-12-18 郑州云海信息技术有限公司 A kind of complete machine flogic system upgrade method, system and independent logical device
CN110515637A (en) * 2019-07-12 2019-11-29 湖南新云网科技有限公司 A kind of programme upgrade method, system and terminal device
CN111796854A (en) * 2020-07-03 2020-10-20 中国建设银行股份有限公司 Module hot upgrading method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN103713925A (en) Method and device for avoiding service interruption of storage array in upgrading process
US9110843B2 (en) Rack and method thereof for simultaneously updating basic input output systems
US8713553B2 (en) Disk array apparatus and firmware update method therefor
CN100492305C (en) Fast restoration method of computer system and apparatus
CN102855146A (en) Firmware updating system and method
CN104090796A (en) Embedded device program updating method and system
CN101876910A (en) Double-controller disk memory array, firmware upgrading method and controller thereof
WO2009046284A1 (en) Firmware image update and management
CN102238093A (en) Service interruption prevention method and device
CN112100005B (en) Redis copy set implementation method and device
CN113360347B (en) Server and control method thereof
CN100583782C (en) Software upgrade method and device
CN106469069B (en) Version upgrading method and system
CN101521730A (en) Method, system and television for automatically upgrading television
CN102243594A (en) Method for safely and remotely upgrading embedded Linux system software
US9864596B2 (en) Network switch system and operating method thereof
CN110750309B (en) System and method capable of remotely controlling electronic equipment
US11073893B2 (en) System and method capable of remotely controlling electronic apparatus
US7861112B2 (en) Storage apparatus and method for controlling the same
CN115809164A (en) Embedded equipment, embedded system and hierarchical reset control method
CN102541682A (en) Method for restoring abnormal programs in embedded system quickly and automatically
CN101556542B (en) Method and equipment for upgrading device in paired redundant structure
TW202105217A (en) Electronic apparatus, system and method capable of remotely maintaining the operation of electronic apparatus
CN111427259B (en) Main and standby switching method of machine frame slot type, intelligent equipment and storage medium
CN116560678A (en) Firmware updating method and device, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Free format text: FORMER OWNER: COOL CLOUDZ INFORMATION TECHNOLOGY (TIANJIN) CO., LTD.

Effective date: 20150323

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 536000, Taiwan Road, the Guangxi Zhuang Autonomous Region, Beihai, northeast of Jilin Road (China Electronics Beihai Industrial Park, East 14 room)

Applicant after: BEIHAI YUNSHENG TECHNOLOGY CO.,LTD.

Applicant after: CoolCloudz Information Technology (Tianjin) Co.,Ltd.

Address before: 536000, Taiwan Road, the Guangxi Zhuang Autonomous Region, Beihai, northeast of Jilin Road (China Electronics Beihai Industrial Park, East 14 room)

Applicant before: Beihai Innovation Technology Storage Technology Co.,Ltd.

Applicant before: CoolCloudz Information Technology (Tianjin) Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: BEIHAI UNITED INFORMATION TECHNOLOGY CO., LTD. TO: BEIHAI YUNSHENG TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right

Effective date of registration: 20150323

Address after: 536000, Taiwan Road, the Guangxi Zhuang Autonomous Region, Beihai, northeast of Jilin Road (China Electronics Beihai Industrial Park, East 14 room)

Applicant after: BEIHAI YUNSHENG TECHNOLOGY CO.,LTD.

Address before: 536000, Taiwan Road, the Guangxi Zhuang Autonomous Region, Beihai, northeast of Jilin Road (China Electronics Beihai Industrial Park, East 14 room)

Applicant before: BEIHAI YUNSHENG TECHNOLOGY CO.,LTD.

Applicant before: CoolCloudz Information Technology (Tianjin) Co.,Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140409