CN102457547A - Upgrading method for storage area network equipment of multiple controllers - Google Patents

Upgrading method for storage area network equipment of multiple controllers Download PDF

Info

Publication number
CN102457547A
CN102457547A CN2010105229305A CN201010522930A CN102457547A CN 102457547 A CN102457547 A CN 102457547A CN 2010105229305 A CN2010105229305 A CN 2010105229305A CN 201010522930 A CN201010522930 A CN 201010522930A CN 102457547 A CN102457547 A CN 102457547A
Authority
CN
China
Prior art keywords
controller
upgrade
refresh routine
storage area
area network
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
CN2010105229305A
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2010105229305A priority Critical patent/CN102457547A/en
Publication of CN102457547A publication Critical patent/CN102457547A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an upgrading method for storage area network equipment of multiple controllers, which is used for upgrading operation programs of the multiple controllers. The upgrading method comprises the following steps: sending a fault transfer command to a second controller through a first controller, stopping the running of the second controller and recording the environment setting of the second controller; updating a program for the second controller and updating the operating program of the second controller; after finishing the program updating by the second controller, sending a fault restoring command to the first controller by the second controller and restarting the second controller; sending the fault transfer command to the second controller through the first controller, stopping the running of the first controller and recording the environment setting of the first controller; updating the program for the first controller; and sending the fault restoring command to the second controller by the first controller and restarting the first controller.

Description

The upgrade method of the storage area network equipment of multi-controller
Technical field
The present invention is particularly to a kind of upgrade method of the storage area network equipment of multi-controller about the upgrade method of a kind of storage area network equipment.
Background technology
Along with the raising of network speed, also let the related development fast of document storage system.Be the unbroken service of user that offers that can be real-time, therefore in document storage system, a plurality of controllers can be set, and each controller all can independently provide the service of file storage.
For instance, storage area network (Storage Area Network, hardware SAN) by two independently controller form, each controller is equivalent to a complete system, independent operating and work that can be voluntarily.As long as there is a controller to be in normal operating condition, whole SAN just can operate as normal.And the cooperation through two controllers, the user operation such as can change, restart, close to any one controller and not influence the operate as normal of SAN.But also need handle two problems such as information synchronization on the controller simultaneously.File service is as an important application on the dual controller, also need guarantee user's operation on the dual controller synchronously, the configuration file that the user upgrades is wanted can be upgraded in time and on dual controller, carry out synchronously.
At present, for the fault transfer (fail Over) of file service on the dual controller, all adopt high availability (HA) cluster to realize basically.But during SAN was upgraded, the dual controller among the SAN all can be stopped.If the user is also carrying out access during this period, the problem of just might file damaging.
Summary of the invention
In view of above problem, the invention reside in the upgrade method that a kind of storage area of multi-controller network equipment is provided, in order to the operation procedure of upgrading multi-controller.
The upgrade method of the storage area network equipment of the disclosed multi-controller of the present invention may further comprise the steps: see through first controller second controller is sent the fault transfer command, and stop the running of second controller and write down the environment set of second controller; Second controller is carried out refresh routine, in order to upgrade the operation procedure of second controller; After second controller was accomplished refresh routine, second controller sent the fault recovery order to first controller, and restarts second controller; Send the fault transfer command by first controller to second controller, and stop the running of first controller and write down the environment set of first controller; First controller is carried out refresh routine, in order to upgrade the operation procedure of first controller; After first controller was accomplished refresh routine, first controller sent the fault recovery order to this second controller, and restarts first controller.
The upgrade method of the storage area network equipment of multi-controller proposed by the invention can be in the service of the storage area network equipment that does not stop multi-controller and the processing that each controller is upgraded.Therefore the user is in transfer files, can not interrupt file transfer because of the upgrading of the storage area network equipment of multi-controller.
About characteristic of the present invention and real the work, conjunction with figs. is made most preferred embodiment and is specified as follows.
Description of drawings
Fig. 1 is a configuration diagram of the present invention;
Fig. 2 is a file method for updating flow chart on the dual controller of the present invention;
Fig. 3 is a controller state sketch map of the present invention;
Fig. 4 is each item environment set flow chart of the present invention;
Fig. 5 is the configuration diagram of iSCSI service of the present invention.
Wherein, Reference numeral:
110 first controllers
120 second controllers
112,122 microprocessors
114,124 memory bodys
116,126 network cards
130 base plates
140 hard disks
Embodiment
Effect of the present invention and manner of execution thereof specify in following preferred embodiment.Yet notion of the present invention also can be used for other scopes.Following listed examples only is used to the object of the invention and manner of execution are described, is not in order to limit its scope.
The upgrade method of the storage area network equipment of multi-controller is used to test the system architecture that possesses dual controller and shared single storage device.Fig. 1 is the sketch map of the system architecture that possesses dual controller and shared single storage device of preferred embodiment of the present invention.The so-called double-controller system of the present invention, can be considered is the distributed system that the computer with two tool basic operation abilities links, however the double-controller system of indication is slightly different with general distributed system here, please with reference to Fig. 1.First controller 110 has microprocessor 112, memory body 124 and network card 116; Second controller 120 is same has microprocessor 122, memory body 114 and network card 126; Two controllers all are provided with the Intranet IP address of different Intranet, and can grid line equipment such as (or with wireless network medium) to link each other be the small area network.Many hard disks 140 are used the common access data for first controller 110 is connected with second controller 120 with base plate 130 (backplane) polyphone.In other words, double-controller system can be considered the mininet that links with two computers that basic operation and network function arranged, but the shared single storage device of this two computers.
Next, the upgrade method of the storage area network equipment of multi-controller of the present invention is described.Fig. 2 and Fig. 3, it is respectively file method for updating flow chart and controller state sketch map on the dual controller of the present invention.Please with reference to Fig. 2, whether the method for the read-write capability of verification storage device is normal in order to the function of checking aforementioned first controller 110 and the single storage device of second controller, 120 accesses (being many hard disks 140 of Fig. 1), and it comprises the following steps:
Step S210: see through first controller second controller is sent fault transfer command (failover), and stop the running of second controller and write down the environment set of second controller;
Step S220: second controller is carried out refresh routine, in order to upgrade the operation procedure of second controller;
Step S230: after second controller was accomplished refresh routine, second controller sent fault recovery order (failback) to first controller, and restarts second controller;
Step S240: send the fault transfer command by first controller to second controller, and stop the running of first controller and write down the environment set of first controller;
Step S250: first controller is carried out refresh routine, in order to upgrade the operation procedure of first controller; And
Step S260: after first controller was accomplished refresh routine, first controller sent the fault recovery order to this second controller, and restarts first controller.
Because for guaranteeing controller in the process of upgrading, its running of can acting for sb of another controller.So when controller is desired to carry out ROMPaq, can send the fault transfer command to another controller.Fault transfer command role is: when a controller can't work on owing to upgrading, and the process that all accessing operations of this controller and services request are taken over by another controller pellucidly.And take over each item environment set that more comprises in the above-mentioned process as among Fig. 4:
Step S410: to the state of the memory device under the controller record of desiring to upgrade;
Step S420: the network service of taking over the controller of desiring to upgrade by the controller of carrying out refresh routine; And
Step S430: the services request of desiring to upgrade that controller received is forwarded to the controller of carrying out refresh routine.
Corresponding to the fault transfer command, after controller was accomplished upgrading, controller can require to return the order of the access service of being acted for sb to another controller, and this order is exactly the fault recovery order.Fault recovery order role is: if after the controller upgrading accomplishes, and after the normal again operation, the process that another controller can be taken over back accessing operation and services request again.
For the environment set of fault transfer command and fault transfer command, below with iSCSI document storage system with dual controller as explanation, and please refer to shown in Figure 5ly, it is the configuration diagram of iSCSI service of the present invention.The user sees through the iSCSI originating end iscsi target end is carried out duplicating of file.The iSCSI originating end can be selected one of them control end as file access from dual controller.Because the dual controller framework, system can provide the function of interleaving access to the user, so for the user, which controller the user need not make a choice to, also can reach the operation of equivalent environment.In other words, the user just connects one of them controller, but still can visit the virtual disk (virtual disk) on another controller.
The iSCSI service take-over is before IP is taken over by first controller 110, copies to first controller 110 to the iscsi target end on second controller 120.The connection of whole like this iSCSI service just can be taken on first controller 110 from second controller 120, and the task of former connection also is assigned in the correct connection.
The network convention service take-over is provided by the network management module in each controller.Network management module can let the network service on another controller, set up when the outer net service stopping of some controllers, is equivalent to let first controller 110 take over the service of second controller, 120 outer nets.The target that this correct network convention has been arranged, user's iSCSI originating end could be connected to first controller 110 with the TCP mode.
The adapter of the state of memory device is that the storage device management module by each controller provides; The thing that the storage device management module is made is through having revised the controller attribute of storage device management module; Transfer to the memory device of the virtual disk on the controller on another controller; The iSCSI service could be visited the virtual disk after taking over, and carries out normal read-write operation.The present invention is applied in the iSCSI document storage system except above-mentioned, can also be applied in the system of other multi-controllers.Service for other multi controller systems provided also has corresponding setting with memory device, is not only to limit to above-mentioned example.
Refresh routine (upgrade service) is a kind of finger daemon (daemon); Each controller all can be constantly the operation refresh routine; And see through transmission control agreement (Transmission Control Protocol is called for short TCP) mode and another controller is upgraded.Wherein, two controllers mode that can see through heartbeat line (heart beat) is got in touch.
Be each controller of convenient explanation multi-controller, therefore separated as the district with first controller 110 and second controller 120, its execution sequence is not limited to this.Suppose that second controller 120 carries out the controller of refresh routine for first.In Fig. 3 with from top to bottom as the flow direction of time.
Two controllers all can start the refresh routine (step a) of corresponding diagram 3 at the beginning in Fig. 3.Then, send the fault transfer command (step b) of corresponding diagram 3 by second controller 120 to first controller 110.After first controller 110 is accomplished the relevant environment of taking over second controller 120, will carry out the refresh routine (step c) of corresponding diagram 3 to second controller 120.
After accomplishing second controller, 120 completion refresh routines; Second controller 120 sends the fault recovery order to first controller 110; And return the relevant environment set of second controller 120, restart second controller 120 (steps d of corresponding diagram 3 and the step e).After second controller 120 has been confirmed normally to move; Then send the fault transfer command (step f) of corresponding diagram 3, and stop the running of first controller 110 and write down the environment set of first controller 110 to second controller 120 by first controller 110.Then, first controller 110 is carried out the refresh routine (step g) of corresponding diagram 3.And after first controller 110 is accomplished refresh routine; First controller 110 sends fault recovery order (the step h of corresponding diagram 3) to this second controller 120; Restart first controller 110 (step I of corresponding diagram 3), can accomplish the upgrading of document storage system.
The upgrade method of the storage area network equipment of multi-controller proposed by the invention can be in service that does not stop the storage area network equipment and the processing that each controller is upgraded.Therefore the user can not interrupted file transfer because of the upgrading of the storage area network equipment in transfer files.

Claims (2)

1. the upgrade method of the storage area network equipment of a multi-controller, the operation procedure in order to the upgrading multi-controller is characterized in that this upgrade method may further comprise the steps:
One first controller that sees through in the multi-controller sends a fault transfer command to one second controller, and stops the running of this second controller and write down an environment set of this second controller;
This second controller is carried out a refresh routine, in order to upgrade an operation procedure of this second controller;
After this second controller was accomplished this refresh routine, this second controller sent fault recovery order to this first controller, and restarts this second controller;
Send this fault transfer command by this first controller to this second controller, and stop the running of this first controller and write down this environment set of this first controller;
This first controller is carried out this refresh routine, in order to upgrade this operation procedure of this first controller; And
After this first controller was accomplished this refresh routine, this first controller sent this fault recovery order to this second controller, and restarts this first controller.
2. the upgrade method of the storage area network equipment of multi-controller as claimed in claim 1 is characterized in that, writes down in the step of this environment set also to comprise:
State to the memory device under this controller record of desiring to upgrade;
The one network service of taking over this controller of desiring to upgrade by this controller of carrying out this refresh routine; And
The services request of desiring to upgrade that this controller received is forwarded to this controller of carrying out this refresh routine.
CN2010105229305A 2010-10-20 2010-10-20 Upgrading method for storage area network equipment of multiple controllers Pending CN102457547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105229305A CN102457547A (en) 2010-10-20 2010-10-20 Upgrading method for storage area network equipment of multiple controllers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105229305A CN102457547A (en) 2010-10-20 2010-10-20 Upgrading method for storage area network equipment of multiple controllers

Publications (1)

Publication Number Publication Date
CN102457547A true CN102457547A (en) 2012-05-16

Family

ID=46040199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105229305A Pending CN102457547A (en) 2010-10-20 2010-10-20 Upgrading method for storage area network equipment of multiple controllers

Country Status (1)

Country Link
CN (1) CN102457547A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259806A (en) * 2015-10-16 2016-01-20 珠海格力电器股份有限公司 Controller upgrade method and system, main controller and slave controller
CN106648947A (en) * 2016-12-22 2017-05-10 北海市云盛科技有限公司 Method and device for testing storage device with multiple controllers
CN110780903A (en) * 2019-10-25 2020-02-11 广东博智林机器人有限公司 Software upgrading method, device, equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1497439A (en) * 2002-10-15 2004-05-19 国际商业机器公司 Self-copy installation method and system for operation system schooling
US20050102562A1 (en) * 2003-11-12 2005-05-12 Hitachi, Ltd. Method and system for installing program in multiple system
CN101136900A (en) * 2006-10-16 2008-03-05 中兴通讯股份有限公司 Fast transparent fault shift device and implementing method facing to service
CN101739263A (en) * 2008-11-11 2010-06-16 英业达股份有限公司 Method and device for realizing operating system update in multi-computer cluster system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1497439A (en) * 2002-10-15 2004-05-19 国际商业机器公司 Self-copy installation method and system for operation system schooling
US20050102562A1 (en) * 2003-11-12 2005-05-12 Hitachi, Ltd. Method and system for installing program in multiple system
CN101136900A (en) * 2006-10-16 2008-03-05 中兴通讯股份有限公司 Fast transparent fault shift device and implementing method facing to service
CN101739263A (en) * 2008-11-11 2010-06-16 英业达股份有限公司 Method and device for realizing operating system update in multi-computer cluster system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105259806A (en) * 2015-10-16 2016-01-20 珠海格力电器股份有限公司 Controller upgrade method and system, main controller and slave controller
CN105259806B (en) * 2015-10-16 2018-01-23 珠海格力电器股份有限公司 Controller upgrade method and system and master controller and from controller
CN106648947A (en) * 2016-12-22 2017-05-10 北海市云盛科技有限公司 Method and device for testing storage device with multiple controllers
CN106648947B (en) * 2016-12-22 2019-09-13 北海市云盛科技有限公司 A kind of method and apparatus of test multi-controller storage equipment
CN110780903A (en) * 2019-10-25 2020-02-11 广东博智林机器人有限公司 Software upgrading method, device, equipment and computer storage medium
CN110780903B (en) * 2019-10-25 2023-04-07 广东博智林机器人有限公司 Software upgrading method, device, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN100507821C (en) Methods and apparatus for distributing data within a storage area network
US7788453B2 (en) Redirection of storage access requests based on determining whether write caching is enabled
US9460028B1 (en) Non-disruptive and minimally disruptive data migration in active-active clusters
TWI239444B (en) Method and apparatus for reliable failover involving incomplete raid disk writes in a clustering system
EP2849048B1 (en) Data sending method, data receiving method and storage device
US7770053B1 (en) Systems and methods for maintaining data integrity during a migration
US8468313B2 (en) Asynchronous replication with write concurrency grouping
US9336132B1 (en) Method and system for implementing a distributed operations log
US8775861B1 (en) Non-disruptive storage device migration in failover cluster environment
US10459813B2 (en) System and device for synchronizing data in a plurality of devices
JP2008225616A (en) Storage system, remote copy system and data restoration method
US8255676B2 (en) Non-disruptive methods for updating a controller of a storage system
CN103823708B (en) The method and apparatus that virtual machine read-write requests are processed
CN101815986A (en) Splitting writes between a storage controller and replication engine
US10664193B2 (en) Storage system for improved efficiency of parity generation and minimized processor load
CN106610788B (en) Hard disk array control method and device
JP5027939B1 (en) Host server with virtual storage for virtual machines
CN102457547A (en) Upgrading method for storage area network equipment of multiple controllers
US20050198411A1 (en) Commingled write cache in dual input/output adapter
CN111158955B (en) High-availability system based on volume replication and multi-server data synchronization method
US20140337847A1 (en) Cluster system and method for executing a plurality of virtual machines
US7587466B2 (en) Method and computer system for information notification
US10884881B2 (en) Scale-out storage system and configuration information control method for implementing high-availability, high-speed failover
JP2021033782A (en) Remote copy system
US20140316539A1 (en) Drivers and controllers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120516