JP5104320B2 - Computer system, computer main body, startup method, and initialization program - Google Patents
Computer system, computer main body, startup method, and initialization program Download PDFInfo
- Publication number
- JP5104320B2 JP5104320B2 JP2008001604A JP2008001604A JP5104320B2 JP 5104320 B2 JP5104320 B2 JP 5104320B2 JP 2008001604 A JP2008001604 A JP 2008001604A JP 2008001604 A JP2008001604 A JP 2008001604A JP 5104320 B2 JP5104320 B2 JP 5104320B2
- Authority
- JP
- Japan
- Prior art keywords
- boot
- initialization
- channel
- identification code
- main body
- 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 computer system started from a peripheral device connected to a computer main body, and more particularly to a computer system started from a peripheral device connected to a computer main body by a fiber channel.
ファイバーチャネル(Fibre Channel、以後FCという)は、ギガビット級ネットワーク技術の一種であり、主にストレージエリアネットワーク(Storage Area Network)などにおいて大規模ストレージを構築する際に、コンピュータと周辺機器を結ぶためのデータ転送方式の一つとして使用されている。FCは、光ファイバーケーブルのみならず、銅線の同軸ケーブルやツイストペアケーブルなどを使用しても構築可能である。 Fiber Channel (hereinafter referred to as FC) is a type of gigabit-class network technology that is used to connect computers and peripheral devices when constructing large-scale storage mainly in storage area networks. It is used as one of data transfer methods. FC can be constructed using not only optical fiber cables but also copper coaxial cables and twisted pair cables.
FCは、特に大規模なストレージを必要とするサーバなどのコンピュータ装置に外部記憶装置を接続するのに適した性能を備えている。以後、FCを介してコンピュータ装置に接続される外部記憶装置を、FCデバイスという。 The FC has a performance suitable for connecting an external storage device to a computer device such as a server that requires a large-scale storage. Hereinafter, an external storage device connected to a computer device via an FC is referred to as an FC device.
FCなどのインターフェイスによって周辺機器が接続されたコンピュータシステムについての技術としては、たとえば次のような技術がある。特許文献1には、複数のI/O処理を優先と非優先に分割して制御し、非優先のI/Oは処理を抑制しながら動作させるという技術が開示されている。特許文献2には、同一のFCデバイスと接続する複数のチャネルで、一方を通常使用するチャネル、他方をリトライ用のチャネルとするという技術が開示されている。特許文献3には、WWN(World Wide Name)と業務識別情報とエリア識別情報とを対応付けてストレージシステム内に記憶しておくことにより、計算機の設定を容易にするという技術が開示されている。非特許文献1は、後述のGID_FTなどのFCにおける代表的なコマンドについて規定している。
As a technique regarding a computer system in which peripheral devices are connected by an interface such as FC, there are the following techniques, for example.
FCデバイスを接続したコンピュータシステムで、FCデバイスにオペレーティングシステム(OS)をインストールして、ブートディスクとしてとして使用する場合がある。そのような場合、FCデバイスの初期化からOSが起動するまでにかかるシステム起動(ブート)時間は、できるだけ短時間である必要がある。 A computer system connected to an FC device may install an operating system (OS) on the FC device and use it as a boot disk. In such a case, the system startup (boot) time required from the initialization of the FC device to the startup of the OS needs to be as short as possible.
しかし、ブートディスク以外のFCデバイスがブートを行うFCチャネルに接続されていると、それらのFCデバイス全てを初期化してからでないとOSの読み込みを開始することができないので、システムの起動に時間がかかる。特に、多数のFCデバイスを接続されたシステムにおいて、FCデバイスの初期化のために長時間を要する。 However, if an FC device other than the boot disk is connected to the FC channel to be booted, the OS cannot be started until all of those FC devices are initialized, so it takes time to start the system. Take it. In particular, in a system in which a large number of FC devices are connected, it takes a long time to initialize the FC devices.
そこで、FCデバイスの初期化に要する時間を省略するため、該FCチャネルからブートディスクにのみアクセス可能として、他のFCデバイスにはアクセスできないようにすることが普通に行われていた。具体的には、ブートディスクのみをFCチャネルに直結するか、あるいはFCスイッチのゾーニング機能を利用するなどの方法である。 Therefore, in order to omit the time required for the initialization of the FC device, it is usually performed that only the boot disk can be accessed from the FC channel and other FC devices cannot be accessed. Specifically, only the boot disk is directly connected to the FC channel, or the zoning function of the FC switch is used.
しかしながら、そのようにしてブートディスク以外のFCデバイスを接続しないと、転送速度が高速であり、かつ多数のFCデバイスを接続して大規模なストレージを容易に構築できるという、FCのメリットを生かすことができない。 However, if the FC device other than the boot disk is not connected in this way, the transfer speed is high, and a large-scale storage can be easily constructed by connecting a large number of FC devices. I can't.
また、1つのFCデバイスが複数のコンピュータにおいて共有されることや、1つのコンピュータシステムが複数のFCチャネルを有することも多いが、特定のコンピュータをブートするブートディスクは、1つのFCチャネルからのみ参照可能であるようにする必要がある。そのようにしなければ、コンピュータにおけるOSの動作、およびOSのライセンス(使用許諾)などの面において問題が生じる。そのため、他のFCチャネルからブートディスクを参照できないよう、コンピュータシステムが設定される必要がある。 In addition, one FC device is often shared by multiple computers, and one computer system often has multiple FC channels, but the boot disk that boots a specific computer can only be referenced from one FC channel. It needs to be possible. If this is not done, problems will arise in terms of the operation of the OS in the computer and the OS license (license). Therefore, the computer system needs to be set so that the boot disk cannot be referred to from other FC channels.
前述の特許文献1〜3および非特許文献1は、ブートを行うFCチャネルにブートディスク以外のFCデバイスを接続していても高速にシステム起動を可能とする構成、および他のFCチャネルからブートディスクを参照不可能とする構成を備えていない。それらの文献を組み合わせた技術においても同様である。
本発明の目的は、FCデバイスをブートディスクとしてコンピュータシステムを起動する際に、ブートを行うFCチャネルにブートディスク以外のFCデバイスを接続していても高速にシステム起動が可能なコンピュータシステム、コンピュータ本体、FCスイッチ、起動方法、送信方法、および初期化プログラムを提供することにある。 An object of the present invention is to provide a computer system and a computer main body capable of starting the system at high speed even when an FC device other than the boot disk is connected to the FC channel for booting when the computer system is started using the FC device as a boot disk An FC switch, a startup method, a transmission method, and an initialization program are provided.
上記目的を達成するため、本発明に係るコンピュータシステムは、コンピュータ本体に接続される第1のFCデバイスおよび第2のFCデバイスの識別情報と、第1のFCデバイスがコンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルと、コンピュータ本体をブートするときに優先デバイステーブルを読み込んでブート識別コードを参照し、ブートデバイスである第1のFCデバイスに対して初期化コマンドを発行し、第1のFCデバイスに対する初期化が完了してから第2のFCデバイスに対する初期化コマンドを発行する初期化手段とを有することを特徴とする。 In order to achieve the above object, a computer system according to the present invention includes identification information of the first FC device and the second FC device connected to the computer main body, and an operation system in which the first FC device operates on the computer main body. A first device that is a boot device, including a priority device table that includes a boot identification code indicating that the computer is installed, and a boot device that reads the priority device table when the computer body is booted. And an initialization unit that issues an initialization command to the device and issues an initialization command to the second FC device after the initialization of the first FC device is completed.
上記目的を達成するため、本発明に係るコンピュータ本体は、第1のFCデバイスおよび第2のFCデバイスと接続可能なコンピュータ本体であって、第1のFCデバイスおよび第2のFCデバイスの識別情報と、第1のFCデバイスがコンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルと、コンピュータ本体をブートするときに優先デバイステーブルを読み込んでブート識別コードを参照し、ブートデバイスである第1のFCデバイスに対して初期化コマンドを発行し、第1のFCデバイスに対する初期化が完了してから第2のFCデバイスに対する初期化コマンドを発行する初期化手段とを有することを特徴とする。 In order to achieve the above object, a computer main body according to the present invention is a computer main body connectable to a first FC device and a second FC device, and the identification information of the first FC device and the second FC device. And a priority device table including a boot identification code indicating that the first FC device is a boot device in which an operation system operating on the computer main body is installed, and the priority device table is read when the computer main body is booted. Referring to the boot identification code, issue an initialization command to the first FC device, which is the boot device, and issue an initialization command to the second FC device after the initialization of the first FC device is completed. And an initialization means.
上記目的を達成するため、本発明に係る起動方法は、第1のFCデバイスおよび第2のFCデバイスがコンピュータ本体に接続されているコンピュータシステムを起動する方法であって、第1のFCデバイスおよび第2のFCデバイスの識別情報と、第1のFCデバイスがコンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルをコンピュータ本体に記憶する優先デバイステーブル記憶工程と、優先デバイステーブルを読み込んでブート識別コードを参照するブート識別コード参照工程と、ブートデバイスである第1のFCデバイスに対して初期化コマンドを発行する第1の初期化工程と、第1の初期化工程が完了したことを確認する完了確認工程と、完了確認工程の後で第2のFCデバイスに対する初期化コマンドを発行する第2の初期化工程とを有することを特徴とする。 In order to achieve the above object, a startup method according to the present invention is a method of starting a computer system in which a first FC device and a second FC device are connected to a computer main body, the first FC device and Priority for storing in the computer main body a priority device table including identification information of the second FC device and a boot identification code indicating that the first FC device is a boot device in which an operation system operating on the computer main body is installed A device table storage step, a boot identification code reference step for reading the priority device table and referring to the boot identification code, and a first initialization step for issuing an initialization command to the first FC device as a boot device; Confirm that the first initialization process is complete. And having a step, and a second initialization step of issuing an initialization command to the second FC devices after completion confirming step.
上記目的を達成するため、本発明に係る初期化プログラムは、第1のFCデバイスおよび第2のFCデバイスがコンピュータ本体に接続されているコンピュータシステムを起動する際に、第1のFCデバイスおよび第2のFCデバイスを初期化する初期化プログラムであって、コンピュータ本体に、第1のFCデバイスおよび第2のFCデバイスの識別情報と、第1のFCデバイスがコンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルを読み込んでブート識別コードを参照する処理と、ブートデバイスである第1のFCデバイスに対して初期化コマンドを発行する第1の初期化処理と、第1の初期化工程が完了したことを確認する確認処理と、確認処理の後で第2のFCデバイスに対する初期化コマンドを発行する第2の初期化処理とを実行させることを特徴とする。 In order to achieve the above object, the initialization program according to the present invention provides a first FC device and a second FC device when the first FC device and the second FC device are started up in a computer system connected to the computer main body. An initialization program for initializing the second FC device is installed in the computer main body, the identification information of the first FC device and the second FC device, and the operation system in which the first FC device operates on the computer main body A process of reading a priority device table including a boot identification code indicating that the boot device is being used and referring to the boot identification code, and a first command for issuing an initialization command to the first FC device that is the boot device Initialization process and a confirmation process for confirming that the first initialization process has been completed. When, characterized in that to execute a second initialization process of issuing an initialization command to the second FC devices after confirmation process.
本発明は、上記したように優先デバイステーブルを読み込んでブート識別コードを参照し、まずブートデバイスに対して初期化コマンドを発行するように構成しているので、ブートデバイスの初期化を完了してから、ブートの動作を継続しつつその他のFCデバイスの初期化を行うことができ、さらにブートを行わないFCチャネルからブートディスクを参照できないようにすることができる。これによって、ブートを行うFCチャネルにブートディスク以外のFCデバイスを接続していても高速にシステム起動が可能な、従来にない優れたコンピュータシステム、コンピュータ本体、FCスイッチ、起動方法、送信方法、および初期化プログラムを提供することができる。 Since the present invention is configured to read the priority device table as described above, refer to the boot identification code, and first issue an initialization command to the boot device, the initialization of the boot device is completed. Thus, it is possible to initialize other FC devices while continuing the boot operation, and to make it impossible to refer to the boot disk from the FC channel that is not booted. As a result, an excellent computer system, a computer main body, an FC switch, a startup method, a transmission method, and an excellent computer system that can start up the system at high speed even when an FC device other than a boot disk is connected to the FC channel to be booted, and An initialization program can be provided.
[第1の実施の形態]
図1は、本発明の第1の実施の形態に係るコンピュータシステム1の構成を示すブロック図である。コンピュータシステム1は、コンピュータ本体2、FCスイッチ70、およびディスク装置80〜82とで構成される。コンピュータ本体2は、CPU10、メインメモリ20、チップセット30、I/Oポート50、およびコンピュータ本体2に内蔵されるFCカード60および61とで構成される。
[First Embodiment]
FIG. 1 is a block diagram showing a configuration of a
CPU10は、コンピュータ本体2の中枢機能を担う演算処理装置で、OS、BIOS、アプリケーションプログラムなどを実行する。CPU10は、外部バスを介してチップセット30に接続され、そこから各デバイスに接続されて信号の送受を行っている。
The
メインメモリ20は、やはりチップセット30に接続されており、CPU10が実行するプログラムの読み込み領域、処理データを書き込む作業領域として利用されるRAMである。
The
I/Oポート50は、複数のスロット51〜54を有し、各種周辺機器を接続することが可能である。なお、スロットの数は4つに限定されない。CPU10およびメインメモリ20は、チップセット30を経由して、スロット51〜54に接続された周辺機器にアクセスすることができる。
The I /
いま、スロット51にはFCデバイスを接続するためのインターフェイスであるFCカード60が接続されている。同様にスロット53にもFCカード61が接続されている。なお、接続に使用されるスロットの選択はこの形態に限定されず、図1で空いているスロット52および54を使用してもよい。FCカード60および61は、FCスイッチ70と接続され、それぞれが異なるFCチャネルとして形成されている。以後、FCカード60のFCチャネルを第1のFCチャネルとし、FCカード61のFCチャネルを第2のFCチャネルとする。
Now, an
コンピュータ本体2をブートすることが可能であるように設定されているFCチャネルを、ブートチャネルという。第1のFCチャネルはブートチャネルであり、第2のFCチャネルにはブートチャネルではない。特定のFCチャネルをブートチャネルとして設定する方法は後述する。
An FC channel that is set so that the computer
FCスイッチ70は、ローカルメモリエリア71を有し、ローカルメモリエリア71に後述のブートディスクテーブル110が記憶される。
The
FCスイッチ70には、FCデバイスであるディスク装置80〜82が接続されている。FCスイッチ70により、FCカード60および61のいずれからも、ディスク装置80〜82のいずれにもアクセスできる。ディスク装置80には、コンピュータ本体2で動作するOSの本体がインストールされている。以後、OSの本体がインストールされているディスク装置をブートディスクという。ディスク装置80はブートディスクであり、ディスク装置81および82はブートディスクではない。
To the
チップセット30は、サービスプロセッサ40(以後SP40という)を有する。SP40は、このコンピュータシステム1を制御する組み込みシステムであり、SP40を介して外部からこのコンピュータシステム1のブートおよび診断などの制御を行うことができる。また、SP40の記憶領域にはBIOS41、ブートプログラム42、および後述する優先デバイステーブル100などか記憶されている。
The
コンピュータシステム1をブートするときには、SP40の制御によって、まずBIOS41によるセルフテストなどを行った後、FCカード60に対応するデバイスドライバであるFCドライバ22が、メインメモリ20上に確保されたFCドライバ領域22bにロードされる。FCカード61に対応するFCドライバ23も、メインメモリ20上のFCドライバ22とは異なる領域にロードされる。
When the
そしてSP40の制御によって、ブートプログラム42がメインメモリ20上のOS用領域にロードされ、このブートプログラム42によってブートディスクが接続されるFCチャネルの初期化が指示される。FCチャネルに接続されたブートディスクからOS21の本体がOS用領域にロードされ、それによってOS21の動作が開始される。
Under the control of the SP 40, the boot program 42 is loaded into the OS area on the
また、BIOS41およびブートプログラム42に、第1のFCチャネルをブートチャネルとする旨の設定があらかじめされている。第2のFCチャネルには、そのような設定はない。なお、特定のFCチャネルをブートチャネルとする設定方法はこれに限定されず、コンピュータシステムの構成によって様々な方法がとられ得る。 In addition, the BIOS 41 and the boot program 42 are set in advance to set the first FC channel as the boot channel. There is no such setting for the second FC channel. Note that the method of setting a specific FC channel as a boot channel is not limited to this, and various methods can be adopted depending on the configuration of the computer system.
また、FCドライバ22の領域には、優先デバイステーブル100がやはりSP40から読み出されて、FCドライバ22と共にFCドライバ領域22bに記憶される。第1のFCチャネルはブートチャネルであるので、優先デバイステーブル100を読み出すが、ブートチャネルでない第2のFCチャネルでは、FCドライバ23は優先デバイステーブル100を読み出さない。 In the FC driver 22 area, the priority device table 100 is also read from the SP 40 and stored in the FC driver area 22 b together with the FC driver 22. Since the first FC channel is a boot channel, the priority device table 100 is read, but the FC driver 23 does not read the priority device table 100 in the second FC channel that is not the boot channel.
ちなみに、図1は本実施の形態を説明するために、主要なハードウェアの構成および接続関係を簡素化して記載したに過ぎないものである。コンピュータシステム1を構成するためには、これら以外にも多くのデバイスが使われるが、それらは当業者には周知であるので詳しく言及しない。また、図1で記載した複数のブロックを1個の装置や回路としたり、逆に1個のブロックを複数の装置や回路に分割して構成したりすることも、当業者が任意に選択することができる範囲においては本発明の範囲に含まれる。
Incidentally, FIG. 1 merely shows a simplified configuration and connection relationship of main hardware in order to explain the present embodiment. Many other devices are used to configure the
図2は、図1で示したSP40に記憶されている優先デバイステーブル100の構成を示す概念図である。優先デバイステーブル100は、FCデバイスの識別番号であるDID(Device ID)番号101と、各々のDID番号101に対応するブート識別コード102からなる。
FIG. 2 is a conceptual diagram showing the configuration of the priority device table 100 stored in the SP 40 shown in FIG. The priority device table 100 includes a DID (Device ID)
ブート識別コード102が「1(000001b)」であれば、そのデバイスはブートディスクとして設定される。ブート識別コード102が「0(000000b)」であれば、そのデバイスはブートディスクとはならない。なお、DID番号101の代わりに、FCデバイスを識別するWWN(World Wide Name)を使用してもよい。
If the
図1に示した例では、ディスク装置80のみがブートディスクとして設定されており、ディスク装置81および82はブートディスクとはならない。しかし、ディスク装置81および82は優先デバイステーブル100に載ることにより、後述する優先初期化デバイスとして設定されることになる。
In the example shown in FIG. 1, only the
FCチャネルの初期化処理において、通常ブートプログラムはFCスイッチ70にGID_FTコマンドを発行してアクセス可能なFCデバイスのDID番号101の一覧を取得し、取得されたすべてのDID番号101のFCデバイスに対して一斉にPLOGIコマンドおよびPRLIコマンドなどの初期化コマンドを実行して、それらのFCデバイスを初期化する。コマンドを発行したすべてのFCデバイスから応答が帰ってくるまでは、他の制御を行うことはできない。そのため、ブートディスクに対して発行されたI/Oコマンドを実行できない。
In the initialization process of the FC channel, the normal boot program issues a GID_FT command to the
本実施の形態では、FCドライバ22は優先デバイステーブル100を読み出し、FCスイッチ70にGID_FTコマンドを発行して、アクセス可能なFCデバイスの一覧を取得する。ブート識別コード102が「1」である(ブートディスクである)DID番号101が、FCスイッチ70から取得したアクセス可能なFCデバイスの一覧の中に存在するか否かを確認する。存在すれば該ブートディスクのみに対してI/Oコマンドを発行し、該ブートディスクのみの初期化処理をまず行う。
In the present embodiment, the FC driver 22 reads the priority device table 100 and issues a GID_FT command to the
ブートディスクではないその他のFCデバイスの初期化処理は、ブートディスクのみの初期化処理が完了し、そのことがFCドライバ22に通知された後に行われる。従って、OSの立ち上げなどに伴うブートディスクに対するI/Oコマンドの実行がブートディスク以外のFCデバイスよりも優先され、該I/Oコマンドが発行されていないタイミングでブートディスク以外のFCデバイスに対する初期化処理が行われる。 The initialization process for other FC devices that are not boot disks is performed after the initialization process for only the boot disk is completed and the FC driver 22 is notified of this. Accordingly, the execution of the I / O command for the boot disk associated with the startup of the OS has priority over the FC device other than the boot disk, and the initial process for the FC device other than the boot disk is performed at the timing when the I / O command is not issued. Processing is performed.
本実施の形態では、初期化コマンドをすべてのDID番号101に対して一斉に発行せず、GID_FTコマンドによって得られたDID番号101の一覧の先頭から一つずつ初期化コマンドを発行する。また初期化コマンドの発行の前に、ブートディスクに対するI/Oコマンドが発行されているか否かを確認し、I/Oコマンドがあれば該I/Oコマンドを実行し、なければその他のFCデバイスに初期化コマンドを一つずつ発行する。これによって、ブートディスクに対するI/Oコマンドを優先しつつ、その他のFCデバイスの初期化処理が可能であるので、OSの立ち上げなどが滞ることはない。
In this embodiment, the initialization command is not issued to all the DID
図3は、図1で示したFCスイッチ70に、ブート識別コード112が登録される処理を示す概念図である。ここでは、第1のFCチャネル(FCカード60)によって、ディスク装置80からコンピュータシステム1をブートする。本実施の形態では、ブートするFCチャネルから他のFCチャネルにあるFCデバイスに接続可能であるよう、FCスイッチ70のゾーニング機能は使用しない。
FIG. 3 is a conceptual diagram showing processing for registering the
しかし、ブートディスクはブートするFCチャネル以外のFCチャネルからアクセスできないように保護する必要がある。図3の例で言うなら、ブートディスクであるディスク装置80はブートチャネルである第1のFCチャネル(FCカード60)からのみアクセス可能とし、ブートチャネルではない第2のFCチャネル(FCカード61)からはアクセス不能とする必要がある。そしてブートディスクでないディスク装置81および82には、第1および第2のFCチャネルのいずれからもアクセスできるようにする必要がある。
However, it is necessary to protect the boot disk so that it cannot be accessed from an FC channel other than the FC channel to be booted. In the example of FIG. 3, the
具体的には、ブートディスクに対する初期化は、前述のPLOGIコマンドにブート識別コード102を付加した専用コマンドを発行することによって行われる。この専用コマンドをBoot-PLOGIコマンドという。FCスイッチ70は、PLOGIコマンドにブート識別コード102が付加されていればBoot-PLOGIコマンドであると認識し、FCスイッチ70内のローカルメモリエリア71に設けたブートディスクテーブル110に、ブートディスクのDID番号101とともに登録する。
Specifically, initialization for the boot disk is performed by issuing a dedicated command in which the
ブートディスクテーブル110は、優先デバイステーブル100と同様にDID番号111と、ブート識別コード112とを有する。FCドライバ22は、FCスイッチ70にコマンドを発して、現在アクセス可能なFCデバイスリスト113を取得することができる。ブートディスクテーブル110に登録されたFCデバイスのDID番号111とブート識別コード112が、FCデバイスリスト113に含まれてFCドライバ22に返信される。
Similarly to the priority device table 100, the boot disk table 110 has a DID
FCスイッチ70では、接続されているFCチャネルからGID_FTコマンドなどによってアクセス可能なFCデバイスのリストを要求されたら、送信するFCデバイスリスト113で、返信データ180の中のリザーブ領域を利用して、ブート識別コードを送信するように制御する。
In the
図4は、図3で示したFCスイッチ70がGID_FTコマンドに対する返信(Accept)でFCチャネルに送信する返信データ180のフォーマットを示す概念図である。このデータの1エントリーはコントロール181が1バイト、ポート識別子182が3バイトの計4バイトからなる。ポート識別子182にDID番号111が設定され、コントロール181の先頭ビットが1の場合、そのエントリーが最後のエントリーであることを示す。このとき、コントロール181の先頭ビットの1以外の7ビットは使用されず、リザーブ領域(rで表現される)となっている。このリザーブ領域の7ビットに、ブート識別コード112を設定することができる。
FIG. 4 is a conceptual diagram showing a format of
ブートチャネルは、優先デバイステーブル100からブート識別コード102を読み出した場合、ブート識別コード102の値をFCチャネルのブート識別コード22cとして保持する。ブートチャネルでないFCチャネルのブート識別コード22cは「0」である。従って、FCスイッチ70からコマンドを使用してブートディスクテーブル110を読み出すと、ブートチャネルでないFCチャネルのブート識別コード22cは、ブートディスクテーブル110のブート識別コード112と不一致となる。
When the boot channel reads the
ブート識別コード22cとブート識別コード112とが一致しない場合は、該FCデバイスは他のFCチャネルもしくはコンピュータによってブートディスクとして既に使用されていることを意味する。そのため、FCスイッチ70はブート識別コード22cと112が一致しないFCデバイスにはアクセスしないように制御する。このようにして、ブートディスクをブートチャネルからのみアクセス可能にしている。
If the boot identification code 22c and the
図5は、図3および4で示したFCスイッチ70が、FCドライバ22からのコマンドに対応して行う処理を表すフローチャートである。処理が起動すると(ステップS500)、FCスイッチ70がFCドライバ22からのコマンドの受信を待つ(ステップS501)。コマンドを受信したら、該コマンドがBoot-PLOGIコマンドであるかGID_FTコマンドであるかを判断する(ステップS502およびS504)。
FIG. 5 is a flowchart showing processing performed by the
Boot-PLOGIコマンドであれば、ブートディスクテーブル110にブート識別コード102をDID番号101とともに登録して(ステップS503)、ステップS501に戻る。GID_FTコマンドであれば、ブートディスクテーブル110のDID番号111とブート識別コード112をFCデバイスリスト113に含めてFCドライバ22に返信して(ステップS504)、ステップS501に戻る。その他のコマンドであれば、該コマンドに対応する通常の処理をして(ここでは図示しない)、ステップS501に戻る。
If the command is a Boot-PLOGI command, the
なお、図5のフローチャートに係る各ステップの動作内容は、FCスイッチ70があらかじめ備えるコンピュータで動作するプログラム(ファームウェアなど)として実行させるように構成することができる。
Note that the operation content of each step according to the flowchart of FIG. 5 can be configured to be executed as a program (firmware or the like) that operates on a computer provided in advance in the
図6は、図1で示したコンピュータシステム1において、ブートディスクのみを初期化する処理、およびブートディスクへのI/Oコマンド実行中にその他のFCデバイスを初期化する処理の実行イメージを示すイメージ図である。まず、SP40からメインメモリ20のOS21の領域に、OS本体をブートディスクであるディスク装置80から読み出すブートプログラムがロードされる。ブートプログラムは、スロット51に接続されたFCカード60を制御するFCチャネルの初期化処理開始を指示する(矢印(A))。
6 is an image diagram showing an execution image of processing for initializing only the boot disk and processing for initializing other FC devices during execution of an I / O command to the boot disk in the
FCドライバ22は、ブートチャネルの初期化であるので、初期化処理開始の指示に対して、FCドライバ22の領域に格納された優先デバイステーブル100を読み出し(矢印(B))、そこからブートディスクのブート識別コード102を取り出し、FCドライバ領域22bに、FCドライバ22のブート識別コード22cとして保存する。そして、FCスイッチ70に対してGID_FTコマンドを発行し、優先デバイステーブル100のDID番号101のFCデバイスが存在するか否かを確認する。
Since the FC driver 22 initializes the boot channel, the priority device table 100 stored in the area of the FC driver 22 is read in response to the instruction to start the initialization process (arrow (B)), and the boot disk is read from there. The
FCスイッチ70から受け取ったアクセス可能なFCデバイスリストの中に、優先デバイステーブル100のDID番号101で示されるFCデバイスが存在していれば、ブートプログラムはBoot-PLOGIコマンドをFCスイッチ70に送る(矢印(C))。FCスイッチ70はBoot-PLOGIコマンドを認識し、図3に示したブートディスクテーブル110にブート識別コード112とそれに対応するDID番号111を保存する。
If the FC device indicated by the DID
ブートディスクであるディスク装置80の初期化が完了すると、ディスク装置80からFCドライバ22を介してブートプログラムに初期化完了が報告される(矢印(D))。これによって、ブートディスクの初期化は完了したことになるので、ブートプログラムはOS本体をディスク装置80から読み出すI/Oコマンドを発行する(矢印(F))。
When the initialization of the
その一方で、ブートディスクの初期化が完了したことを受けたFCドライバ22は、ブートディスク以外のFCデバイスの初期化を行う(矢印(E))。ブートディスク以外のFCデバイスの初期化処理は、FCスイッチ70から受け取ったFCデバイスリストから、図2の(b)に示したようなブートディスクを除いたFCデバイスリストを作成し、その先頭のDID番号101から順番に初期化を行っていく。その際、初期化処理を実行する前に、矢印(F)で示すブートディスクに対するI/Oコマンドが発行されているかを確認し、発行されていれば該I/Oコマンドの処理を優先して実行するように制御する(矢印(G))。
On the other hand, the FC driver 22 that has received the initialization of the boot disk initializes FC devices other than the boot disk (arrow (E)). The initialization process of the FC devices other than the boot disk creates an FC device list excluding the boot disk as shown in FIG. 2B from the FC device list received from the
ブートディスク以外のFCデバイスの初期化が完了すれば、FCデバイスの接続構成が変更されたことを、ブートが完了して立ち上がったOSに通知する(矢印(H))。 When initialization of the FC devices other than the boot disk is completed, the OS that has been booted up and booted is notified that the FC device connection configuration has been changed (arrow (H)).
図7〜8は、図1で示した本実施の形態のFCカード60〜61の初期化に係る、FCドライバ22〜23による処理を表すフローチャートである。FCカード60はブートチャネルであり、FCカード61はブートチャネルではない。しかし、それぞれのFCカードに対応するFCドライバ22と23は同一のコンピュータプログラムであり、自らが初期化しているFCチャネルがブートチャネルであるか否かを動作の中で判断して、ブートチャネルである場合とそうでない場合のそれぞれに対応した動作を行う。従って、以後の説明においては、FCドライバ22が動作の主体であるとして説明を行うが、FCドライバ23もそれと同一の動作を行うことができるものとして理解されたい。
7 to 8 are flowcharts showing processing by the FC drivers 22 to 23 related to initialization of the
FCドライバ22の処理が起動すると(ステップS200)、ブートプログラム42内部の初期設定を判断することにより、現在の処理がブートプログラムによるブートチャネルの初期化処理であるか否かを判断する(ステップS201)。 When the process of the FC driver 22 is started (step S200), it is determined whether or not the current process is the boot channel initialization process by the boot program by determining the initial setting in the boot program 42 (step S201). ).
ブートを行うFCチャネルの初期化処理であれば、SP40から優先デバイステーブル100を取得し、ブート識別コード102とブートディスクのDID番号101を取り出してFCドライバ領域22bのブート識別コード22cとして(ステップS202)、ステップS204に進む。ブートを行うFCチャネルの初期化処理でなければ、ブート識別コード22c=0と設定して(ステップS203)、ステップS204に進む。
If the FC channel is to be booted, the priority device table 100 is acquired from the SP 40, the
FCドライバ22は、FCスイッチ70からFCデバイスリスト113を取得し(ステップS204)、優先デバイステーブル100に含まれるブート識別コード102が0であるか否かを判定する(ステップS205)。ブート識別コード102=0であればステップS206に、0でなければステップS207に進む。ブート識別コード102=0であれば、優先デバイステーブル100にブートディスクが指定されていないということである。
The FC driver 22 acquires the
ブートディスクが指定されていない状態であれば、ステップS206でブート識別コード22c=0とする(ステップS206)。続いて、優先デバイステーブル100に優先初期化としてディスクが指定されているか否かを判断する(ステップS208)。ブートディスク以外で、優先デバイステーブル100に掲載されているFCデバイスは、優先初期化として指定されていることを意味する。指定されているディスクがなければ、FCチャネルの通常の初期化処理を行って(ステップS209、詳細は後述の図9に示す)、OSに初期化完了を通知し(ステップS210)、処理を終了する(ステップS216)。 If the boot disk is not designated, the boot identification code 22c = 0 is set at step S206 (step S206). Subsequently, it is determined whether or not a disk is designated as priority initialization in the priority device table 100 (step S208). This means that the FC devices listed in the priority device table 100 other than the boot disk are designated as priority initialization. If there is no specified disk, normal initialization processing of the FC channel is performed (step S209, details are shown in FIG. 9 described later), and the initialization completion is notified to the OS (step S210), and the processing is terminated. (Step S216).
ステップS208で、優先初期化として指定されているディスクがあれば、そのディスクが現在接続されているかを判断する(ステップS211)。接続されていなければ、ステップS209に戻る。接続されていれば、後述のステップS212に進む。 If there is a disk designated as priority initialization in step S208, it is determined whether the disk is currently connected (step S211). If not connected, the process returns to step S209. If it is connected, the process proceeds to step S212 described later.
ステップS205で、ブートディスクが指定されていれば、FCチャネルが保持するブート識別コード22cに、優先デバイステーブル100に指定されたブート識別コード102を設定し(ステップS207)、後述のステップS212に進む。
If a boot disk is specified in step S205, the
ブートディスクまたは優先して初期化するディスクがある場合、該ディスクに対して初期化処理を行って(ステップS212、詳細は後述の図9に示す)、OSに初期化完了を通知する(ステップS213)。初期化完了を通知されたOSは、ブートプログラム42によってブートディスクからOSの本体をロードし、ブートを続行する。FCドライバ22は、それと並行して残りのFCデバイスに対しても初期化処理を行って(ステップS214、詳細は後述の図10に示す)、OSにFCデバイスの構成変化を通知し(ステップS215)、処理を終了する(ステップS217)。 If there is a boot disk or a disk to be preferentially initialized, initialization processing is performed on the disk (step S212, details are shown in FIG. 9 described later), and the OS is notified of initialization completion (step S213). ). The OS notified of the completion of initialization loads the main body of the OS from the boot disk by the boot program 42 and continues booting. In parallel with this, the FC driver 22 also performs initialization processing for the remaining FC devices (step S214, details are shown in FIG. 10 described later), and notifies the OS of the configuration change of the FC device (step S215). ), And the process ends (step S217).
図9は、図7〜8のステップS209および212として示した、FCデバイスの初期化処理の詳細を表すフローチャートである。処理を開始すると(ステップS300)、FCドライバ22はFCチャネルが保持するブート識別コード22cが0であるか否かを判別する(ステップS301)。ステップS209からこの処理が呼び出された場合はブート識別コード22c=0であるので、ステップS304に進み、ステップS204で取得したFCデバイスリスト113に掲載されている全てのデバイスに初期化コマンドを発行してステップS306に進む。
FIG. 9 is a flowchart showing the details of the initialization process of the FC device shown as steps S209 and 212 in FIGS. When the process is started (step S300), the FC driver 22 determines whether or not the boot identification code 22c held by the FC channel is 0 (step S301). When this process is called from step S209, since the boot identification code 22c = 0, the process proceeds to step S304 and issues an initialization command to all devices listed in the
ステップS301でブート識別コード22c≠0の場合はステップS302に進み、ステップS204で取得したFCデバイスリスト113にあるブートディスクのブート識別コード112によって判定する。ブートディスクのブート識別コード112が0であるか、またはブートディスクのブート識別コード112がFCチャネルのブート識別コード22cと一致している場合は、ステップS303に進み、ブートディスクのみに対してブート識別子付きの初期化コマンド(Boot-PLOGI)を発行してステップS306に進む。
If the boot identification code 22c ≠ 0 in step S301, the process proceeds to step S302, and the determination is made based on the
ステップS302で、ブートディスクのブート識別コード112が0でなく、かつブートディスクのブート識別コード112がFCチャネルのブート識別コード22cと一致しない場合は、ステップS305に進み、ブートディスク以外に対して通常の初期化コマンドを発行してステップS306に進む。
If it is determined in step S302 that the
ステップS303(または304、305)で初期化コマンドを発行したFCドライバ22は、初期化コマンドを発行したFCデバイスからのリプライを待ち、全てのFCデバイスから正常なリプライがあったか否かを判定する(ステップS306)。全てのFCデバイスから正常なリプライがあった場合、全てのFCデバイスについて報告用FCデバイスリストを作成して(ステップS307)終了する(ステップS309)。正常なリプライがなく、初期化に失敗したFCデバイスがある場合、正常なリプライがあったFCデバイスのみについて報告用FCデバイスリストを作成して(ステップS308)終了する(ステップS309)。報告用FCデバイスリストは、ステップS210または213で、OSに初期化完了を通知する際に使用される。 The FC driver 22 that issued the initialization command in step S303 (or 304, 305) waits for a reply from the FC device that issued the initialization command, and determines whether or not there has been a normal reply from all the FC devices ( Step S306). If there is a normal reply from all the FC devices, a reporting FC device list is created for all the FC devices (step S307), and the process ends (step S309). If there is an FC device that has not been normally replied and failed to be initialized, a reporting FC device list is created only for those FC devices that have had a normal reply (step S308), and the process is ended (step S309). The reporting FC device list is used when notifying the OS of the completion of initialization in step S210 or 213.
図10は、図8のステップS214として示した、残りのFCデバイスの初期化処理の詳細を表すフローチャートである。処理を開始すると(ステップS400)、FCドライバ22は既に初期化が完了しているブートディスクを除くFCデバイスのリストを作成し(ステップS401)、該デバイスリストを格納したエリアの先頭アドレスをポインタとして設定する(ステップS402)。 FIG. 10 is a flowchart showing details of the initialization processing of the remaining FC devices shown as step S214 in FIG. When the process is started (step S400), the FC driver 22 creates a list of FC devices excluding the boot disk that has already been initialized (step S401), and uses the start address of the area storing the device list as a pointer. Setting is made (step S402).
続いてブートディスクに対するI/Oコマンドが発行されているか否かを判別し(ステップS403)、発行されていれば該I/Oコマンドを実行して(ステップS404)ステップS403に戻る。ブートディスクに対するI/Oコマンドが発行されていないことを確認したら、ポインタの示すFCデバイスに対して通常の初期化コマンドを発行し(ステップS405)、それに対する該FCデバイスからのリプライを待つ(ステップS406)。 Subsequently, it is determined whether or not an I / O command for the boot disk has been issued (step S403). If it has been issued, the I / O command is executed (step S404), and the process returns to step S403. When it is confirmed that the I / O command for the boot disk has not been issued, a normal initialization command is issued to the FC device indicated by the pointer (step S405), and a reply from the FC device is waited for (step S405). S406).
ステップS406で正常なリプライがあった場合、該FCデバイスを報告用FCデバイスリストに掲載し、ポインタを次のFCデバイスを示すように更新して(ステップS407)、ステップS409に進む。正常なリプライがなかった場合、ポインタのみを次のFCデバイスを示すように更新して(ステップS408)、ステップS409に進む。 If there is a normal reply in step S406, the FC device is listed in the reporting FC device list, the pointer is updated to indicate the next FC device (step S407), and the process proceeds to step S409. If there is no normal reply, only the pointer is updated to indicate the next FC device (step S408), and the process proceeds to step S409.
ステップS409で、全てのFCデバイスの初期化を完了したか否かを判断し、完了していなければステップS403に戻り、完了していれば終了する(ステップS410)。報告用FCデバイスリストは、ステップS215で、OSにFCデバイスの構成変化を通知する際に使用される。 In step S409, it is determined whether or not initialization of all FC devices has been completed. If not completed, the process returns to step S403, and if completed, the process ends (step S410). The reporting FC device list is used when notifying the OS of the configuration change of the FC device in step S215.
なお、図7〜10の各フローチャートに係る各ステップの動作内容は、コンピュータ本体2で動作するプログラムであるFCドライバ22として実行させるように構成することもできるし、それ以外のプログラムや形態で実行させるように構成してもよい。
7 to 10 can be configured to be executed as the FC driver 22 which is a program operating in the computer
以上の構成を取ることにより、ブートディスクのみを先行して初期化するので、FCデバイスが多数接続されている構成であっても、初期化処理を高速に完了してシステムを高速に起動することができる。また、FCスイッチのゾーニング機能を使用しなくても、ブート処理中にブートチャネル以外からブートディスクへのアクセスが防ぐことができる。もちろん、FCデバイスの初期化が完了した後は、ブートチャネルからブートディスク以外のFCデバイスへのアクセスが可能である。その際、ブートディスクへのI/O処理が優先されるので、ブートディスクにおけるOSの立ち上げなどの処理が滞ることもない。 By adopting the above configuration, only the boot disk is initialized in advance, so even if the configuration has many FC devices connected, the initialization process can be completed at high speed and the system can be started at high speed. Can do. Further, even if the zoning function of the FC switch is not used, access to the boot disk from other than the boot channel can be prevented during the boot process. Of course, after the initialization of the FC device is completed, the FC device other than the boot disk can be accessed from the boot channel. At this time, since priority is given to the I / O processing to the boot disk, processing such as OS startup on the boot disk is not delayed.
[第2の実施の形態]
次に、本発明の第2の実施の形態について説明する。システムの構成および動作は図1〜10で図示した第1の実施の形態とほぼ同一であるので、図示せず、相違点を簡単に説明するのみにとどめる。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. Since the configuration and operation of the system are almost the same as those of the first embodiment shown in FIGS. 1 to 10, they are not shown, and only the differences will be described briefly.
第1の実施の形態では、図1〜2に示す優先デバイステーブル100はSP40に記憶され、ブートディスクを接続するFCドライバ22のみが初期化処理の際に読み出す。ブートチャネルでないFCドライバ23は優先デバイステーブル100を読み出さず、図7のステップS203でブート識別コード22c=0と設定している。 In the first embodiment, the priority device table 100 shown in FIGS. 1 and 2 is stored in the SP 40, and only the FC driver 22 connected to the boot disk reads it during the initialization process. The FC driver 23 that is not the boot channel does not read the priority device table 100 and sets the boot identification code 22c = 0 in step S203 of FIG.
それに対して第2の実施の形態では、FCカード60および61が、各々のFCチャネルに対応する優先デバイステーブル100を持つ。各々の優先デバイステーブル100は、SP40に記憶されていてもよいし、また各々のFCカード60および61に記憶するようにしてもよい。ブートチャネルでないFCチャネルに対応する優先デバイステーブル100には、ブート識別コード102=0が最初から記憶されている。そのため、図7のステップ201および203は省略される。
On the other hand, in the second embodiment, the
上記以外は、第1の実施の形態と構成および処理の内容は同一であるので、説明を省略する。ただし、第2の実施の形態は、初期化の処理はFCチャネルごとに行うことができるので、多数のFCチャネルが接続されたコンピュータシステムであっても、FCデバイスを全て初期化することによるFCチャネルの初期化処理の遅延を考慮する必要がなくなるという点で、第1の実施の形態と比べて優位である。 Except for the above, the configuration and the content of the processing are the same as those of the first embodiment, and thus description thereof is omitted. However, in the second embodiment, the initialization process can be performed for each FC channel. Therefore, even in a computer system to which a large number of FC channels are connected, FC by initializing all FC devices is performed. This is superior to the first embodiment in that it is not necessary to consider the delay of the channel initialization process.
これまで本発明について図面に示した特定の実施の形態をもって説明してきたが、本発明は図面に示した実施の形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができることは言うまでもないことである。 Although the present invention has been described with the specific embodiments shown in the drawings, the present invention is not limited to the embodiments shown in the drawings, and is known so far as long as the effects of the present invention are achieved. It goes without saying that any configuration can be adopted.
ファイバーチャネルによって周辺機器が接続可されるコンピュータシステム全般に適用できる。特に、多数のFCデバイスが接続されたコンピュータシステムに好適である。 It can be applied to all computer systems to which peripheral devices can be connected by Fiber Channel. In particular, it is suitable for a computer system to which a large number of FC devices are connected.
1 コンピュータシステム
2 コンピュータ本体
10 CPU
20 メインメモリ
21 OS
22 FCドライバ(初期化手段、初期化プログラム)
22b FCドライバ領域(ブート識別記憶域)
22c、102、112 ブート識別コード
23 FCドライバ
30 チップセット
40 サービスプロセッサ(SP)
41 BIOS
42 ブートプログラム
50 I/Oポート
60 FCカード(第1のFCチャネル)
61 FCカード(第2のFCチャネル)
70 FCスイッチ
71 ローカルメモリエリア(ローカルメモリ)
80 ディスク装置(第1のFCデバイス)
81〜82 ディスク装置(第2のFCデバイス)
100 優先デバイステーブル
101、111 DID番号(FCデバイスの識別情報)
110 ブートディスクテーブル
113 FCデバイスリスト
1
20
22 FC driver (initialization means, initialization program)
22b FC driver area (boot identification storage area)
22c, 102, 112 Boot identification code 23
41 BIOS
42 Boot program 50 I /
61 FC card (second FC channel)
70
80 disk unit (first FC device)
81-82 Disk device (second FC device)
100 Priority device table 101, 111 DID number (FC device identification information)
110 Boot disk table 113 FC device list
Claims (20)
前記コンピュータ本体をブートするときに前記優先デバイステーブルを読み込んで前記ブート識別コードを参照し、ブートデバイスである前記第1のFCデバイスに対して初期化コマンドを発行し、前記第1のFCデバイスに対する初期化が完了してから前記第2のFCデバイスに対する初期化コマンドを発行する初期化手段と
を有することを特徴とするコンピュータシステム。 Identification information of the first FC device and the second FC device connected to the computer main body, and a boot identification code indicating that the first FC device is a boot device in which an operation system operating on the computer main body is installed A priority device table including
When booting the computer main body, the priority device table is read, the boot identification code is referred to, an initialization command is issued to the first FC device which is a boot device, and the first FC device is And an initialization unit that issues an initialization command to the second FC device after initialization is completed.
前記第1のFCデバイスおよび前記第2のFCデバイスとアクセス可能であり、前記第1のFCデバイスから前記コンピュータ本体をブートする第1のFCチャネルと、
前記第1のFCデバイスおよび前記第2のFCデバイスとアクセス可能である第2のFCチャネルと
を有し、
前記第2のFCチャネルを初期化するとき、前記初期化手段は前記優先デバイステーブルを参照せず、前記ブート識別記憶域にブート識別コードを記憶しないことを特徴とする、請求項3に記載のコンピュータシステム。 The computer main body is
A first FC channel that is accessible to the first FC device and the second FC device, and boots the computer main body from the first FC device;
A second FC channel accessible to the first FC device and the second FC device;
The initialization means does not refer to the priority device table when initializing the second FC channel, and does not store a boot identification code in the boot identification storage area. Computer system.
前記第1のFCデバイスおよび前記第2のFCデバイスとアクセス可能であり、前記第1のFCデバイスから前記コンピュータ本体をブートする第1のFCチャネルと、
前記第1のFCチャネルに対応し、前記ブート識別コードを含む第1の優先デバイステーブルと、
前記第1のFCデバイスおよび前記第2のFCデバイスとアクセス可能である第2のFCチャネルと、
前記第2のFCチャネルに対応し、前記ブート識別コードを含まない第2の優先デバイステーブルと
を有することを特徴とする、請求項3に記載のコンピュータシステム。 The computer main body is
A first FC channel that is accessible to the first FC device and the second FC device, and boots the computer main body from the first FC device;
A first priority device table corresponding to the first FC channel and including the boot identification code;
A second FC channel accessible to the first FC device and the second FC device;
The computer system according to claim 3, further comprising a second priority device table corresponding to the second FC channel and not including the boot identification code.
前記第1のFCチャネルおよび前記第2のFCチャネルは、FCスイッチを介して前記コンピュータ本体と接続されており、
前記FCスイッチは、前記ブート識別情報が含まれる初期化コマンドを受信したときに、該初期化コマンドの対象であるFCデバイスの識別情報およびブート識別コードを含むブートディスクテーブルを記憶するローカルメモリを有することを特徴とする、請求項4および請求項5のうちいずれか1項に記載のコンピュータシステム。 The initialization command issued to the first FC device by the initialization means includes boot identification information,
The first FC channel and the second FC channel are connected to the computer main body via an FC switch,
When the FC switch receives an initialization command including the boot identification information, the FC switch has a local memory for storing a boot disk table including identification information of the FC device that is the target of the initialization command and a boot identification code The computer system according to claim 4, wherein the computer system is a computer system.
前記第2のFCチャネルに対応する初期化手段は、前記FCスイッチから返信されたFCデバイスリストに含まれるブート識別コードと、前記ブート識別記憶域に記憶されたブート識別コードとを比較し、異なっていれば前記ブート識別コードに該当するFCデバイスにはアクセスしないよう前記オペレーションシステムに対して設定することを特徴とする、請求項6に記載のコンピュータシステム。 The FC switch receives the FC device list including the boot identification code of the FC device included in the boot disk table when the initialization unit requests an FC device list accessible by the FC switch. Reply to the
The initialization unit corresponding to the second FC channel compares the boot identification code included in the FC device list returned from the FC switch with the boot identification code stored in the boot identification storage area, and differs. 7. The computer system according to claim 6, wherein the operation system is set so as not to access the FC device corresponding to the boot identification code.
前記第1のFCデバイスおよび前記第2のFCデバイスの識別情報と、第1のFCデバイスが前記コンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルと、
前記コンピュータ本体をブートするときに前記優先デバイステーブルを読み込んで前記ブート識別コードを参照し、ブートデバイスである前記第1のFCデバイスに対して初期化コマンドを発行し、前記第1のFCデバイスに対する初期化が完了してから前記第2のFCデバイスに対する初期化コマンドを発行する初期化手段と
を有することを特徴とするコンピュータ本体。 A computer main body connectable with the first FC device and the second FC device,
Priority including identification information of the first FC device and the second FC device, and a boot identification code indicating that the first FC device is a boot device in which an operation system operating on the computer main body is installed A device table,
When booting the computer main body, the priority device table is read, the boot identification code is referred to, an initialization command is issued to the first FC device which is a boot device, and the first FC device is A computer main body comprising initialization means for issuing an initialization command to the second FC device after initialization is completed.
前記第1のFCデバイスおよび前記第2のFCデバイスとアクセス可能である第2のFCチャネルと
を有し、
前記第2のFCチャネルを初期化するとき、前記初期化手段は前記優先デバイステーブルを参照せず、前記ブート識別記憶域にブート識別コードを記憶しないことを特徴とする、請求項12に記載のコンピュータ本体。 A first FC channel that is accessible to the first FC device and the second FC device, and boots the computer main body from the first FC device;
A second FC channel accessible to the first FC device and the second FC device;
The initialization means does not refer to the priority device table when initializing the second FC channel, and does not store a boot identification code in the boot identification storage area. The computer body.
前記第1のFCチャネルに対応し、前記ブート識別コードを含む第1の優先デバイステーブルと、
前記第1のFCデバイスおよび前記第2のFCデバイスとアクセス可能である第2のFCチャネルと、
前記第2のFCチャネルに対応し、前記ブート識別コードを含まない第2の優先デバイステーブルと
を有することを特徴とする、請求項12に記載のコンピュータ本体。 A first FC channel that is accessible to the first FC device and the second FC device, and boots the computer main body from the first FC device;
A first priority device table corresponding to the first FC channel and including the boot identification code;
A second FC channel accessible to the first FC device and the second FC device;
13. The computer main body according to claim 12, further comprising a second priority device table corresponding to the second FC channel and not including the boot identification code.
前記初期化手段が前記第1のFCデバイスに対して発する初期化コマンドにはブート識別情報が含まれることを特徴とする、請求項13および請求項14のうちいずれか1項に記載のコンピュータ本体。 The first FC channel and the second FC channel can be connected to the computer main body via an FC switch,
The computer main body according to any one of claims 13 and 14, wherein the initialization command issued to the first FC device by the initialization means includes boot identification information. .
前記第1のFCデバイスおよび前記第2のFCデバイスの識別情報と、第1のFCデバイスが前記コンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルを前記コンピュータ本体に記憶する優先デバイステーブル記憶工程と、
前記優先デバイステーブルを読み込んで前記ブート識別コードを参照するブート識別コード参照工程と、
ブートデバイスである前記第1のFCデバイスに対して初期化コマンドを発行する第1の初期化工程と、
前記第1の初期化工程が完了したことを確認する完了確認工程と、
前記完了確認工程の後で前記第2のFCデバイスに対する初期化コマンドを発行する第2の初期化工程と
を有することを特徴とする起動方法。 A method of starting a computer system in which a first FC device and a second FC device are connected to a computer body,
Priority including identification information of the first FC device and the second FC device, and a boot identification code indicating that the first FC device is a boot device in which an operation system operating on the computer main body is installed A priority device table storing step of storing a device table in the computer body;
A boot identification code reference step of reading the priority device table and referring to the boot identification code;
A first initialization step of issuing an initialization command to the first FC device which is a boot device;
A completion confirmation step for confirming that the first initialization step is completed;
And a second initialization step of issuing an initialization command for the second FC device after the completion confirmation step.
前記第1のFCデバイスおよび前記第2のFCデバイスの識別情報と、第1のFCデバイスが前記コンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルを読み込んで前記ブート識別コードを参照する処理と、
ブートデバイスである前記第1のFCデバイスに対して初期化コマンドを発行する第1の初期化処理と、
前記第1の初期化工程が完了したことを確認する確認処理と、
前記確認処理の後で前記第2のFCデバイスに対する初期化コマンドを発行する第2の初期化処理と
を実行させることを特徴とする初期化プログラム。 An initialization program for initializing the first FC device and the second FC device when starting the computer system in which the first FC device and the second FC device are connected to the computer main body. In the computer body,
Priority including identification information of the first FC device and the second FC device, and a boot identification code indicating that the first FC device is a boot device in which an operation system operating on the computer main body is installed Processing for reading the device table and referring to the boot identification code;
A first initialization process for issuing an initialization command to the first FC device which is a boot device;
A confirmation process for confirming that the first initialization step is completed;
An initialization program for executing a second initialization process for issuing an initialization command for the second FC device after the confirmation process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008001604A JP5104320B2 (en) | 2008-01-08 | 2008-01-08 | Computer system, computer main body, startup method, and initialization program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008001604A JP5104320B2 (en) | 2008-01-08 | 2008-01-08 | Computer system, computer main body, startup method, and initialization program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009163575A JP2009163575A (en) | 2009-07-23 |
JP5104320B2 true JP5104320B2 (en) | 2012-12-19 |
Family
ID=40966106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008001604A Expired - Fee Related JP5104320B2 (en) | 2008-01-08 | 2008-01-08 | Computer system, computer main body, startup method, and initialization program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5104320B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5998669B2 (en) * | 2012-06-25 | 2016-09-28 | 株式会社リコー | Information processing apparatus, information processing method, and program |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4794068B2 (en) * | 2000-06-05 | 2011-10-12 | 富士通株式会社 | Storage area network management system |
JP2002108567A (en) * | 2000-09-28 | 2002-04-12 | Hitachi Ltd | Storage control apparatus |
JP2004118250A (en) * | 2002-09-24 | 2004-04-15 | Hitachi Ltd | Computer management system and management program |
JP4826077B2 (en) * | 2004-08-31 | 2011-11-30 | 株式会社日立製作所 | Boot disk management method |
JP2006252329A (en) * | 2005-03-11 | 2006-09-21 | Toshiba Corp | Information processor and starting control method |
JP4487920B2 (en) * | 2005-12-12 | 2010-06-23 | 株式会社日立製作所 | Boot control method, computer system and processing program therefor |
-
2008
- 2008-01-08 JP JP2008001604A patent/JP5104320B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009163575A (en) | 2009-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106598480B (en) | Electronic system and its operating method with Interface Controller mechanism | |
US8645594B2 (en) | Driver-assisted base address register mapping | |
CN106528194B (en) | Network switch and method for updating device using network switch | |
US5499378A (en) | Small computer system emulator for non-local SCSI devices | |
US8751741B2 (en) | Methods and structure for implementing logical device consistency in a clustered storage system | |
US7206875B2 (en) | Expander device capable of persistent reservations and persistent affiliations | |
US7617400B2 (en) | Storage partitioning | |
US8499056B2 (en) | Remote USB system for supporting multiple virtual machines of multiple host and method thereof | |
US20130097339A1 (en) | Communication with input/output system devices | |
US7921230B2 (en) | USB devices pre-configuration for KVM switch | |
US20100235461A1 (en) | Network device and method of sharing external storage device | |
CN116204456A (en) | Data access method and computing device | |
JP6622512B2 (en) | Device with virtual device and method of operation thereof | |
KR102387922B1 (en) | Methods and systems for handling asynchronous event request command in a solid state drive | |
CN104461687A (en) | Virtual machine configuration information storage method and device | |
US9870162B2 (en) | Method to virtualize PCIe controllers to support boot/hibernation/crash-dump from a spanned virtual disk | |
US20080270669A1 (en) | Translation of data to/from storage devices based on a redundancy configuration and host interface type | |
US11093175B1 (en) | Raid data storage device direct communication system | |
JP5104320B2 (en) | Computer system, computer main body, startup method, and initialization program | |
US10466916B2 (en) | System and method of dynamic write protect of storage devices exposed by baseboard management controller (BMC) | |
US20020083221A1 (en) | Universal disk array controller | |
US20220137998A1 (en) | Storage virtualization device supporting virtual machine, operation method thereof, and operation method of system having the same | |
JP2013054434A (en) | I/o controller and i/o control method | |
WO2005098632A2 (en) | Device to allow multiple data processing channels to share a single disk drive | |
WO2007077514A2 (en) | Transparent intellectual network storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101213 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120710 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120711 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120813 |
|
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: 20120904 |
|
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: 20120917 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151012 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |