JP5104320B2 - Computer system, computer main body, startup method, and initialization program - Google Patents

Computer system, computer main body, startup method, and initialization program Download PDF

Info

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
Application number
JP2008001604A
Other languages
Japanese (ja)
Other versions
JP2009163575A (en
Inventor
治 樋口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2008001604A priority Critical patent/JP5104320B2/en
Publication of JP2009163575A publication Critical patent/JP2009163575A/en
Application granted granted Critical
Publication of JP5104320B2 publication Critical patent/JP5104320B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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. Patent Document 1 discloses a technique in which a plurality of I / O processes are divided and controlled by priority and non-priority, and non-priority I / O is operated while suppressing the processes. Patent Document 2 discloses a technique in which one of a plurality of channels connected to the same FC device is normally used and the other is a retry channel. Patent Document 3 discloses a technique for facilitating computer settings by storing a WWN (World Wide Name), business identification information, and area identification information in association with each other in a storage system. . Non-Patent Document 1 defines a typical command in FC such as GID_FT described later.

特開2002−108567号公報JP 2002-108567 A 特開2005−208971号公報JP 2005-208971 A 特開2007−164305号公報JP 2007-164305 A 「Fibre Channel - Generic Services-5(FC-GS-5) Rev8.51」The American National Standard Institute T11 technical committee"Fibre Channel-Generic Services-5 (FC-GS-5) Rev8.51" The American National Standard Institute T11 technical committee

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チャネルからブートディスクを参照不可能とする構成を備えていない。それらの文献を組み合わせた技術においても同様である。   Patent Documents 1 to 3 and Non-Patent Document 1 described above are configured so that a system can be started at high speed even when an FC device other than a boot disk is connected to an FC channel for booting, and a boot disk from another FC channel. Is not provided. The same applies to the technology combining these documents.

本発明の目的は、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 computer system 1 according to the first embodiment of the present invention. The computer system 1 includes a computer main body 2, an FC switch 70, and disk devices 80 to 82. The computer main body 2 includes a CPU 10, a main memory 20, a chip set 30, an I / O port 50, and FC cards 60 and 61 built in the computer main body 2.

CPU10は、コンピュータ本体2の中枢機能を担う演算処理装置で、OS、BIOS、アプリケーションプログラムなどを実行する。CPU10は、外部バスを介してチップセット30に接続され、そこから各デバイスに接続されて信号の送受を行っている。   The CPU 10 is an arithmetic processing unit having a central function of the computer main body 2 and executes an OS, a BIOS, an application program, and the like. The CPU 10 is connected to the chipset 30 via an external bus, and is connected to each device from there to send and receive signals.

メインメモリ20は、やはりチップセット30に接続されており、CPU10が実行するプログラムの読み込み領域、処理データを書き込む作業領域として利用されるRAMである。   The main memory 20 is a RAM that is also connected to the chip set 30 and is used as a reading area for programs executed by the CPU 10 and a work area for writing processing data.

I/Oポート50は、複数のスロット51〜54を有し、各種周辺機器を接続することが可能である。なお、スロットの数は4つに限定されない。CPU10およびメインメモリ20は、チップセット30を経由して、スロット51〜54に接続された周辺機器にアクセスすることができる。   The I / O port 50 has a plurality of slots 51 to 54, and can connect various peripheral devices. Note that the number of slots is not limited to four. The CPU 10 and the main memory 20 can access peripheral devices connected to the slots 51 to 54 via the chipset 30.

いま、スロット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 FC card 60 that is an interface for connecting an FC device is connected to the slot 51. Similarly, the FC card 61 is also connected to the slot 53. The selection of the slot used for connection is not limited to this form, and the slots 52 and 54 that are vacant in FIG. 1 may be used. The FC cards 60 and 61 are connected to the FC switch 70 and are formed as different FC channels. Hereinafter, the FC channel of the FC card 60 is referred to as a first FC channel, and the FC channel of the FC card 61 is referred to as a second FC channel.

コンピュータ本体2をブートすることが可能であるように設定されているFCチャネルを、ブートチャネルという。第1のFCチャネルはブートチャネルであり、第2のFCチャネルにはブートチャネルではない。特定のFCチャネルをブートチャネルとして設定する方法は後述する。   An FC channel that is set so that the computer main body 2 can be booted is called a boot channel. The first FC channel is a boot channel, and the second FC channel is not a boot channel. A method for setting a specific FC channel as a boot channel will be described later.

FCスイッチ70は、ローカルメモリエリア71を有し、ローカルメモリエリア71に後述のブートディスクテーブル110が記憶される。   The FC switch 70 has a local memory area 71, and a boot disk table 110 described later is stored in the local memory area 71.

FCスイッチ70には、FCデバイスであるディスク装置80〜82が接続されている。FCスイッチ70により、FCカード60および61のいずれからも、ディスク装置80〜82のいずれにもアクセスできる。ディスク装置80には、コンピュータ本体2で動作するOSの本体がインストールされている。以後、OSの本体がインストールされているディスク装置をブートディスクという。ディスク装置80はブートディスクであり、ディスク装置81および82はブートディスクではない。   To the FC switch 70, disk devices 80 to 82 which are FC devices are connected. The FC switch 70 can access any of the disk devices 80 to 82 from either of the FC cards 60 and 61. In the disk device 80, an OS main body operating on the computer main body 2 is installed. Hereinafter, the disk device in which the main body of the OS is installed is referred to as a boot disk. The disk device 80 is a boot disk, and the disk devices 81 and 82 are not boot disks.

チップセット30は、サービスプロセッサ40(以後SP40という)を有する。SP40は、このコンピュータシステム1を制御する組み込みシステムであり、SP40を介して外部からこのコンピュータシステム1のブートおよび診断などの制御を行うことができる。また、SP40の記憶領域にはBIOS41、ブートプログラム42、および後述する優先デバイステーブル100などか記憶されている。   The chipset 30 has a service processor 40 (hereinafter referred to as SP40). The SP 40 is an embedded system that controls the computer system 1 and can control booting and diagnosis of the computer system 1 from the outside via the SP 40. The storage area of the SP 40 stores a BIOS 41, a boot program 42, a priority device table 100 described later, and the like.

コンピュータシステム1をブートするときには、SP40の制御によって、まずBIOS41によるセルフテストなどを行った後、FCカード60に対応するデバイスドライバであるFCドライバ22が、メインメモリ20上に確保されたFCドライバ領域22bにロードされる。FCカード61に対応するFCドライバ23も、メインメモリ20上のFCドライバ22とは異なる領域にロードされる。   When the computer system 1 is booted, the FC driver 22 which is a device driver corresponding to the FC card 60 is secured on the main memory 20 after first performing a self test by the BIOS 41 under the control of the SP 40. 22b. The FC driver 23 corresponding to the FC card 61 is also loaded in a different area from the FC driver 22 on the main memory 20.

そして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 main memory 20, and the boot program 42 instructs the initialization of the FC channel to which the boot disk is connected. The main body of the OS 21 is loaded from the boot disk connected to the FC channel into the OS area, and the operation of the OS 21 is thereby started.

また、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 computer system 1, but these are well known to those skilled in the art and will not be described in detail. Further, a person skilled in the art arbitrarily selects a plurality of blocks described in FIG. 1 as one device or circuit, or conversely, a single block is divided into a plurality of devices or circuits. To the extent possible, it is included in the scope of the present invention.

図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) number 101 that is an FC device identification number and a boot identification code 102 corresponding to each DID number 101.

ブート識別コード102が「1(000001b)」であれば、そのデバイスはブートディスクとして設定される。ブート識別コード102が「0(000000b)」であれば、そのデバイスはブートディスクとはならない。なお、DID番号101の代わりに、FCデバイスを識別するWWN(World Wide Name)を使用してもよい。   If the boot identification code 102 is “1 (000001b)”, the device is set as a boot disk. If the boot identification code 102 is “0 (000000b)”, the device is not a boot disk. Instead of the DID number 101, a WWN (World Wide Name) for identifying the FC device may be used.

図1に示した例では、ディスク装置80のみがブートディスクとして設定されており、ディスク装置81および82はブートディスクとはならない。しかし、ディスク装置81および82は優先デバイステーブル100に載ることにより、後述する優先初期化デバイスとして設定されることになる。   In the example shown in FIG. 1, only the disk device 80 is set as the boot disk, and the disk devices 81 and 82 are not boot disks. However, the disk devices 81 and 82 are set as priority initialization devices described later by being placed in the priority device table 100.

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 switch 70 to obtain a list of accessible DID numbers 101 of FC devices, and for all the obtained FC devices with the DID number 101 Initialize the FC devices by executing initialization commands such as PLOGI command and PRLI command all at once. Other responses cannot be performed until responses are returned from all FC devices that have issued commands. Therefore, an I / O command issued to the boot disk cannot be executed.

本実施の形態では、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 switch 70 to acquire a list of accessible FC devices. It is confirmed whether or not the DID number 101 whose boot identification code 102 is “1” (which is a boot disk) exists in the list of accessible FC devices acquired from the FC switch 70. If it exists, an I / O command is issued only to the boot disk, and initialization processing of only the boot disk is performed first.

ブートディスクではないその他の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 numbers 101 at once, but the initialization commands are issued one by one from the top of the list of DID numbers 101 obtained by the GID_FT command. Before issuing the initialization command, it is checked whether an I / O command for the boot disk has been issued. If there is an I / O command, the I / O command is executed. Issue one initialization command at a time. As a result, it is possible to initialize other FC devices while giving priority to the I / O command for the boot disk, so that startup of the OS is not delayed.

図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 boot identification code 112 in the FC switch 70 shown in FIG. Here, the computer system 1 is booted from the disk device 80 by the first FC channel (FC card 60). In the present embodiment, the zoning function of the FC switch 70 is not used so that the FC device to be booted can be connected to an FC device in another FC channel.

しかし、ブートディスクはブートする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 disk device 80 that is a boot disk can be accessed only from the first FC channel (FC card 60) that is the boot channel, and the second FC channel (FC card 61) that is not the boot channel. Must be inaccessible. The disk devices 81 and 82 that are not boot disks need to be accessible from both the first and second FC channels.

具体的には、ブートディスクに対する初期化は、前述の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 boot identification code 102 is added to the PLOGI command described above. This dedicated command is called Boot-PLOGI command. The FC switch 70 recognizes that it is a Boot-PLOGI command if the boot identification code 102 is added to the PLOGI command, and stores the DID of the boot disk in the boot disk table 110 provided in the local memory area 71 in the FC switch 70. Register with number 101.

ブートディスクテーブル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 number 111 and a boot identification code 112. The FC driver 22 can obtain a currently accessible FC device list 113 by issuing a command to the FC switch 70. The DID number 111 and the boot identification code 112 of the FC device registered in the boot disk table 110 are included in the FC device list 113 and returned to the FC driver 22.

FCスイッチ70では、接続されているFCチャネルからGID_FTコマンドなどによってアクセス可能なFCデバイスのリストを要求されたら、送信するFCデバイスリスト113で、返信データ180の中のリザーブ領域を利用して、ブート識別コードを送信するように制御する。   In the FC switch 70, when a list of FC devices that can be accessed by a GID_FT command or the like is requested from the connected FC channel, a boot is performed using the reserved area in the reply data 180 in the FC device list 113 to be transmitted. Control to transmit the identification code.

図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 reply data 180 that the FC switch 70 shown in FIG. 3 transmits to the FC channel in response to the GID_FT command (Accept). One entry of this data consists of a total of 4 bytes, 1 byte for the control 181 and 3 bytes for the port identifier 182. When the DID number 111 is set in the port identifier 182 and the first bit of the control 181 is 1, it indicates that the entry is the last entry. At this time, 7 bits other than 1 of the first bit of the control 181 are not used and are reserved areas (represented by r). The boot identification code 112 can be set in 7 bits of this reserved area.

ブートチャネルは、優先デバイステーブル100からブート識別コード102を読み出した場合、ブート識別コード102の値をFCチャネルのブート識別コード22cとして保持する。ブートチャネルでないFCチャネルのブート識別コード22cは「0」である。従って、FCスイッチ70からコマンドを使用してブートディスクテーブル110を読み出すと、ブートチャネルでないFCチャネルのブート識別コード22cは、ブートディスクテーブル110のブート識別コード112と不一致となる。   When the boot channel reads the boot identification code 102 from the priority device table 100, the boot channel holds the value of the boot identification code 102 as the FC channel boot identification code 22c. The boot identification code 22c of the FC channel that is not the boot channel is “0”. Therefore, when the boot disk table 110 is read from the FC switch 70 using a command, the boot identification code 22c of the FC channel that is not the boot channel does not match the boot identification code 112 of the boot disk table 110.

ブート識別コード22cとブート識別コード112とが一致しない場合は、該FCデバイスは他のFCチャネルもしくはコンピュータによってブートディスクとして既に使用されていることを意味する。そのため、FCスイッチ70はブート識別コード22cと112が一致しないFCデバイスにはアクセスしないように制御する。このようにして、ブートディスクをブートチャネルからのみアクセス可能にしている。   If the boot identification code 22c and the boot identification code 112 do not match, it means that the FC device has already been used as a boot disk by another FC channel or computer. For this reason, the FC switch 70 performs control so as not to access FC devices whose boot identification codes 22c and 112 do not match. In this way, the boot disk can be accessed only from the boot channel.

図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 FC switch 70 shown in FIGS. 3 and 4 in response to a command from the FC driver 22. When the process is started (step S500), the FC switch 70 waits for reception of a command from the FC driver 22 (step S501). When the command is received, it is determined whether the command is a Boot-PLOGI command or a GID_FT command (steps S502 and S504).

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 boot identification code 102 is registered in the boot disk table 110 together with the DID number 101 (step S503), and the process returns to step S501. If it is a GID_FT command, the DID number 111 and the boot identification code 112 of the boot disk table 110 are included in the FC device list 113 and returned to the FC driver 22 (step S504), and the process returns to step S501. If it is another command, normal processing corresponding to the command is performed (not shown here), and the process returns to step S501.

なお、図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 FC switch 70.

図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 computer system 1 shown in FIG. It is. First, a boot program for reading the OS body from the disk device 80 as a boot disk is loaded from the SP 40 into the OS 21 area of the main memory 20. The boot program instructs the start of initialization processing of the FC channel that controls the FC card 60 connected to the slot 51 (arrow (A)).

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 boot identification code 102 is taken out and stored as the boot identification code 22c of the FC driver 22 in the FC driver area 22b. Then, a GID_FT command is issued to the FC switch 70 to check whether there is an FC device with the DID number 101 in the priority device table 100.

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 number 101 in the priority device table 100 exists in the accessible FC device list received from the FC switch 70, the boot program sends a Boot-PLOGI command to the FC switch 70 ( Arrow (C)). The FC switch 70 recognizes the Boot-PLOGI command and stores the boot identification code 112 and the corresponding DID number 111 in the boot disk table 110 shown in FIG.

ブートディスクであるディスク装置80の初期化が完了すると、ディスク装置80からFCドライバ22を介してブートプログラムに初期化完了が報告される(矢印(D))。これによって、ブートディスクの初期化は完了したことになるので、ブートプログラムはOS本体をディスク装置80から読み出すI/Oコマンドを発行する(矢印(F))。   When the initialization of the disk device 80, which is a boot disk, is completed, the completion of initialization is reported from the disk device 80 to the boot program via the FC driver 22 (arrow (D)). As a result, the initialization of the boot disk is completed, and the boot program issues an I / O command for reading the OS body from the disk device 80 (arrow (F)).

その一方で、ブートディスクの初期化が完了したことを受けた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 switch 70, and the first DID thereof. Initialization is performed in order from the number 101. At that time, before executing the initialization process, it is confirmed whether the I / O command for the boot disk indicated by the arrow (F) is issued. If it is issued, the process of the I / O command is given priority. Control is performed (arrow (G)).

ブートディスク以外の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 cards 60 to 61 of the present embodiment shown in FIG. The FC card 60 is a boot channel, and the FC card 61 is not a boot channel. However, the FC drivers 22 and 23 corresponding to the respective FC cards are the same computer program, and it is determined whether or not the FC channel initialized by itself is a boot channel. The operation corresponding to each case is performed. Accordingly, in the following description, it is assumed that the FC driver 22 is the main operation, but it should be understood that the FC driver 23 can also perform the same operation.

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 boot identification code 102 and the DID number 101 of the boot disk are extracted and used as the boot identification code 22c in the FC driver area 22b (step S202). ), The process proceeds to step S204. If it is not an initialization process for the FC channel to be booted, the boot identification code 22c = 0 is set (step S203), and the process proceeds to step S204.

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 FC device list 113 from the FC switch 70 (step S204), and determines whether or not the boot identification code 102 included in the priority device table 100 is 0 (step S205). If the boot identification code 102 = 0, the process proceeds to step S206, and if not 0, the process proceeds to step S207. If the boot identification code 102 = 0, it means that no boot disk is specified in the priority device table 100.

ブートディスクが指定されていない状態であれば、ステップ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 boot identification code 102 specified in the priority device table 100 is set in the boot identification code 22c held by the FC channel (step S207), and the process proceeds to step S212 described later. .

ブートディスクまたは優先して初期化するディスクがある場合、該ディスクに対して初期化処理を行って(ステップ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 FC device list 113 acquired in step S204. Then, the process proceeds to step S306.

ステップ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 boot identification code 112 of the boot disk in the FC device list 113 acquired in step S204. If the boot identification code 112 of the boot disk is 0, or if the boot identification code 112 of the boot disk matches the boot identification code 22c of the FC channel, the process proceeds to step S303, and the boot identification for only the boot disk is performed. The attached initialization command (Boot-PLOGI) is issued and the process proceeds to step S306.

ステップS302で、ブートディスクのブート識別コード112が0でなく、かつブートディスクのブート識別コード112がFCチャネルのブート識別コード22cと一致しない場合は、ステップS305に進み、ブートディスク以外に対して通常の初期化コマンドを発行してステップS306に進む。   If it is determined in step S302 that the boot identification code 112 of the boot disk is not 0 and the boot identification code 112 of the boot disk does not match the boot identification code 22c of the FC channel, the process proceeds to step S305 where The initialization command is issued, and the process proceeds to step S306.

ステップ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 main body 2, or executed in other programs or forms. You may comprise.

以上の構成を取ることにより、ブートディスクのみを先行して初期化するので、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 FC cards 60 and 61 have the priority device table 100 corresponding to each FC channel. Each priority device table 100 may be stored in the SP 40 or may be stored in each of the FC cards 60 and 61. In the priority device table 100 corresponding to the FC channel that is not the boot channel, the boot identification code 102 = 0 is stored from the beginning. Therefore, steps 201 and 203 in FIG. 7 are omitted.

上記以外は、第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の実施の形態に係るコンピュータシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the computer system which concerns on the 1st Embodiment of this invention. 図1で示したSPに記憶されている優先デバイステーブルの構成を示す概念図である。It is a conceptual diagram which shows the structure of the priority device table memorize | stored in SP shown in FIG. 図1で示したFCスイッチに、ブート識別コードが登録される処理を示す概念図である。It is a conceptual diagram which shows the process in which a boot identification code is registered into the FC switch shown in FIG. 図3で示したFCスイッチがGID_FTコマンドに対する返信(Accept)でFCチャネルに送信する返信データのフォーマットを示す概念図である。FIG. 4 is a conceptual diagram showing a format of reply data that the FC switch shown in FIG. 3 transmits to the FC channel in response to a GID_FT command (Accept). 図3および4で示したFCスイッチが、FCドライバからのコマンドに対応して行う処理を表すフローチャートである。5 is a flowchart showing processing performed by the FC switch shown in FIGS. 3 and 4 in response to a command from an FC driver. 図1で示したコンピュータシステムにおいて、ブートディスクのみを初期化する処理、およびブートディスクへのI/Oコマンド実行中にその他のFCデバイスを初期化する処理の実行イメージを示すイメージ図である。FIG. 2 is an image diagram showing an execution image of processing for initializing only a boot disk and processing for initializing other FC devices during execution of an I / O command to the boot disk in the computer system shown in FIG. 1. 図1で示した本実施の形態のFCカードの初期化に係る、FCドライバによる処理を表すフローチャートである。3 is a flowchart showing processing by an FC driver related to initialization of the FC card of the present embodiment shown in FIG. 1. 図7の続きである。FIG. 7 is a continuation of FIG. 図7〜8のステップS209および212として示した、FCデバイスの初期化処理の詳細を表すフローチャートである。9 is a flowchart showing details of FC device initialization processing shown as steps S209 and 212 in FIGS. 図8のステップS214として示した、残りのFCデバイスの初期化処理の詳細を表すフローチャートである。FIG. 9 is a flowchart showing details of initialization processing for the remaining FC devices shown as step S214 in FIG. 8. FIG.

符号の説明Explanation of symbols

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 Computer System 2 Computer Body 10 CPU
20 Main memory 21 OS
22 FC driver (initialization means, initialization program)
22b FC driver area (boot identification storage area)
22c, 102, 112 Boot identification code 23 FC driver 30 Chipset 40 Service processor (SP)
41 BIOS
42 Boot program 50 I / O port 60 FC card (first FC channel)
61 FC card (second FC channel)
70 FC switch 71 Local memory area (local memory)
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デバイスおよび第2のFCデバイスの識別情報と、第1のFCデバイスが前記コンピュータ本体で動作するオペレーションシステムがインストールされているブートデバイスである旨のブート識別コードとを含む優先デバイステーブルと、
前記コンピュータ本体をブートするときに前記優先デバイステーブルを読み込んで前記ブート識別コードを参照し、ブートデバイスである前記第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.
前記第2のFCデバイスに対する初期化コマンドは、前記第1のFCデバイスに対するI/Oコマンドが発行されていないタイミングで発行されることを特徴とする、請求項1に記載のコンピュータシステム。   The computer system according to claim 1, wherein the initialization command for the second FC device is issued at a timing when an I / O command for the first FC device is not issued. 前記初期化手段が、前記優先デバイステーブルの前記ブート識別コードを前記コンピュータ本体内のブート識別記憶域に記憶することを特徴とする、請求項2に記載のコンピュータシステム。   3. The computer system according to claim 2, wherein the initialization unit stores the boot identification code of the priority device table in a boot identification storage area in the computer main body. 前記コンピュータ本体は、
前記第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デバイスに対して発する初期化コマンドにはブート識別情報が含まれ、
前記第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.
前記FCスイッチは、前記初期化手段から前記FCスイッチがアクセス可能なFCデバイスリストを要求されたときに、前記ブートディスクテーブルに含まれるFCデバイスのブート識別コードを含めた前記FCデバイスリストを前記初期化手段に返信し、
前記第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デバイスのうち一方もしくは両方が複数のFCデバイスを含むことを特徴とする、請求項1ないし請求項7のうちいずれか1項に記載のコンピュータシステム。   8. The computer system according to claim 1, wherein one or both of the first FC device and the second FC device includes a plurality of FC devices. 9. 前記優先デバイステーブルは前記ブートデバイスでない優先初期化FCデバイスの識別情報を少なくとも1つ以上含み、前記初期化手段は前記ブートデバイスに対する初期化が完了した直後に前記優先初期化FCデバイスを優先的に初期化することを特徴とする、請求項1ないし請求項8のうちいずれか1項に記載のコンピュータシステム。   The priority device table includes at least one or more identification information of a priority initialization FC device that is not the boot device, and the initialization unit prioritizes the priority initialization FC device immediately after initialization of the boot device is completed. 9. The computer system according to claim 1, wherein the computer system is initialized. 第1のFCデバイスおよび第2のFCデバイスと接続可能なコンピュータ本体であって、
前記第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.
前記第2のFCデバイスに対する初期化コマンドは、前記第1のFCデバイスに対するI/Oコマンドが発行されていないタイミングで発行されることを特徴とする、請求項10に記載のコンピュータ本体。   11. The computer main body according to claim 10, wherein the initialization command for the second FC device is issued at a timing when an I / O command for the first FC device is not issued. 前記初期化手段が前記優先デバイステーブルの前記ブート識別コードを記憶するブート識別記憶域を有することを特徴とする、請求項11に記載のコンピュータ本体。   12. The computer main body according to claim 11, wherein the initialization unit has a boot identification storage area for storing the boot identification code of the priority device table. 前記第1のFCデバイスおよび前記第2のFCデバイスとアクセス可能であり、前記第1のFCデバイスから前記コンピュータ本体をブートする第1のFCチャネルと、
前記第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デバイスおよび前記第2のFCデバイスとアクセス可能であり、前記第1のFCデバイスから前記コンピュータ本体をブートする第1のFCチャネルと、
前記第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チャネルおよび前記第2のFCチャネルは、FCスイッチを介して前記コンピュータ本体と接続可能であり、
前記初期化手段が前記第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. .
前記第2のFCチャネルに対応する初期化手段は、前記FCスイッチから取得したFCデバイスリストに含まれるブート識別コードと、前記ブート識別記憶域に記憶されたブート識別コードとを比較し、異なっていれば前記ブート識別コードに該当するFCデバイスにはアクセスしないよう前記オペレーションシステムに対して設定することを特徴とする、請求項15に記載のコンピュータ本体。   The initialization means corresponding to the second FC channel compares the boot identification code included in the FC device list acquired from the FC switch with the boot identification code stored in the boot identification storage area, and is different. The computer main body according to claim 15, 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デバイスおよび前記第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.
前記第2の初期化工程は、前記第1のFCデバイスに対するI/Oコマンドが発行されていないタイミングで前記第2のFCデバイスに対する初期化コマンドを発行することを特徴とする、請求項17に記載の起動方法。 The second initialization process, and issues an initialization command for the second FC device at a timing that is not issued I / O command for the first FC device, to Claim 17 The startup method described. 第1のFCデバイスおよび第2のFCデバイスがコンピュータ本体に接続されているコンピュータシステムを起動する際に、前記第1のFCデバイスおよび前記第2のFCデバイスを初期化する初期化プログラムであって、前記コンピュータ本体に、
前記第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.
前記第2の初期化処理は、前記第1のFCデバイスに対するI/Oコマンドが発行されていないタイミングで前記第2のFCデバイスに対する初期化コマンドを発行することを特徴とする、請求項19に記載の初期化プログラム。 The second initialization, and issues an initialization command for the second FC device at a timing that is not issued I / O command for the first FC device, to Claim 19 The initialization program described.
JP2008001604A 2008-01-08 2008-01-08 Computer system, computer main body, startup method, and initialization program Expired - Fee Related JP5104320B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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