JP4824345B2 - Active firmware exchange device - Google Patents
Active firmware exchange device Download PDFInfo
- Publication number
- JP4824345B2 JP4824345B2 JP2005160817A JP2005160817A JP4824345B2 JP 4824345 B2 JP4824345 B2 JP 4824345B2 JP 2005160817 A JP2005160817 A JP 2005160817A JP 2005160817 A JP2005160817 A JP 2005160817A JP 4824345 B2 JP4824345 B2 JP 4824345B2
- Authority
- JP
- Japan
- Prior art keywords
- firmware
- host
- controller
- cpu
- control
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、例えばサーバに使用する大容量記憶装置の如きストレージ装置の、ファームウェアの活性交換装置に関するものである。 The present invention relates to a hot swapping device for firmware of a storage device such as a mass storage device used for a server.
(先行技術)
従来、ストレージ装置とホスト装置を接続状態にした活性化状態において、ファームウェアをファームウェアA→Bに交換する場合、先行技術では、図6(A)〜(D)に示す如く、各部を動作してその交換を行っていた。図6において、100はストレージ装置、101はストレージ装置100の記憶部、102はストレージ装置100のコントロール部(コントローラ・モジュールCM0)、103はストレージ装置100のもう一方のコントロール部 (コントローラ・モジュールCM1)、104はコントロール部102を制御するプロセッサ、105はコントロール部103を制御するプロセッサ、ファームAは、前記プロセッサ104、105を動作するファームウェアでAはバージョンを示す。110はストレージ装置100をアクセス制御するホスト装置であり、ストレージ装置100とホスト装置110等により、サーバを構成する。
(Prior art)
Conventionally, when the firmware is exchanged from firmware A to B in the activated state in which the storage device and the host device are in the connected state, in the prior art, as shown in FIGS. I was doing that exchange. 6,
先行技術では、ファームウェアAをバージョンアップされたファームウェアBに交換するとき、図6(A)〜(D)に示す如く、コントロール部102、103の一方をホスト装置110と切断状態にしてファームウェアを交換していた。
In the prior art, when the firmware A is replaced with the upgraded firmware B, the firmware is replaced with one of the
通常は図6(A)に示す状態でコントロール部102、103をホスト装置110に対し並列運動して記憶部101に対してI/O処理を行っている。
Normally, in the state shown in FIG. 6A, the
ファームウェアAをBにバージョンアップするとき、図6(B)に示す如く、ホスト装置110とコントロール部102間を断状態にし、ファームウェアの交換を行う。
When the firmware A is upgraded to B, as shown in FIG. 6B, the
それから、図6(C)に示す如く、コントロール部102とホスト装置110とを接続し、コントロール部103と、ホスト装置110とを断状態にし、コントロール部103におけるファームウェアAをBに交換してそのバージョンアップを行う。
Then, as shown in FIG. 6C, the
このように、ファームウェアの交換が完了した後、図6(D) に示す如く、ホスト装置110とコントロール部103間も接続状態に戻り、再びホスト装置110は記憶部101をコントロール部102、103より並行してアクセス制御することができる。
As described above, after the firmware replacement is completed, the
(従来例1)
従来例1では、ファームウェアに、制御に必要な各種データを保存するための内部テーブル領域と、該ファームウェアの活性交換中に該内部テーブル領域のデータのうち該ファームウェアの交換前後で必要なデータを一時的に退避させるための退避領域と、割込みに応じて該内部テーブル領域を参照しながら該割込みに応じた処理へ移行する通常機能、及び該ファームウェアの活性交換中に該上位装置に対してビジー応答を行うビジー応答機能を割込み処理機能として有する第1の割込み制御部と、該ファームウェアの活性交換中に該上位装置に対してビジー応答を行うビジー応答機能のみを割込み処理機能として有する第2の割込み制御部を含み、上位装置との結合動作中に磁気ディスク制御装置を構成するファームウェアを交換できるようにしたものである。(特許文献1参照)
In the conventional example 1, the internal table area for storing various data necessary for control in the firmware and the data necessary for the internal table area before and after the firmware replacement are temporarily stored during the active replacement of the firmware. A save area for automatically saving, a normal function for shifting to the process according to the interrupt while referring to the internal table area according to the interrupt, and a busy response to the host device during the active replacement of the firmware A first interrupt control unit having a busy response function as an interrupt processing function, and a second interrupt having only a busy response function as a interrupt processing function for performing a busy response to the host device during active replacement of the firmware Including the control unit, the firmware constituting the magnetic disk control device can be replaced during the coupling operation with the host device. It is obtained by the. (See Patent Document 1)
上記先行技術では、コントロール部102、103を片方ずつファームウェア交換することで、ストレージ装置100とホスト装置110とのパスがすべて同一時点で切れることを防止している。この方式では下記A、Bに示す問題がある。
In the above-described prior art, the paths of the
A.前記図6(B)、(C)に示す如き、ファームウェア交換中のコントロール部102または103ではホスト装置110からのコマンドを受け付けることができず、切断状態となる。すなわち、この間、ホスト装置110側では切断されていない側にだけコマンドを発行し、ファームウェアの交換が完了したら元の並列運転に戻すという複雑な制御を必要とした。
A. As shown in FIGS. 6B and 6C, the
B.またファームウェアの交換中に全パス閉塞を防ぐためには2つ以上のコントロール部が必要であり、コスト削減の妨げであった。 B. Also, in order to prevent all paths from being blocked during firmware replacement, two or more control units are necessary, which hinders cost reduction.
C.上記従来技術1では、ファームウェア交換中にホストCPUからのI/O処理が発生したとき、ビジー応答を報告するが、ビジー応答中はホストCPUからデータを送ることができないのみならずリトライ処理が必要となり、応答制御に時間がかかる。
C. In the above
このため、本発明では、ファームウェア交換中でもファームウェア活性交換中のパス切れを防止し、コントロール部が1つでもホスト装置とのパス切れを生じないように構成し、またファームウェア交換中にホスト装置よりI/O処理が発生してもビジー応答を報告する必要のない、活性ファームウェア交換装置を提供するものである。 For this reason, the present invention is configured to prevent path disconnection during firmware active replacement even during firmware replacement, so that even one control unit does not cause path disconnection with the host apparatus. The present invention provides an active firmware exchanging apparatus that does not need to report a busy response even when an / O process occurs.
このようなことを達成するため、本発明では下記 (1) の如き、活性ファームウェア交換装置を提供する。 In order to achieve this, the present invention provides an active firmware exchanging apparatus as described in (1) below.
(1) :ホスト装置と、ホスト装置に接続されたコントロール部と、このコントロール部により入出力処理される記憶部を具備したストレージ装置において、前記コントロール部に少なくとも左と右のプロセッサと、左と右のファームウェア保持部を設け、前記ファームウェア保持部に、ファームウェアで実行中のホストI/Oは継続し、ファームウェア活性交換指示後に受信したホスト装置のI/O命令に対し記憶部の入出力制御を行う際のホストI/O情報を退避メモリ域に退避させるホストI/O処理手段と、左ファームウェアで実行中のホストI/Oが全て完了した時点でコントローラ割込みを断状態にするとともに、右ファームウェアにペンデング中のホスト装置のI/O命令に対し記憶部の入出力制御を行う際のホストI/O情報、及びホストI/O情報を退避させた退避メモリ域の退避域アドレスや入出力インターフェース等の制御に関するコントローラ情報を通知するホストI/O完了監視手段と、右ファームウェアは左ファームウェアからの通知を元に、ペンデング中のホストI/Oを受継いで制御できるようにコントローラ制御域を構築するコントローラ制御域構築手段と、コントローラの割込み通知CPUの切替を行うCPU切替処理手段と、コントローラの割込みを可能状態にし、ペンデング中のホストI/Oを再開するコントローラ割込み処理手段と、新ファームウェアをダウンロードして他ファームウェア領域に展開してそのCPUを起動する新ファームダウンロード処理手段と、ダウンロードした新ファームウェアを保持するファームウェア保持手段を備え、ファームウェア活性交換指示により、ホストI/O処理手段では、左ファームウェアで実行中のホストI/O処理を継続し、ファームウェア交換指示後に受信したホストI/O情報を退避メモリ域に退避させ、ホストI/O完了監視手段では左ファームウェアで実行中のホストI/Oが全て完了した時点で割込みを断にし、右ファームウェアにペンデング中のホストI/O情報、及びコントローラ情報を通知し、右ファームウェアではコントローラ制御域構築手段が左ファームウェアから通知された前記ホストI/O情報及びコントローラ情報を元に、ペンデング中のホストI/Oを受継いで制御できるようにコントローラ制御域を構築し、CPU切替処理手段がコントローラの割込み通知、CPUの切替を行い、コントローラ割込処理手段がコントローラの割込みをイネーブルにし、ペンデング中ホストI/Oを再開し、新ファームダウンロード処理手段が新ファームウェアをダウンロードして新ファームウェアを左ファームウェア領域に展開し、左CPUを起動する。 (1): In a storage device including a host device, a control unit connected to the host device, and a storage unit that is input / output processed by the control unit, the control unit includes at least left and right processors, The right firmware holding unit is provided, and the host I / O being executed by the firmware is continued in the firmware holding unit, and the input / output control of the storage unit is performed in response to the I / O command of the host device received after the firmware hot replacement instruction. The host I / O processing means for saving the host I / O information at the time of execution to the save memory area, and when all the host I / O being executed by the left firmware is completed, the controller interrupt is turned off and the right firmware Host I / O information when performing input / output control of the storage unit in response to an I / O command of the host device that is pending And host I / O completion monitoring means for notifying controller information related to the control of the save area address and input / output interface of the save memory area where the host I / O information is saved, and the right firmware is based on the notification from the left firmware , Controller control area construction means for constructing a controller control area so that it can take over and control the pending host I / O, CPU switching processing means for switching the interrupt notification CPU of the controller, and controller interrupt enabled state Controller interrupt processing means for resuming pending host I / O, new firmware download processing means for downloading new firmware, expanding it in another firmware area and starting the CPU, and holding the downloaded new firmware Firmware retention means For example, the firmware active replacement instruction, the host I / O processing means continues the host I / O processing running on the left firmware, retracts the host I / O information received after firmware change instruction to save memory area, the host I / O completion monitoring means to interrupt the interrupt upon completion of all the host I / O running on the left firmware notifies the host I / O information in Pendengu right firmware, and controller information, right based on the host I / O information and controller information controller control region construct means is notified from the left firmware in the firmware, built a controller control range to be able to control inherited host I / O in Pendengu, C The PU switching processing means performs controller interrupt notification and CPU switching, and controller interrupt processing Means to enable the interrupt controller, Resume host I / O in Pendengu, new firmware download processing means to download new firmware to expand the new firmware to the left firmware area, it activates the left CPU.
本発明により下記の効果を奏することができる。 The following effects can be achieved by the present invention.
A.本発明ではコントロール部内にCPUを二つ搭載し、CPU単位でのファームウェア活性交換を行うように制御するのでファームウェア活性交換中のパス切れを防止できる。これによりホストでは特別な処理が不要となり、複雑な制御を必要としない。 A. In the present invention, two CPUs are mounted in the control unit, and control is performed so that firmware active replacement is performed in units of CPUs, so that it is possible to prevent path interruption during firmware active replacement. This eliminates the need for special processing in the host and does not require complicated control.
B.コントロール部が1つでも、ホストとのパス切れがないため、コントロール部が1つでも安全に動作させることができ、構成が簡単となる。(なお実施例ではコントロール部が2個設けられた例について説明しているが、これは従来例にあわせて説明したことによるものであり、コントロール部が1個でもパス切れがないことは明らかである。)
C.本発明ではビジー応答割込み処理を行わないので、ビジー応答にもとづく再実行において入出力エラーとなったとき入出力インターフェース異常としてインターフェース閉塞されるような問題の生じることはない。
B. Even if there is one control unit, there is no disconnection of the path with the host, so even one control unit can be operated safely, and the configuration becomes simple. (In the embodiment, an example in which two control units are provided has been described. However, this is due to the description in accordance with the conventional example, and it is clear that even one control unit has no pass break. is there.)
C. Since busy response interrupt processing is not performed in the present invention, there is no problem that the interface is blocked as an input / output interface error when an input / output error occurs during re-execution based on the busy response.
本発明の一実施の形態を図1及び図2にもとづき説明する。図1は本発明の概略図、図2は本発明の機能構成説明図である。 An embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a schematic diagram of the present invention, and FIG. 2 is a functional configuration explanatory diagram of the present invention.
図1により、本発明を概略説明する。図1において、0はホスト装置であって記憶部101に対してコントローラ・モジュールCM0、CM1を経由して入出力アクセスを行うものであり、ホスト装置0、コントローラ・モジュールCM0、CM1、記憶部101により、サーバを構成している。
The present invention will be outlined with reference to FIG. In FIG. 1, 0 is a host device that performs input / output access to the
本発明ではコントローラ・モジュールCM0に2台のCPU1、11を設け、各CPU1、11は同じバージョンのファームウェアであるファームA、Aにより、ホスト装置0のI/O命令に対し記憶部101に対するI/O制御を行うものである。コントローラ・モジュールCM1も、コントローラ・モジュールCM0と同様に、2台のCPUが搭載され、ホスト装置0のI/O命令にもとづき記憶部101に対するI/O制御を行っている。
In the present invention, two
図1(A)において、ウエブ・ブラウザを起動すると、コントローラ・モジュールCM0を制御する画面をダウンロードするとその中にファームウェアの更新(交換)というメニューが出力され、これを選択すると、ファームAの持っているファームウェア交換機能が動作して、以下の如き制御が行われる。 In FIG. 1A, when the web browser is started, a screen for controlling the controller module CM0 is downloaded, and a menu of firmware update (replacement) is output therein. The firmware exchange function is activated and the following control is performed.
先ず図1(B)に示すように、各コントローラ・モジュールCM0、CM1の左側のCPU1、1′における制御を右側のCPU11、11′に行わせるように制御が行われる。これにより右側のCPU11、11′により右パス (右P)のみならず左パス(左P)も右側のCPU(P左)により制御することが可能となり、全ホストアクセスを継続保障することができる。
First, as shown in FIG. 1B, control is performed so that the
それから、図1(B)に示す如く、左側のCPU(P左)1、1′のファームA、Aを新しいバージョンのファームBに交換する。 Then, as shown in FIG. 1B, the firmware A, A of the left CPU (P left) 1, 1 ′ is replaced with a new version of firmware B.
次に図1(C)に示す如く、コントローラ・モジュールCM0・CM1の左側のCPUに左パス(P左)と右パス (右P)とを制御させ、全ホストアクセスを継続保障する。そしてコントローラ・モジュールCM0・CM1のファームAを新バージョンのファームBに交換する。 Next, as shown in FIG. 1C, the left CPU (P left) and right path (right P) are controlled by the left CPU of the controller modules CM0 and CM1, and all host accesses are continuously guaranteed. Then, the firmware A of the controller module CM0 / CM1 is replaced with a new version of firmware B.
このようにファームA→Bに対する交換が完了したのち、各コントローラ・モジュールの左側のCPU1、1′に左パス (左P)を接続し、右側のCPUに右パス (右P)を接続して、新バージョンBにより各パス単位で各CPUにもとづく、図1(A)と同様の処理を行うことができる。このようにして全ホストアクセスを保持しながらファームA→Bに交換することができる。
After the replacement of firmware A → B is completed in this way, the left path (left P) is connected to the
本発明の機能構成を図1、図2に基づき説明する。図1、図2において、1、1′はCPU、2、2′はホストI/O処理手段、3、3′はホストI/O完了監視手段、4、4′はコントローラ制御域構築手段、5、5′はCPU切替処理手段、6、6′はコントローラ割込処理手段、7、7′はファームダウンロード処理手段、8、 8′はファームウェア保持部、11、11′はCPU、CM0、CM1はコントローラ・モジュールである。 The functional configuration of the present invention will be described with reference to FIGS. 1 and 2, 1, 1 'is a CPU, 2' is a host I / O processing means, 3 'is a host I / O completion monitoring means, and 4' is a controller control area construction means. 5, 5 'are CPU switching processing means, 6, 6' are controller interrupt processing means, 7, 7 'are firmware download processing means, 8, 8' are firmware holding units, 11, 11 'are CPU, CM0, CM1 Is a controller module.
CPU 1は、通常はホスト 0とコントローラ・モジュールCMを接続する。図 1における左側のパス (左P)を経由する制御情報、データ等を処理するものであるが、右ファーム活性交換指示(CPU1、11のうち図示左側のCPU1のファームA(右ファーム)を活性交換指示)の場合には、右側のパス(右P)を経由する制御情報、データ等の処理を行うものであり、コントローラ・モジュールCMの制御を行うものである。
The
ホストI/O処理手段2は、左ファーム活性交換指示時に左ファームで実行中のホストI/Oは継続し、左ファーム活性交換指示後に受信したホストI/Oを退避させて継続状態にするものである。この場合、ホストI/Oの退避メモリ域は、CPU再起動後も継続保持可能な高位アドレス域にする。 The host I / O processing means 2 continues the host I / O being executed in the left firmware at the time of the left firmware hot replacement instruction, and evacuates the host I / O received after the left firmware hot replacement instruction to make it continue. It is. In this case, the save memory area of the host I / O is a high-level address area that can be continuously held even after the CPU is restarted.
ホストI/O完了監視手段3は、左ファームで実行中のホストI/Oが全て完了した時点でコントローラ割込みを断状態にするとともに右ファーム(CPU1、11のうち図示右側のCPU11を制御するファームA)にペンデング中のホストI/O情報、コントローラ情報を通知するものである。
The host I / O completion monitoring unit 3 turns off the controller interrupt when all the host I / Os being executed in the left firmware are completed, and controls the right firmware (the firmware that controls the
コントローラ制御域構築手段4は、右ファームからの通知を元に、コントローラ制御域を動的に構築し、ペンデング中ホストI/Oを受継ぐものである。 The controller control area constructing means 4 dynamically constructs a controller control area based on the notification from the right firmware and inherits the pending host I / O.
CPU切替処理手段5は、コントローラの割込み通知、CPUの切替え制御(CPU11→CPU1)を行うものである。
The CPU switching processing means 5 performs controller interrupt notification and CPU switching control (
コントローラ割込処理手段6は、コントローラの割込み通知をイネーブル制御し、ペンデング中のホストI/Oを再開するものである。 The controller interrupt processing means 6 enables the interrupt notification of the controller to be enabled, and resumes the host I / O that is pending.
ファームダウンロード処理手段7は、新ファーム(ファームB)をダウンロードして右ファーム領域に展開し、CPU11を起動するものである。
The firmware download processing means 7 downloads a new farm (farm B), develops it in the right farm area, and activates the
ファームウェア保持手段8は、前記ホストI/O処理手段2〜ファームダウンロード処理手段7を保持するものであり、これらの各手段はCPU1を制御するファームAを構成するプログラムである。
The
CPU11は、通常はホスト0とコントローラ・モジュールCMを接続する、図1における右側のパス (右P)を経由する制御情報、データ等を処理するものであるが、左ファーム活性交換指示(CPU1、11のうち図示左側のCPU1のファームA(左ファーム)を活性交換する指示であり、左ファーム交換後、これに応じて右ファームAも活性交換される)の場合には、左側のパス(左P)を経由する制御情報、データ等の処理を行うものであり、コントローラ・モジュールCMの制御を行うものである。
The
ホストI/O処理手段2′は、右ファーム活性交換指示時に右ファームで実行中のホストI/Oは継続し、右ファーム活性交換指示後に受信したホストI/Oを退避させて継続状態にするものである。この場合、ホストI/Oの退避メモリ域は、CPU再起動後も継続保持可能な高位アドレス域にする。 The host I / O processing means 2 'continues the host I / O being executed in the right firmware at the time of the right firmware hot replacement instruction, and saves the host I / O received after the right firmware hot replacement instruction to enter the continuous state. Is. In this case, the save memory area of the host I / O is a high-level address area that can be continuously held even after the CPU is restarted.
ホストI/O完了監視手段3′は、右ファームで実行中のホストI/Oが全て完了した時点でコントローラ割込みを断状態にするとともに、左ファームにペンデング中のホストI/O情報、コントローラ情報を通知するものである。 The host I / O completion monitoring means 3 'disconnects the controller interrupt when all of the host I / O being executed in the right firmware is completed, and the host I / O information and controller information that are pending in the left firmware. Is to be notified.
コントローラ制御域構築手段4′は、左ファームからの通知を元に、コントローラ制御域を動的に構築し、ペンデング中ホストI/Oを受継ぐものである。 The controller control area construction means 4 'dynamically constructs a controller control area based on the notification from the left farm and inherits the pending host I / O.
CPU切替処理手段5′は、コントローラの割込み通知、CPUの切替制御(CPU1→CPU11)を行うものである。
The CPU switching processing means 5 ′ performs controller interrupt notification and CPU switching control (
コントローラ割込処理手段6′は、コントローラの割込み通知をイネーブル制御し、ペンデング中のホストI/Oを再開するものである。 The controller interrupt processing means 6 'controls to enable interrupt notification of the controller and resumes the host I / O that is pending.
ファームダウンロード手段7′は、新ファーム(ファームB)をダウンロードして左ファーム領域に展開し、左側のCPU1を起動するものである。
The firmware download means 7 ′ downloads a new farm (farm B), expands it in the left farm area, and activates the
本発明の動作を、図3〜図5に示す動作説明図 (その1)〜 (その3)にもとづき他図を参照して説明する。図3〜図5において左ファーム(CPU1)は、左側のファームA、BにもとづくCPU1の動作を示し、右ファーム(CPU11)は、右側のファームA、BにもとづくCPU11の動作を示す。
The operation of the present invention will be described with reference to other drawings based on the operation explanatory views (No. 1) to (No. 3) shown in FIGS. 3 to 5, the left firmware (CPU 1) indicates the operation of the
ファーム活性交換に際し、オペレータはウエブブラウザを起動し、コントローラ・モジュールCM0を制御するメニューを表示させ、ファームウェアの交換という項目を選択し、ファーム活性交換という項目を選択指示する。これによりコントローラ・モジュールCM0に左ファーム活性交換指示が伝達される。 At the time of firmware hot replacement, the operator activates the web browser, displays a menu for controlling the controller module CM0, selects the item of firmware replacement, and selects and instructs the item of firmware hot replacement. As a result, the left firmware active exchange instruction is transmitted to the controller module CM0.
S1.これにより、左ファームでは、ホストI/O処理手段2が、左ファームで実行中のホストI/Oは継続し、左ファーム活性交換指示後に受信したホストI/Oを退避メモリ域に退避させてペンデング状態とする。なお退避メモリ域はCPU再起動後も継続保持可能な高位アドレス域にする。 S1. Thus, in the left farm, the host I / O processing means 2 continues the host I / O being executed in the left farm, and saves the host I / O received after the left farm hot replacement instruction to the save memory area. Set to Pending state. Note that the save memory area is a high-level address area that can be held continuously even after the CPU is restarted.
S2.ホストI/O完了監視手段3は、左ファームで実行中のホストI/Oが全て完了した時点でコントローラ割込みを断状態にすると共に、右ファームのCPU(P右)11に継続中のホストI/O情報、退避域アドレス、入出力インターフェース等のコントローラ情報を通知する。 S2. The host I / O completion monitoring unit 3 disconnects the controller interrupt when all the host I / Os being executed in the left firmware are completed, and also continues to the right firmware CPU (P right) 11. Notify controller information such as / O information, save area address, and input / output interface.
S3.これにより右ファームでは、コントローラ制御域構築手段4′が前記S2の左ファームからの通知を元に、コントローラ制御域を動的に構築し、ペンデング中のホストI/Oを受継ぐ。 S3. As a result, in the right farm, the controller control area construction means 4 ′ dynamically constructs the controller control area based on the notification from the left farm in S2, and inherits the pending host I / O.
S4.次いで右ファームでは、CPU切替処理手段5′がコントローラの割込み通知を左側のCPU1から右側のCPU11に切替え処理を行う。
S4. Next, in the right firmware, the CPU switching processing means 5 'performs switching processing of the controller interrupt notification from the
S5.これによりコントローラ割込処理手段6′がコントローラの割込みをイネーブルにし、ペンデング中のホストI/Oを再開制御する。 S5. As a result, the controller interrupt processing means 6 'enables the controller interrupt and resumes the pending host I / O.
S6.同様の処理を他のコントローラ・モジュールについても行い、全ての制御を右ファーム配下にする。 S6. The same processing is performed for other controller modules, and all controls are under the right farm.
S7.それから左ファームではCPU1の動作を停止する。
S7. Then, the operation of the
S8.右ファームでは、ファームダウンロード処理手段7′が新ファームウェア(ファームB)をダウンロードして、左ファーム領域に展開し、左ファームのCPU1を起動する。
S8. In the right firmware, the firmware download processing means 7 'downloads the new firmware (firm B), expands it in the left firmware area, and activates the
S9.これにより左ファームウェアが立上り、CPU1は右ファームのCPU11に準備完了を通知する。
S9. As a result, the left firmware rises, and the
S10.右ファームでは、ホストI/O処理手段2′が右ファームで実行中のホストI/Oは継続し、右ファーム活性交換指示後に受信したホストI/Oを退避メモリ域に退避させてペンデング状態とする。なお退避メモリ域はCPU再起動後も継続保持可能な高位アドレス域にする。 S10. In the right farm, the host I / O processing unit 2 'continues to execute the host I / O in the right farm, and the host I / O received after the right firmware hot replacement instruction is saved in the save memory area to enter the pending state. To do. Note that the save memory area is a high-level address area that can be held continuously after the CPU is restarted.
S11.ホストI/O完了監視手段3′は、右ファームで実行中のホストI/Oが全て完了した時点でコントローラ割込みを断状態にすると共に、左ファームのCPU(P左)1に継続中のホストI/O情報、退避域アドレス、入出力インターフェース等のコントローラ情報を通知する。 S11. The host I / O completion monitoring means 3 'disconnects the controller interrupt when all the host I / O being executed in the right firmware is completed, and continues to the CPU (P left) 1 in the left firmware. Notifies controller information such as I / O information, save area address, and input / output interface.
S12.これにより左ファームウェアではコントローラ制御域構築手段4が前記S11の右ファームからの通知を元に、コントローラ制御域を動的に構築し、ペンデング中のホストI/Oを受継ぐ。 S12. As a result, in the left firmware, the controller control area construction means 4 dynamically constructs the controller control area based on the notification from the right firmware in S11 and inherits the pending host I / O.
S13.次いで左ファームでは、CPU切替処理手段5がコントローラの割込み通知を右側のCPU1から左側のCPU11に切替え処理を行う。
S13. Next, in the left farm, the CPU switching processing means 5 performs a switching process of the controller interrupt notification from the
S14.これによりコントローラ割込処理手段6がコントローラの割込みをイネーブルにし、ペンデング中のホストI/Oを再開制御する。 S14. As a result, the controller interrupt processing means 6 enables the controller interrupt and resumes the pending host I / O.
S15.同様の処理を他のコントローラ・モジュールについても行い、全ての制御を左ファーム配下にする。 S15. The same processing is performed for other controller modules, and all controls are under the left farm.
S16.それから右ファームではCPU11の動作を停止する。
S16. Then, the
S17.左ファームでは、ファームダウンロード処理手段7が新ファームウェア(ファームB)をダウンロードして、右ファーム領域に展開し、右ファームのCPU11を起動する。
S17. In the left firmware, the firmware download processing means 7 downloads the new firmware (firm B), develops it in the right firmware area, and activates the
S18.これにより右ファームウェアが立上り、CPU11は左ファームのCPU1に準備完了を通知する。
S18. As a result, the right firmware starts up, and the
S19.この前記S18.の時点では図1(D)に示す如く、ファームウェアはすべてファームBに切替っているが、入出力インターフェースでは、図1(C)の左CPU1で処理を継続している状態なので、これをファームウェア交換前の状態に戻すことが必要である。そのため、ホストI/O処理手段2は左ファームで実行中のホストI/Oは継続し、オペレータによりウェブブラウザ経由にて両方のCPUへの分散指示後、あるいはS18の通知を基に分散指示を行い、受信したホストI/Oを退避メモリ域に退避させてペンデング状態とする。なお退避メモリ域はCPU再起動後も継続保持可能な高位アドレス域にする。
S19. This S18. As shown in FIG. 1D, the firmware is all switched to the firmware B as shown in FIG. 1D. However, the input / output interface is in a state where the
S20.そしてホストI/O完了監視手段4は、左ファームで実行中のホストI/Oが全て完了した時点で、ファーム交換前の構成情報を元に、右ファームで動作するコントローラの割込みを断状態にすると共に、右ファームにペンデング中のホストI/O情報、コントローラ情報を通知する。
S20. When the host I / O
S21.右ファームは、コントローラ制御域構築手段4′が、前記S20.において通知されるファーム交換前の構成情報つまりペンデング中のホストI/O情報、コントローラ情報等に基づきコントローラ制御域を動的に構築し、ペンデング中のホストI/Oを受継ぐ。 S21. In the right farm, the controller control area construction means 4 ' The controller control area is dynamically constructed on the basis of the configuration information before the firmware exchange notified in (1), that is, the pending host I / O information, the controller information, etc., and the pending host I / O is inherited.
S22.右ファームは、CPU切替処理手段5′が、対象コントローラの割込み通知、CPUの切替え(左CPU1→右CPU11)を行う。
S22. In the right firmware, the CPU switching processing means 5 ′ performs interrupt notification of the target controller and CPU switching (left
S23.右ファームは、コントローラの割込みをイネーブルにし、ペンデング中のホストI/Oを再開する。 S23. The right farm enables controller interrupts and resumes pending host I / O.
S24.左ファームもコントローラの割込みをイネーブルにし、ペンデング状態のホストI/Oを再開する。 S24. The left farm also enables controller interrupts and resumes pending host I / O.
S25.同様の処理を他のコントローラについても行い、全ての制御を通常状態に戻す。これによりファーム交換完了となる。 S25. Similar processing is performed for the other controllers, and all controls are returned to the normal state. This completes the firmware replacement.
1 左CPU
2、2′ ホストI/O処理手段
3、3′ ホストI/O完了監視手段
4、4′ コントローラ制御域構築手段
5、5′ CPU切替処理手段
6、6′ コントローラ割込処理手段
7、7′ ファームダウンロード処理手段
8、8′ ファームウェア保持部
11 右CPU
1 Left CPU
2, 2 'host I / O processing means 3, 3' host I / O completion monitoring means 4, 4 'controller control area construction means 5, 5' CPU switching processing means 6, 6 'controller interrupt processing means 7, 7 ′ Firmware download processing means 8, 8 ′
Claims (1)
前記コントロール部に少なくとも左と右のプロセッサと、左と右のファームウェア保持部を設け、
前記ファームウェア保持部に、
ファームウェアで実行中のホストI/Oは継続し、ファームウェア活性交換指示後に受信したホスト装置のI/O命令に対し記憶部の入出力制御を行う際のホストI/O情報を退避メモリ域に退避させるホストI/O処理手段と、
左ファームウェアで実行中のホストI/Oが全て完了した時点でコントローラ割込みを断状態にするとともに、右ファームウェアにペンデング中のホスト装置のI/O命令に対し記憶部の入出力制御を行う際のホストI/O情報、及びホストI/O情報を退避させた退避メモリ域の退避域アドレスや入出力インターフェース等の制御に関するコントローラ情報を通知するホストI/O完了監視手段と、
右ファームウェアは左ファームウェアからの通知を元に、ペンデング中のホストI/Oを受継いで制御できるようにコントローラ制御域を構築するコントローラ制御域構築手段と、
コントローラの割込み通知CPUの切替を行うCPU切替処理手段と、
コントローラの割込みを可能状態にし、ペンデング中のホストI/Oを再開するコントローラ割込み処理手段と、
新ファームウェアをダウンロードして他ファームウェア領域に展開してそのCPUを起動する新ファームダウンロード処理手段と、
ダウンロードした新ファームウェアを保持するファームウェア保持手段を備え、
ファームウェア活性交換指示により、
ホストI/O処理手段では、左ファームウェアで実行中のホストI/O処理を継続し、ファームウェア交換指示後に受信したホストI/O情報を退避メモリ域に退避させ、ホストI/O完了監視手段では左ファームウェアで実行中のホストI/Oが全て完了した時点で割込みを断にし、右ファームウェアにペンデング中のホストI/O情報、及びコントローラ情報を通知し、
右ファームウェアではコントローラ制御域構築手段が左ファームウェアから通知された前記ホストI/O情報及びコントローラ情報を元に、ペンデング中のホストI/Oを受継いで制御できるようにコントローラ制御域を構築し、CPU切替処理手段がコントローラの割込み通知、CPUの切替を行い、コントローラ割込処理手段がコントローラの割込みをイネーブルにし、ペンデング中ホストI/Oを再開し、新ファームダウンロード処理手段が新ファームウェアをダウンロードして新ファームウェアを左ファームウェア領域に展開し、左CPUを起動することを特徴とする活性ファームウェア交換装置。 In a storage device comprising a host device, a control unit connected to the host device, and a storage unit that performs input / output processing by the control unit,
The control unit is provided with at least left and right processors and left and right firmware holding units,
In the firmware holding unit,
The host I / O being executed by the firmware continues, and the host I / O information when performing I / O control of the storage unit for the I / O command of the host device received after the firmware hot replacement instruction is saved in the save memory area Host I / O processing means
When all the host I / O being executed by the left firmware is completed, the controller interrupt is turned off, and when the input / output control of the storage unit is performed for the I / O instruction of the host device that is pending to the right firmware Host I / O information, and a host I / O completion monitoring means for notifying controller information related to control such as a save area address and an input / output interface of a save memory area in which the host I / O information is saved ;
Based on the notification from the left firmware, the right firmware has controller control area construction means for constructing a controller control area so that it can take over and control the host I / O that is pending .
CPU switching processing means for switching the interrupt notification CPU of the controller;
Controller interrupt processing means for enabling a controller interrupt and resuming pending host I / O;
New firmware download processing means that downloads new firmware, expands it in another firmware area, and activates the CPU;
Firmware holding means to hold the downloaded new firmware,
By the firmware hot replacement instruction
The host I / O processing means continues the host I / O processing being executed by the left firmware, saves the host I / O information received after the firmware replacement instruction to the save memory area, and the host I / O completion monitoring means interrupts the cross when the host I / O running on the left firmware has been completed, notifies the host I / O information in Pendengu right firmware, and controller information,
In the right firmware, based on the host I / O information and controller information notified from the left firmware, the controller control area construction means constructs a controller control area so that the host I / O that is pending can be inherited and controlled . C PU switching process means the controller of the interrupt notification, perform the switching of the CPU, controller interrupt processing means to enable the interrupt controller, and restart the host I / O in Pendengu, new farm download processing means to download the new firmware Then, the new firmware is expanded in the left firmware area and the left CPU is activated to activate the left firmware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005160817A JP4824345B2 (en) | 2005-06-01 | 2005-06-01 | Active firmware exchange device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005160817A JP4824345B2 (en) | 2005-06-01 | 2005-06-01 | Active firmware exchange device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006338217A JP2006338217A (en) | 2006-12-14 |
JP4824345B2 true JP4824345B2 (en) | 2011-11-30 |
Family
ID=37558736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005160817A Expired - Fee Related JP4824345B2 (en) | 2005-06-01 | 2005-06-01 | Active firmware exchange device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4824345B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4530059B2 (en) | 2008-02-18 | 2010-08-25 | 日本電気株式会社 | Disk array device, firmware exchange method, and firmware exchange program |
JP2010152508A (en) * | 2008-12-24 | 2010-07-08 | Fujitsu Ltd | Control device, disk array device and control method |
JP5321246B2 (en) * | 2009-05-25 | 2013-10-23 | 富士通株式会社 | Storage unit monitoring unit and monitoring unit firmware update method |
US8782469B2 (en) * | 2009-09-01 | 2014-07-15 | Hitachi, Ltd. | Request processing system provided with multi-core processor |
JP6281413B2 (en) * | 2014-05-28 | 2018-02-21 | 富士通株式会社 | Firmware update device, storage control device, and program |
JP6484965B2 (en) * | 2014-09-03 | 2019-03-20 | 富士通株式会社 | Storage device, firmware update method, and firmware update program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3160149B2 (en) * | 1994-05-13 | 2001-04-23 | 株式会社日立製作所 | Non-stop program change method of disk controller and disk controller |
JPH09160773A (en) * | 1995-12-06 | 1997-06-20 | Hitachi Ltd | Microprogram exchanging method in multiprocessor system |
JP4190859B2 (en) * | 2002-10-28 | 2008-12-03 | 株式会社日立製作所 | Storage device control device and storage device control device control method |
-
2005
- 2005-06-01 JP JP2005160817A patent/JP4824345B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006338217A (en) | 2006-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4824345B2 (en) | Active firmware exchange device | |
JP5428738B2 (en) | Information processing apparatus and firmware update method | |
JP4918350B2 (en) | Information processing apparatus, power supply control method, and program | |
JPH11259189A (en) | Power supply control device for peripheral equipment | |
JP5321866B2 (en) | Computer system | |
JP2006107127A (en) | Semiconductor integrated circuit device | |
KR20080063080A (en) | Information processing apparatus and method, program, and recording medium | |
JP2010079729A (en) | Information processing system and control method thereof, and computer program | |
JP2008225858A (en) | Device, method and program for recovery from bios stall failure | |
JP2007148633A (en) | Information processor and system control method | |
JP5636276B2 (en) | Semiconductor device | |
JP2002318780A (en) | Real-time control system | |
JP2007087269A (en) | Software update system, update method and program | |
JP2009048424A (en) | Cellular phone terminal and operating system activating program | |
JP2011013836A (en) | Memory arrangement management device and microprocessor | |
JP7491765B2 (en) | Firmware update system and firmware update method | |
JP2001067212A (en) | Obstacle evading information processing system | |
JPH03163617A (en) | Warm-boot method of program in computer system | |
JP2000347758A (en) | Information processor | |
JP2003015777A (en) | Configuration device | |
JP5194360B2 (en) | Information processing apparatus and control method thereof | |
JP2013196112A (en) | Memory system and method for controlling power saving of the same | |
JP2010181922A (en) | Processor peripheral circuit | |
JPH10149232A (en) | System processing request system for power-off time | |
JP2004030100A (en) | Electric power management method, and computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080226 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110307 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110531 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110721 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20110721 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20110721 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110906 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110908 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4824345 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140916 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |