WO2014041664A1 - Information processing system, information processing device, transition control program and transition control method - Google Patents

Information processing system, information processing device, transition control program and transition control method Download PDF

Info

Publication number
WO2014041664A1
WO2014041664A1 PCT/JP2012/073500 JP2012073500W WO2014041664A1 WO 2014041664 A1 WO2014041664 A1 WO 2014041664A1 JP 2012073500 W JP2012073500 W JP 2012073500W WO 2014041664 A1 WO2014041664 A1 WO 2014041664A1
Authority
WO
WIPO (PCT)
Prior art keywords
migration
information processing
virtual disk
processing apparatus
virtual
Prior art date
Application number
PCT/JP2012/073500
Other languages
French (fr)
Japanese (ja)
Inventor
宏樹 岡本
令子 石原
田中 正雄
金次郎 三▲崎▼
和美 浅野
一広 福森
Original Assignee
富士通株式会社
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 富士通株式会社 filed Critical 富士通株式会社
Priority to PCT/JP2012/073500 priority Critical patent/WO2014041664A1/en
Publication of WO2014041664A1 publication Critical patent/WO2014041664A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Abstract

Provided is an information processing system having a first information processing device that is operating and a second information processing device that is connected to the first information processing device via a communication network, wherein the information processing system has the following: a virtual memory transition means that switches to task operation on the second information processing device after transferring virtual memory needed for the operation of each guest OS from the first information processing device, which is the transition origin, to the second information processing device, which is the transition destination; and a task process control means that, in a case where data on a virtual disk is read by a task process in the task operation, reads the data saved on the virtual disk of the first information processing device and transfers the same to a virtual disk on the second information processing device.

Description

情報処理システム、情報処理装置、移行制御プログラム、及び移行制御方法Information processing system, information processing apparatus, migration control program, and migration control method
 本願は、仮想マシン等の移行を行うための情報処理システム、情報処理装置、移行制御プログラム、及び移行制御方法に関する。 The present application relates to an information processing system, an information processing apparatus, a migration control program, and a migration control method for migrating a virtual machine or the like.
 従来では、サーバ等の物理マシン上で、仮想マシンを動作させる仮想化技術が利用されている。ここで、仮想化技術としては、ハードウェアの機能により論理的に分割するLogical Partitioning(LPAR)やソフトウェアにより論理的に分割する仮想化Operating System(OS)等がある。 Conventionally, a virtualization technology for operating a virtual machine on a physical machine such as a server is used. Here, as the virtualization technology, there are Logical Partitioning (LPAR) that is logically divided by hardware functions, and Virtual Operating System (OS) that is logically divided by software.
 また、従来では、物理マシン上で動作する仮想マシンのメモリ内容を別の物理マシンにネットワーク経由でコピーし、別の物理マシンに仮想マシンを動的に移行させるライブマイグレーションを実施して物理マシンの保守等が行われている。 Conventionally, the memory contents of a virtual machine running on a physical machine are copied to another physical machine via the network, and live migration is performed to dynamically migrate the virtual machine to another physical machine. Maintenance etc. are being carried out.
 ここで、従来のライブマイグレーションを実施方法としては、移行元サーバ及び移行先サーバの両サーバが共有するディスクを設け、その共有ディスクに両サーバが使用するOSイメージを配置することで切り替えを可能にしている。 Here, as a conventional live migration implementation method, a disk shared by both the migration source server and the migration destination server is provided, and the OS image used by both servers is placed on the shared disk, thereby enabling switching. ing.
 また、従来では、上述した共有ディスクを使用せずに、仮想マシンのシャットダウン時に、メモリにキャッシュしたデータをディスクのOSイメージに書き込み、全サーバに配置された同一ゲストOSに反映することで同期させる手法が存在する。更に、従来では、移行元サーバ及び移行先サーバにディスク管理を行う制御部を有し、制御部によって移行元、移行先の対象ディスクを認識後、当該ディスクの移行元から移行先へのデータコピー処理を実施する手法が存在する(例えば、特許文献1及び2参照)。 Further, conventionally, without using the above-described shared disk, when the virtual machine is shut down, the data cached in the memory is written into the OS image of the disk and is reflected in the same guest OS arranged in all the servers to be synchronized. There is a method. Furthermore, conventionally, the migration source server and the migration destination server have a control unit that performs disk management. After the control unit recognizes the migration source and migration destination target disks, the data is copied from the migration source to the migration destination of the disk. There is a method for performing the processing (for example, see Patent Documents 1 and 2).
 なお、移行元サーバでは、データコピー中にも通常の業務処理等が発生する。そのため、従来では、データコピー中に発生した業務処理等により生じたデータの差分を再度コピーし、移行元と移行先のディスクでデータが完全に一致した段階で、移行元サーバから移行先サーバへゲストOSのメモリイメージを送信する。そして、メモリコピー完了後には、移行元サーバのゲストOSを停止させ、移行先サーバのゲストOSを起動させる。 It should be noted that normal business processing occurs during data copying on the migration source server. Therefore, in the past, when the data difference caused by the business processing that occurred during data copying is copied again and the data on the migration source and migration destination disks completely match, from the migration source server to the migration destination server. Send the guest OS memory image. Then, after the memory copy is completed, the guest OS of the migration source server is stopped and the guest OS of the migration destination server is started.
特開2011-210151号公報JP 2011-210151 A 特開2009-140053号公報JP 2009-140053 A
 しかしながら、物理的に同一の共有ディスク用いる従来の移行方法では、例えば移行元と移行先の両サーバの距離が離れている場合に、移行中のネットワーク遅延等による業務処理への影響があるため、共有ディスクを用いるのは好ましくない。 However, in the conventional migration method using the physically same shared disk, for example, when the distance between the migration source server and the migration destination server is long, there is an influence on business processing due to network delay during migration, etc. It is not preferable to use a shared disk.
 また、同一のOSイメージを複数サーバで同期させる方法では、不休の業務を行うようなサーバにおいて、OSイメージへの書き込みデータを業務処理が終了するまでキャッシュメモリのみに一時保存しておく必要が生じる。そのため、同一のOSイメージを複数サーバで同期させる方法は、メモリ容量及びデータの安全性の観点から好ましくない。 Further, in the method of synchronizing the same OS image with a plurality of servers, it is necessary to temporarily store the write data to the OS image only in the cache memory until the business process is completed in a server that performs non-working business. . Therefore, the method of synchronizing the same OS image with a plurality of servers is not preferable from the viewpoint of memory capacity and data security.
 更に、移行前サーバでの業務処理中にディスクの移行処理を行う方法では、移行するデータ量が大きいと、ネットワークに大きな負荷がかかり、業務処理にも影響を与える場合がある。 Furthermore, in the method of performing disk migration processing during business processing on the pre-migration server, if the amount of data to be migrated is large, a large load is applied to the network, which may affect business processing.
 そこで、開示の技術は、上記問題点に鑑みてなされたものであり、移行時の負荷を軽減するための情報処理システム、情報処理装置、移行制御プログラム、及び移行制御方法を提供することを目的とする。 Accordingly, the disclosed technique has been made in view of the above-described problems, and an object thereof is to provide an information processing system, an information processing apparatus, a transition control program, and a transition control method for reducing a load at the time of transition. And
 開示の一態様の情報処理システムは、稼働中の第1の情報処理装置と、前記第1の情報処理装置に通信ネットワークを介して接続された第2の情報処理装置とを有する情報処理システムにおいて、移行元である前記第1の情報処理装置から移行先である前記第2の情報処理装置に対し、各ゲストOSの稼動に必要な仮想メモリの移行を行った後、前記第2の情報処理装置での業務稼動に切り替える仮想メモリ移行手段と、前記業務稼働における業務処理で仮想ディスク内のデータを読み込む場合に、前記第1の情報処理装置の仮想ディスクに記憶された前記データを読み込み、前記第2の情報処理装置の仮想ディスクへ移行する業務処理制御手段と、を有する。 An information processing system according to an aspect of the disclosure is an information processing system including a first information processing apparatus that is in operation and a second information processing apparatus that is connected to the first information processing apparatus via a communication network. Then, after the migration of the virtual memory necessary for the operation of each guest OS from the first information processing apparatus as the migration source to the second information processing apparatus as the migration destination, the second information processing Virtual memory migration means for switching to business operation in the device, and when reading data in the virtual disk by business processing in the business operation, reading the data stored in the virtual disk of the first information processing device, Business process control means for migrating to the virtual disk of the second information processing apparatus.
 開示の技術によれば、移行時の負荷を軽減することができる。 According to the disclosed technology, the load at the time of transition can be reduced.
本実施形態における情報処理システムの一例を示す図である。It is a figure which shows an example of the information processing system in this embodiment. 情報処理装置の機能構成の一例を示す図である。It is a figure which shows an example of a function structure of information processing apparatus. 情報処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of information processing apparatus. 本実施形態におけるマイグレーション処理の具体例を示すフローチャートである。It is a flowchart which shows the specific example of the migration process in this embodiment. ボリューム管理テーブルの一例を示す図である。It is a figure which shows an example of a volume management table. 移行済み領域管理テーブルの一例を示す図である。It is a figure which shows an example of the transfer area | region management table. 仮想メモリ移行処理の一例を示すフローチャートである。It is a flowchart which shows an example of a virtual memory transfer process. 仮想ディスク移行処理の一例を示すフローチャートである。It is a flowchart which shows an example of a virtual disk transfer process. 負荷チェック処理の一例を示すフローチャートである。It is a flowchart which shows an example of a load check process. 負荷チェック処理の具体例を説明するための図である。It is a figure for demonstrating the specific example of a load check process.
 以下、図面に基づいて実施形態を説明する。 Hereinafter, embodiments will be described with reference to the drawings.
 <情報処理システム例>
 図1は、本実施形態における情報処理システムの一例を示す図である。図1に示す情報処理システム10は、第1の情報処理装置の一例としての移行元サーバ11-1と、第2の情報処理装置の一例としての移行先サーバ11-2とを有する。
<Example of information processing system>
FIG. 1 is a diagram illustrating an example of an information processing system according to the present embodiment. The information processing system 10 illustrated in FIG. 1 includes a migration source server 11-1 as an example of a first information processing apparatus and a migration destination server 11-2 as an example of a second information processing apparatus.
 また、移行元サーバ11-1と移行先サーバ11-2とは、インターネットやLocal Area Network(LAN)等に代表される通信ネットワーク12により、データの送受信が可能な状態で接続されている。また、本実施形態では、移行元サーバ11-1及び移行先サーバ11-2に対応させて、記憶装置の一例としてのディスク装置13-1,13-2がそれぞれ接続されている。 In addition, the migration source server 11-1 and the migration destination server 11-2 are connected in a state where data can be transmitted and received by a communication network 12 represented by the Internet, a local area network (LAN), or the like. In the present embodiment, disk devices 13-1 and 13-2 as examples of storage devices are connected to correspond to the migration source server 11-1 and the migration destination server 11-2, respectively.
 また、図1の例では、説明の便宜上、移行元サーバ11-1と移行先サーバ11-2とが1:1の関係である場合を示しているが、これに限定されるものではなく、例えばn:1や1:n、m:n(m≧2,n≧2)の関係であってもよい。 Further, in the example of FIG. 1, for convenience of explanation, a case where the migration source server 11-1 and the migration destination server 11-2 have a 1: 1 relationship is shown, but the present invention is not limited to this. For example, the relationship may be n: 1, 1: n, m: n (m ≧ 2, n ≧ 2).
 図1に示す移行元サーバ11-1及び移行先サーバ11-2には、それぞれ管理OS21-1,21-2と、ゲストOS22-1,22-2と、ボリューム管理テーブル23-1,23-2と、移行済み領域管理テーブル24-1,24-2とを有する。 The migration source server 11-1 and the migration destination server 11-2 shown in FIG. 1 have management OSs 21-1, 21-2, guest OSs 22-1, 22-2, and volume management tables 23-1, 23, respectively. 2 and migrated area management tables 24-1 and 24-2.
 管理OS21-1,21-2は、本実施形態における移行制御処理全体を制御するためのモジュール群等を有している。管理OS21-1,21-2は、予め設定されたモジュールを用いて所定の処理を実行することで、移行元サーバ11-1から移行先サーバ11-2への仮想マシン等の移行を実現することができる。 The management OS 21-1, 21-2 has a module group for controlling the entire migration control process in the present embodiment. The management OSs 21-1 and 21-2 execute a predetermined process using a preset module, thereby realizing migration of a virtual machine or the like from the migration source server 11-1 to the migration destination server 11-2. be able to.
 また、管理OS21-1,21-2は、本実施形態における移行制御処理の一例としてのマイグレーション処理を実現するためのマイグレーションプログラム31-1,31-2を有している。マイグレーションプログラム31は、稼働中の移行元サーバ11-1から移行先サーバ11-2への仮想マシン(例えば、仮想メモリ41、仮想ディスク、ゲストOS22等を含む)等の移行を行う。なお、マイグレーションプログラム31-1は、例えば移行元サーバ11-1としての処理を行い、マイグレーションプログラム31-2は、移行先サーバ11-2としての処理を行う。マイグレーションプログラム31-1,31-2は、上述したモジュールを含む。 Further, the management OSs 21-1 and 21-2 have migration programs 31-1 and 31-2 for realizing a migration process as an example of the migration control process in the present embodiment. The migration program 31 performs migration of a virtual machine (including a virtual memory 41, a virtual disk, a guest OS 22, and the like) from the running migration source server 11-1 to the migration destination server 11-2. For example, the migration program 31-1 performs processing as the migration source server 11-1, and the migration program 31-2 performs processing as the migration destination server 11-2. The migration programs 31-1 and 31-2 include the modules described above.
 また、移行元サーバ11-1における管理OS21-1は、マイグレーション処理を実行するに際し、ディスク装置13-1内のボリュームを管理するためのボリューム管理情報(例えば、ボリューム管理テーブル23-1)を生成する。また、管理OS21-1は、移行元サーバ11-1から移行先サーバ11-2に対して移行したディスク内のデータを管理するための移行済み領域管理情報(例えば、移行済み領域管理テーブル24-1)を生成する。 Further, the management OS 21-1 in the migration source server 11-1 generates volume management information (for example, volume management table 23-1) for managing the volume in the disk device 13-1 when executing the migration process. To do. Further, the management OS 21-1 manages the migrated area management information (for example, the migrated area management table 24-) for managing the data in the disk migrated from the migration source server 11-1 to the migration destination server 11-2. 1) is generated.
 生成したボリューム管理テーブル23-1や移行済み領域管理テーブル24-1は、通信ネットワーク12を介して、移行先サーバ11-2に送信される。移行先サーバ11-2における管理OS21-2は、移行先サーバ11-1から送信された各テーブルを、ボリューム管理テーブル23-2、移行済み領域管理テーブル24-2として管理する。 The generated volume management table 23-1 and migrated area management table 24-1 are transmitted to the migration destination server 11-2 via the communication network 12. The management OS 21-2 in the migration destination server 11-2 manages the tables transmitted from the migration destination server 11-1 as a volume management table 23-2 and a migrated area management table 24-2.
 また、管理OS21-2は、得られたテーブル等を用いてシステム移行時におけるボリューム管理や移行済み領域の更新等による管理を行う。 Also, the management OS 21-2 performs management by volume management at the time of system migration, update of the migrated area, etc. using the obtained table or the like.
 ゲストOS22-1,22-2は、コンピュータ上に別のコンピュータ環境を用意する仮想マシン環境で動作するOSである。コンピュータの管理上は、仮想マシン環境とゲストOSは、管理OS(ホストOS)上で動作するプログラムという位置付けとして扱うことができる。 The guest OSs 22-1 and 22-2 are OSes that operate in a virtual machine environment in which another computer environment is prepared on the computer. In terms of computer management, the virtual machine environment and the guest OS can be treated as positioning programs running on the management OS (host OS).
 また、ゲストOS22-1,22-2は、仮想メモリ41-1,41-2を用いてディスク装置13-1,13-2に含まれる仮想ディスクの論理アドレス(例えば、図1の例では、0~19等)を管理する。なお、仮想メモリ41-1,41-2は、ゲストOS22-1,22-2を稼動するために必要な各種情報が記憶されたメモリである。 Further, the guest OSs 22-1 and 22-2 use the virtual memory 41-1 and 41-2, and the logical addresses of the virtual disks included in the disk devices 13-1 and 13-2 (for example, in the example of FIG. 0-19 etc.). The virtual memories 41-1 and 41-2 are memories that store various information necessary for operating the guest OSs 22-1 and 22-2.
 また、移行先のゲストOS22-2は、ゲストOS21-1に代わって業務稼働を行い、各種業務処理等における使用状況や負荷等を確認して、移行するデータやタイミング等の制御等を行う。 In addition, the migration destination guest OS 22-2 operates on behalf of the guest OS 21-1, checks the usage status and load in various business processes, and controls the data and timing to be migrated.
 本実施形態では、図1の例において、例えば稼働中の移行元サーバ11-1から移行先サーバ11-2に対してゲストOSの稼動に必要な仮想メモリのコピーのみを先に実施し、その後移行先サーバ11-2での業務稼動に切り替える。 In the present embodiment, for example, in the example of FIG. 1, only the copy of the virtual memory necessary for the operation of the guest OS is performed first from the active migration source server 11-1 to the migration destination server 11-2, and thereafter Switch to business operation on the migration destination server 11-2.
 また、本実施形態では、仮想ディスクの移行処理として、移行済み領域管理テーブル24-2に移行済みフラグを設け、業務処理に必要なディスクのデータのみを都度、移行元サーバ11-1の仮想ディスクa1から、移行先サーバ11-2の仮想ディスクb1へコピーすることで移行を行う。 In this embodiment, as the migration process of the virtual disk, a migrated flag is provided in the migrated area management table 24-2, and only the data of the disk necessary for the business process is stored each time the virtual disk of the migration source server 11-1. Migration is performed by copying from a1 to the virtual disk b1 of the migration destination server 11-2.
 なお、本実施形態における業務処理とは、例えばシステムを利用するユーザ毎に設定されたあらゆる処理を意味し、直接業務に関係しない処理であってもよく、例えば、認証処理や統計処理、監視処理、課金処理、管理処理、更新処理等の多数の業務を含む。 The business process in the present embodiment means, for example, any process set for each user who uses the system, and may be a process not directly related to the business. For example, authentication process, statistical process, monitoring process , Including a large number of tasks such as billing processing, management processing, and update processing.
 これにより、本実施形態では、通信ネットワーク12や移行元サーバ11-1、移行先サーバ11-2等に大きな負荷をかけないで仮想マシン(例えば、仮想メモリや仮想ディスク)等の各種データの移行を実現することが可能となる。 As a result, in this embodiment, various types of data such as virtual machines (for example, virtual memory and virtual disk) are migrated without imposing a heavy load on the communication network 12, the migration source server 11-1, the migration destination server 11-2, and the like. Can be realized.
 また、本実施形態では、例えば移行先サーバ11-2に対して負荷チェック処理を行う。負荷チェック処理は、例えば業務処理において、全く使用されていないデータや使用頻度が低いデータ等に対して、通信ネットワーク12の負荷や移行先サーバ11-2のディスク負荷等をチェックした上でコピー等による移行処理を一定サイズのデータ量毎に実施する。 In this embodiment, for example, load check processing is performed on the migration destination server 11-2. In the load check process, for example, data that is not used at all in business processing or data that is not frequently used is checked after checking the load of the communication network 12 and the disk load of the migration destination server 11-2. The migration process is performed for each data size of a certain size.
 つまり、本実施形態では、一度に大量のデータを移行させることでネットワーク負荷やディスク負荷が生じないように、一定サイズのデータ量で移行を行う。これにより、本実施形態では、ライブマイグレーションを行う際のネットワークの負荷を軽減し、サーバが稼働中であっても業務処理に影響を及ぼさないようにすることができる。上述した情報処理システム10の構成により、例えば仮想マシンの移行時の負荷を軽減することができる。 In other words, in this embodiment, migration is performed with a fixed amount of data so that a large amount of data is migrated at once, so that no network load or disk load occurs. As a result, in this embodiment, it is possible to reduce the load on the network when performing live migration, and to prevent business processing from being affected even when the server is in operation. With the configuration of the information processing system 10 described above, for example, it is possible to reduce the load at the time of migration of a virtual machine.
 <情報処理装置(移行元サーバ11-1、移行先サーバ11-2)における機能構成例>
 次に、上述した情報処理装置(移行元サーバ11-1、移行先サーバ11-2)の機能構成例について図を用いて説明する。図2は、情報処理装置の機能構成の一例を示す図である。なお、本実施形態では、情報処理装置が、移行元サーバ11-1にも、移行先サーバ11-2にもなり得る。そのため、図2の例では、移行元と移行先との両方の機能を有する情報処理装置について説明し、以下では必要に応じて「サーバ11」と総称する。
<Example of Functional Configuration in Information Processing Apparatus (Migration Source Server 11-1 and Migration Destination Server 11-2)>
Next, a functional configuration example of the above-described information processing apparatuses (migration source server 11-1 and migration destination server 11-2) will be described with reference to the drawings. FIG. 2 is a diagram illustrating an example of a functional configuration of the information processing apparatus. In the present embodiment, the information processing apparatus can be either the migration source server 11-1 or the migration destination server 11-2. Therefore, in the example of FIG. 2, an information processing apparatus having both functions of a migration source and a migration destination will be described, and hereinafter, collectively referred to as “server 11” as necessary.
 図2に示すサーバ11は、管理OS21として、マイグレーション管理手段51と、仮想メモリ移行手段52と、業務処理制御手段53と、管理情報更新手段54と、負荷チェック手段55と、プログラム実行手段56と、通信手段57と、記憶手段58とを有する。また、業務処理制御手段53は、仮想ディスク読み込み制御手段61と、仮想ディスク書き込み制御手段62とを有する。 The server 11 illustrated in FIG. 2 includes, as the management OS 21, a migration management unit 51, a virtual memory migration unit 52, a business process control unit 53, a management information update unit 54, a load check unit 55, and a program execution unit 56. , Communication means 57 and storage means 58. The business process control unit 53 includes a virtual disk read control unit 61 and a virtual disk write control unit 62.
 また、サーバ11は、複数のゲストOS22(図2の例では、ゲストOS22a,22b)を有する。各ゲストOS22には、それぞれ仮想メモリが割り当てられている。なお、ゲストOS22間は、それぞれが個別に業務処理等を行うものであり、関連性を有していなくてもよい。 Further, the server 11 has a plurality of guest OSs 22 (in the example of FIG. 2, guest OSs 22a and 22b). A virtual memory is allocated to each guest OS 22. Note that the guest OSs 22 individually perform business processing and the like and do not have to be related.
 なお、上述したマイグレーション管理手段51と、仮想メモリ移行手段52と、業務処理制御手段53と、管理情報更新手段54と、負荷チェック手段55とは、例えば管理OS21が有するモジュールとして制御される。なお、モジュールとは、例えば上述したマイグレーションプログラム31-1,31-2等であるが、これに限定されるものではない。 The above-described migration management unit 51, virtual memory migration unit 52, business process control unit 53, management information update unit 54, and load check unit 55 are controlled as modules included in the management OS 21, for example. The module is, for example, the above-described migration program 31-1, 31-2 or the like, but is not limited to this.
 マイグレーション管理手段51は、例えば、ゲストOS22a,32b等の仮想マシン(例えば、仮想メモリや仮想ディスク)等を、移行元サーバ11-1から移行先サーバ11-2にシステム移行するための移行制御全体を管理する。また、マイグレーション管理手段51は、上述したボリューム管理テーブル23や移行済み領域管理テーブル24を生成する。また、マイグレーション管理手段51は、仮想メモリ移行手段52、業務処理制御手段53、管理情報更新手段54、負荷チェック手段55における処理のタイミングや実行結果等の管理を行うこともできる。 The migration management means 51, for example, the entire migration control for migrating a virtual machine (eg, virtual memory or virtual disk) such as the guest OS 22a, 32b or the like from the migration source server 11-1 to the migration destination server 11-2. Manage. In addition, the migration management unit 51 generates the volume management table 23 and the migrated area management table 24 described above. The migration management unit 51 can also manage the processing timing and execution results of the virtual memory migration unit 52, the business process control unit 53, the management information update unit 54, and the load check unit 55.
 仮想メモリ移行手段52は、マイグレーション処理において、最初に管理OS21内の仮想メモリ41を移行元サーバ11-1から移行先サーバ11-2にコピーする。 In the migration process, the virtual memory migration unit 52 first copies the virtual memory 41 in the management OS 21 from the migration source server 11-1 to the migration destination server 11-2.
 ここで、例えば移行元サーバ11-1が稼働中である場合には、一時的に稼働を停止し、移行元サーバ11-1の仮想メモリ41を移行先サーバ11-2に送信する。また、仮想メモリ移行手段52は、移行先サーバ11に仮想メモリ41を送信した後、例えば移行先サーバ11-2を再起動させることで、移行先サーバ11-2を業務稼働させて、各種業務処理を実行させることができる。 Here, for example, when the migration source server 11-1 is in operation, the operation is temporarily stopped, and the virtual memory 41 of the migration source server 11-1 is transmitted to the migration destination server 11-2. Further, the virtual memory migration means 52 transmits the virtual memory 41 to the migration destination server 11, and then restarts the migration destination server 11-2, for example, so that the migration destination server 11-2 operates and performs various tasks. Processing can be executed.
 業務処理制御手段53は、サーバ11を移行先サーバ11-2として機能させる場合に、仮想メモリ41に記憶された情報に基づいて、仮想ディスクの読み込みや書き込みを行う。具体的には、業務処理制御手段53は、仮想ディスク読み込み制御手段61により仮想ディスクの読み込み制御を行い、仮想ディスク書き込み制御手段62により仮想ディスクの書き込み制御を行う。 The business process control means 53 reads and writes a virtual disk based on information stored in the virtual memory 41 when the server 11 functions as the migration destination server 11-2. Specifically, the business process control unit 53 performs virtual disk read control by the virtual disk read control unit 61, and performs virtual disk write control by the virtual disk write control unit 62.
 仮想ディスク読み込み制御手段61は、業務処理における読み込み指示(例えば、READ命令等)に対して、移行済み領域管理テーブル24等を用いて読み込み対象のデータが、既に移行先サーバ11-2の仮想ディスクに存在するか否かを判断する。また、仮想ディスク読み込み制御手段61は、移行先サーバ11-2の仮想ディスクに存在する場合には、移行先の仮想ディスクから対応するデータを読み込む。 In response to a read instruction (for example, a READ command) in the business process, the virtual disk read control means 61 uses the migrated area management table 24 or the like to read the data to be read from the virtual disk of the migration destination server 11-2. It is determined whether or not it exists. If the virtual disk read control unit 61 exists in the virtual disk of the migration destination server 11-2, it reads the corresponding data from the migration destination virtual disk.
 また、仮想ディスク読み込み制御手段61は、移行先サーバ11-2の仮想ディスクに存在しない場合には、移行元の仮想ディスクから対応するデータを読み込む。なお、この場合には、読み込んだデータを、仮想ディスク書き込み制御手段62により、移行先の仮想ディスクに書き込まれる。 Also, the virtual disk read control means 61 reads the corresponding data from the migration source virtual disk if it does not exist in the migration destination server 11-2. In this case, the read data is written to the migration destination virtual disk by the virtual disk write control means 62.
 仮想ディスク書き込み制御手段62は、業務処理における書き込み指示(例えば、WRITE命令等)に対して、ボリューム管理テーブル23を参照し、移行先サーバ11-2の仮想ディスクの論理アドレスに対して書き込みを行う。つまり、書き込み指示では、移行元の仮想ディスクの論理アドレスが指定されている。そのため、仮想ディスク書き込み制御手段62は、ボリューム管理テーブル23を参照して、移行元の仮想ディスクの論理アドレスに対応して割り当てられている移行先の仮想ディスクの論理アドレスに対して指示されたデータの書き込みを行う。 The virtual disk write control means 62 refers to the volume management table 23 in response to a write instruction (for example, a WRITE command) in the business process, and writes to the logical address of the virtual disk of the migration destination server 11-2. . That is, in the write instruction, the logical address of the migration source virtual disk is specified. Therefore, the virtual disk write control unit 62 refers to the volume management table 23 and instructs the logical address of the migration destination virtual disk assigned corresponding to the logical address of the migration source virtual disk. Write.
 また、業務処理制御手段53は、例えば読み込まれた内容に基づいて所定の業務処理を行う。 Further, the business process control means 53 performs a predetermined business process based on the read contents, for example.
 管理情報更新手段54は、記憶手段58に記憶された上述したボリューム管理テーブル23や移行済み領域管理テーブル24等の各管理テーブルに対してデータの読み出しや書き込み、参照等を行う。具体的には、管理情報更新手段54は、例えば移行元の仮想ディスクから取得したデータを移行先の仮想ディスクに書き込む場合に、移行済み領域管理テーブル24の移行済みフラグに"移行済み"のフラグをセットする。 The management information update unit 54 reads, writes, and references data to each management table such as the volume management table 23 and the migrated area management table 24 described above stored in the storage unit 58. Specifically, the management information update unit 54, for example, writes data acquired from the migration source virtual disk to the migration destination virtual disk, the “migrated” flag in the migrated flag of the migrated area management table 24 Set.
 負荷チェック手段55は、例えば業務稼働における各種業務処理実行中、又は各種業務処理実行後におけるネットワーク負荷や、移行先サーバ11-2のディスク負荷等をチェックするが、これに限定されるものではなく、例えばCPU使用率等でもよい。 The load check means 55 checks, for example, the network load during execution of various business processes in business operation or after execution of various business processes, the disk load of the migration destination server 11-2, etc., but is not limited to this. For example, the CPU usage rate may be used.
 なお、負荷チェック処理は、予め設定された業務処理の終了後や、深夜等の所定の時間帯等の所定の条件を満たす場合に処理を行ってもよく、一定の時間間隔で処理を行ってもよい。 Note that the load check process may be performed after completion of a preset business process or when a predetermined condition such as a predetermined time zone such as midnight is satisfied, and the process is performed at regular time intervals. Also good.
 また、負荷チェック手段55は、負荷チェックの結果、所定の閾値よりも負荷が低いと判断された場合には、予め設定された一定サイズのデータのコピーを行う。なお、一定サイズとは、例えば1又は複数の論理アドレスを基準に設定され、負荷率の値に応じてデータサイズを変化させてもよい。 Also, if the load check means 55 determines that the load is lower than a predetermined threshold as a result of the load check, the load check means 55 copies data of a predetermined fixed size. The fixed size may be set based on one or a plurality of logical addresses, for example, and the data size may be changed according to the load factor value.
 また、負荷チェック手段55は、移行先の仮想ディスクに書き込まれた場合に、移行済み領域管理テーブル24に設けた移行済みフラグをセットする。 Also, the load check means 55 sets the migrated flag provided in the migrated area management table 24 when it is written to the migration destination virtual disk.
 プログラム実行手段56は、例えばハイパーバイザ(Hypervisor)等のコンピュータの仮想化技術の1つである仮想マシンを実現するための制御プログラム等を実行する。ハイパーバイザは、例えば仮想マシンでゲストOS22等を動作させ、業務稼働における各種業務処理等を実行させることができる。 The program execution unit 56 executes, for example, a control program for realizing a virtual machine which is one of computer virtualization technologies such as a hypervisor. For example, the hypervisor can operate the guest OS 22 or the like in a virtual machine and execute various business processes in business operation.
 通信手段57は、上述した通信ネットワーク12等を用いて他のサーバ11(移行元サーバ11-1,移行先サーバ11-2)や他の外部装置等とデータの送受信を行う通信インタフェースである。 The communication means 57 is a communication interface that transmits / receives data to / from other servers 11 (migration source server 11-1, migration destination server 11-2), other external devices, and the like using the communication network 12 described above.
 記憶手段58は、本実施形態における仮想マシンの移行制御処理における各処理を実行するための各種情報を記憶する。記憶手段58は、仮想メモリ41やボリューム管理テーブル23、移行済み領域管理テーブル24を記憶する。 The storage unit 58 stores various types of information for executing each process in the virtual machine migration control process in the present embodiment. The storage unit 58 stores the virtual memory 41, the volume management table 23, and the migrated area management table 24.
 なお、記憶手段58は、メモリやハードディスクドライブ等からなるが、これに限定されるものではない。また、図1に示すディスク装置13は、記憶手段58に含まれていてもよく、図1に示すように、サーバ11の外部に設けられていてもよい。 The storage means 58 includes a memory, a hard disk drive, etc., but is not limited to this. The disk device 13 shown in FIG. 1 may be included in the storage unit 58, or may be provided outside the server 11 as shown in FIG.
 <情報処理装置(移行元サーバ11-1、移行先サーバ11-2)におけるハードウェア構成例>
 次に、上述した情報処理装置の一例としてのサーバ11(移行元サーバ11-1、移行先サーバ11-2)におけるハードウェア構成例について、図を用いて説明する。図3は、情報処理装置のハードウェア構成の一例を示す図である。図3に示すサーバ11は、入力装置71と、出力装置72と、ドライブ装置73と、補助記憶装置74と、主記憶装置75と、Central Processing Unit(CPU)76と、ネットワーク接続装置77とを有し、これらはシステムバスBで相互に接続されている。
<Hardware Configuration Example in Information Processing Apparatus (Migration Source Server 11-1 and Migration Destination Server 11-2)>
Next, a hardware configuration example in the server 11 (migration source server 11-1, migration destination server 11-2) as an example of the information processing apparatus described above will be described with reference to the drawings. FIG. 3 is a diagram illustrating an example of a hardware configuration of the information processing apparatus. 3 includes an input device 71, an output device 72, a drive device 73, an auxiliary storage device 74, a main storage device 75, a central processing unit (CPU) 76, and a network connection device 77. These are connected to each other by a system bus B.
 入力装置71は、例えばサーバ11のユーザ等が操作するキーボードやマウス等のポインティングデバイスを有しており、例えばユーザ等からのプログラムの実行等、各種操作信号を入力する。 The input device 71 has a pointing device such as a keyboard and a mouse operated by the user of the server 11, for example, and inputs various operation signals such as execution of a program from the user.
 出力装置72は、本実施形態における処理を行うコンピュータ本体を操作するのに必要な各種ウィンドウやデータ等を表示するディスプレイを有し、CPU76が実行する制御プログラムの実行経過や結果等を表示する。 The output device 72 has a display for displaying various windows, data, and the like necessary for operating the computer main body that performs the processing in the present embodiment, and displays the execution progress and results of the control program executed by the CPU 76.
 ここで、サーバ11のコンピュータ本体にインストールされる実行プログラム(移行制御プログラム)は、例えば記録媒体78等により提供される。ドライブ装置73は、記録媒体78に記録された実行プログラム等の各種データを読み込む。つまり、記録媒体78は、ドライブ装置73にセット可能であり、記録媒体78に含まれる実行プログラムが、記録媒体78からドライブ装置73を介して補助記憶装置74にインストールされる。なお、ドライブ装置73は、セットされた記録媒体78が書き込み可能である場合に、例えばプログラムを実行することで得られた実行結果等のデータを書き込むこともできる。 Here, the execution program (migration control program) installed in the computer main body of the server 11 is provided by the recording medium 78, for example. The drive device 73 reads various data such as an execution program recorded on the recording medium 78. That is, the recording medium 78 can be set in the drive device 73, and the execution program included in the recording medium 78 is installed in the auxiliary storage device 74 from the recording medium 78 via the drive device 73. The drive device 73 can also write data such as an execution result obtained by executing a program, for example, when the set recording medium 78 is writable.
 補助記憶装置74は、ハードディスクドライブやSolid State Drive(SSD)等のストレージ手段であり、本実施形態における実行プログラムや制御プログラム等を記憶し、必要に応じて入出力を行う。 Auxiliary storage device 74 is a storage means such as a hard disk drive or Solid State Drive (SSD), stores an execution program, a control program, and the like in this embodiment, and performs input / output as necessary.
 主記憶装置75は、CPU76により補助記憶装置74から読み出された実行プログラム等を格納する。なお、主記憶装置75は、例えばRead Only Memory(ROM)やRandom Access Memory(RAM)等を含む。 The main storage device 75 stores an execution program read from the auxiliary storage device 74 by the CPU 76. Note that the main storage device 75 includes, for example, a Read Only Memory (ROM), a Random Access Memory (RAM), and the like.
 CPU76は、OS等の制御プログラム、及び主記憶装置75に格納されている実行プログラムに基づいて、各種演算や各ハードウェア構成部とのデータの入出力等、コンピュータ全体の処理を制御することで、移行制御における各処理を実現する。なお、プログラム実行中に必要な各種情報等は、CPU76により補助記憶装置74等から取得される。また、実行結果等は、CPU76により補助記憶装置74等に格納される。 The CPU 76 controls processing of the entire computer, such as various operations and data input / output with each hardware component, based on a control program such as an OS and an execution program stored in the main storage device 75. Each process in the transition control is realized. Various kinds of information necessary for executing the program are acquired from the auxiliary storage device 74 by the CPU 76. The execution result and the like are stored in the auxiliary storage device 74 and the like by the CPU 76.
 ネットワーク接続装置77は、通信ネットワーク12と接続することにより、通信ネットワーク12に接続された外部装置(移行元サーバ11-1、移行先サーバ11-2等を含む)等とデータの送受信を可能とする通信インタフェースである。また、ネットワーク接続装置77は、外部装置等と接続することにより、実行プログラムや各種データを取得したり、プログラムを実行することで得られた実行結果又は本実施形態に対応する実行プログラム自体を外部装置等に提供したりすることができる。 By connecting to the communication network 12, the network connection device 77 can exchange data with external devices (including the migration source server 11-1, the migration destination server 11-2, etc.) connected to the communication network 12. Communication interface. Further, the network connection device 77 obtains an execution program and various data by connecting to an external device or the like, or executes the execution result obtained by executing the program or the execution program itself corresponding to the present embodiment. Or can be provided to a device or the like.
 記録媒体78は、上述したように実行プログラム等を格納するコンピュータで読み取り可能な記録媒体である。記録媒体78は、例えばUniversal Serial Bus(USB)メモリやCD-ROM、DVDディスク等の可搬型記録媒体であってもよく、フラッシュメモリ等の半導体メモリ等であってもよい。 The recording medium 78 is a computer-readable recording medium that stores an execution program and the like as described above. The recording medium 78 may be a portable recording medium such as a Universal Serial Bus (USB) memory, a CD-ROM, or a DVD disk, or may be a semiconductor memory such as a flash memory.
 <移行制御処理(マイグレーション処理)>
 次に、本実施形態における移行制御処理の一例としてのマイグレーション処理の具体例についてフローチャートを用いて説明する。図4は、本実施形態におけるマイグレーション処理の具体例を示すフローチャートである。
<Migration control processing (migration processing)>
Next, a specific example of the migration process as an example of the migration control process in the present embodiment will be described using a flowchart. FIG. 4 is a flowchart showing a specific example of the migration processing in the present embodiment.
 図4に示すマイグレーション処理において、マイグレーション開始の指示を受けた移行元サーバ11-1は、移行元サーバ11の仮想ディスクと同一の構成で、移行先サーバ11-2の仮想ディスクを作成する(S01)。なお、同一の構成とは、例えばディスク内における論理アドレスを同一とする構成等を含むがこれに限定されるものではない。また、同一の構成とは、例えば仮想ディスクを使用するゲストOSの数等も移行元と移行先とで対応付けられること等も含む。 In the migration process shown in FIG. 4, the migration source server 11-1 that has received the instruction to start migration creates a virtual disk of the migration destination server 11-2 with the same configuration as the virtual disk of the migration source server 11 (S01). ). The same configuration includes, for example, a configuration in which the logical addresses in the disk are the same, but is not limited thereto. In addition, the same configuration includes, for example, that the number of guest OSes that use virtual disks is associated with the migration source and the migration destination.
 次に、マイグレーション処理は、マイグレーションに必要な各種管理テーブルの作成等を行う(S02)。各種管理テーブルの例としては、上述したボリューム管理テーブル23や移行済み領域管理テーブル24等があるが、これに限定されるものではない。 Next, in the migration process, various management tables necessary for the migration are created (S02). Examples of the various management tables include the volume management table 23 and the migrated area management table 24 described above, but are not limited thereto.
 また、マイグレーション処理は、移行元サーバ11-1に含まれるゲストOS毎に割り当てられている仮想メモリを移行先サーバ11-2へ移行する(S03)。その後、マイグレーション処理は、ゲストOSの稼働を移行先サーバ11-2へ切り替える(S04)。S04の処理により、以降の業務稼働における各種業務処理は、移行先サーバ11-2を用いて実行されることになる。したがって、S04の処理では、ゲストOSの切り替えに対応させて、移行元サーバ11-1の対応するゲストOSを停止させてもよい。 In the migration process, the virtual memory allocated to each guest OS included in the migration source server 11-1 is migrated to the migration destination server 11-2 (S03). Thereafter, the migration process switches the operation of the guest OS to the migration destination server 11-2 (S04). Through the processing in S04, various business processes in subsequent business operations are executed using the migration destination server 11-2. Therefore, in the process of S04, the corresponding guest OS of the migration source server 11-1 may be stopped in association with the switching of the guest OS.
 次に、マイグレーション処理は、仮想ディスク移行処理を行う(S05)。なお、S05の処理では、業務処理等において、ディスク内のデータの読み込み、書き込み処理が発生する毎に、必要に応じて対応する仮想ディスクの移行処理を実施する。 Next, the migration process performs a virtual disk migration process (S05). In the process of S05, a corresponding virtual disk migration process is performed as necessary every time data in the disk is read or written in a business process or the like.
 ここで、マイグレーション処理は、業務処理等で使用されずに移行されないデータを移行させるため、負荷チェック処理を行うことができる。その場合、マイグレーション処理は、まず負荷チェック処理を行うための所定の条件を満たすか否かを判断する(S06)。 Here, the migration process can perform a load check process in order to migrate data that is not used in business processes or the like and is not migrated. In this case, the migration process first determines whether or not a predetermined condition for performing the load check process is satisfied (S06).
 所定の条件としては、例えば予め設定された業務処理を実行した後でもよく、またマイグレーション処理を開始してから所定時間の経過後でもよい。また、所定の条件としては、例えば深夜や早朝、休日等の所定の時間帯や曜日である場合でもよく、すでに移行済みのデータ量が移行対象の全データ量に対して所定の割合(例えば、8割)以上である場合等でもよい。なお、所定の条件については、上述した各条件に限定されるものではなく、また上述した各条件の複数を組み合わせてもよい。 The predetermined condition may be, for example, after executing a preset business process, or after a predetermined time has elapsed since the start of the migration process. Further, the predetermined condition may be, for example, a predetermined time zone or day of the week such as midnight, early morning, holiday, etc., and the amount of data that has already been transferred is a predetermined ratio (for example, 80%) or more. Note that the predetermined conditions are not limited to the above-described conditions, and a plurality of the above-described conditions may be combined.
 マイグレーション処理は、S06の処理において、所定の条件を満たす場合(S06において、YES)、負荷チェック処理を行う(S07)。S07の処理では、例えば移行先サーバ11-2のディスク負荷や、通信ネットワーク12のネットワーク負荷等の所定の負荷状況をチェックし、チェックした負荷が閾値よりも低い場合に、一定サイズ毎にコピーを行う。 In the migration process, when a predetermined condition is satisfied in the process of S06 (YES in S06), a load check process is performed (S07). In the processing of S07, for example, a predetermined load situation such as the disk load of the migration destination server 11-2 or the network load of the communication network 12 is checked. If the checked load is lower than the threshold value, copying is performed for each fixed size. Do.
 また、マイグレーション処理は、S06の処理において、所定の条件を満たさない場合(S06において、NO)、負荷チェック処理を行わない。このように、本実施形態では、負荷チェックを行う場合か否かを所定の条件に基づいて判断することで、業務処理に影響を与えることなく、適切なタイミングで残りのデータに対するマイグレーション処理を実現することができる。 In the migration process, if the predetermined condition is not satisfied in S06 (NO in S06), the load check process is not performed. As described above, in the present embodiment, whether to perform a load check is determined based on a predetermined condition, so that migration processing for the remaining data is realized at an appropriate timing without affecting business processing. can do.
 ここで、マイグレーション処理は、移行先サーバ11-2に対する移行が全て完了したか否かを判断する(S08)。なお、S08の処理では、例えば移行済み領域管理テーブル24の移行済みフラグを参照し、論理アドレスの全てに移行済みフラグがセットされているか否かにより、移行が全て完了したかを判断する。 Here, in the migration process, it is determined whether or not all migration to the migration destination server 11-2 has been completed (S08). In the process of S08, for example, with reference to the migrated flag in the migrated area management table 24, it is determined whether or not all migration is completed depending on whether or not the migrated flag is set for all logical addresses.
 マイグレーション処理は、移行が全て完了していないと判断した場合(S08において、NO)、S05の処理に戻る。また、マイグレーション処理は、移行が全て完了していると判断した場合(S08において、YES)、処理を終了する。 When the migration process determines that all the migrations are not completed (NO in S08), the process returns to S05. Further, the migration process ends when it is determined that all the migrations have been completed (YES in S08).
 なお、マイグレーション処理が終了すると、移行元サーバ11-1は、仮想ディスクも含めて業務処理の必要性がなくなる。そのため、移行元サーバ11-1は、初期化されて他の用途に用いたり、破棄することができる。 When the migration process is completed, the migration source server 11-1 no longer needs business processes including virtual disks. Therefore, the migration source server 11-1 can be initialized and used for other purposes or discarded.
 次に、上述したS02の処理(管理テーブルの作成処理)、S03の処理(仮想メモリ移行処理)、S05の処理(仮想ディスク移行処理)、S07の処理(負荷チェック処理)について、具体的に説明する。 Next, the processing of S02 (management table creation processing), the processing of S03 (virtual memory migration processing), the processing of S05 (virtual disk migration processing), and the processing of S07 (load check processing) will be specifically described. To do.
 <S02:管理テーブルの作成処理>
 上述したS02の処理では、移行元サーバと移行先サーバとの各仮想ディスクを対応付けるボリューム管理テーブル23や、全仮想ディスクの全論理アドレスについて移行実施の有無等を管理する移行済み領域管理テーブル24の作成等を行う。
<S02: Management Table Creation Processing>
In the processing of S02 described above, the volume management table 23 for associating the virtual disks of the migration source server and the migration destination server, and the migrated area management table 24 for managing the presence / absence of migration for all logical addresses of all virtual disks. Create etc.
 ここで、本実施形態における各種管理テーブルの一例について、図を用いて説明する。図5は、ボリューム管理テーブルの一例を示す図である。また、図6は、移行済み領域管理テーブルの一例を示す図である。 Here, an example of various management tables in the present embodiment will be described with reference to the drawings. FIG. 5 is a diagram illustrating an example of a volume management table. FIG. 6 is a diagram illustrating an example of the migrated area management table.
 図5に示すボリューム管理テーブル23の項目としては、例えばゲストOSを識別する「ゲストOS情報」、ゲストOS毎に対応する移行元の仮想ディスクを識別する「移行元仮想ディスク」、及び、移行先の仮想ディスクを識別する「移行先仮想ディスク」等を含むが、これに限定されるものではない。 The items in the volume management table 23 shown in FIG. 5 include, for example, “guest OS information” for identifying a guest OS, “migration source virtual disk” for identifying a migration source virtual disk corresponding to each guest OS, and migration destination However, the present invention is not limited to this.
 また、図6に示す移行済み領域管理テーブル24の項目としては、例えば移行先サーバ11-2における仮想ディスクを識別する「仮想ディスク情報」、仮想ディスク毎に割り当てられた「論理アドレス」、論理アドレスに対する「移行済みフラグ」等を含むが、これに限定されるものではない。 The items in the migrated area management table 24 shown in FIG. 6 include, for example, “virtual disk information” for identifying the virtual disk in the migration destination server 11-2, “logical address” assigned to each virtual disk, and logical address. However, the present invention is not limited to this.
 なお、図6に示す移行済みフラグについては、"0"が未移行を示し、"1"が移行済みであることを示しているが、これに限定されるものではなく、例えば"〇"、"×"等の識別情報や、"済"、"未"等の識別情報等を用いてもよい。 For the migrated flag shown in FIG. 6, “0” indicates not migrated and “1” indicates migrated, but the present invention is not limited to this. For example, “◯”, Identification information such as “x”, identification information such as “done”, “not yet”, or the like may be used.
 ここで、上述した図5,図6に示す各管理テーブルの作成方法について説明する。移行元サーバ11-1の管理OS21-1は、ユーザ等からのマイグレーション開始の指示を受けて、移行先サーバ11-2に仮想ディスクを作成する。具体的には、移行元サーバ11-1は、移行元サーバ11-1と同一のゲストOS及び仮想ディスクの構成を移行先サーバ11-2に作成し、移行元サーバ11-1の各仮想ディスクと移行先サーバの各仮想ディスクとを対応付ける。 Here, a method of creating each management table shown in FIGS. 5 and 6 will be described. The management OS 21-1 of the migration source server 11-1 creates a virtual disk on the migration destination server 11-2 in response to a migration start instruction from a user or the like. Specifically, the migration source server 11-1 creates the same guest OS and virtual disk configuration as the migration source server 11-1 in the migration destination server 11-2, and each virtual disk of the migration source server 11-1 Is associated with each virtual disk of the migration destination server.
 図5の例では、移行元サーバ11-1の"ゲストOS1"に割り当てられた移行元仮想ディスク"a1"に対応させて、移行先サーバ11-2の"ゲストOS1"に仮想先仮想ディスク"b1"が割り当てられる。また、同様に、"ゲストOS2"については、移行元仮想ディスク"a2"に対して移行先仮想ディスク"b2"が割り当てられ、"ゲストOS3"については、移行元仮想ディスク"a3"に対して移行先仮想ディスク"b3"が割り当てられる。なお、"a1"と"b1"、"a2"と"b2"、"a3"と"b3"は、例えば同一の論理アドレスの構成を有する。 In the example of FIG. 5, in correspondence with the migration source virtual disk “a1” assigned to “guest OS1” of the migration source server 11-1, “virtual destination virtual disk” is assigned to “guest OS1” of the migration destination server 11-2. b1 "is assigned. Similarly, for “guest OS2”, the migration destination virtual disk “b2” is assigned to the migration source virtual disk “a2”, and for “guest OS3”, the migration source virtual disk “a3” is assigned. The migration destination virtual disk “b3” is allocated. “A1” and “b1”, “a2” and “b2”, “a3” and “b3” have, for example, the same logical address configuration.
 次に、移行元サーバ11-1の管理OS21-1は、移行元サーバ11-1の全仮想ディスクが記憶している全論理アドレスの一覧となる移行済み領域管理テーブル24を作成する。このとき、「移行済みフラグ」は、全て"0"(未移行)で初期化する。また、論理アドレスに対応するデータがコピー等により移行された場合には、その論理アドレスの「移行済みフラグ」に"1"(移行済み)をセットする。 Next, the management OS 21-1 of the migration source server 11-1 creates a migrated area management table 24 that is a list of all logical addresses stored in all virtual disks of the migration source server 11-1. At this time, all “migrated flags” are initialized with “0” (not migrated). When data corresponding to a logical address is migrated by copying or the like, “1” (migrated) is set in the “migrated flag” of the logical address.
 図6の例では、移行先サーバ11-2の仮想ディスク情報"b1"~"b3"に対する各論理アドレスに対して移行済みフラグがセットされる。したがって、図6の例では、例えば移行先仮想ディスク"b1"の論理アドレス"0"、"1"に記憶されたデータが移行済みであり、論理アドレス"2"に記憶されたデータが未移行であることを示している。 In the example of FIG. 6, the migrated flag is set for each logical address for the virtual disk information “b1” to “b3” of the migration destination server 11-2. Therefore, in the example of FIG. 6, for example, the data stored in the logical addresses “0” and “1” of the migration destination virtual disk “b1” has been migrated, and the data stored in the logical address “2” has not been migrated. It is shown that.
 また、移行元サーバ11-1の管理OS21-1は、上述した各種管理テーブルを移行先サーバ11-2へコピーし、移行先サーバ11-2の管理OS21-2において、各種管理テーブルの参照や更新等を行う。 In addition, the management OS 21-1 of the migration source server 11-1 copies the various management tables described above to the migration destination server 11-2, and the management OS 21-2 of the migration destination server 11-2 refers to the various management tables. Update and so on.
 <S03:仮想メモリ移行処理>
 次に、上述した仮想メモリ移行処理について、具体的に説明する。図7は、仮想メモリ移行処理の一例を示すフローチャートである。
<S03: Virtual memory migration process>
Next, the virtual memory migration process described above will be specifically described. FIG. 7 is a flowchart illustrating an example of the virtual memory migration process.
 仮想メモリ移行処理では、移行元サーバ11-1のゲストOS22-1で使用している仮想メモリ41-1の内容を、移行先サーバ11-2のゲストOS22-2で使用する仮想メモリへ移行する。このとき、移行先サーバ11-2のゲストOS22-2は、移行元サーバ11-1のゲストOS22-1が使用している仮想メモリ41-1の内容のみでは、例えばハードウェア固有の情報等が異なるため起動することができない。 In the virtual memory migration process, the contents of the virtual memory 41-1 used by the guest OS 22-1 of the migration source server 11-1 are migrated to the virtual memory used by the guest OS 22-2 of the migration destination server 11-2. . At this time, the guest OS 22-2 of the migration destination server 11-2 has, for example, hardware-specific information only with the contents of the virtual memory 41-1 used by the guest OS 22-1 of the migration source server 11-1. Cannot start because of differences.
 そこで、図7の例に示す仮想メモリ移行処理は、まず移行先サーバ11-2のゲストOS22-2を新規に起動する(S11)。その後、仮想メモリ移行処理は、移行先サーバ11-2のゲストOS22-2をサスペンド(一時停止)して、ゲストOS22-2のメモリアクセス等を停止する(S12)。 Therefore, in the virtual memory migration process shown in the example of FIG. 7, first, the guest OS 22-2 of the migration destination server 11-2 is newly activated (S11). Thereafter, in the virtual memory migration process, the guest OS 22-2 of the migration destination server 11-2 is suspended (temporarily stopped), and memory access and the like of the guest OS 22-2 are stopped (S12).
 次に、仮想メモリ移行処理は、移行元ゲストOS22-1の仮想メモリ41-1を移行先ゲストOS22-2の仮想メモリ41-2へコピーする(S13)。また、コピーによる移行完了後、仮想メモリ移行処理は、移行先サーバ11-2のゲストOS22-2をレジューム(再開)し(S14)、移行元サーバ11-1のゲストOS22-1を停止する(S15)。なお、S14の処理では、移行先サーバのゲストOSを再起動させてもよい。 Next, in the virtual memory migration process, the virtual memory 41-1 of the migration source guest OS 22-1 is copied to the virtual memory 41-2 of the migration destination guest OS 22-2 (S13). After the migration by copying, the virtual memory migration process resumes (restarts) the guest OS 22-2 of the migration destination server 11-2 (S14) and stops the guest OS 22-1 of the migration source server 11-1 ( S15). In the process of S14, the guest OS of the migration destination server may be restarted.
 これにより、仮想メモリ移行処理は、コピーによる移行完了後、サスペンドしていた移行先サーバ11-2のゲストOS22-2をレジュームすることで、以降の業務処理を移行先サーバ11-2へ切り替えることができる。 As a result, the virtual memory migration process switches the subsequent business process to the migration destination server 11-2 by resuming the suspended guest OS 22-2 of the migration destination server 11-2 after completion of the migration by copying. Can do.
 <S05:仮想ディスク移行処理>
 次に、上述した仮想ディスク移行処理について、具体的に説明する。図8は、仮想ディスク移行処理の一例を示すフローチャートである。
<S05: Virtual disk migration process>
Next, the virtual disk migration process described above will be specifically described. FIG. 8 is a flowchart illustrating an example of the virtual disk migration process.
 仮想ディスク移行処理において、ゲストOSが稼動しているサーバは、移行先サーバ11-2である。また、処理開始時点では、仮想ディスクの移行が未実施であるため、仮想ディスクは空の状態である。 In the virtual disk migration process, the server on which the guest OS is operating is the migration destination server 11-2. Further, since the virtual disk has not been migrated at the start of processing, the virtual disk is empty.
 本実施形態における仮想ディスク移行処理では、実際の業務処理において仮想ディスクに対する入出力(READ又はWRITE)処理を行う場合に、まず移行元サーバ11-1の仮想ディスクからデータを読み出す(READ処理)。また、仮想ディスク移行処理では、読み出したデータを移行先サーバ11-2の仮想ディスクに書き込む(WRITE処理)。つまり、本実施形態では、実際の業務処理で必要になったデータを読み込む際に、同時に移行先へのデータの移行を行う。これにより、本実施形態では、業務処理と移行処理とで同じデータを2回読み込む必要がなくなるため、データアクセスによる負荷は半分に軽減されることになる。 In the virtual disk migration process in the present embodiment, when an input / output (READ or WRITE) process is performed on a virtual disk in an actual business process, data is first read from the virtual disk of the migration source server 11-1 (READ process). In the virtual disk migration process, the read data is written to the virtual disk of the migration destination server 11-2 (WRITE process). In other words, in the present embodiment, when data necessary for actual business processing is read, data is migrated to the migration destination at the same time. As a result, in this embodiment, it is not necessary to read the same data twice in the business process and the migration process, so the load due to data access is reduced by half.
 具体的には、図8の例に示す仮想ディスク移行処理は、業務稼働における各種の業務処理等において、例えばREAD命令による仮想ディスクのREAD処理(読み込み処理)が発生したか否かを判断する(S21)。仮想ディスク移行処理は、仮想ディスクのREAD処理が発生していない場合(S21において、NO)、例えばWRITE命令による仮想ディスクへのWRITE処理(書き込み処理)が発生したと判断し、移行先サーバ11-2の仮想ディスクにデータを書き込む(S22)。また、仮想ディスク移行処理は、書き込んだ論理アドレスに対応させて、更新処理として、移行済み領域管理テーブル24の当該論理アドレスの移行済みフラグに"1"(移行済み)をセットする(S23)。 Specifically, the virtual disk migration process shown in the example of FIG. 8 determines whether or not a virtual disk READ process (read process) by a READ command has occurred in various business processes in a business operation (see FIG. 8). S21). In the virtual disk migration process, when the READ process of the virtual disk has not occurred (NO in S21), for example, it is determined that the WRITE process (write process) to the virtual disk by the WRITE command has occurred, and the migration destination server 11- Data is written to the second virtual disk (S22). In the virtual disk migration process, “1” (migrated) is set in the migrated flag for the logical address in the migrated area management table 24 as an update process in association with the written logical address (S23).
 一方、仮想ディスク移行処理は、S21の処理において、READ処理が発生した場合(S21において、YES)、移行済み領域管理テーブル24の移行済みフラグを参照する(S24)。また、仮想ディスク移行処理は、移行済みフラグから、読み込む対象の論理アドレスのデータが移行済みであるか否かを判断する(S25)。 On the other hand, the virtual disk migration process refers to the migrated flag in the migrated area management table 24 when the READ process occurs in the process of S21 (YES in S21) (S24). In the virtual disk migration process, it is determined from the migrated flag whether the data of the logical address to be read has been migrated (S25).
 なお、READ処理では、読み込む対象のデータが格納されたボリューム(仮想ディスク)名や1又は複数の論理アドレス等が指定されるが、移行元と移行先の仮想ディスク名は同一ではない(例えば、"a1"と"b1")。 In the READ process, the name of the volume (virtual disk) storing the data to be read and one or more logical addresses are specified, but the migration source and migration destination virtual disk names are not the same (for example, “a1” and “b1”).
 したがって、本実施形態では、まずREAD命令に含まれる対象の仮想ディスクに対して、ボリューム管理テーブル23を参照し、対象の仮想ディスク情報を移行先仮想ディスクに変換する。また、本実施形態では、変換した移行先仮想ディスクの論理アドレスに対して移行済みであるか否かを判断する。 Therefore, in this embodiment, first, the target virtual disk included in the READ command is referred to the volume management table 23 to convert the target virtual disk information into the migration destination virtual disk. In this embodiment, it is determined whether or not the logical address of the converted migration destination virtual disk has been migrated.
 ここで、仮想ディスク移行処理は、移行済みでない場合(S25において、NO)、移行元サーバ11-1の仮想ディスクから対象のデータを読み込み(S26)、読み込んだデータを移行先サーバ11-2のゲストOS22-2に送る(S27)。 Here, in the virtual disk migration process, if migration has not been completed (NO in S25), the target data is read from the virtual disk of the migration source server 11-1 (S26), and the read data is transferred to the migration destination server 11-2. It is sent to the guest OS 22-2 (S27).
 次に、仮想ディスク移行処理は、移行先サーバ11-2の仮想ディスクにデータを書き込み(S28)、更新処理として、移行済み領域管理テーブル24に含まれる移行対象の論理アドレスの「移行済みフラグ」に"1"(移行済み)をセットする(S29)。また、仮想ディスク移行処理は、上述したS25の処理において、移行済みである場合(S25において、YES)、移行先サーバ11-2の仮想ディスクから対象のデータを読み込む(S30)。 Next, in the virtual disk migration process, data is written to the virtual disk of the migration destination server 11-2 (S28), and as the update process, the “migrated flag” of the migration target logical address included in the migrated area management table 24 "1" (transferred) is set in (S29). In the virtual disk migration process, if the migration has been completed in the above-described process of S25 (YES in S25), the target data is read from the virtual disk of the migration destination server 11-2 (S30).
 ここで、仮想ディスク移行処理は、S23、S29、又はS30の処理が終了後、所定の業務処理が終了したか否かを判断する(S31)。なお、所定の業務処理とは、例えば読み込んだデータに対して入出力処理以外のコマンド等により実行される他の処理であってもよく、他の論理アドレスのデータに対する入出力処理であってもよいが、これに限定されるものではない。 Here, in the virtual disk migration process, after the process of S23, S29, or S30 is completed, it is determined whether or not a predetermined business process has been completed (S31). The predetermined business process may be, for example, another process executed by a command other than the input / output process for the read data, or may be an input / output process for data at another logical address. Although it is good, it is not limited to this.
 仮想ディスク移行処理は、所定の業務処理が終了していない場合(S31において、NO)、S21に戻る。また、仮想ディスク移行処理は、所定の業務処理が終了した場合(S31において、YES)、仮想ディスク移行処理を終了する。 The virtual disk migration process returns to S21 if the predetermined business process has not been completed (NO in S31). Further, in the virtual disk migration process, when the predetermined job process is completed (YES in S31), the virtual disk migration process is terminated.
 つまり、仮想ディスク移行処理は、業務処理等におけるREAD対象の論理アドレスが移行済みである場合には、移行先サーバ11-2の仮想ディスクからデータを読み込む。また、仮想ディスク移行処理は、未移行であれば移行元サーバ11-1の仮想ディスクからデータを読み込む処理を実行する。その後、移行元サーバ11-1より読み込んだデータを移行先サーバ11-2の仮想ディスクに書き込み、更新処理として、移行済み領域管理テーブルの当該論理アドレスの移行済みフラグに"1"(移行済み)をセットする。 That is, the virtual disk migration process reads data from the virtual disk of the migration destination server 11-2 when the logical address to be read in the business process has been migrated. In the virtual disk migration process, if data has not been migrated, a process of reading data from the virtual disk of the migration source server 11-1 is executed. Thereafter, the data read from the migration source server 11-1 is written to the virtual disk of the migration destination server 11-2, and “1” (migrated) is set in the migrated flag of the logical address in the migrated area management table as an update process. Set.
 なお、上述の処理では、論理アドレスの構成を移行元と移行先とで同一にしているが、これに限定されるものではなく、例えば異なる論理アドレスの構成とすることもできる。その場合には、例えば図5に示すボリューム管理テーブル23を拡張させて、各仮想ディスクの論理アドレスについても移行元と移行先とで対応関係を管理しておくことで、論理アドレスについても変換して処理することができる。 In the above-described processing, the configuration of the logical address is the same between the migration source and the migration destination. However, the configuration is not limited to this. For example, the configuration of different logical addresses may be used. In that case, for example, by expanding the volume management table 23 shown in FIG. 5 and managing the correspondence between the logical address of each virtual disk between the migration source and the migration destination, the logical address is also converted. Can be processed.
 <S07:負荷チェック処理>
 次に、上述した負荷チェック処理について、具体的に説明する。図9は、負荷チェック処理の一例を示すフローチャートである。
<S07: Load check processing>
Next, the load check process described above will be specifically described. FIG. 9 is a flowchart illustrating an example of the load check process.
 本実施形態では、業務処理等における仮想ディスクの入出力処理に伴い、仮想ディスク内データの移行処理を実行する。しかしながら、仮想ディスクの入出力処理の発生頻度が低かったり、業務処理では全く使用されないデータも存在する。そのような場合に、本実施形態では、ネットワーク、ディスクの負荷状態を確認し、その結果に基づいてデータの移行処理を行う。 In this embodiment, data migration processing in the virtual disk is executed in accordance with the virtual disk input / output processing in the business process or the like. However, there are some types of data that are not used in business processing at all or the frequency of virtual disk input / output processing is low. In such a case, in the present embodiment, the load state of the network and the disk is confirmed, and data migration processing is performed based on the result.
 例えば、本実施形態における負荷チェック処理では、負荷が予め設定された閾値よりも低ければ移行済み領域管理テーブル24を参照する。また、負荷チェック処理では、移行済み領域管理テーブル24の移行済みフラグが"0"(未移行)である論理アドレスのデータを一定サイズ毎に移行元サーバ11-1の仮想ディスクからコピーして移行を行う。 For example, in the load check process in the present embodiment, the migrated area management table 24 is referred to when the load is lower than a preset threshold value. In the load check process, the data of the logical address whose migrated flag in the migrated area management table 24 is “0” (not migrated) is copied from the virtual disk of the migration source server 11-1 for each fixed size and migrated. I do.
 具体的には、図9の例に示す負荷チェック処理は、ネットワーク負荷が高いか否かを判断する(S41)。なお、ネットワーク負荷とは、例えば移行元サーバ11-1と移行先サーバ11-2とを接続する通信ネットワーク12に対するネットワーク負荷を含む。また、ネットワーク負荷は、例えば通信ネットワーク12において、データの送受信の状況を単位時間毎にキャプチャすることで取得することができる。また、別の例として、ネットワーク負荷は、例えば移行元サーバ11-1から移行先サーバ11-2に対して所定のパケットを送信し、その回答を受信したときの時間等から負荷を取得することができるが、これに限定されるものではない。 Specifically, the load check process shown in the example of FIG. 9 determines whether or not the network load is high (S41). The network load includes, for example, the network load on the communication network 12 that connects the migration source server 11-1 and the migration destination server 11-2. Further, the network load can be acquired by capturing the data transmission / reception status every unit time in the communication network 12, for example. As another example, the network load is acquired from, for example, the time when a predetermined packet is transmitted from the migration source server 11-1 to the migration destination server 11-2 and the response is received. However, it is not limited to this.
 更に、ネットワーク負荷が高いか否かの判断は、例えばチェックしたネットワーク負荷が予め設定された閾値(第1の閾値)よりも高いか否かにより判断することができる。 Furthermore, whether or not the network load is high can be determined based on, for example, whether or not the checked network load is higher than a preset threshold (first threshold).
 負荷チェック処理は、ネットワーク負荷が高くない場合(S41において、NO)、次に移行先サーバ11-2のディスク負荷が高いか否かを判断する(S42)。なお、ディスク負荷は、例えばディスク使用率やディスクに対する入出力処理(READ処理やWRITE処理)の頻度等により取得することができるが、これに限定されるものではない。 In the load check process, when the network load is not high (NO in S41), it is next determined whether or not the disk load of the migration destination server 11-2 is high (S42). The disk load can be acquired by, for example, the disk usage rate or the frequency of input / output processing (READ processing or WRITE processing) for the disk, but is not limited thereto.
 また、ディスク負荷が高いか否かの判断は、例えばチェックしたディスク負荷が予め設定された閾値(第2の閾値)よりも高いか否かにより判断することができる。 Further, whether or not the disk load is high can be determined based on, for example, whether or not the checked disk load is higher than a preset threshold (second threshold).
 負荷チェック処理は、ディスク負荷が高くない場合(S42において、NO)、移行済み領域管理テーブル24内か未移行分の領域(論理アドレス)を取得する(S43)。また、負荷チェック処理は、移行元サーバ11-1の仮想ディスクから未移行分のデータを、一定サイズのデータ単位で移行先の仮想ディスクへ送信する(S44)。 In the load check process, if the disk load is not high (NO in S42), an area (logical address) in the migrated area management table 24 or not migrated is acquired (S43). In the load check process, the unmigrated data from the virtual disk of the migration source server 11-1 is transmitted to the migration destination virtual disk in units of a fixed size (S44).
 ここで、負荷チェック処理は、S41の処理において、ネットワーク負荷が高い場合(S41において、YES)、又はS42の処理において、ディスク負荷が高い場合(S42において、YES)、負荷チェック処理を終了する。 Here, in the load check process, if the network load is high in the process of S41 (YES in S41), or if the disk load is high in the process of S42 (YES in S42), the load check process ends.
 図10は、負荷チェック処理の具体例を説明するための図である。なお、図10の例では、移行元サーバ11-1に管理OS21-1及びゲストOS22-1を有し、移行先サーバ11-2に管理OS21-2及びゲストOS22-2を有している。 FIG. 10 is a diagram for explaining a specific example of the load check process. In the example of FIG. 10, the migration source server 11-1 has a management OS 21-1 and a guest OS 22-1 and the migration destination server 11-2 has a management OS 21-2 and a guest OS 22-2.
 また、図10の例では、それぞれのサーバに対応させて仮想ディスク(例えば"a1"、"b1")が構築され、仮想ディスク内には、論理アドレスが記載されている。図10の例では、移行先サーバ11-2に対する仮想ディスクのうち、論理アドレス0,2,6,8,9が"移行済み"であり、論理アドレス1,3,4,5が"未移行"であることが分かる。 In the example of FIG. 10, virtual disks (for example, “a1” and “b1”) are constructed corresponding to the respective servers, and logical addresses are described in the virtual disks. In the example of FIG. 10, among the virtual disks for the migration destination server 11-2, logical addresses 0, 2, 6, 8, and 9 are “migrated” and logical addresses 1, 3, 4, and 5 are “unmigrated”. "I understand that.
 ここで、本実施形態では、マイグレーション処理の1つとして上述した負荷チェック処理を行った結果、負荷が予め設定された閾値よりも低い場合に、上述した各種管理テーブルを参照し"未移行"の論理アドレス1,3,4,5のうち、1又は複数の論理アドレスのデータを移行する。なお、移行するデータ量は、例えば論理アドレスを基準に予め設定された一定サイズのデータ量であってもよく、負荷チェック結果(負荷率)等に応じて一度に移行するデータ量を設定してもよい。 Here, in the present embodiment, when the load check process described above is performed as one of the migration processes, and the load is lower than a preset threshold value, the above-described various management tables are referred to and "unmigrated" Among the logical addresses 1, 3, 4, and 5, data of one or a plurality of logical addresses is migrated. Note that the amount of data to be transferred may be, for example, a data size of a predetermined size set in advance with reference to a logical address, and the amount of data to be transferred at one time is set according to the load check result (load factor) or the like. Also good.
 <ゲストOSが複数ある場合の移行手順の具体例>
 ここで、本実施形態において、サーバ内にゲストOSが複数存在する場合には、ゲストOS毎に順次マイグレーション処理を実施することになる。この場合には、例えば各ゲストOSが完全にマイグレーションを完了してから、次のゲストOSのマイグレーションを開始してもよく、また複数のゲストOSの移行を並行して実施してもよい。
<Specific example of migration procedure when there are multiple guest OSes>
Here, in the present embodiment, when a plurality of guest OSs exist in the server, the migration process is sequentially performed for each guest OS. In this case, for example, after each guest OS completes the migration, the migration of the next guest OS may be started, or a plurality of guest OSs may be migrated in parallel.
 ただし、複数のゲストOSで実施される業務処理の内容等に関連性があり、各ゲストOSで処理している業務の停止順序を考慮する必要がある。例えば、最初のゲストOSで集計処理を行い、次のゲストOSで、その集計結果に基づいて課金処理を行うような場合である。 However, there are relevance to the contents of the business processes executed by a plurality of guest OSes, and it is necessary to consider the order of stopping the processes being processed by each guest OS. For example, there is a case where the aggregation processing is performed by the first guest OS and the accounting processing is performed by the next guest OS based on the aggregation result.
 このような場合には、業務処理等の関連性に基づいて、単一ゲストOSのマイグレーション処理を開始する。また、本実施形態では、単一ゲストOSのマイグレーション処理の実行中において、例えば上述した「仮想メモリ移行処理」や「仮想ディスク移行処理」が終了したタイミングで、次のゲストOSのマイグレーション処理を開始するようにしてもよい。 In such a case, the migration processing of a single guest OS is started based on the relevance of business processing or the like. In this embodiment, the migration process of the next guest OS is started, for example, at the timing when the above-mentioned “virtual memory migration process” or “virtual disk migration process” is completed during the migration process of a single guest OS. You may make it do.
 また、移行順序については、例えばユーザが各ゲストOSにて処理させている業務の性質に基づき、ユーザ等が手動にて複数ゲストOSの移行順序を指定することもできる。指定された各情報は、マイグレーション設定情報として例えば記憶手段58等に記憶され、マイグレーション処理において必要となった場合に使用される。 As for the migration order, for example, the user can manually designate the migration order of a plurality of guest OSs based on the nature of the business that the user is processing in each guest OS. Each piece of designated information is stored as migration setting information in the storage means 58, for example, and is used when necessary in the migration process.
 なお、上述した「仮想ディスク移行処理」、「負荷チェック処理」においては、各ゲストOSがそれぞれ同時に実行することができ、全ゲストOSの仮想ディスクの移行が完了した時点でマイグレーション処理が終了となる。また、マイグレーション処理全体及び各ゲストOSの移行処理の実行経過等については、上述したマイグレーション管理手段51にて管理される。 In the above-described “virtual disk migration process” and “load check process”, each guest OS can be executed simultaneously, and the migration process ends when the migration of the virtual disks of all guest OSs is completed. . Further, the entire migration process and the progress of the migration process of each guest OS are managed by the migration management means 51 described above.
 つまり、本実施形態におけるマイグレーション処理では、ユーザ等により指定された順序や条件に基づいて、各ゲストOSのマイグレーション処理を実施することができる。 That is, in the migration process in this embodiment, the migration process of each guest OS can be performed based on the order and conditions specified by the user or the like.
 また、本実施形態では、移行対象のゲストOSについては、マイグレーション実施時には、必ず全ゲストドメインを移行する必要はなく、特定ドメインのみ移行させることも可能である。本実施形態におけるマイグレーション開始コマンド(付加パラメータ)は、例えば全ゲストOSで同時移行をする場合には、パラメータは必要ない。また、全ゲストOSで順序を指定する場合には、順序指定を有効とするパラメータと、全ゲストOS毎に割り振られている識別情報(例えば、ゲストOS情報)を移行順序で列挙し、その情報をパラメータに用いる。 Further, in the present embodiment, for the migration target guest OS, it is not always necessary to migrate all guest domains at the time of migration, and only a specific domain can be migrated. The migration start command (additional parameter) in this embodiment does not require a parameter, for example, when performing simultaneous migration in all guest OSes. Further, when the order is specified for all guest OSes, the parameters for enabling the order specification and the identification information (for example, guest OS information) allocated to each guest OS are listed in the order of migration, and the information Is used as a parameter.
 また、特定ゲストOSのみを同時移行させる場合には、対象ゲストOS情報を順不同で列挙し、その情報をパラメータに用いる。また、特定ゲストOSのみを順序指定して移行させる場合には、順序指定を有効にするパラメータと、対象ゲストOS情報を所定の移行順序で列挙し、その情報をパラメータに用いる。 Also, when only a specific guest OS is migrated at the same time, the target guest OS information is listed in random order and the information is used as a parameter. When only a specific guest OS is designated and migrated, parameters for validating the order designation and target guest OS information are listed in a predetermined migration order, and the information is used as a parameter.
 なお、移行処理は、仮想ディスクの論理アドレス単位で行ってもよく、予め設定された複数の論理アドレスからなるブロック単位で行ってもよい。また、業務処理において、仮想ディスクに含まれる論理アドレスのうち、一部の論理アドレスのREAD、WRITE処理が所定の期間又は1回しか行われない場合がある。このような場合には、いつまでも全論理アドレスの情報を移行することができない。そこで、本実施形態では、例えば全論理アドレスの95%以上等の所定値以上の移行が完了したときに移動が完了したとしてもよい。 Note that the migration process may be performed in units of logical addresses of the virtual disk, or may be performed in units of blocks including a plurality of preset logical addresses. Further, in the business process, the READ and WRITE processes for some of the logical addresses included in the virtual disk may be performed only for a predetermined period or once. In such a case, information of all logical addresses cannot be migrated indefinitely. Therefore, in the present embodiment, the movement may be completed when the migration of a predetermined value or more such as 95% or more of all logical addresses is completed.
 ここで、上述した実施形態では、第1の情報処理装置の一例としての移行元サーバ11-1から第2の情報処理装置の一例としての移行元サーバ11-2へ仮想マシン等の移行制御処理について説明したが、これに限定されるものではない。例えば、本実施形態では、移行元サーバ11-1及び移行先サーバ11-2を、特定の物理パーティション等により区切られたCPU群と置き換え、第1のCPU群(第1の処理装置)から第2のCPU群(第2の処理装置)に移行する処理にも適用することができる。この場合には、上述した情報処理システム10は、1つの情報処理装置として扱うことができる。また、仮想ディスクは、システムボリューム内ある区切られた領域として置き換えることができ、通信ネットワーク12は、情報処理装置内部のバスとして置き換えることができる。 Here, in the above-described embodiment, migration control processing of a virtual machine or the like from the migration source server 11-1 as an example of the first information processing apparatus to the migration source server 11-2 as an example of the second information processing apparatus However, the present invention is not limited to this. For example, in this embodiment, the migration source server 11-1 and the migration destination server 11-2 are replaced with a CPU group partitioned by a specific physical partition or the like, and the first CPU group (first processing device) is changed to the first one. The present invention can also be applied to processing that shifts to the second CPU group (second processing device). In this case, the information processing system 10 described above can be handled as one information processing apparatus. Further, the virtual disk can be replaced as a delimited area in the system volume, and the communication network 12 can be replaced as a bus inside the information processing apparatus.
 上述したように、本実施形態によれば、仮想マシン等の移行時の負荷を軽減することができる。具体的には、本実施形態によれば、サーバ及びネットワークに大きな負荷をかけないで仮想マシンの移行を実現することが可能となる。また、ライブマイグレーションを行う際のネットワークの負荷を軽減し、例えば業務稼働における各種業務処理に影響を及ぼさないようにすることができる。 As described above, according to this embodiment, it is possible to reduce the load at the time of migration of a virtual machine or the like. Specifically, according to the present embodiment, it is possible to realize migration of a virtual machine without imposing a heavy load on the server and the network. In addition, it is possible to reduce the load on the network when performing live migration so that, for example, various business processes during business operations are not affected.
 これにより、本実施形態では、例えば物理的に距離の離れたサーバ間でのライブマイグレーションを可能とする。また、本実施形態では、移行元サーバの故障時等の場合に、新サーバへの移行を予め複数のサーバを用意することなく、業務処理終了後の全サーバへのデータ反映も必要とせずに、ライブマイグレーション処理を行うことができる。 Thereby, in this embodiment, for example, live migration between servers physically separated from each other is possible. Moreover, in this embodiment, in the case of a failure of the migration source server, without preparing a plurality of servers in advance for migration to the new server, it is not necessary to reflect data on all servers after the completion of business processing. Live migration processing can be performed.
 更に、本実施形態を適用することで、例えば共有ディスクを持たない仮想サーバの移行処理において、仮想ディスクコピー時のネットワークやサーバ等への負荷が長時間かかり続けないで移行を実現することができる。また、本実施形態では、業務処理実行の間のOSイメージへの書き込みデータ(差分データ等)をキャッシュメモリに保持し続けることが不要となるため、更新データ量を考慮した大量のキャッシュメモリを搭載する必要がなくなる。 Furthermore, by applying this embodiment, for example, in a migration process of a virtual server that does not have a shared disk, migration can be realized without taking a long load on the network or server when copying the virtual disk. . In this embodiment, it is not necessary to keep the write data (difference data, etc.) to the OS image during the execution of business processing in the cache memory, so a large amount of cache memory is installed considering the amount of update data No need to do.
 以上、実施例について詳述したが、特定の実施例に限定されるものではなく、特許請求の範囲に記載された範囲内において、種々の変形及び変更が可能である。また、上述した実施例の構成要素を全部又は複数を組み合わせることも可能である。 The embodiment has been described in detail above, but is not limited to the specific embodiment, and various modifications and changes can be made within the scope described in the claims. It is also possible to combine all or a plurality of the constituent elements of the above-described embodiments.
 10 情報処理システム
 11-1 移行元サーバ(第1の情報処理装置)
 11-2 移行先サーバ(第2の情報処理装置)
 12 通信ネットワーク
 13 ディスク装置
 21 管理OS
 22 ゲストOS
 23 ボリューム管理テーブル
 24 移行済み領域管理テーブル
 31 マイグレーションプログラム(移行制御プログラム)
 41 仮想メモリ
 51 マイグレーション管理手段
 52 仮想メモリ移行手段
 53 業務処理制御手段
 54 負荷チェック手段
 55 管理情報更新手段
 56 プログラム実行手段
 57 通信手段
 58 記憶手段
 61 仮想ディスク読み込み制御手段
 62 仮想ディスク書き込み制御手段
 71 入力装置
 72 出力装置
 73 ドライブ装置
 74 補助記憶装置
 75 主記憶装置
 76 Central Processing Unit(CPU)
 77 ネットワーク接続装置
 78 記録手段
10 Information processing system 11-1 Migration source server (first information processing apparatus)
11-2 Migration destination server (second information processing apparatus)
12 Communication network 13 Disk device 21 Management OS
22 Guest OS
23 Volume management table 24 Migrated area management table 31 Migration program (migration control program)
41 Virtual Memory 51 Migration Management Unit 52 Virtual Memory Migration Unit 53 Business Processing Control Unit 54 Load Check Unit 55 Management Information Update Unit 56 Program Execution Unit 57 Communication Unit 58 Storage Unit 61 Virtual Disk Read Control Unit 62 Virtual Disk Write Control Unit 71 Input Device 72 Output device 73 Drive device 74 Auxiliary storage device 75 Main storage device 76 Central Processing Unit (CPU)
77 Network connection device 78 Recording means

Claims (9)

  1.  稼働中の第1の情報処理装置と、前記第1の情報処理装置に通信ネットワークを介して接続された第2の情報処理装置とを有する情報処理システムにおいて、
     移行元である前記第1の情報処理装置から移行先である前記第2の情報処理装置に対し、各ゲストOSの稼動に必要な仮想メモリの移行を行った後、前記第2の情報処理装置での業務稼動に切り替える仮想メモリ移行手段と、
     前記業務稼働における業務処理で仮想ディスク内のデータを読み込む場合に、前記第1の情報処理装置の仮想ディスクに記憶された前記データを読み込み、前記第2の情報処理装置の仮想ディスクへ移行する業務処理制御手段と、を有することを特徴とする情報処理システム。
    In an information processing system having a first information processing apparatus in operation and a second information processing apparatus connected to the first information processing apparatus via a communication network,
    After the migration of virtual memory necessary for the operation of each guest OS from the first information processing apparatus that is the migration source to the second information processing apparatus that is the migration destination, the second information processing apparatus Virtual memory migration means to switch to business operation at
    A task of reading the data stored in the virtual disk of the first information processing apparatus and transferring the data to the virtual disk of the second information processing apparatus when data in the virtual disk is read in the business process in the business operation And an information processing system.
  2.  前記業務処理制御手段は、
     前記業務処理における所定のデータの読み出し命令に対して、前記第2の情報処理装置の前記仮想ディスクに対する移行済み領域を管理する移行済み領域管理テーブルを参照し、前記所定のデータが未だ移行されていない場合に、前記第1の情報処理装置の仮想ディスクから前記所定のデータを読み出して前記第2の情報処理装置の仮想ディスクに移行することを特徴とする請求項1に記載の情報処理システム。
    The business process control means includes:
    In response to a predetermined data read command in the business process, the migrated area management table for managing the migrated area for the virtual disk of the second information processing apparatus is referred to, and the predetermined data is still migrated. 2. The information processing system according to claim 1, wherein if there is not, the predetermined data is read from the virtual disk of the first information processing apparatus and transferred to the virtual disk of the second information processing apparatus.
  3.  前記第2の情報処理装置の前記仮想ディスクに対する移行済み領域の管理は、前記仮想ディスクの論理アドレスに基づいて行われることを特徴とする請求項2に記載の情報処理システム。 3. The information processing system according to claim 2, wherein management of a migrated area for the virtual disk of the second information processing apparatus is performed based on a logical address of the virtual disk.
  4.  前記通信ネットワークに対する負荷及び前記第2の情報処理装置の前記仮想ディスクに対する負荷のうち、少なくとも1つの負荷をチェックし、チェック結果により得られる負荷が予め設定された閾値よりも低い場合に、未だ移行されていないデータを移行する負荷チェック手段を有することを特徴とする請求項1乃至3の何れか1項に記載の情報処理システム。 At least one of the load on the communication network and the load on the virtual disk of the second information processing apparatus is checked, and if the load obtained from the check result is lower than a preset threshold, it is still migrated The information processing system according to any one of claims 1 to 3, further comprising load check means for transferring unprocessed data.
  5.  前記負荷チェック手段は、
     予め設定された業務処理の終了後、所定の時間帯、及び一定の時間間隔のうち、少なくとも1つの条件を満たす場合に、前記通信ネットワークに対する負荷及び前記仮想ディスクに対する負荷のうち、少なくとも1つの負荷をチェックすることを特徴とする請求項4に記載の情報処理装置。
    The load check means includes
    At least one of the load on the communication network and the load on the virtual disk when at least one condition is satisfied in a predetermined time zone and a certain time interval after completion of the preset business process The information processing apparatus according to claim 4, wherein the information processing apparatus is checked.
  6.  前記業務処理制御手段は、
     移行対象のゲストOSが複数存在する場合には、各ゲストOSを並行して、又は所定の順序で移行させることを特徴とする請求項1乃至5の何れか1項に記載の情報処理システム。
    The business process control means includes:
    The information processing system according to any one of claims 1 to 5, wherein when there are a plurality of guest OSs to be migrated, the guest OSs are migrated in parallel or in a predetermined order.
  7.  移行元である稼働中の第1の処理装置から、通信ネットワークにより接続された移行先である第2の処理装置に対し、各ゲストOSの稼動に必要な仮想メモリの移行を行った後、前記第2の情報処理装置での業務稼動に切り替える仮想メモリ移行手段と、
     前記業務稼働における業務処理で仮想ディスク内のデータを読み込む場合に、前記第1の処理装置の仮想ディスクに記憶された前記データを読み込み、前記第2の処理装置の仮想ディスクへ移行する業務処理制御手段と、を有することを特徴とする情報処理装置。
    After migrating the virtual memory necessary for the operation of each guest OS from the operating first processing device that is the migration source to the second processing device that is the migration destination connected by the communication network, Virtual memory migration means for switching to business operation in the second information processing apparatus;
    Business process control for reading the data stored in the virtual disk of the first processing apparatus and migrating to the virtual disk of the second processing apparatus when data in the virtual disk is read in the business process in the business operation And an information processing apparatus.
  8.  移行元である稼働中の第1の情報処理装置から、通信ネットワークにより接続された移行先である第2の情報処理装置に対し、各ゲストOSの稼動に必要な仮想メモリの移行を行った後、前記第2の情報処理装置での業務稼動に切り替え、
     前記業務稼働における業務処理で仮想ディスク内のデータを読み込む場合に、前記第1の情報処理装置の仮想ディスクに記憶された前記データを読み込み、前記第2の情報処理装置の仮想ディスクへ移行する、処理をコンピュータに実行させる移行制御プログラム。
    After migrating virtual memory required for the operation of each guest OS from the first operating information processing apparatus that is the migration source to the second information processing apparatus that is the migration destination connected via the communication network , Switch to business operation in the second information processing device,
    When reading data in a virtual disk in a business process in the business operation, the data stored in the virtual disk of the first information processing apparatus is read and transferred to the virtual disk of the second information processing apparatus; A migration control program that causes a computer to execute processing.
  9.  移行元である稼働中の第1の処理装置から、通信ネットワークにより接続された移行先である第2の処理装置に対し、各ゲストOSの稼動に必要な仮想メモリの移行を行った後、前記第2の情報処理装置での業務稼動に切り替える仮想メモリ移行ステップと、
     前記業務稼働における業務処理で仮想ディスク内のデータを読み込む場合に、前記第1の処理装置の仮想ディスクに記憶された前記データを読み込み、前記第2の処理装置の仮想ディスクへ移行する仮想ディスク移行ステップと、を有することを特徴とする移行制御方法。
    After migrating the virtual memory necessary for the operation of each guest OS from the operating first processing device that is the migration source to the second processing device that is the migration destination connected by the communication network, A virtual memory migration step of switching to business operation in the second information processing apparatus;
    Virtual disk migration that reads the data stored in the virtual disk of the first processing device and migrates to the virtual disk of the second processing device when reading data in the virtual disk in business processing in the business operation And a transition control method comprising: steps.
PCT/JP2012/073500 2012-09-13 2012-09-13 Information processing system, information processing device, transition control program and transition control method WO2014041664A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/073500 WO2014041664A1 (en) 2012-09-13 2012-09-13 Information processing system, information processing device, transition control program and transition control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/073500 WO2014041664A1 (en) 2012-09-13 2012-09-13 Information processing system, information processing device, transition control program and transition control method

Publications (1)

Publication Number Publication Date
WO2014041664A1 true WO2014041664A1 (en) 2014-03-20

Family

ID=50277817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/073500 WO2014041664A1 (en) 2012-09-13 2012-09-13 Information processing system, information processing device, transition control program and transition control method

Country Status (1)

Country Link
WO (1) WO2014041664A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016134142A (en) * 2015-01-22 2016-07-25 国立大学法人 東京大学 Information processing device and program
CN113849476A (en) * 2020-06-28 2021-12-28 中兴通讯股份有限公司 Data migration method and device, network equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004246702A (en) * 2003-02-14 2004-09-02 Toshiba Corp Computer system, computer apparatus, and data access method and program in computer system
JP2005258789A (en) * 2004-03-11 2005-09-22 Toshiba Solutions Corp Storage device, storage controller, and write back cache control method
JP2011138184A (en) * 2009-12-25 2011-07-14 Fujitsu Ltd Virtual machine migration control apparatus, virtual machine migration control method, and virtual machine migration control program
JP2012088808A (en) * 2010-10-15 2012-05-10 Fujitsu Ltd Virtual machine control device, virtual machine control program and virtual machine control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004246702A (en) * 2003-02-14 2004-09-02 Toshiba Corp Computer system, computer apparatus, and data access method and program in computer system
JP2005258789A (en) * 2004-03-11 2005-09-22 Toshiba Solutions Corp Storage device, storage controller, and write back cache control method
JP2011138184A (en) * 2009-12-25 2011-07-14 Fujitsu Ltd Virtual machine migration control apparatus, virtual machine migration control method, and virtual machine migration control program
JP2012088808A (en) * 2010-10-15 2012-05-10 Fujitsu Ltd Virtual machine control device, virtual machine control program and virtual machine control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016134142A (en) * 2015-01-22 2016-07-25 国立大学法人 東京大学 Information processing device and program
CN113849476A (en) * 2020-06-28 2021-12-28 中兴通讯股份有限公司 Data migration method and device, network equipment and storage medium

Similar Documents

Publication Publication Date Title
US20220179701A1 (en) System and method for dynamic data protection architecture
US8875133B2 (en) Migration of virtual machines
US10817333B2 (en) Managing memory in devices that host virtual machines and have shared memory
US9588787B2 (en) Runtime virtual process creation for load sharing
US8019962B2 (en) System and method for tracking the memory state of a migrating logical partition
JP5600361B2 (en) Hypervisor-based server duplication system, method thereof, and recording medium on which server duplication computer program is recorded
JP5692065B2 (en) High-speed migration system and management device for virtual device in computer system, method and program therefor
US7979869B2 (en) Method and system for performing I/O operations using a hypervisor
US8140822B2 (en) System and method for maintaining page tables used during a logical partition migration
US20150281336A1 (en) Distributable computational units in a continuous computing fabric environment
US10289564B2 (en) Computer and memory region management method
US20150227321A1 (en) Managing virtual hard disk snapshots
US20160266938A1 (en) Load balancing function deploying method and apparatus
JP2008225546A (en) Virtual device configuration system and its method
JP2007510198A (en) Paravirtualization of computer systems using hypervisors implemented in host system partitions
JP2010147929A (en) Address allocation method, computer, and program
CN112148421A (en) Virtual machine migration method and device
CN113196237A (en) Container migration in a computing system
WO2012155555A1 (en) Method and system for running multiple virtual machines
JP5444104B2 (en) Storage means management method, virtual computer system, and program
WO2021018267A1 (en) Live migration method for virtual machine and communication device
JP5966466B2 (en) Backup control method and information processing apparatus
WO2014041664A1 (en) Information processing system, information processing device, transition control program and transition control method
JP2015138385A (en) Decentralized processing system and decentralized processing method
US20220179750A1 (en) System and method for intent based data protection

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12884522

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12884522

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP