JP5131336B2 - How to change the boot configuration - Google Patents
How to change the boot configuration Download PDFInfo
- Publication number
- JP5131336B2 JP5131336B2 JP2010233195A JP2010233195A JP5131336B2 JP 5131336 B2 JP5131336 B2 JP 5131336B2 JP 2010233195 A JP2010233195 A JP 2010233195A JP 2010233195 A JP2010233195 A JP 2010233195A JP 5131336 B2 JP5131336 B2 JP 5131336B2
- Authority
- JP
- Japan
- Prior art keywords
- disk
- server
- boot
- migration
- migration destination
- 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
Description
本発明は、サーバがブートに利用するディスクを変更するブート構成変更方法に関する
。
The present invention relates to a boot configuration change method for changing a disk used by a server for booting.
一般に、サーバは内蔵のディスク装置にインストールされたOSをブートする。しかし、
サーバが利用するディスク容量が増大し、ディスク装置の容量が不足した場合には、サー
バの内蔵ディスクを交換する必要がある。さらに、ディスク装置のバックアップ作業は各
サーバでバックアップソフトウェアなどを稼動させて実施する必要があるため、手間がか
かる。また、サーバ台数が増大すると、多数のサーバのディスク装置を交換する作業や、
バックアップする手間は大変大きくなる。
In general, the server boots an OS installed in a built-in disk device. But,
When the disk capacity used by the server increases and the capacity of the disk device becomes insufficient, it is necessary to replace the internal disk of the server. Furthermore, the backup operation of the disk device is troublesome because it is necessary to execute backup software on each server. Also, as the number of servers increases, work to replace the disk devices of many servers,
The trouble of backing up becomes very large.
これに対して、サーバがネットワークを介して、ディスク装置として外部ディスク装置
のディスクを利用してブートする形態がある。この構成では、ディスクの容量が不足した
場合にも、外部ディスク装置内にディスクを簡単に増設できるため、作業を省力化できる
。さらに、バックアップは外部ディスク装置内の複数のディスク間でコピーすることがで
きるため、サーバでソフトウェアを稼動させる手間を省力化できる。また、複数のサーバ
が外部ディスク装置のディスクからブートする計算機システムでは、1台の外部ディスク
装置に全てのサーバのディスクを集約できるため、ディスクの増設やバックアップ作業を
1台の外部ディスク装置に対して実施でき、サーバ台数が増大した場合の手間を省力化で
きる。また、この構成では、ネットワークやネットワークスイッチを介して計算機システ
ムの複数のサーバと接続することができるため、外部ディスク装置に接続されたあるサー
バのブートディスクは、別のサーバから参照可能である。このため、この構成では、業務
を実行中の現用サーバで障害が発生した場合、そのサーバのブートディスクを利用して別
のサーバが起動することで業務を引き継ぐことができる。
On the other hand, there is a form in which a server boots using a disk of an external disk device as a disk device via a network. In this configuration, even when the capacity of the disk is insufficient, the disk can be easily added to the external disk device, so that work can be saved. Furthermore, since the backup can be copied between a plurality of disks in the external disk device, labor for running software on the server can be saved. Also, in a computer system in which multiple servers boot from a disk of an external disk device, all the server's disks can be consolidated on one external disk device, so disk expansion and backup operations can be performed on one external disk device. This saves time and labor when the number of servers increases. Further, in this configuration, since it is possible to connect to a plurality of servers of the computer system via a network or a network switch, the boot disk of a certain server connected to the external disk device can be referred from another server. For this reason, in this configuration, when a failure occurs in the active server that is executing a job, it is possible to take over the job by starting another server using the boot disk of the server.
このような背景から、ディスクの増設やバックアップ作業の省力化、およびサーバで障
害が発生した場合のディスク引き継ぎによる業務引き継ぎを可能とするため、内蔵ディス
クからブートするサーバから成る計算機システムを、外部ディスク装置からブートする構
成へと移行する方法が望まれている。しかし、これを実現するには、サーバのデータ部分
を外部ディスク装置にコピーし、サーバのOSやアプリケーションソフトウェアなどのシステム部分を再構築する作業を行う必要があるため、計算機システムの規模が大きくなると
、作業量が増大してしまう問題があった。
Against this background, a computer system consisting of a server that boots from an internal disk must be connected to an external disk in order to make it possible to save more disks and save backup work, and to take over work by taking over a disk when a server failure occurs. What is desired is a method for transitioning from a device to a bootable configuration. However, to achieve this, it is necessary to copy the server's data part to an external disk device and rebuild the system part such as the server's OS and application software. There is a problem that the amount of work increases.
また、外部ディスク装置からブートするサーバから成る計算機システムにおいて、たと
えばテスト環境で構築したあるサーバの業務を、本番環境である別のサーバへと移行する
方法が望まれている。これを実現する方法として、テスト環境のサーバが利用する外部デ
ィスク装置のディスクから移行先のサーバをブートする必要がある。しかし、これを実現
するには、移行先のサーバが、テスト環境のサーバが利用していた外部ディスク装置のデ
ィスクからブートできるように、移行先のサーバのブートプログラムの設定変更の作業が
必要となる。
In addition, in a computer system composed of a server that boots from an external disk device, there is a demand for a method for migrating, for example, a task of a server built in a test environment to another server that is a production environment. As a method for realizing this, it is necessary to boot the migration destination server from the disk of the external disk device used by the server in the test environment. However, to achieve this, it is necessary to change the boot program settings of the migration destination server so that the migration destination server can boot from the disk of the external disk device used by the test environment server. Become.
本発明が解決しようとする課題は、サーバがブートに利用するディスクを変更する方法
において、サーバのOSやアプリケーションの再構築作業およびサーバのブートプログラムの設定を不要とすることで、サーバのブート用ディスクの変更作業を省力化することである。
The problem to be solved by the present invention is that, in the method of changing the disk used by the server for booting, it is not necessary to reconstruct the server OS or application and to set the server boot program. This is to save the disk change work.
内蔵ディスクを利用してブートするサーバを外部のディスク装置からブートする構成へ
と移行する場合、ソフトウェアの再構築が必要となるため、大規模な計算機システムでは
多大な作業量を要していた。
When a server that boots using an internal disk is migrated to a configuration that boots from an external disk device, it is necessary to reconstruct the software. Therefore, a large-scale computer system requires a large amount of work.
また、外部ディスク装置のディスクからサーバがブートする計算機システムにおいて、
あるサーバの業務を別のサーバへと移行するには、移行先となるサーバが移行元であるサ
ーバの利用していた外部ディスクのディスクからブート可能とするために、ブートプログ
ラムの設定変更作業が必要であった。
In the computer system where the server boots from the disk of the external disk device,
To migrate a server's business to another server, the boot program setting must be changed so that the migration destination server can boot from the external disk used by the migration source server. It was necessary.
少なくとも1台のサーバがネットワーク上の外部ディスク装置に接続され、サーバは外
部ディスク装置からオペレーションシステム(OS)をブートできる計算機システムにおい
て、サーバがブートに利用していたディスクとは別に移行先ディスクを持ち、前記サーバ
または前記計算機システムの別のサーバがブートに利用するディスクを前記移行先ディス
クへと変更する方法において、前記ブート用のディスクと前記移行先のディスクの内容を
同期し、前記移行先ディスクの内容を変更して前記移行先ディスクにインストールされて
いるOSおよびアプリケーションが前記移行先ディスクから起動することを可能とし、さらに該サーバのブートプログラムの設定を変更して前記移行先ディスクからブート可能とすることで、該サーバのブートに利用するディスクの変更を実現する。
In a computer system in which at least one server is connected to an external disk device on the network and the server can boot the operation system (OS) from the external disk device, the migration destination disk is separate from the disk that the server used for booting. And the server or another server of the computer system changes the disk used for booting to the migration destination disk by synchronizing the contents of the boot disk and the migration destination disk, and the migration destination The OS and applications installed on the migration destination disk can be started from the migration destination disk by changing the contents of the disk, and the boot program setting of the server is changed to boot from the migration destination disk By making it possible, it is useful for booting the server. To realize the change of the disk to be.
本発明が解決しようとする課題は、サーバがブートに利用するディスクを変更する方法
において、サーバのOSやアプリケーションの再構築を不要とし、サーバのブートプログラムの設定を不要とすることで、サーバのブートに利用するディスクの変更作業の省力化を実現する。
The problem to be solved by the present invention is that in the method of changing the disk used by the server for booting, it is not necessary to reconstruct the server OS or application, and it is not necessary to set the server boot program. Realizes labor saving of changing disk used for booting.
図1は、本発明における実施例の全体図を示している。本実施例のシステムは複数のサーバ102を備える。各サーバは、ネットワークインターフェースカード(NIC)121およびネットワークアダプタ(Adaptor)120を介してネットワークスイッチ(NW SW)104に接続されている。ここでネットワークスイッチはIPプロトコルを取り扱うスイッチであっても、ファイバチャネルのスイッチであっても良い。また、Adaptor120の接続先ネットワークスイッチは、NIC121とは別のスイッチであっても良い。また、ネットワークスイッチ104は外部ディスク装置103に接続され、サーバ102からアクセスできる。さらに、ネットワークスイッチ104は、システムを管理する管理サーバ101にも接続されている。また、サーバ102の各々にはBMC(Baseboard Management Controller)122が内蔵されておいる。BCM122はネットワークを介して管理サーバ101に接続される。これにより各サーバのハードウェアの状態監視や、電源制御が可能となる。また、外部ディスク装置には外部ディスク装置を制御する外部ディスク装置コントローラ130を搭載し、外部ディスク装置コントローラ130には、ディスクマッピング機構131とディスク同期機構132を持つ。ディスクマッピング機構131は外部ディスク装置103に接続されたサーバ102からアクセス可能とするディスク133を管理している。また、ディスク同期機構132は、外部ディスク装置内のディスク133の内容を予備ディスク134と同期するように制御する。管理サーバ101には、サーバで障害が発生した場合に、障害が発生したサーバの業務を別のサーバへと業務を引き継ぐフェイルオーバ機構110と、サーバのブート構成を変更するブート構成変更機能120から構成される。
FIG. 1 shows an overall view of an embodiment of the present invention. The system of this embodiment includes a plurality of
図2は、本実施例におけるサーバ102の詳細な構成を示している。サーバ102には
プログラムやデータを格納するメモリ201と、メモリ内のプログラムを実行するCPU2
02と、Adaptor120と、NIC121と、BMC122から構成されている。CPU上で稼
動するブートプログラム220を備える。Adaptor120にはユニークなデバイス識別子(
ID)204がメモリに格納されている。このID204は、たとえばネットワークアダプタ
の場合はMACアドレスであり、ファイバチャネルのホストバスアダプタの場合はWWNである。BMC122は、主にサーバ102のハードウェアの監視や制御を行う。サーバ102のハードウェアに異常が発生した場合は障害検出機構205が検知して外部に通知可能である。また、BMC122を通じて遠隔からサーバ102の電源のON/OFFが可能である。ブートプログラム220は、たとえばSystem BIOSやEFIなどのプログラムであり、サーバ102が電源ONしたときに、あらかじめ不揮発メモリ203に登録されているブートに利用するデバイスからサーバ102がブートするように動作する。また、ブートプログラム220は、Adaptor120がネットワークから受信したOSからもブートできる。
FIG. 2 shows a detailed configuration of the
02,
ID) 204 is stored in the memory. This
図3は本実施例において、図1における管理サーバ101を構成するフェイルオーバ機
構110とブート構成変更機構120の詳細を示している。フェイルオーバ機構110は
、サーバの障害状態の監視を行うサーバ障害検出機能301と、サーバ障害発生時のフェ
イルオーバ動作の実行やサーバ電源制御を行うサーバ障害管理機能302と、サーバのハ
ードウェアの物理位置や業務グループ、業務の稼動状態およびサーバの利用状態を格納す
るサーバ管理テーブル303と、サーバの利用するディスクのマッピングや同期処理を制
御するストレージ管理機能304と、ディスクのマッピング状態を管理するディスクマッ
ピングテーブル305と、ディスクの同期処理の状態を管理するディスク同期テーブル3
06から構成される。ブート構成変更機構120は、サーバをネットワークからブート可
能とするネットワークブート機能307と、サーバのブート構成を変更するブート管理機
能308と、サーバのブートデバイスの状態を示すブート構成テーブル309から構成さ
れる。ネットワークブート機能307は、ネットワークを介してサーバ102にエージェ
ント330を送付し、サーバ102は送付されたエージェント330を起動する。ネット
ワークブート機能307は、たとえばサーバ102をPXEプロトコルでブート可能とするDHCPサーバ機能に相当する。
FIG. 3 shows details of the
06. The boot
図4は、図3におけるサーバ管理テーブル303の詳細を示している。サーバ管理テー
ブル303は、フェイルオーバ機能110が管理対象としているサーバの一覧と、各サー
バの物理位置情報、業務の稼動情報、および状態が格納されている。テーブルのカラム4
01は、サーバの識別子が格納されている。サーバ識別子401は、サーバが特定できる
情報であれば良い。サーバのシリアル番号や、ブレードサーバであれば、ブレード番号な
どである。カラム402はサーバの物理位置情報を示している、サーバの障害発生時など
に、障害発生部位に当たるサーバを特定するためなどに使用する。カラム403はサーバ
の業務グループを示している。業務グループには業務を稼動中である1つ以上の現用サー
バと、業務を稼動していない予備サーバとで構成される。業務グループに属する現用サー
バで障害が発生した場合には、おなじ業務グループに属する予備サーバへとフェイルオー
バを実施することになる。カラム404はサーバの業務稼動状態を示している。業務を稼
動中であれば現用サーバであり、稼動していなければ予備サーバである。カラム405は
サーバの状態を示している。サーバが正常に運用中であるか、障害発生状態にあるか、ま
たはフェイルオーバが実行された状態にあるかなどを示す。この情報をもとに、フェイル
オーバが必要なサーバが存在するかを確認でき、かつフェイルオーバ先として選択可能な
サーバが存在するかを特定できる。カラム406はサーバのフェイルオーバ状態を示す。
フェイルオーバが実行されたサーバに対しては、そのサーバのフェイルオーバ先のサーバ
識別子と物理位置情報などを示す。また、フェイルオーバによって業務を引き継いだサー
バは、フェイルオーバ前にもともと業務が稼動していたサーバに識別子と物理位置情報な
どを示す。カラム406の情報を元に、サーバをフェイルオーバ状態から復旧することが
できる。
FIG. 4 shows details of the server management table 303 in FIG. The server management table 303 stores a list of servers managed by the
01 stores the identifier of the server. The
For a server for which failover has been executed, the server identifier and physical location information of the failover destination of the server are indicated. In addition, the server that has taken over the business by failover indicates an identifier, physical location information, and the like to the server where the business was originally operating before the failover. Based on the information in the
図5は、図3におけるディスクマッピングテーブル305の詳細を示している。カラム
501はサーバの識別子を示す。この識別子は、図4のカラム401と同じである。カラ
ム502はサーバ搭載のAdaptor120のID情報を示している。たとえば、Adaptor120
がネットワークカードであればMACアドレスを示し、Adaptor120がファイバチャネルのホストバスアダプタであればWWNを示す。カラム503は、カラム501で示すサーバのブートディスクが存在する外部ディスク装置の識別子を示している。カラム504は、カラム503の外部ディスク装置に存在するブートディスクの識別子を示す。カラム504のブートディスクは、カラム505は、カラム501で示すサーバの予備ディスクが存在する外部ディスク装置の識別子を示している。カラム506は、カラム505の外部ディスク装置に存在する予備ディスクの識別子を示す。ここで、カラム506の予備ディスクは、サーバで障害が発生した場合のフェイルオーバ時に、業務の引き継ぎ先となる予備サーバがブートに利用するディスクのことである。なお、カラム504のディスクは必ずしもブートディスクの情報だけでなく、サーバがデータ用ディスクを外部ディスクに持つ場合は、そのデータディスクの情報も追加される。同様にカラム506の予備ディスクも、データディスクに対する予備ディスクも追加される。
FIG. 5 shows details of the disk mapping table 305 in FIG. A
Indicates a MAC address if the network card is a network card, and indicates a WWN if the
図6は、図3におけるディスク同期テーブル306の詳細を示している。カラム601
は、外部ディスク装置の識別子を示している。カラム602はカラム601に示す外部デ
ィスク装置に存在するディスクを示す。カラム603は、カラム602のディスクの内容
を同期するサブディスクを示す。カラム604は、カラム602で示すディスクの内容と
、カラム603で示すディスクの内容が同期状態にあるか、分離された状態にあるかを示
す。同期状態にある場合は、カラム602で示すディスクへの変更は、同時にカラム60
3で示すサブディスクへと反映される。分離状態である場合は、カラム602で示すディ
スクとカラム603で示すサブディスクは独立して更新される。なお、本実施例の図5に
示したディスクマッピングテーブルのカラム504のディスクとカラム506の予備ディ
スクのペアと、ディスク同期テーブルのカラム602の主ディスクとカラム603のサブ
ディスクのペアは同一としている。
FIG. 6 shows details of the disk synchronization table 306 in FIG.
Indicates an identifier of the external disk device. A
This is reflected in the subdisk indicated by 3. In the separated state, the disk indicated by
図7は、図1における外部ディスク装置103内のディスクマッピング機能131の詳
細を示している。ディスクマッピング機能131は外部ディスク装置103のディスク1
33と、ディスクアレイ装置103にネットワークスイッチ104経由で接続されている
サーバ102に搭載のAdaptor120の持つIDとののマッピングを実施する。このマッピ
ング関係にないIDを持つサーバからはディスクを参照できない。これにより、あるディス
クをあるサーバからのみアクセス可能とするセキュリティ設定が可能である。このセキュ
リティ設定のため、本実施例ではディスクマッピング機能130は図7に示すアクセス許
可テーブルを持つ。カラム701はアクセスを許可するIDを示す。カラム702はカラム
701のIDがアクセス可能なディスクの識別子を示す。
FIG. 7 shows details of the
33 is mapped to the ID of the
図34は、図3におけるブート構成テーブル309の詳細を示している。カラム510
1はサーバの識別子を示す。カラム5102は、サーバがブートに利用しているデバイス
を示す。たとえば、内蔵ディスクからブートするサーバの場合はIDEやSCSIなどであり、
ファイバチャネルやiSCSIからブートするサーバの場合はiSCSI、SANなどである。また、
サーバがブートに利用Adaptor120が複数存在する場合には、このブートデバイス情報
でデバイスを識別できる。ここで、カラム5101の同じサーバの識別子が複数存在する
のは、同じサーバで異なるブートデバイスからブートするための情報を示している。カラ
ム5103は、サーバのブートデバイスのデバイスパスを示す。デバイスパスとは、たと
えば、Linuxの場合には、I/Oデバイスを示すスペシャルデバイス/dev/sda1などである。L
inuxのブートローダであるGRUBやLILOなどは、このデバイスパスを用いてブートするデバイスを特定する。また、このデバイスパスは、LinuxのEXT3などのファイルシステムがマウントするデバイスがファイル/etc/fstabなどに設定されており、この設定ファイルに記述されているマウントするデバイスの情報に相当する。また、デバイスパスは、Windows
(登録商標)の場合にはboot.iniファイルに設定されているブートローダのブートデバイ
スmulti(0)disk(0)rdisk(0)partiotn(1)のセットアップパラメータに相当する。カラム5
104は、ブートデバイスのターゲットWWNを示す。たとえば、ターゲットデバイスが外部ディスク装置の場合は、外部ディスク装置のブートに利用するポートのWWNである。カラム5105は、ブートデバイスのターゲットLUN番号を示す。LUN番号は、外部ディスク装置のディスクの論理的な識別番号である。カラム5104およびカラム5105の情報は、たとえばサーバ102に搭載のAdaptor120がファイバチャネルのHBAの場合には、HBAのBIOSがブートに利用するターゲットデバイスの情報に相当する。カラム5106は、ブートプログラム220がブートに利用するブート設定情報である。ここで、ブートプ
ログラム設定情報とは、たとえば、ブートプログラム220がEFIの場合には、ブートに
利用するAdaptor120のPCIのバス番号やデバイス番号、EFIのパーティション毎に持つUUIDなどである。
FIG. 34 shows details of the boot configuration table 309 in FIG. Column 510
1 indicates an identifier of the server. A
For servers booting from Fiber Channel or iSCSI, iSCSI, SAN, etc. Also,
When there are a plurality of
Inux boot loaders such as GRUB and LILO use this device path to specify the device to boot. In addition, this device path corresponds to information on a device to be mounted described in this setting file, in which a device mounted by a file system such as Linux EXT3 is set in the file / etc / fstab. The device path is Windows
In the case of (registered trademark), this corresponds to the setup parameter of the boot device multi (0) disk (0) rdisk (0) partiotn (1) of the boot loader set in the boot.ini file.
図8は、本実施例におけるディスクマッピング変更例を示している。サーバ1(801
)に搭載のAdaptor810はWWN1(811)を持ち、サーバ2(802)に搭載のAdaptor820はWWN2(821)を持つ。これらはネットワークスイッチ104を経由して外部ディスクイ装置103に接続されている。ディスクのマッピングはディスクマッピング機構131によって制御されており、ディスク831、833がサーバ1(801)のWWN1(811)にマッピングされ、ディスク832はサーバ2(802)のWWN2(821)にマッピングされている。ディスク831と833はサーバ1(801)からのみアクセス可能であり、ディスク832はサーバ2(802)からのみアクセス可能である。また、ディスク831、832、833にはOSや業務アプリケーションがインストールされているブートディスクを含んでいる。
FIG. 8 shows a disk mapping change example in the present embodiment. Server 1 (801
The
図9は、本実施例におけるディスク同期の例を示している。現用サーバ(901)に搭
載のAdaptor910はWWN1(911)を持ち、予備サーバ(902)に搭載のAdaptor920はWWN2(921)を持つ。これらはネットワークスイッチ104を経由して外部ディスクイ装置103に接続されている。ディスクの同期処理はディスク同期機構132によって制御されており、ディスク831への変更内容は、同時にディスク931へと反映される。これによりディスク831とディスク931の内容は同期される。この図の例では、ディスク831はディスクマッピング機構によって現用サーバ(901)のWWN1(911)にマッピングされている。現用サーバ(901)で障害が発生した場合には、直ちにディスク831とディスク931を分離して同期処理を解除し、ディスク931を予備サーバ(902)のWWN2(921)へとマッピングして、予備サーバ(902)をブートすることにより、現用サーバ(901)はディスク831にアクセス可能なまま、予備サーバ(902)が現用サーバ(901)の稼動していた業務を引き継ぐことができる。
FIG. 9 shows an example of disk synchronization in this embodiment. The adapter 910 mounted on the active server (901) has WWN1 (911), and the adapter 920 mounted on the spare server (902) has WWN2 (921). These are connected to the
図10は、本発明における実施例の動作シーケンスを示している。図示するシーケンス
は、現用サーバ1001、予備サーバ1002、フェイルオーバ機構1003、ディスク
同期機構1004、ディスクマッピング機能1005、ブート構成変更機構1006であ
る。ステップ1030は、フェイルオーバ機構1003のディスク同期開始要求を示す。
この要求を受けて、ステップ1040でディスク同期機構1004がディスクの同期を開
始する。ここで同期するディスクは、図6に示したディスク同期テーブルに存在する現用
サーバ1001の主ディスクとそのサブディスクである。同期処理を開始すると、ステッ
プ1010にて現用サーバの運用を開始する。これにより、現用サーバ1001の業務が
開始される。ステップ1011は、運用中の現用サーバ1001で障害が発生したことを
示す。ステップ1031でフェイルオーバ機構1003が障害の発生を検知する、これと
同時にステップ1012で障害が発生した現用サーバ1001の障害原因解析作業が行わ
れる。この作業はOSメモリのディスクダンプなどである。このステップ1012と並行して、フェイルオーバ機構1003はステップ1032で障害発生サーバが現用サーバ1001であることを特定する。ステップ1032の結果を受けて、ステップ1033で現用サーバ1001の主ディスクとサブディスクの同期の解除をディスク同期機構1004へと要求する。ステップ1041にて、ディスク同期機構1004は現用サーバ1001の主ディスクとサブディスクの同期解除を実行する。同期解除が完了すると、ステップ1034でフェイルオーバ機構1003は現用サーバ1001に対する予備サーバ1002を検索する、この検索には図4に示したサーバ管理テーブルを利用する。ステップ1035にてディスクマッピング機構1005へ予備サーバ1002に現用サーバ1001のサブディスクをマッピングするように指示する。ステップ1050でディスクマッピング機構1005は、予備サーバ1002へ現用サーバ1001のサブディスクをマッピングする。マッピングが完了すると、ステップ1036にて予備サーバ1002の起動を要求する。ステップ1020で予備サーバ1002が起動し、ブートプログラムがネットワークに起動したことを示す情報を送信する。この情報とは、たとえば、PXEブートを実行するために、ネットワークにブロードキャストするマジックパケットなどである。ブート構成変更機構1006は、ステップ1020で送信された情報を受信し、ステップ1061でネットワークブートを予備サーバ1002に要求する。予備サーバ1002はステップ1022でネットワークブートし、ブートしたエージェント370がブート構成変更機構1006と通信を開始する。ブート構成変更機構1006は、ステップ1062で予備サーバ1002のブートプログラム設定の変更要求をエージェント370へ通知する。エージェント370は、ステップ1023にて予備サーバのブートプログラムの設定を変更する。ここで設定を変更するのは、たとえば予備サーバのSystem BIOSやEFIのブートプライオリティやブートデバイスの設定、およびHBAなどのAdaptor120のブートのターゲットデバイスなどである。ステップ1024で、エージェント370は予備サーバをリブートする。ステップ1021では、予備サーバ1002はマッピングされたサブディスクを利用してブートし、ステップ1021にて現用サーバの業務を引き継いで再開する。この予備サーバ1002が業務を引き継いだ後も、現用サーバ1001は障害原因解析作業を続行可能である。障害原因解析作業が完了すると、ステップ1012にて現用サーバ1001を停止する。
FIG. 10 shows an operation sequence of the embodiment of the present invention. The sequence shown is the
In response to this request, the
以下では、図10におけるシーケンスをより詳細に説明する。図11は、サーバ障害管
理検出機能301の動作フローを示している。ステップ1101は、サーバ障害発生時に
サーバの障害報告通知をネットワーク等を通じて受信したことを示す。図1に示すサーバ
102のBMC122が障害を検出すると、サーバ102の障害をサーバ障害検出機構301に通知する、これを受信するとステップ1101にてサーバ障害報告通知を受信する。ステップ1102では、障害報告通知の情報に存在する障害が発生したサーバの物理位置情報などの情報をもとに、障害発生サーバの識別子を特定する。次にステップ1103では、障害報告通知の情報に存在する障害の種類の情報をもとに、発生した障害の種類を特定する。ステップ1104では、サーバ障害管理機能302に、障害が発生したサーバの情報と、障害の種類を通知する。
Hereinafter, the sequence in FIG. 10 will be described in more detail. FIG. 11 shows an operation flow of the server failure
図12はサーバ障害管理機能302と、ストレージ管理機能304の処理シーケンスの
詳細を示している。ステップ1201では、図11のステップ1104に示した障害発生
サーバの識別子と、発生した障害の種類を通知を受けたことを示す。ステップ1202で
は、ストレージ管理機能304に障害が発生したサーバのディスク同期処理を解除するよ
うに要求する。このとき要求には、障害発生サーバの識別子の情報を含む。ステップ12
03では、障害発生サーバの識別子をもとに図5に示したディスクマッピングテーブルを
参照し、障害発生サーバの使用ディスクを検索する。ステップ1204では、ステップ1
203で検索の結果発見したディスクの情報をもとに、図6に示したディスク同期テーブ
ルを参照してサブディスクを検索する。ステップ1205では、ステップ1204の結果
発見したサブディスクと主ディスクの組み合わせの同期処理を解除するように、図1に示
すディスク同期機構132に要求する。ディスク同期機構132がディスク同期の解除を
完了すると、ステップ1206で同期処理解除の完了通知を受ける。ステップ1207で
は、図4に示したサーバ管理テーブルを参照して、障害発生サーバに対するフェイルオー
バ先となる予備サーバを検索する。ステップ1208では、ステップ1207の結果発見
した予備サーバに対して、障害発生サーバの予備ディスクをマッピングするように要求す
る。このとき、要求には障害発生サーバの識別子の情報を含む。ステップ1209では、
障害発生サーバの予備ディスクを、予備サーバへとマッピングするように図1に示したデ
ィスクマッピング機構131に要求する。本実施例では、図5に示すディスクマッピング
テーブルの予備ディスクと、図6に示すディスク同期テーブルのサブディスクは一致して
いるので、このディスクマッピング要求により、予備サーバにはステップ1205で同期
処理の解除を要求したサブディスクがマッピングされることになる。ディスクマッピング
機構131でマッピングの処理が完了すると、ステップ1210でディスクマッピング完
了の通知を受ける。ステップ1211では、予備サーバを起動する。これにより、障害発
生サーバのサブディスクを利用して予備サーバが起動する。
FIG. 12 shows details of processing sequences of the server
In 03, referring to the disk mapping table shown in FIG. 5 based on the identifier of the failed server, the used disk of the failed server is searched. In
Based on the disk information found as a result of the search in
A request is made to the
図35はネットワークブート機能307と、ブート管理機能308、およびエージェン
ト370の処理シーケンスの詳細を示している。ステップ5211は、予備サーバが起動
された後に起動するブートプログラム5200が、ネットワークブート情報を送信するこ
とを示す。ここでネットワークブート情報とは、たとえばPXEブートを実行するためにDHCPサーバへ送付するマジックパケットなどである。ステップ5212では、ネットワークブート機能307が、ステップ5211で送信されたネットワークブート情報を受信する。ステップ5213は、ネットワークブート情報を受けて、予備サーバへとネットワークブートプログラムとして、エージェント370を送付することを示す。ステップ5214では、予備サーバのブートプログラム5200が、ネットワークブート機能307から受信したエージェント370を起動する。ステップ5215では、ステップ5214で起動したエージェント370がブートデバイスの更新情報をブート管理機能308に要求する。ステップ5216では、ブート管理機能308がブート構成テーブル309を参照して、移行元である現用サーバがブートに利用していた情報と、予備サーバが予備ディスク134からブートするために必要となる情報を取得する。ステップ5217では、ステップ5216で取得した現用サーバと予備サーバのブートデバイス情報を比較して、予備サーバのブートプログラム220およびAdaptor120のブート設定情報、予備ディスク134にインストールオされているペレーティングシステムおよびアプリケーションプログラムが利用するブートデバイスおよびマウントポイントの情報のうち、更新すべき情報があるかを調査し、更新すべき情報をブートデバイス更新情報として作成する。ステップ5218では、ステップ5217で作成したブートデバイス更新情報をエージェント370へ通知する。ステップ5219では、エージェント370がブートデバイス更新情報を受信し、ブートプログラム220およびAdaptor120のブート設定情報の変更が必要であれば、不揮発メモリ203に記録されている設定情報を更新する。ここで、不揮発メモリ203は、Adaptor120がたとえばPCIカードであった場合には、PCIカード搭載の不揮発メモリも含む。更新する内容は、たとえばブートプログラムがEFIの場合には、EFIのブートデバイスパスとしてブート構成テーブル309のブートプログラム設定情報5106の情報を登録する。また、Adaptor120の更新内容としては、たとえばAdaptor120がファイバチャネルのHBAの場合には、HBA-BIOSに設定するブートのターゲットデバイスであるターゲットのWWNとターゲットのLUNなどである。ステップ5220では、ブートデバイス更新情報を参照して、予備ディスクの内容を更新する必要があれば、予備ディスクの内容を更新する。ここで予備ディスクを更新する内容としては、たとえば予備ディスクにオペレーティングシステムとしてLinuxがインストールされている場合には、Linuxのブートローダのブートデバイス情報と、デバイスのマウント情報などである。ステップ5221では、エージェントが予備サーバをリブートする。リブート後は予備サーバはネットワークブートはせず、予備ディスクを利用してブートする。
FIG. 35 shows details of the processing sequence of the
本発明における実施例2では、実施例1で示した外部ディスク装置コントローラ130
に存在するディスクマッピング機構131は存在しなくても良い方法を示す。
In the second embodiment of the present invention, the external
The
図13は、本発明における実施例2の全体図を示している。実施例1と異なるのは、ネ
ットワークスイッチ104のネットワークスイッチコントローラ140で動作するセキュ
リティ機構141を有することである。また、外部ディスク装置コントローラ130に存
在するディスクマッピング機構131は存在しなくても良い。セキュリティ機構141は
ネットワークスイッチに接続されているサーバ102や外部ディスク装置103などの機
器間で通信可能な機器を制限するセキュリティ機能である。ネットワークスイッチ104
の典型的なセキュリティ機能の例は、VLANやゾーニングなどである。
FIG. 13 shows an overall view of the second embodiment of the present invention. The difference from the first embodiment is that a
Examples of typical security functions are VLAN and zoning.
図14は、図1で示したセキュリティ機構141の詳細を示している。セキュリティ機
構141はセキュリティテーブル1400を持つ。カラム1401はネットワークスイッ
チ140のポートの物理位置を示すIDのリストを示す。カラム1402はポートのIDが属するセキュリティグループを示している。セキュリティ機構141はセキュリティグループが同じポートの接続されている機器間は通信可能とする。なお、カラム1401のポートのIDは、ポートに接続されている機器のadaptor120の固有IDであるWWNやMACアドレスなどを用いても良い。
FIG. 14 shows details of the
図15は、本実施例のセキュリティ設定の変更例を示している。ここでは外部ディスク
装置130のディスクマッピング機構131を利用せず、外部ディスクの全てのディスク
(831、832、833)がアクセス可能であるとしている。ネットワークスイッチ1
04にセキュリティ機構141が存在しない場合は、サーバ1(801)とサーバ2(8
02)の両方からディスク831、832、833がアクセス可能である。セキュリティ
機構141がネットワークスイッチ104のポート1とポート6を同一グループにするよ
うセキュリティ設定が実施されている場合は、ポート1に接続しているサーバ1(801
)は、ポート6に接続している外部ディスク装置103へとアクセス可能とし、ポート2
に接続しているサーバ2(802)からポート6へはアクセス許可をしないことで、サー
バ2(802)からはディスク831、832、833はアクセスできない。セキュリテ
ィ機構141のセキュリティ設定を変更し、ポート2とポート6を同一グループに設定す
ることで、サーバ2(802)からディスク831、832、833をアクセス可能とな
る。
FIG. 15 shows an example of changing the security setting of this embodiment. Here, it is assumed that all the disks (831, 832, and 833) of the external disks are accessible without using the
04, when the
02), the
) Enables access to the
By not permitting access from the server 2 (802) connected to the
図16は、本実施例において、図4で示したサーバ管理テーブル303へと追加される
情報の例である。カラム1601とカラム1602、カラム1603が追加情報である。
カラム1601はカラム501に示すサーバに搭載のadaptorのIDを示し、これは図5に
示したディスクマッピングテーブルのカラム502と同様である。カラム1602はカラ
ム1601のID情報を持つadaptorが接続されているネットワークスイッチ104を識別
する接続先ネットワークスイッチIDを示している。カラム1603はカラム502のID情報を持つadaptorが接続されているネットワークスイッチ104のポートの位置を示す識別情報である接続先ネットワークスイッチポートIDを示している。この情報を利用して、
フェイルオーバ機構110はサーバ102の接続先となるネットワークスイッチ104と
ポート位置を取得可能である。
FIG. 16 shows an example of information added to the server management table 303 shown in FIG. 4 in this embodiment.
A
The
図17は、本実施例の動作シーケンスを示している。図示するシーケンスは、現用サー
バ1001、予備サーバ1002、フェイルオーバ機構1003、ディスク同期機構10
04、ブート構成変更機構1006、セキュリティ機構1705である。実施例1と異な
るのは、ステップ1750である。ステップ1750では、セキュリティ機構141のセ
キュリティ設定を変更し、予備サーバから現用サーバの予備ディスク134をアクセス可
能となるように変更する。これにより、予備サーバはアクセス可能となった予備ディスク
134を利用して起動することができる。
FIG. 17 shows an operation sequence of this embodiment. The sequence shown is the
04, a boot
図18は、本実施例におけるサーバ障害管理機能302と、ストレージ管理機能304
の処理シーケンスの詳細を示している。実施例1と異なるのは、ステップ1809とステ
ップ1810である。ステップ1809は、ストレージ管理機能304がステップ120
5で同期処理を解除したディスクを予備サーバからアクセス可能とするようにセキュリテ
ィ機構141に要求する。ステップ1810では、ストレージ管理機能304が、セキュ
リティ機構141からステップ1809で要求したセキュリティ設定変更処理の完了通知
を受信する。これにより、予備サーバから現用サーバの予備ディスク134を予備サーバ
がアクセス可能となる。
FIG. 18 shows a server
The details of the processing sequence are shown.
5 requests the
図19は、本実施例の別の動作シーケンスを示している。図示するシーケンスは、現用
サーバ1001、予備サーバ1002、フェイルオーバ機構1003、ディスク同期機構
1004、ブート構成変更機構1006、セキュリティ機構1705である。図17と異
なるのは、ステップ1900とステップ1901である。ステップ1900では、セキュ
リティ機構141に対して、現用サーバのNICが接続しているネットワークスイッチ10
4のポートを利用不可能として、現用サーバをネットワークから隔離するように要求する
。ステップ1901では、ネットワークスイッチ104のセキュリティ機構141が、現
用サーバ1001のNICが接続しているネットワークスイッチ104のポートを利用不可
能とする。これにより、現用サーバ1001のNICからネットワークに出力される情報の
流れを止めることで、たとえばIPアドレスなどの情報がステップ1020で起動した予備
サーバ1002とでネットワーク上で競合しないように回避する。また、ネットワークを
隔離する別の方法として、現用サーバ1001のNICが接続されているネットワークスイ
ッチ140のポートのグループIDを、ネットワークスイッチ140のどのポートも属さな
いグループIDに変更する方法もある。
FIG. 19 shows another operation sequence of the present embodiment. The sequence shown is the
4 port is unavailable and requests to isolate the active server from the network. In
本発明における実施例3では、実施例1と異なり、図1で示した外部ディスク装置10
3にディスク同期機構132が存在しなくても、外部ディスク装置103のディスク13
3と予備ディスク134とでディスクの内容の同期を取る。本実施例では、実施例1に対
して、図2に示したサーバ102の構成が異なる。
図20は、本実施例のサーバ102の詳細を示している。実施例1の図2と異なるのは、
ミラーリング機構2000が存在することである。ミラーリング機構2000はCPU20
2で動作するプログラムであり、サーバ102が外部ディスク装置103のディスク13
3へと出力する全ての情報を、予備ディスク134へも同時に出力する機能を提供する。
In the third embodiment of the present invention, unlike the first embodiment, the
Even if the
3 and the
FIG. 20 shows details of the
The
2, and the
3 provides a function for simultaneously outputting all the information output to 3 to the
図21は、本実施例のミラーリング機構2000によるディスク同期の例を示している
。サーバ102から発行されるディスク2101への書き込み命令2100は、ミラーリ
ング機構2000によって、外部ディスク装置103のディスク2101と予備ディスク
2102の両方に同じ内容を書き込む処理へと変換される。これにより、ディスク210
1と予備ディスク2102の内容を同期することができる。また、サーバ102に内蔵デ
ィスクが存在する場合には、ミラーリング機構2000により、内蔵ディスクと外部ディ
スク装置103のディスク2101または予備ディスク2102とに同じ内容を書き込む
ことで、内容を同期することもできる。
FIG. 21 shows an example of disk synchronization by the
1 and the contents of the
図22は、本実施例の動作シーケンスを示している。図示するシーケンスは、現用サー
バ1001、予備サーバ1002、フェイルオーバ機構1003、ディスクマッピング機
構1005、ブート構成変更機構1006である。実施例1と異なるのは、ステップ22
01が存在し、ディスク同期機構1004のシーケンスが存在せず、かつディスク同期機
構1004に関するステップが削減されていることである。ステップ2201では、サー
バ102で稼動するミラーリング機構2000により、図21で示したディスク2101
と予備ディスク2102の内容を同期が開始されることを示している。これにより、ディ
スク同期機構1004が存在しなくても、複数のディスクで内容の同期が可能となる。
FIG. 22 shows an operation sequence of this embodiment. The sequence shown is the
01 exists, the sequence of the
And the contents of the
図23は、本実施例におけるサーバ障害管理機能302と、ストレージ管理機能304
の処理シーケンスの詳細を示している。実施例1と異なるのは、ステップ2300と、デ
ィスク同期機構に関するステップが削減されていることである。ステップ2300では、
図21で示した現用サーバの予備ディスク2102を予備サーバへとマッピングするよう
にディスクマッピング機構へと要求する。
FIG. 23 shows a server
The details of the processing sequence are shown. The difference from the first embodiment is that
The disk mapping mechanism is requested to map the
本発明における実施例4では、実施例1で示した図1のディスク133が存在しない場
合に、サーバ102がローカルディスクを持つ方法である。本実施例では、現用サーバは
ローカルディスクを利用して業務を運用しているとする。
The fourth embodiment of the present invention is a method in which the
図24は、本実施例の全体図を示す。実施例1の図1と異なるのは、外部ディスク装置
103にディスク133とディスク同期機構132が存在せず、サーバ102にローカル
ディスク123が存在することと、管理サーバ101にバックアップ機構2400が存在
することである。なお、予備サーバとなるサーバ102は、ローカルディスク123を持
たなくても良い。
FIG. 24 shows an overall view of this embodiment. The difference from FIG. 1 of the first embodiment is that the
図25は、本実施例におけるサーバ102の詳細を示す。実施例1の図2と異なるのは
、ローカルディスク123を持つことである。
FIG. 25 shows details of the
図26は、本実施例のバックアップ機構2400の動作の詳細を示す。バックアップ機
構2400は、ネットワークスイッチ104経由でサーバ102のローカルディスク12
3の内容を読み取り、外部ディスク装置103の予備ディスク134にコピーする。
図27は、本実施例の動作シーケンスを示している。図示するシーケンスは、現用サーバ
1001、予備サーバ1002、フェイルオーバ機構1003、バックアップ機構270
0、ディスクマッピング機構1005、ブート構成変更機構1006である。実施例1と
異なるのは、ステップ1033が存在しないことと、バックアップ機構2700の存在と
、ステップ2701とステップ2702である。ステップ2701では、フェイルオーバ
機構1003が現用サーバ1001のローカルディスク123の内容を外部ディスク装置
の予備ディスクにバックアップするように要求する。ステップ2702は、バックアップ
機構2700が、フェイルオーバ機構1003のバックアップ要求を受けて、現用サーバ
1001のローカルディスクの内容を、外部ディスク装置の予備ディスクへとコピーする
。
FIG. 26 shows details of the operation of the
3 is read and copied to the
FIG. 27 shows an operation sequence of this embodiment. The sequence shown is the
0, a
図28は、本実施例におけるサーバと外部ディスク装置のディスクの構成例を示す。図
28では、現用サーバ2801と予備サーバ2802とで共有ディスク2803を持つ。
この共有ディスク2803に現用サーバ2801で動作していたアプリケーションの設定
データやログなどを共有データ2804に書き込むことで、予備サーバ2802がブート
に利用する予備ディスク134の内容と、現用サーバ2801のローカルディスク281
0とで、内容が不一致となっても、予備サーバ2802が現用サーバ2801とアプリケ
ーションの設定が一致した状態で起動することができる。
FIG. 28 shows an example of the disk configuration of the server and the external disk device in this embodiment. In FIG. 28, the
By writing the setting data, logs, and the like of the application operating on the
Even if the contents do not match with 0, the
本発明における実施例5では、実施例1で示したディスク同期処理を常に実行しない方
法である。
The fifth embodiment of the present invention is a method that does not always execute the disk synchronization processing shown in the first embodiment.
図29は、本実施例の動作シーケンスを示している。図示するシーケンスは、現用サー
バ1001、予備サーバ1002、フェイルオーバ機構1003、ディスク同期機構10
04、ディスクマッピング機構1005、ブート構成変更機構1006である。実施例1
と異なるのは、ステップ1033が存在しないことと、ステップ2901とステップ29
02とステップ2903である。ステップ2901では、ステップ1010において現用
サーバ1001で業務運用が開始された後に、フェイルオーバ機構1003が現用サーバ
1001の利用するディスクの内容を外部ディスク装置の予備ディスクと同期するように
要求する。ステップ2902は、ディスク同期機構1004が、現用サーバ1001の利
用するディスクの内容と、外部ディスク装置の予備ディスクとを同期する。ステップ29
03では、ステップ2902でディスクの内容が一致した時点で同期を解除する。これに
より、この後ステップ1011で現用サーバ1001で障害が発生し、現用サーバ100
1の利用するディスクの内容が破壊されても、予備サーバ1002の利用する予備ディス
クの内容は破壊されない。
FIG. 29 shows an operation sequence of this embodiment. The sequence shown is the
04, a
The difference is that
02 and
In 03, the synchronization is released when the contents of the disc match in
Even if the contents of the disk used by 1 are destroyed, the contents of the spare disk used by the
本発明における実施例6では、実施例4において、サーバを移行するのではなく、サー
バ1台のブートするディスクを別のディスクへと変更する例である。実施例4では、サー
バの障害を契機にサーバのブート構成の変更へと移っていたが、本実施例では、サーバの
ブート構成変更契機は何でも良い。よって、本実施例では、実施例4のフェイルオーバ機
構110のサーバ障害検出機構301は存在しなくても良い。なお、本実施例は内蔵ディ
スクからブートするサーバを外部ディスク装置からブートするように変更しているが、外
部ディスク装置からブートするサーバを内蔵ディスクからブートするように変更すること
も可能である。
The sixth embodiment of the present invention is an example in which the server boot disk is changed to another disk instead of migrating the server in the fourth embodiment. In the fourth embodiment, the server boot configuration is changed due to a server failure. However, in this embodiment, any server boot configuration change timing may be used. Therefore, in this embodiment, the server
図30は、本発明における別の実施例の全体図を示している。実施例4の図24と異な
るのは、本実施例のシステムは1台のサーバ102を備えることとである。ただし、複数
のサーバが存在しても良い。
FIG. 30 shows an overall view of another embodiment of the present invention. The difference from FIG. 24 of the fourth embodiment is that the system of the present embodiment includes one
図31は、本実施例のシーケンスを示している。実施例4の図27と異なるのは、予備
サーバが存在しないことと、現用サーバに関するステップと、障害発生を契機とせず、ス
テップ3101によるブート構成変更開始が契機となることである。ステップ3102は
、フェイルオーバ機構1003が現用サーバ1001を起動する。ステップ3103で現
用サーバが起動し、ステップ3104でネットワークブートを開始する。ステップ310
5で現用サーバのブートプログラム更新が実施され、ステップ3106で現用サーバをリ
ブートする。ステップ3107で現用サーバが予備ディスクを利用してブートし、業務を
再開する。なお、本実施例において、ネットワークブート機能307が存在しなくても、
たとえばエージェント370が現用サーバのディスク123にインストールされていれば
、ステップ3101を契機に現用サーバでエージェント370が稼動し、ステップ310
5からのシーケンスを単に実行すればよい。
FIG. 31 shows a sequence of this embodiment. The difference from FIG. 27 of the fourth embodiment is that there is no spare server, the step related to the active server, and the start of the boot configuration change in
In
For example, if the
The sequence from 5 is simply executed.
図32は、本実施例におけるフェイルオーバ機構110のサーバ障害管理機能302お
よびストレージ管理機能304の詳細シーケンスを示す。ステップ3201では、ブート
構成変更要求を受け付ける。この要求は、計算機システムの管理者が手動で要求しても、
他のソフトウェアから自動で要求されても良い。ステップ3202では、現用サーバへの
予備ディスクのマッピングをストレージ管理機能304に指示する。ステップ3203で
は、ストレージ管理機能304は、予備ディスクを現用サーバへとマッピングするように
ディスクマッピング機能へと要求する。ステップ3204では、ディスクマッピング機構
からステップ3203のディスクマッピング要求の完了通知を受ける。ステップ3205
では、サーバ障害管理機能302が現用サーバを起動する。
FIG. 32 shows a detailed sequence of the server
It may be automatically requested from other software. In
Then, the server
図33は、本実施例におけるはネットワークブート機能307と、ブート管理機能30
8、およびエージェント370の処理シーケンスの詳細を示している。図35に示した実
施例1の処理シーケンスとの違いは、予備サーバが現用サーバへと変わることと、ステッ
プ3316である。ステップ3316では、ブート構成テーブルから、現用サーバの予備
ディスクのブートデバイスに対する情報を取得する。たとえば、現用サーバのブートデバ
イスをIDEからSANに変更する場合は図34のカラム5102のブートデバイスにおいて、
IDEからSANに変更することになる。
FIG. 33 shows a
8 and details of the processing sequence of the
Change from IDE to SAN.
本実施例のディスクマッピング機能131が存在しない場合であっても、実施例1に対
する実施例2と同様に図13のセキュリティ機構141に代替可能である。また、本実施
例のバックアップ機能2400が存在しない場合であっても、実施例3の図20に示すミ
ラーリング機構2000で代替が可能である。
Even in the case where the
本特許のブート構成変更方法は、あるサーバで稼動中の業務を、別のサーバへと引き継
ぐ方法として利用可能である。また、一方のサーバである業務を稼動中に、もう一方のサ
ーバでソフトウェアおよびハードウェアのアップデートや入れ替え作業、およびテスト作
業を並行して実施できる。
The boot configuration change method of this patent can be used as a method for taking over a job running on a certain server to another server. In addition, while a business that is one server is in operation, software and hardware updates and replacement work and test work can be performed in parallel on the other server.
101 管理サーバ
102 サーバ
103 外部ディスク装置
104 ネットワークスイッチ
110 フェイルオーバ機構
120 ブート構成変更機構
120 Adaptor
121 NIC
122 BMC
123 ローカルディスク
130 外部ディスク装置コントローラ
131 ディスクマッピング機構
134 予備ディスク
2400 バックアップ機構。
101
121 NIC
122 BMC
123
Claims (18)
該サーバは該外部ディスク装置または各サーバの内蔵ディスクからオペレーティングシス
テムをブートすることで起動可能になる計算機システムにおいて、該サーバがブートに利
用するディスクを変更するブート構成変更方法であって、
前記管理サーバは、
前記サーバがブートに利用する移行前ディスクの内容を移行先ディスクとで同期開始を要
求する同期ステップと、
前記サーバが利用するディスクを移行前ディスクから移行先ディスクへと変更する要求を
受け付け、前記移行前ディスクと前記移行先ディスクとの同期処理の停止を要求する同期
解除ステップと、
前記サーバに対する前記移行前ディスクと前記移行先ディスクのデバイスパスを比較し、
前記デバイスパスが異なる場合には前記移行先ディスクが保持するオペレーティングシス
テムのブートローダ設定およびマウント設定におけるデバイスパスを、前記移行先ディス
クのデバイスパスに変更するように要求するディスク内容変更ステップと、
を有することを特徴とするブート構成変更方法。 The management server and server are connected to the external disk device via a network switch.
In the computer system that can be started by booting an operating system from the external disk device or an internal disk of each server, the server is a boot configuration changing method for changing a disk used for booting by the server,
The management server
A synchronization step for requesting synchronization start with the destination disk of the contents of the pre-migration disk used by the server for booting;
Receiving a request to change the disk used by the server from the pre-migration disk to the migration destination disk, and requesting to stop synchronization processing between the pre-migration disk and the migration destination disk;
Compare device paths of the pre-migration disk and the migration destination disk to the server,
A disk content change step for requesting to change the device path in the boot loader setting and mount setting of the operating system held by the migration destination disk to the device path of the migration destination disk when the device path is different;
A boot configuration change method characterized by comprising:
ークブートにより前記管理サーバからエージェントを受け取って実行し、前記エージェン
トがブートローダ設定およびマウント設定を変更することを特徴とする請求項1のブート
構成変更方法。 2. The disk content changing step, wherein the server is restarted, the server receives and executes an agent from the management server by network boot, and the agent changes a boot loader setting and a mount setting. Boot configuration change method.
前記サーバに対する前記移行前ディスクと前記移行先ディスクのブートプログラム設定情
報を比較し、前記ブートプログラム設定情報が異なる場合には前記サーバのブートプログ
ラム設定を、前記移行先ディスクのブートプログラム設定情報に変更するように要求をす
るブートプログラム設定変更ステップを有することを特徴とする請求項1のブート構成変
更方法。 After the synchronization step, the management server further compares boot program setting information of the pre-migration disk and the migration destination disk for the server, and if the boot program setting information is different, sets the boot program setting of the server. The boot configuration change method according to claim 1, further comprising a boot program setting change step for requesting to change to the boot program setting information of the migration destination disk.
ネットワークブートにより前記管理サーバからエージェントを受け取って実行し、前記エ
ージェントが前記サーバの前記ブートプログラム設定を変更することを特徴とする請求項
3のブート構成変更方法。 In the boot program setting changing step, the server is restarted, the server receives and executes an agent from the management server by network boot, and the agent changes the boot program setting of the server. The boot configuration change method according to claim 3.
クと前記移行先ディスクのブートプログラム設定情報に加えて、さらに、
ターゲットWWN、ターゲットLUNを比較し、いずれかが異なる場合には前記サーバのブート
プログラム設定の該当情報を変更するように要求することを特徴とする請求項3のブート
構成変更方法。 In the boot program setting changing step, in addition to the boot program setting information of the pre-migration disk and the migration destination disk for the server ,
4. The boot configuration change method according to claim 3, wherein the target WWN and the target LUN are compared, and if either of them is different, a request is made to change the corresponding information of the boot program setting of the server.
該サーバの各々は該外部ディスク装置からオペレーティングシステムをブートすることで
起動可能になる計算機システムにおいて、該サーバがブートに利用するディスクを変更す
るブート構成変更方法であって、
前記管理サーバは、
前記サーバと前記サーバが前記ディスクからブートするために必要となるブートプログラ
ム設定、ブートローダおよびマウント設定におけるデバイスパスを保持するブート構成テ
ーブルを備え、
前記サーバの1つである現用サーバがブートに利用する移行前ディスクの内容を、移行先
ディスクとで同期開始を要求する同期ステップと、
前記移行先ディスクが保持するオペレーティングシステムのブートローダ設定およびマウ
ント設定におけるデバイスパスを、前記ブート構成テーブルを基に、前記予備サーバが前
記移行先ディスクからブートするための設定に変更するように要求するディスク内容変更
ステップと、
を有することを特徴とするブート構成変更方法。 The management server and server are connected to the external disk device via a network switch.
Each of the servers is a boot configuration change method for changing a disk used for booting by the server in a computer system that can be started by booting an operating system from the external disk device,
The management server
A boot configuration table that holds device paths in the boot program settings, boot loader and mount settings required for the server and the server to boot from the disk;
A synchronization step for requesting synchronization start of the contents of the pre-migration disk used by the active server, which is one of the servers, for booting with the migration destination disk;
A disk that requests to change the device path in the boot loader setting and mount setting of the operating system held by the migration destination disk to a setting for the spare server to boot from the migration destination disk based on the boot configuration table Content change step;
A boot configuration change method characterized by comprising:
ネットワークブートにより前記管理サーバからエージェントを受け取って実行し、前記エ
ージェントがブートローダ設定およびマウント設定を変更することを特徴とする請求項6
のブート構成変更方法。 In the disk content changing step, the spare server is restarted, the spare server receives and executes an agent from the management server by network booting, and the agent changes a boot loader setting and a mount setting. Item 6
Boot configuration change method.
前記移行前ディスクと前記移行先ディスクとの同期処理の停止を要求する同期解除ステッ
プと、
前記現用サーバとは別の予備サーバのブートプログラムの設定を、前記ブート構成テーブ
ルを基に、前記予備サーバが前記移行先ディスクからブートするための設定に変更するよ
うに要求するブートプログラム設定変更ステップを有することを特徴とする請求項6のブ
ート構成変更方法。 The management server, after the synchronization step, further request to stop the synchronization processing of the pre-migration disk and the migration destination disk,
A boot program setting change step for requesting the spare server other than the active server to be changed to a setting for the spare server to boot from the migration destination disk based on the boot configuration table. The boot configuration changing method according to claim 6, further comprising:
サーバがネットワークブートにより前記管理サーバからエージェントを受け取って実行し
、前記エージェントが前記予備サーバの前記ブートプログラム設定を変更することを特徴
とする請求項8のブート構成変更方法。 In the boot program setting changing step, the spare server is restarted, the spare server receives and executes an agent from the management server by network boot, and the agent changes the boot program setting of the spare server. 9. The boot configuration change method according to claim 8, wherein
ィスクと前記移行先ディスクのブートプログラム設定情報に加えて、さらに、ターゲットWWN、ターゲットLUNを比較し、いずれかが異なる場合には前記予備サーバ
のブートプログラム設定の該当情報を変更することを特徴とする請求項8のブート構成変
更方法。 In the boot program setting changing step, in addition to the boot program setting information of the pre-migration disk and the migration destination disk for the spare server , the target WWN and the target LUN are further compared. 9. The boot configuration change method according to claim 8, wherein the corresponding information of the server boot program setting is changed.
該計算機は該外部ディスク装置または各計算機の内蔵ディスクからオペレーティングシス
テムをブートすることで起動可能になる計算機システムにおいて、
前記管理計算機は、
前記計算機がブートに利用する移行前ディスクの内容を移行先ディスクとで同期開始を要
求する同期手段と、
前記計算機が利用するディスクを移行前ディスクから移行先ディスクへと変更する要求を
受け付け、前記移行前ディスクと前記移行先ディスクとの同期処理の停止を要求する同期
解除手段と、
前記計算機に対する前記移行前ディスクと前記移行先ディスクのデバイスパスを比較し、
前記デバイスパスが異なる場合には前記移行先ディスクが保持するオペレーティングシス
テムのブートローダ設定およびマウント設定におけるデバイスパスを、前記移行先ディス
クのデバイスパスに変更するように要求するディスク内容変更手段と、
を有することを特徴とする管理計算機。 The management computer and computer are connected to the external disk device via a network switch.
In the computer system in which the computer can be started by booting an operating system from the external disk device or the internal disk of each computer,
The management computer is
Synchronizing means for requesting synchronization start of the contents of the pre-migration disk used by the computer for booting with the migration destination disk;
A synchronization release unit that accepts a request to change the disk used by the computer from a pre-migration disk to a migration destination disk, and requests to stop synchronization processing between the pre-migration disk and the migration destination disk;
Compare the device path of the pre-migration disk and the migration destination disk for the computer,
If the device path is different, disk content changing means for requesting to change the device path in the boot loader setting and mount setting of the operating system held by the migration destination disk to the device path of the migration destination disk;
A management computer characterized by comprising:
前記計算機に対する前記移行前ディスクと前記移行先ディスクのブートプログラム設定情
報を比較し、前記ブートプログラム設定情報が異なる場合には前記計算機のブートプログ
ラム設定を、前記移行先ディスクのブートプログラム設定情報に変更するように要求をす
るブートプログラム設定変更手段を有することを特徴とする請求項11の管理計算機。 The management computer further compares the boot program setting information of the pre-migration disk and the migration destination disk for the computer, and if the boot program setting information is different, sets the boot program setting of the computer to the migration destination disk. 12. The management computer according to claim 11, further comprising boot program setting change means for requesting to change to boot program setting information.
該計算機の各々は該外部ディスク装置からオペレーティングシステムをブートすることで
起動可能になる計算機システムにおいて、
前記管理計算機は、
前記計算機と前記計算機が前記ディスクからブートするために必要となるブートプログラ
ム設定、ブートローダおよびマウント設定におけるデバイスパスを保持するブート構成テ
ーブルを備え、
前記計算機の1つである現用計算機がブートに利用する移行前ディスクの内容を、移行先
ディスクとで同期開始を要求する同期手段と、
前記移行先ディスクが保持するオペレーティングシステムのブートローダ設定およびマウ
ント設定におけるデバイスパスを、前記ブート構成テーブルを基に、前記予備計算機が前
記移行先ディスクからブートするための設定に変更するように要求するディスク内容変更
手段と、
を有することを特徴とする管理計算機。 The management computer and computer are connected to the external disk device via a network switch.
In each computer system, each of the computers can be started by booting an operating system from the external disk device.
The management computer is
A boot configuration table that holds device paths in the computer and a boot program setting, a boot loader, and a mount setting that are necessary for the computer to boot from the disk;
Synchronizing means for requesting the start of synchronization with the migration destination disk of the contents of the pre-migration disk used for booting by the current computer that is one of the computers,
A disk that requests to change the device path in the boot loader setting and mount setting of the operating system held by the migration destination disk to a setting for the spare computer to boot from the migration destination disk based on the boot configuration table Content change means,
A management computer characterized by comprising:
前記計算機に対する前記移行前ディスクと前記移行先ディスクのブートプログラム設定情
報を比較し、前記ブートプログラム設定情報が異なる場合には前記計算機のブートプログ
ラム設定を、前記移行先ディスクのブートプログラム設定情報に変更するように要求をす
るブートプログラム設定変更手段を有することを特徴とする請求項13の管理計算機。 The management computer further compares the boot program setting information of the pre-migration disk and the migration destination disk for the computer, and if the boot program setting information is different, sets the boot program setting of the computer to the migration destination disk. 14. The management computer according to claim 13, further comprising boot program setting change means for making a request to change to boot program setting information.
該サーバは該外部ディスク装置または各サーバの内蔵ディスクからオペレーティングシス
テムをブートすることで起動可能になる計算機システムにおいて、
前記管理サーバは、
前記サーバがブートに利用する移行前ディスクの内容を移行先ディスクとで同期開始を要
求する同期手段と、
前記サーバが利用するディスクを移行前ディスクから移行先ディスクへと変更する要求を
受け付け、前記移行前ディスクと前記移行先ディスクとの同期処理の停止を要求する同期
解除手段と、
前記サーバに対する前記移行前ディスクと前記移行先ディスクのデバイスパスを比較し、
前記デバイスパスが異なる場合には前記移行先ディスクが保持するオペレーティングシス
テムのブートローダ設定およびマウント設定におけるデバイスパスを、前記移行先ディス
クのデバイスパスに変更するように要求するディスク内容変更手段と、
を有することを特徴とする計算機システム。 The management server and server are connected to the external disk device via a network switch.
In the computer system in which the server can be started by booting an operating system from the external disk device or the internal disk of each server,
The management server
Synchronization means for requesting synchronization start of the contents of the pre-migration disk used by the server for booting with the migration destination disk;
A synchronization release unit that accepts a request to change a disk used by the server from a pre-migration disk to a migration destination disk, and requests to stop synchronization processing between the pre-migration disk and the migration destination disk;
Compare device paths of the pre-migration disk and the migration destination disk to the server,
If the device path is different, disk content changing means for requesting to change the device path in the boot loader setting and mount setting of the operating system held by the migration destination disk to the device path of the migration destination disk;
A computer system characterized by comprising:
前記サーバに対する前記移行前ディスクと前記移行先ディスクのブートプログラム設定情
報を比較し、前記ブートプログラム設定情報が異なる場合には前記サーバのブートプログ
ラム設定を、前記移行先ディスクのブートプログラム設定情報に変更するように要求をす
るブートプログラム設定変更手段を有することを特徴とする請求項15の計算機システム
。 The management server further compares the boot program setting information of the pre-migration disk and the migration destination disk for the server, and if the boot program setting information is different, sets the boot program setting of the server to the migration destination disk. 16. The computer system according to claim 15, further comprising boot program setting change means for requesting to change to boot program setting information.
該サーバの各々は該外部ディスク装置からオペレーティングシステムをブートすることで
起動可能になる計算機システムにおいて、
前記管理サーバは、
前記サーバと前記サーバが前記ディスクからブートするために必要となるブートプログラ
ム設定、ブートローダおよびマウント設定におけるデバイスパスを保持するブート構成テ
ーブルを備え、
前記サーバの1つである現用サーバがブートに利用する移行前ディスクの内容を、移行先
ディスクとで同期開始を要求する同期手段と、
前記移行先ディスクが保持するオペレーティングシステムのブートローダ設定およびマウ
ント設定におけるデバイスパスを、前記ブート構成テーブルを基に、前記予備サーバが前
記移行先ディスクからブートするための設定に変更するように要求するディスク内容変更
手段と、
を有することを特徴とする計算機システム。 The management server and server are connected to the external disk device via a network switch.
Each of the servers is a computer system that can be started by booting an operating system from the external disk device.
The management server
A boot configuration table that holds device paths in the boot program settings, boot loader and mount settings required for the server and the server to boot from the disk;
Synchronization means for requesting the start of synchronization of the contents of the pre-migration disk used for booting by the active server as one of the servers with the migration destination disk;
A disk that requests to change the device path in the boot loader setting and mount setting of the operating system held by the migration destination disk to a setting for the spare server to boot from the migration destination disk based on the boot configuration table Content change means,
A computer system characterized by comprising:
前記移行前ディスクと前記移行先ディスクとの同期処理の停止を要求する同期解除手段と
、
前記現用サーバとは別の予備サーバのブートプログラムの設定を、前記ブート構成テーブ
ルを基に、前記予備サーバが前記移行先ディスクからブートするための設定に変更するよ
うに要求するブートプログラム設定変更手段を有することを特徴とする請求項17の計算
機システム。 The management server further includes synchronization cancellation means for requesting stop of synchronization processing between the pre-migration disk and the migration destination disk;
Boot program setting change means for requesting the spare server to change the setting for booting from the migration destination disk, based on the boot configuration table, the setting of the boot program of the spare server different from the active server 18. The computer system according to claim 17, further comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010233195A JP5131336B2 (en) | 2010-10-18 | 2010-10-18 | How to change the boot configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010233195A JP5131336B2 (en) | 2010-10-18 | 2010-10-18 | How to change the boot configuration |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005254292A Division JP4701929B2 (en) | 2005-09-02 | 2005-09-02 | Boot configuration change method, management server, and computer system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012203838A Division JP5423855B2 (en) | 2012-09-18 | 2012-09-18 | How to change the boot configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011060306A JP2011060306A (en) | 2011-03-24 |
JP5131336B2 true JP5131336B2 (en) | 2013-01-30 |
Family
ID=43947786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010233195A Expired - Fee Related JP5131336B2 (en) | 2010-10-18 | 2010-10-18 | How to change the boot configuration |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5131336B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5770284B2 (en) * | 2011-06-06 | 2015-08-26 | 株式会社日立製作所 | I / O switch control method, virtual computer control method, and computer system |
WO2014080492A1 (en) * | 2012-11-22 | 2014-05-30 | 株式会社日立製作所 | Computer system, cluster management method, and management computer |
WO2014141462A1 (en) * | 2013-03-15 | 2014-09-18 | 株式会社日立製作所 | Computer switching method, computer system, and management computer |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58151663A (en) * | 1982-03-03 | 1983-09-08 | Fujitsu Ltd | Switching system of system file |
JP4828709B2 (en) * | 2001-03-19 | 2011-11-30 | 株式会社東芝 | Automatic OS installation method and computer network system |
JP3732764B2 (en) * | 2001-07-18 | 2006-01-11 | 東芝ソリューション株式会社 | OS startup method and OS startup system |
JP2005115472A (en) * | 2003-10-03 | 2005-04-28 | Mitsubishi Electric Corp | Operation control system |
-
2010
- 2010-10-18 JP JP2010233195A patent/JP5131336B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011060306A (en) | 2011-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4701929B2 (en) | Boot configuration change method, management server, and computer system | |
US7930371B2 (en) | Deployment method and system | |
JP4939102B2 (en) | Reliable method for network boot computer system | |
US8959323B2 (en) | Remote restarting client logical partition on a target virtual input/output server using hibernation data in a cluster aware data processing system | |
JP4462024B2 (en) | Failover method by disk takeover | |
US8560628B2 (en) | Supporting autonomous live partition mobility during a cluster split-brained condition | |
US8521703B2 (en) | Multiple node/virtual input/output (I/O) server (VIOS) failure recovery in clustered partition mobility | |
US8875134B1 (en) | Active/active storage and virtual machine mobility over asynchronous distances | |
JP4448878B2 (en) | How to set up a disaster recovery environment | |
US8533164B2 (en) | Method and tool to overcome VIOS configuration validation and restoration failure due to DRC name mismatch | |
JP4572250B2 (en) | Computer switching method, computer switching program, and computer system | |
WO2012004902A1 (en) | Computer system and system switch control method for computer system | |
US20120151095A1 (en) | Enforcing logical unit (lu) persistent reservations upon a shared virtual storage device | |
JP2005533318A (en) | Storage services and storage systems | |
US20200326956A1 (en) | Computing nodes performing automatic remote boot operations | |
JP5316616B2 (en) | Business takeover method, computer system, and management server | |
JP5131336B2 (en) | How to change the boot configuration | |
JP5423855B2 (en) | How to change the boot configuration | |
JP6219514B2 (en) | Computing device that provides virtual multipath state access, remote computing device for virtual multipath, method for providing virtual multipath state access, method for virtual multipath, computing device, multiple methods for computing device And a machine-readable recording medium | |
JP5484434B2 (en) | Network boot computer system, management computer, and computer system control method | |
JP5267544B2 (en) | Failover method by disk takeover | |
JP4877368B2 (en) | Failover method by disk takeover | |
JP2011258233A (en) | Fail-over method and computer system thereof | |
JP2010033379A (en) | Virtualization system and restoration method for virtualization | |
TW201408004A (en) | A method and system of deploy personal computer image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120508 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120705 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120724 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120918 |
|
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: 20121009 |
|
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: 20121022 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151116 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5131336 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151116 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |