JP2009230586A - Database management system - Google Patents

Database management system Download PDF

Info

Publication number
JP2009230586A
JP2009230586A JP2008076866A JP2008076866A JP2009230586A JP 2009230586 A JP2009230586 A JP 2009230586A JP 2008076866 A JP2008076866 A JP 2008076866A JP 2008076866 A JP2008076866 A JP 2008076866A JP 2009230586 A JP2009230586 A JP 2009230586A
Authority
JP
Japan
Prior art keywords
current
new
database
day
disk device
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.)
Withdrawn
Application number
JP2008076866A
Other languages
Japanese (ja)
Inventor
Kei Nagamoto
慧 長本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Systems and Services Ltd
Original Assignee
Hitachi Systems and Services Ltd
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 Hitachi Systems and Services Ltd filed Critical Hitachi Systems and Services Ltd
Priority to JP2008076866A priority Critical patent/JP2009230586A/en
Publication of JP2009230586A publication Critical patent/JP2009230586A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a system which migrates a large-scale database between new and old servers without changing and stopping client business hours. <P>SOLUTION: On the first day in a migration period, client business operations can be performed by using three-generation backup both during a present operating time and during migration by disk copy between housings. On a client business operation day in the migration period, a mode is changed to a difference management mode, and updated data up to the finished client business operations in the migration period are migrated by a differential copy, and the migration of large-scale data is gradually executed without changing and stopping the client business operations. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、データベースの移行を管理するデータベース管理システムに関する。   The present invention relates to a database management system that manages database migration.

従来、新旧サーバ間で大規模データベース(DB)の移行を行なう方法としては、現行DBから論理データを抽出し、新規DBへロードする方法が知られている。この方法によれば、ユーティリティツールの仕様上、論理データ移行となるために、非常に時間が掛かるという問題があった。また、ディスクイメージコピー等を使用し、物理データ移行を実施する場合でも、リプレースを伴う移行の場合は筐体間コピーを実施することになり、筐体間コピーは筐体内イメージコピーに比べ速度が遅いという問題がある。ディスクイメージコピーは、ストレージ装置を差分管理モードと未管理モードとして実施することができ、前者は差分管理モードとなった時点からコピー実施までの間に生じた更新分データのみをコピー対象とすることで、コピー量を大幅に減らすことができるが、その特性上、移行に有効利用するためには段階的な移行方式を計画する必要が生じる。段階的移行方式を計画せず、現行大規模データを移行後業務開始の前日に筐体間コピーで一括移行しようとすると、顧客業務停止時間に一回で移行が行えず、顧客業務時間の調整が必要になってしまうことがままある。
特開2002−366309号公報
Conventionally, as a method of transferring a large-scale database (DB) between old and new servers, a method of extracting logical data from the current DB and loading it into the new DB is known. According to this method, there is a problem that it takes a very long time due to the logical data migration due to the specification of the utility tool. In addition, even when physical data migration is performed using disk image copy, etc., when migration is performed with replacement, inter-box copying is performed, and inter-box copying is faster than intra-box copying. There is a problem of being slow. Disk image copy can be performed with the storage device in differential management mode and unmanaged mode, and the former only copies data that has been updated between the time when the differential management mode was entered and the execution of the copy. Thus, the copy amount can be greatly reduced, but due to its characteristics, it is necessary to plan a stepwise migration method in order to make effective use of the migration. If you plan to migrate the current large-scale data by copying between cabinets on the day before the start of business after the migration without planning a gradual migration method, you will not be able to make a single migration during the customer business downtime and adjust the customer business hours. May still be necessary.
JP 2002-366309 A

本発明の目的は、顧客業務時間の調整を行うことなく、大規模データベースの高速な移行を可能にする移行方式を提供することにある。   An object of the present invention is to provide a migration method that enables high-speed migration of a large-scale database without adjusting customer business hours.

本発明は、DBMS(Database Management System、データベース管理システム)のDB定義送出コマンド、DB領域情報送出コマンド、ストレージ装置プログラムの3世代ディスクイメージコピー、筐体間ディスクイメージコピーを組合せて使用することにより、現行の顧客業務停止時間内での大規模データ移行を実施するものである。   The present invention uses a combination of a DB definition send command of a DBMS (Database Management System), a DB area information send command, a third generation disk image copy of a storage device program, and an inter-box disk image copy. Large-scale data migration will be implemented within the current customer business downtime.

具体的には、3世代バックアップの概念を用い、最も時間の掛かる筐体間・未管理モードによる全コピーを行わなくてはいけない移行期間初日において、現行退避用ディスク装置から新規運用用ディスク装置へのコピーをすることで、長時間に渡るデータ移行と現行業務を並行実行可能とし、移行期間中顧客業務日から移行後業務初日までにおいては、差分管理モードによる差分コピーで日々の更新分データを新規サーバストレージへ反映することで前記問題を解決し、顧客業務時間の調整をおこなうことなく、大規模データベースの高速な移行を可能にするものである。   Specifically, using the concept of 3rd generation backup, from the current evacuation disk device to the new operation disk device on the first day of the transition period where all copies must be made in the most time-consuming inter-box / unmanaged mode By copying the data, it is possible to execute data migration over a long period of time and current work in parallel, and from the customer work day during the migration period to the first day of work after the migration, the daily update data can be obtained by differential copy in the differential management mode. By reflecting it in the new server storage, the above problem can be solved and high-speed migration of a large-scale database can be performed without adjusting the customer business hours.

更に具体的には、現行サーバの現行データベースが有するユーザデータを、新規サーバの新規データベース(新規サーバストレージの新規ディスク装置上にデータを保持)へリプレースにより移行するにあたって、移行期間初日(顧客業務停止日)、移行期間中顧客業務日、移行期間中顧客業務終了後、移行後業務初日を設定し、前記移行期間初日、前記移行期間中顧客業務日、前記移行期間中顧客業務終了後、前記移行後業務初日は前記現行サーバ、前記新規サーバともに現行サーバストレージ、新規サーバストレージ双方への通信網を介してのアクセスを可能とし、
前記移行期間初日においては、DBMSが提供するユーティリティにより前記現行データベースの構成情報を新規サーバに送出し、同情報取込みにより前記現行データベースと同じ構成を新規データベースとして前記新規サーバ上に構築し、ストレージ装置プログラムが提供するストレージ筐体内ディスクイメージコピーにより、現行運用用ディスク装置から現行退避用ディスク装置へのディスクイメージコピーを実施し、コピーが終了次第に前記現行運用用ディスク装置での業務運用を開始可能とし、ストレージ筐体間ディスクイメージコピーにより現行退避用ディスク装置から新規運用用ディスク装置へのディスクイメージコピーを実施することにより、現行データベース運用中での前日分までのデータ移行を実現可能とし、
前記移行期間中顧客業務日においては、その初日において、当日業務及び移行期間初日のデータ移行が終わり次第、前記新規サーバのストレージ筐体コピーモードを未管理モードから差分管理モードに切換え、移行期間中顧客業務終了までの間、当日と前日の更新差分のみをディスクメージコピー対象とし、前記現行運用用ディスク装置から前記現行退避用ディスク装置への差分ディスクイメージコピーを実施し、完了後、前記現行退避用ディスク装置から前記新規運用用ディスク装置への差分ディスクイメージコピーを実施し、
前記移行期間中顧客業務終了後においては、移行期間中最終業務終了後、当日分データを前記現行退避用ディスク装置、前記新規運用用ディスク装置へ差分ディスクイメージコピーが終わり次第、移行期間中最終業務終了までのデータを前記新規運用用ディスク装置から新規退避用ディスク装置への全ディスクイメージコピーを実施し、
前記移行後業務初日においては、DBMSが提供するユーティリティにより現行データベース領域情報を新規サーバに送出し、完了次第前記現行データベース領域情報を新規データベースに取込むように構成することを特徴とする。
More specifically, when the user data in the current database of the current server is transferred to the new database of the new server (holding the data on the new disk storage in the new server storage) by replacement, the first day of the transition period (customer operation suspended) Date), customer business day during transition period, customer business day during transition period, first business day after transition is set, first day of transition period, customer business day during transition period, customer business day during transition period, and migration On the first day after work, both the current server and the new server can be accessed via the communication network for both the current server storage and the new server storage,
On the first day of the transition period, the configuration information of the current database is sent to the new server by the utility provided by the DBMS, and the same configuration as the current database is constructed on the new server as the new database by fetching the information. Copy the disk image from the current operation disk unit to the current backup disk unit using the disk image copy in the storage enclosure provided by the program, and start business operations on the current operation disk unit as soon as the copy is completed. By performing disk image copy from the current save disk device to the new operation disk device by copying the disk image between storage enclosures, it is possible to realize data migration up to the previous day while operating the current database,
In the customer business day during the transition period, on the first day, as soon as the data migration of the current day and the first day of the transition period is over, the storage chassis copy mode of the new server is switched from the unmanaged mode to the differential management mode, during the transition period Only the difference between the current day and the previous day is subject to disk image copy until the end of the customer service, and the differential disk image copy from the current operational disk unit to the current backup disk unit is performed. Perform differential disk image copy from the new disk device to the new operational disk device,
After the end of the customer operation during the transition period, after the end of the final operation during the transition period, the data for the current day is transferred to the current save disk device and the new operation disk device as soon as the differential disk image copy is completed, the final operation during the transition period. Copy all the disk images from the new operational disk device to the new backup disk device until the end,
On the first business day after the migration, the current database area information is sent to the new server by a utility provided by the DBMS, and the current database area information is taken into the new database upon completion.

本発明によれば、まず、現行データベースのデータを同ストレージ内の現行退避用ディスク装置へ筐体内ディスクイメージコピーで高速に退避し、新規運用用ディスク装置へのコピーは現行退避用ディスク装置からの筐体間ディスクイメージコピーで実現することで、顧客業務時間を意識せず新規ディスク装置への移行を実施することができる。
従って、顧客業務時間の調整を行うことなく、大規模データベースの高速な移行が可能になる。
According to the present invention, first, data in the current database is saved to the current save disk device in the same storage at high speed by the disk image copy in the chassis, and the copy to the new operation disk device is copied from the current save disk device. By realizing the inter-box disk image copy, it is possible to migrate to a new disk device without being aware of customer business hours.
Therefore, high-speed migration of a large-scale database is possible without adjusting customer business hours.

本発明は、3世代バックアップの概念を用い、最も時間の掛かる筐体間・未管理モードによる全コピーを行わなくてはいけない移行期間初日において、現行退避用ディスクから新規運用用ディスクへのコピーをすることで、長時間に渡るデータ移行と現行業務を並行実行可能とし、移行期間中顧客業務日から移行後業務初日までにおいては、差分管理モードによる差分コピーで日々の更新分データを新規サーバストレージへ反映することで前記問題を解決し、顧客業務時間の調整をおこなうことなく、大規模データベースの高速な移行を可能にするものであり、
具体的には、現行サーバの現行データベースが有するユーザデータを、新規サーバの新規データベース(新規サーバストレージの新規ディスク装置上にデータを保持)へリプレースにより移行するにあたって、移行期間初日(顧客業務停止日)、移行期間中顧客業務日、移行期間中顧客業務終了後、移行後業務初日を設定し、前記移行期間初日、前記移行期間中顧客業務日、前記移行期間中顧客業務終了後、前記移行後業務初日は前記現行サーバ、前記新規サーバともに現行サーバストレージ、新規サーバストレージ双方への通信網を介してのアクセスを可能とし、
前記移行期間初日においては、DBMSが提供するユーティリティにより前記現行データベースの構成情報を新規サーバに送出し、同情報取込みにより前記現行データベースと同じ構成を前記新規データベースとして新規サーバ上に構築し、ストレージ装置プログラムが提供するストレージ筐体内ディスクイメージコピーにより、現行運用用ディスク装置から現行退避用ディスク装置へのディスクイメージコピーを実施し、コピーが終了次第に前記現行運用用ディスク装置での業務運用を開始可能とし、ストレージ筐体間ディスクイメージコピーにより現行退避用ディスク装置から新規運用用ディスク装置へのディスクイメージコピーを実施することにより、現行データベース運用中での前日分までのデータ移行を実現可能とし、
前記移行期間中顧客業務日においては、その初日において、当日業務及び移行期間初日のデータ移行が終わり次第、前記新規サーバのストレージ筐体コピーモードを未管理モードから差分管理モードに切換え、移行期間中顧客業務終了までの間、当日と前日の更新差分のみをディスクメージコピー対象とし、前記現行運用用ディスク装置から前記現行退避用ディスク装置への差分ディスクイメージコピーを実施し、完了後、前記現行退避用ディスク装置から前記新規運用用ディスク装置への差分ディスクイメージコピーを実施し、
前記移行期間中顧客業務終了後においては、移行期間中最終業務終了後、当日分データを前記現行退避用ディスク装置、前記新規運用用ディスク装置へ差分ディスクイメージコピーが終わり次第、移行期間中最終業務終了までのデータを前記新規運用用ディスク装置から新規退避用ディスク装置への全ディスクイメージコピーを実施し、
前記移行後業務初日においては、DBMSが提供するユーティリティにより現行データベース領域情報を新規サーバに送出し、完了次第前記現行データベース領域情報を新規データベースに取込むように構成する。
The present invention uses the concept of three-generation backup, and copies from the current backup disk to the new operation disk on the first day of the transition period where all copies must be performed in the most time-consuming inter-box / unmanaged mode. By doing so, data migration over a long period of time and current business can be executed in parallel, and from the customer business day during the migration period to the first day of business after the migration, daily updated data is created by differential copy in the differential management mode to the new server storage Reflecting the above to solve the above-mentioned problem and enable high-speed migration of a large-scale database without adjusting customer business hours,
Specifically, when the user data of the current database of the current server is transferred to the new database of the new server (holding the data on the new disk device of the new server storage) by replacement, the first day of the transition period (customer operation stop date) ), The customer business day during the transition period, the customer business day during the transition period, and the first business day after the transition are set. The first day of the transition period, the customer business day during the transition period, the customer business day during the transition period, and the post-transition On the first day of business, both the current server and the new server can be accessed via the communication network to both the current server storage and the new server storage,
On the first day of the transition period, the configuration information of the current database is sent to the new server by the utility provided by the DBMS, and the same configuration as the current database is constructed on the new server as the new database by incorporating the information, and the storage device Copy the disk image from the current operation disk unit to the current backup disk unit using the disk image copy in the storage enclosure provided by the program, and start business operations on the current operation disk unit as soon as the copy is completed. By performing disk image copy from the current save disk device to the new operation disk device by copying the disk image between storage enclosures, it is possible to realize data migration up to the previous day while operating the current database,
In the customer business day during the transition period, on the first day, as soon as the data migration of the current day and the first day of the transition period is over, the storage chassis copy mode of the new server is switched from the unmanaged mode to the differential management mode, during the transition period Only the difference between the current day and the previous day is subject to disk image copy until the end of the customer service, and the differential disk image copy from the current operational disk unit to the current backup disk unit is performed. Perform differential disk image copy from the new disk device to the new operational disk device,
After the end of the customer operation during the transition period, after the end of the final operation during the transition period, the data for the current day is transferred to the current save disk device and the new operation disk device as soon as the differential disk image copy is completed, the final operation during the transition period. Copy all the disk images from the new operational disk device to the new backup disk device until the end,
On the first day after the migration, the current database area information is sent to the new server by a utility provided by the DBMS, and the current database area information is taken into the new database upon completion.

以下、図面を参照して本発明の実施例1を説明する。   Embodiment 1 of the present invention will be described below with reference to the drawings.

図1は、この実施例1におけるデータベース管理システムの構成を示すブロック図であり、100はLAN通信回線、200は現行サーバシステム、300は新規サーバシステムである。 FIG. 1 is a block diagram showing the configuration of the database management system according to the first embodiment, in which 100 is a LAN communication line, 200 is a current server system, and 300 is a new server system.

現行サーバシステム200は、現行サーバ210と現行サーバストレージ220と前記現行サーバ210と現行サーバストレージ220を結ぶファイバチャネル回線230を備える。   The current server system 200 includes a current server 210, a current server storage 220, and a fiber channel line 230 that connects the current server 210 and the current server storage 220.

また、前記新規サーバシステム300は、新規サーバ310と新規サーバストレージ320と前記新規サーバ310と新規サーバストレージ320を結ぶファイバチャネル回線330を備える。   The new server system 300 includes a new server 310, a new server storage 320, and a fiber channel line 330 that connects the new server 310 and the new server storage 320.

そして、前記ファイバチャネル回線230,330の途中にはファイバチャネルスイッチ400を介在させて共通に接続する。   A fiber channel switch 400 is interposed in the middle of the fiber channel lines 230 and 330 so as to be connected in common.

前記現行サーバ210は、現行データベース(DBMSを含む)211と、前記現行サーバ210を前記LAN通信回線100に接続するLANアダプタ212と、前記現行サーバ210を前記ファイバチャネル回線230に接続するファイバチャネル接続213と、入力装置214と、表示装置215とを備える。   The current server 210 includes a current database (including DBMS) 211, a LAN adapter 212 that connects the current server 210 to the LAN communication line 100, and a fiber channel connection that connects the current server 210 to the fiber channel line 230. 213, an input device 214, and a display device 215.

また、前記現行サーバストレージ220は、現行データベース211のデータを格納する現行運用用ディスク装置221と、現行データベース211のデータを退避する現行退避用ディスク装置222と、これらのディスク装置221,222を前記ファイバチャネル回線230に接続するファイブチャネル接続アダプタ223を備える。   The current server storage 220 includes a current operation disk device 221 that stores data of the current database 211, a current save disk device 222 that saves data of the current database 211, and these disk devices 221 and 222. A five channel connection adapter 223 connected to the fiber channel line 230 is provided.

前記新規サーバ310は、新規データベース(DBMSを含む)311と、前記新規データベース311を前記LAN通信回線100に接続するLANアダプタ312と、前記新規データベース311を前記ファイバチャネル回線330に接続するファイバチャネル接続313と、入力装置314と、表示装置315とを備える。   The new server 310 includes a new database (including DBMS) 311, a LAN adapter 312 that connects the new database 311 to the LAN communication line 100, and a fiber channel connection that connects the new database 311 to the fiber channel line 330. 313, an input device 314, and a display device 315.

また、前記新規サーバストレージ320は、新規データベース311のデータを格納する新規運用用ディスク装置321と、新規データベース311のデータを退避する新規退避用ディスク装置322と、これらのディスク装置321,322を前記ファイバチャネル回線330に接続するファイブチャネル接続アダプタ323を備える。   The new server storage 320 includes a new operation disk device 321 for storing data in the new database 311, a new save disk device 322 for saving data in the new database 311, and these disk devices 321 and 322. A five channel connection adapter 323 connected to the fiber channel line 330 is provided.

この実施例におけるデータベース管理システムは、DBMSのDB定義送出コマンド、DB領域情報送出コマンド、ストレージ装置プログラムの3世代ディスクイメージコピー、筐体間ディスクイメージコピーを組合せて使用することにより、現行の顧客業務停止時間内での大規模データ移行を実施するものである。   The database management system in this embodiment uses a combination of a DBMS DB send command, a DB area information send command, a 3rd generation disk image copy of a storage device program, and an inter-box disk image copy to Large-scale data migration is performed within the downtime.

具体的には、3世代バックアップの概念を用い、最も時間の掛かる筐体間・未管理モードによる全コピーを行わなくてはいけない移行期間初日において、現行退避用ディスク装置222から新規運用用ディスク装置321へのコピーをすることで、長時間に渡るデータ移行と現行業務を並行実行可能とし、移行期間中顧客業務日から移行期間中顧客業務終了までにおいては、差分管理モードによる差分コピーで日々の更新分を新規ディスク装置へ反映することで、顧客業務の調整を行うことなく、大規模データベースの高速な移行を可能にするものである。   Specifically, using the concept of three-generation backup, on the first day of the transition period in which all copies must be made in the most time-consuming inter-chassis / unmanaged mode, a new operation disk device is transferred from the current save disk device 222 By copying data to H.321, data migration over a long period of time and current business can be executed in parallel. From the customer business day during the transition period to the end of the customer business during the transition period, daily copy can be performed using differential management mode. By reflecting the updated data in the new disk device, it is possible to perform high-speed migration of a large-scale database without adjusting customer operations.

図2は、現行サーバシステム200のデータを新規サーバシステム300に移行する移行期間初日に現行データベース211と新規データベース311におけるDBMSが実行するデータ転送のフローチャートである。   FIG. 2 is a flowchart of data transfer executed by the DBMS in the current database 211 and the new database 311 on the first day of the transition period in which the data of the current server system 200 is transferred to the new server system 300.

ステップS21111
現行サーバ210が現行データベース211のデータを使用する顧客業務を終了する処理である。
Step S21111
This is a process in which the current server 210 terminates the customer service using the data in the current database 211.

ステップS21112
現行サーバ210が現行データベース構成情報を新規サーバ310へ送出する処理である。
Step S21112
This is a process in which the current server 210 sends the current database configuration information to the new server 310.

ステップS31111
新規サーバ310が現行データベース構成情報を新規データベース311に取り込む処理である。
Step S31111
This is a process in which the new server 310 takes the current database configuration information into the new database 311.

ステップS21113
現行サーバ210が現行運用ディスク装置211から現行退避用ディスク装置222へのディスクイメージコピーを開始する処理である。
Step S21113
This is a process in which the current server 210 starts a disk image copy from the current operation disk device 211 to the current save disk device 222.

ステップS21114
現行サーバ210が現行運用ディスク装置211から現行退避用ディスク装置222へのディスクイメージコピーを完了する処理である。
Step S21114
This is a process in which the current server 210 completes the disk image copy from the current operational disk device 211 to the current save disk device 222.

ステップS31112
新規サーバ310が現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを開始する処理である。
Step S31112
This is a process in which the new server 310 starts copying the disk image from the current save disk device 222 to the new operation disk device 321.

図3a,図3bは、現行サーバ210のデータを新規サーバ310に移行する移行期間中顧客業務日に現行データベース211と新規データベース311におけるトレージ装置プログラムが実行するデータ転送のフローチャートである。   FIGS. 3A and 3B are flowcharts of data transfer executed by the storage device program in the current database 211 and the new database 311 on the customer business day during the transition period in which the data of the current server 210 is transferred to the new server 310.

ステップS21121
現行サーバ210が現行データベース211のデータを使用する顧客業務を開始する処理である。
Step S21121
This is a process in which the current server 210 starts a customer service using the data in the current database 211.

ステップS21122
現行サーバ210が現行データベース211のデータを使用する顧客業務を終了する処理である。
Step S21122
This is a process in which the current server 210 terminates the customer service using the data in the current database 211.

ステップS31121
新規サーバ210が移行期間初日分のデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを完了する処理である。
Step S31121
This is a process in which the new server 210 completes the disk image copy from the current save disk device 222 to the new operation disk device 321 for the data for the first day of the transition period.

ステップS31122
新規サーバ210が現行サーバストレージ220のモードを差分管理モードへ変換する処理である。
Step S31122
This is a process in which the new server 210 converts the mode of the current server storage 220 to the difference management mode.

ステップS21123
現行サーバ210が移行期間中顧客業務日分のデータについて、現行運用用ディスク装置221から現行退避用ディスク装置222への差分ディスクイメージコピーを開始する処理である。
Step S21123
This is a process in which the current server 210 starts a differential disk image copy from the current operation disk device 221 to the current evacuation disk device 222 for the data for the customer business day during the transition period.

ステップS21124
現行サーバ210が移行期間中顧客業務日分のデータについて、現行運用用ディスク装置221から現行退避用ディスク装置222への差分ディスクイメージコピーを完了する処理である。
Step S21124
This is a process in which the current server 210 completes the differential disk image copy from the current operation disk device 221 to the current save disk device 222 for the data for the customer business day during the transition period.

ステップS21125
現行サーバ210が現行データベース211のデータを使用する顧客業務の開始処理である。
Step S21125
This is a customer service start process in which the current server 210 uses data in the current database 211.

ステップS31125
新規サーバ310が移行期間中顧客業務日分のデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを開始する処理である。
Step S31125
This is a process in which the new server 310 starts copying the disk image from the current save disk device 222 to the new operation disk device 321 for the data for the customer business day during the transition period.

ステップS31126
新規サーバ310が移行期間中顧客業務日分のデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを完了する処理である。
Step S31126
This is a process in which the new server 310 completes the disk image copy from the current save disk device 222 to the new operation disk device 321 for the data for the customer business day during the transition period.

ここで、ステップS21121,21122とステップS31121及びステップS21125とステップS31125,31126は、並行して実行することが可能な処理である。 Here, steps S2111 and 21212, step S31121, and step S21125 and steps S31125 and 31126 are processes that can be executed in parallel.

図4は、現行サーバシステム200のデータを新規サーバシステム300に移行する移行期間中、顧客業務終了後に現行データベース211と新規データベース311におけるストレージ装置プログラムが実行するデータ転送のフローチャートである。   FIG. 4 is a flowchart of data transfer executed by the storage apparatus program in the current database 211 and the new database 311 after the end of the customer service during the transition period in which the data of the current server system 200 is transferred to the new server system 300.

ステップS21131
現行サーバ210が現行データベース211のデータを使用する顧客業務を終了する処理である。
Step S21131
This is a process in which the current server 210 terminates the customer service using the data in the current database 211.

ステップS31131
新規サーバ210が移行期間初日分のデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを完了する処理である。
Step S31131
This is a process in which the new server 210 completes the disk image copy from the current save disk device 222 to the new operation disk device 321 for the data for the first day of the transition period.

ステップS21132
現行サーバ210が移行期間中顧客業務最終日分のデータについて、現行運用用ディスク装置221から現行退避用ディスク装置222への差分ディスクイメージコピーを開始する処理である。
Step S21132
This is a process in which the current server 210 starts a differential disk image copy from the current operation disk device 221 to the current save disk device 222 for the data for the last day of customer business during the transition period.

ステップS21133
現行サーバ210が移行期間中顧客業務最終日分のデータについて、現行運用用ディスク装置221から現行退避用ディスク装置222への差分ディスクイメージコピーを完了する処理である。
Step S21133
This is a process in which the current server 210 completes the differential disk image copy from the current operational disk device 221 to the current evacuation disk device 222 for the data for the last day of customer business during the transition period.

ステップS31132
新規サーバ310が移行期間中顧客業務最終日分のデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを開始する処理である。
Step S31132
This is a process in which the new server 310 starts copying the disk image from the current save disk device 222 to the new operation disk device 321 for the data for the last day of the customer's business during the transition period.

ステップS31133
新規サーバ310が移行期間中顧客業務最終日分のデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを完了する処理である。
Step S31133
This is a process in which the new server 310 completes the disk image copy from the current save disk device 222 to the new operation disk device 321 for the data for the last day of the customer business during the transition period.

ステップS31134
新規サーバ310が移行期間中顧客業務最終日までのデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを開始する処理である。
Step S31134
This is a process in which the new server 310 starts copying the disk image from the current save disk device 222 to the new operation disk device 321 for the data up to the last day of the customer business during the transition period.

ステップS31135
新規サーバ310が移行期間中顧客業務最終日までのデータについて、現行退避用ディスク装置222から新規運用用ディスク装置321へのディスクイメージコピーを完了する処理である。
Step S31135
This is a process in which the new server 310 completes the disk image copy from the current save disk device 222 to the new operation disk device 321 for the data up to the last day of the customer business during the transition period.

ここで、ステップS21131〜21133とステップS31131は、並行して実行することが可能な処理である。 Here, steps S2111 to 21133 and step S31131 are processes that can be executed in parallel.

図5は、現行サーバ200のデータを新規サーバに移行する移行後顧客業務初日に現行データベース211と新規データベース311におけるストレージ装置プログラムが実行するデータ転送のフローチャートである。   FIG. 5 is a flowchart of data transfer executed by the storage apparatus program in the current database 211 and the new database 311 on the first day of the customer business after the migration to migrate the data of the current server 200 to the new server.

ステップS21141
現行サーバ210が現行データベース領域情報(メタデータ)を新規サーバ310へ送出する処理である。
Step S21141
This is a process in which the current server 210 sends current database area information (metadata) to the new server 310.

ステップS31141
新規サーバ310が現行データベース領域情報(メタデータ)を新規データベース311に取り込む処理である。
Step S31141
This is a process in which the new server 310 takes the current database area information (metadata) into the new database 311.

ステップS31142
新規サーバ310が新規データベース311を使用する顧客業務を開始する処理である。
Step S31142
This is a process in which the new server 310 starts a customer service using the new database 311.

ステップS31143
新規サーバ310が新規データベース311を使用する顧客業務を終了する処理である。
Step S31143
This is a process in which the new server 310 terminates the customer service using the new database 311.

ステップS31144
新規サーバ310が移行後顧客業務分のデータについて、新規運用用ディスク装置321から新規退避用ディスク装置322へのディスクイメージコピーを開始する処理である。
Step S31144
This is a process in which the new server 310 starts copying the disk image from the new operation disk device 321 to the new evacuation disk device 322 for the data for the customer business after the migration.

ステップS31145
新規サーバ310が移行期間中顧客業務日分のデータについて、新規運用用ディスク装置321から新規退避用ディスク装置322へのディスクイメージコピーを完了する処理である。
Step S31145
This is a process in which the new server 310 completes the disk image copy from the new operation disk device 321 to the new save disk device 322 for the data for the customer business day during the transition period.

図6〜図9は、前記データ転送におけるデータフロー(転送)の模式図であり、図6は、移行期間初日におけるデータフロー、図7は、移行期間中顧客業務日〜移行期間中顧客業務終了までのデータフロー、図8は、移行期間中顧客業務終了〜移行期間後顧客業務初日までのデータフロー、図9は、移行期間後(データ転送完了後)顧客業務初日のデータフローの模式図である。   6 to 9 are schematic diagrams of the data flow (transfer) in the data transfer, FIG. 6 is a data flow in the first day of the transition period, and FIG. 7 is a customer business day during the transition period to a customer business end during the transition period. 8 is a schematic diagram of the data flow from the end of the customer business during the transition period to the first day of the customer business after the transition period, and FIG. 9 is a schematic diagram of the data flow of the first day of the customer business after the transition period (after the data transfer is completed). is there.

本発明の実施例1におけるデータベースシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the database system in Example 1 of this invention. 実施例1のデータベースシステムにおいて、現行サーバのデータを新規サーバに移行する移行期間初日に現行データベースと新規データベースにおけるDBMSが実行するデータ転送のフローチャートである。In the database system of Example 1, it is a flowchart of the data transfer which DBMS in a current database and a new database performs on the first day of the transition period which transfers the data of a current server to a new server. 実施例1のデータベースシステムにおいて、現行サーバのデータを新規サーバに移行する移行期間中顧客業務日に現行データベースと新規データベースにおけるストレージ装置プログラムが実行するデータ転送のフローチャートである。In the database system of Example 1, it is a flowchart of the data transfer which the storage apparatus program in a current database and a new database performs in a customer business day during the transition period which transfers the data of a current server to a new server. 実施例1のデータベースシステムにおいて、現行サーバのデータを新規サーバに移行する移行期間中顧客業務日に現行データベースと新規データベースにおけるストレージ装置プログラムが実行するデータ転送のフローチャートである。In the database system of Example 1, it is a flowchart of the data transfer which the storage apparatus program in a current database and a new database performs in a customer business day during the transition period which transfers the data of a current server to a new server. 実施例1のデータベースシステムにおいて、現行サーバのデータを新規サーバに移行する移行後顧客業務終了後に現行データベースと新規データベースにおけるストレージ装置プログラムが実行するデータ転送のフローチャートである。In the database system of Example 1, it is the flowchart of the data transfer which the storage apparatus program in a current database and a new database performs after the customer business after the transfer which transfers the data of a current server to a new server. 実施例1のデータベースシステムにおいて、現行サーバのデータを新規サーバに移行する移行後顧客業務初日に現行データベースと新規データベースにおけるストレージ装置プログラムが実行するデータ転送のフローチャートである。In the database system of Example 1, it is a flowchart of the data transfer which the storage apparatus program in a current database and a new database performs in the customer business first day after the transfer which transfers the data of a current server to a new server. 実施例1のデータベースシステムにおける移行期間初日のデータフローの模式図である。It is a schematic diagram of the data flow of the transition period first day in the database system of Example 1. 実施例1のデータベースシステムにおける移行期間中顧客業務日〜移行期間中顧客業務終了までのデータフローの模式図である。It is a schematic diagram of the data flow from the customer business day during the transition period to the end of the customer business during the transition period in the database system of the first embodiment. 実施例1のデータベースシステムにおける移行期間中顧客業務終了〜移行顧客業務初日までのデータフローの模式図である。It is a schematic diagram of the data flow from the end of the customer business during the transition period to the first day of the transition customer business in the database system of the first embodiment. 実施例1のデータベースシステムにける移行期間後顧客業務初日のデータフローの模式図である。It is a schematic diagram of the data flow of the customer business first day after the transition period in the database system of Example 1.

符号の説明Explanation of symbols

100…LAN通信回線、200…現行サーバシステム、210…現行サーバ、211…現行データベース、212…LANアダプタ、213…ファイバチャネル接続アダプタ、220…現行サーバストレージ、221…現行運用用ディスク装置、222…現行待避用ディスク装置、300…新規サーバシステム、310…新規サーバ、311…新規データベース、312…LANアダプタ、313…ファイバチャネル接続アダプタ、320…新規サーバストレージ、321…新規運用用ディスク装置、322…新規待避用ディスク装置、400…ファイバチャネルスイッチ。   DESCRIPTION OF SYMBOLS 100 ... LAN communication line, 200 ... Current server system, 210 ... Current server, 211 ... Current database, 212 ... LAN adapter, 213 ... Fiber channel connection adapter, 220 ... Current server storage, 221 ... Current operational disk device, 222 ... Current saving disk device, 300 ... new server system, 310 ... new server, 311 ... new database, 312 ... LAN adapter, 313 ... fiber channel connection adapter, 320 ... new server storage, 321 ... new operation disk device, 322 ... New disk unit for saving, 400 ... Fiber channel switch.

Claims (1)

ファイバ回線を介して接続された現行データベース用の現行運用用ディスク装置および現行退避用ディスク装置を備えた現行サーバストレージと、ファイバ回線を介して接続された現行データベースを備えた現行サーバと、
前記ファイバ回線を介して接続された新規データベース用の新規運用用ディスク装置および新規退避用ディスク装置を備えた新規サーバストレージと、前記ファイバ回線を介して接続された新規データベースを備えた新規サーバを備え、
ディスクイメージコピーによるバックアップ運用を行うデータベース管理システムにおいて、
現行データベースが有するユーザデータを新規サーバの新規データベースへリプレースにより移行後業務開始までにおいて、移行期間初日、移行期間中顧客業務日、移行期間中顧客業務終了後、移行後業務初日を設定し、前記移行期間初日、前記移行期間中顧客業務日、前記移行期間中顧客業務終了後、前記移行後業務初日では前記現行サーバ、前記新規サーバともに前記現行サーバストレージ、前記新規サーバストレージ双方への前記ファイバ回線を介してのアクセスを可能とし、
前記移行期間初日においては、DBMSが提供するユーティリティにより現行データベースの構成情報を新規サーバに送出し、同情報取込みにより前記現行データベースと同じ構成を前記新規データベースとして新規サーバ上に構築し、ストレージ装置プログラムが提供するストレージ筐体内ディスクイメージコピーにより、前記現行運用用ディスク装置から現行退避用ディスク装置へのディスクイメージコピーを実施し、コピーが終了次第に前記現行運用用ディスク装置での業務運用を開始可能とし、ストレージ筐体間ディスクイメージコピーにより現行退避用ディスク装置から新規運用用ディスク装置へのディスクイメージコピーを実施することにより、前記現行データベースの当日までのデータ移行を実現し、
前記移行期間中顧客業務日においては、その初日において、当日業務及び移行期間初日のデータ移行が終わり次第、新規サーバのストレージ筐体コピーモードを未管理モードから差分管理モードに切換え、移行期間中顧客業務終了までの間、当日と前日の更新差分のみをディスクメージコピー対象とし、前記現行運用用ディスク装置から前記現行退避用ディスク装置への差分ディスクイメージコピーを実施し、完了後、前記現行退避用ディスク装置から前記新規運用用ディスク装置への差分ディスクイメージコピーを実施し、
前記移行期間中顧客業務終了後においては、移行期間中最終業務終了後、当日分データを前記現行退避用ディスク装置、前記新規運用用ディスク装置へ差分ディスクイメージコピーが終わり次第、移行期間中最終業務終了までのデータを前記新規運用用ディスク装置から新規退避用ディスク装置への全ディスクイメージコピーを実施し、
前記移行後業務初日においては、DBMSが提供するユーティリティにより現行データベース領域情報を新規サーバに送出し、完了次第前記現行データベース領域情報を新規データベースに取込むことで新規データベースでの顧客業務を実現するように構成したデータベース管理システム。
A current server storage with a current operational disk unit and a current evacuation disk unit for a current database connected via a fiber line; a current server with a current database connected via a fiber line;
A new server storage device having a new operation disk device and a new evacuation disk device for a new database connected via the fiber line, and a new server having a new database connected via the fiber line ,
In a database management system that performs disk image copy backup operations,
By replacing the user data of the current database with the new database on the new server until the start of business after the transition, set the first day of the transition period, the customer business day during the transition period, the end of the customer business during the transition period, First day of the transition period, customer business day during the transition period, after the end of the customer business during the transition period, both the current server and the new server both on the current server storage and the new server storage Allows access through
On the first day of the transition period, the configuration information of the current database is sent to the new server by the utility provided by the DBMS, and the same configuration as the current database is constructed on the new server as the new database by fetching the information. The disk image copy from the current operation disk device to the current backup disk device is performed by the disk image copy in the storage enclosure provided by, and the business operation can be started on the current operation disk device as soon as the copy is completed. , By implementing disk image copy from the current save disk device to the new operation disk device by disk image copy between storage enclosures, data migration up to the current day of the current database is realized,
On the first business day of the migration period, on the first day, as soon as the data migration of the current day and the first day of the migration period is completed, the storage chassis copy mode of the new server is switched from the unmanaged mode to the differential management mode. Only the difference between the current day and the previous day is subject to disk image copy until the end of business, and a differential disk image copy is performed from the current operational disk device to the current backup disk device. Perform a differential disk image copy from the disk device to the new operational disk device,
After the end of the customer operation during the transition period, after the end of the final operation during the transition period, the data for the current day is transferred to the current save disk device and the new operation disk device as soon as the differential disk image copy is completed, the final operation during the transition period. Copy all the disk images from the new operational disk device to the new backup disk device until the end,
On the first day of the business after the migration, the current database area information is sent to the new server by the utility provided by the DBMS, and when the completion is completed, the current database area information is taken into the new database to realize the customer business in the new database. Database management system configured in
JP2008076866A 2008-03-24 2008-03-24 Database management system Withdrawn JP2009230586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008076866A JP2009230586A (en) 2008-03-24 2008-03-24 Database management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008076866A JP2009230586A (en) 2008-03-24 2008-03-24 Database management system

Publications (1)

Publication Number Publication Date
JP2009230586A true JP2009230586A (en) 2009-10-08

Family

ID=41245870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008076866A Withdrawn JP2009230586A (en) 2008-03-24 2008-03-24 Database management system

Country Status (1)

Country Link
JP (1) JP2009230586A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232866A (en) * 2010-04-26 2011-11-17 Hitachi Building Systems Co Ltd Method of data migration between database devices
JP2013250629A (en) * 2012-05-30 2013-12-12 Mizuho Information & Research Institute Inc Information management system and information management method
JP2015026214A (en) * 2013-07-25 2015-02-05 キヤノン株式会社 System, information processing device, control method therefor, and program
JP2016071795A (en) * 2014-10-01 2016-05-09 株式会社日立システムズ Method and system for supporting database migration
JP2023500669A (en) * 2019-10-31 2023-01-10 サービスナウ, インコーポレイテッド Cloud services for cross-cloud operations

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011232866A (en) * 2010-04-26 2011-11-17 Hitachi Building Systems Co Ltd Method of data migration between database devices
JP2013250629A (en) * 2012-05-30 2013-12-12 Mizuho Information & Research Institute Inc Information management system and information management method
JP2015026214A (en) * 2013-07-25 2015-02-05 キヤノン株式会社 System, information processing device, control method therefor, and program
US9965473B2 (en) 2013-07-25 2018-05-08 Canon Kabushiki Kaisha System, information processing apparatus, method for controlling the same, and non-transitory computer-readable medium
JP2016071795A (en) * 2014-10-01 2016-05-09 株式会社日立システムズ Method and system for supporting database migration
JP2023500669A (en) * 2019-10-31 2023-01-10 サービスナウ, インコーポレイテッド Cloud services for cross-cloud operations
JP7461471B2 (en) 2019-10-31 2024-04-03 サービスナウ, インコーポレイテッド Cloud Services for Cross-Cloud Operations

Similar Documents

Publication Publication Date Title
US9031910B2 (en) System and method for maintaining a cluster setup
US8090917B2 (en) Managing storage and migration of backup data
US11314779B1 (en) Managing timestamps in a sequential update stream recording changes to a database partition
US9851996B2 (en) Applying firmware updates in a system with zero downtime by selectively offlining and onlining hardware using a scale-up hypervisor layer
US9710186B2 (en) Performing online data migration with concurrent active user access to the data
US7921189B2 (en) Single virtual client for multiple client access and equivalency
US20150363340A1 (en) Providing multiple synchronous serial console sessions using data buffering
TW201434300A (en) Service migration across cluster boundaries
JP2007241486A (en) Memory system
JP2009230586A (en) Database management system
US10922283B2 (en) File synchronization
US20120324436A1 (en) Method of updating versioned software using a shared cache
CN105550062A (en) Continuous data protection and time point browse recovery based data backflow method
JP2007041888A (en) Database restructuring device and database restructuring program
CN103631903B (en) A kind of system of database synchronization data
US20140351210A1 (en) Data processing system, data processing apparatus, and storage medium
CN103970620B (en) Quasi continuity data replication method and device
CN105302817A (en) Distributed file system management method and apparatus
US10142424B2 (en) Two-level cloud system migration
CN106326030A (en) Soft handoff method and device used for storage system
JP2006058960A (en) Synchronization method and system in redundant configuration server system
JP2018142174A (en) Storage system
WO2016095491A1 (en) Equipment upgrading method and transport network equipment
JP2009043259A (en) Information management system and method
JP2007328595A (en) Server system, and synchronization method for the system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110607