JP4985033B2 - Backup program, backup method and backup device - Google Patents
Backup program, backup method and backup device Download PDFInfo
- Publication number
- JP4985033B2 JP4985033B2 JP2007089160A JP2007089160A JP4985033B2 JP 4985033 B2 JP4985033 B2 JP 4985033B2 JP 2007089160 A JP2007089160 A JP 2007089160A JP 2007089160 A JP2007089160 A JP 2007089160A JP 4985033 B2 JP4985033 B2 JP 4985033B2
- Authority
- JP
- Japan
- Prior art keywords
- backup
- processing
- search
- data
- abnormality
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
この発明は、ライブラリ装置とドライブパスを介して接続され、当該ライブラリ装置に対して探索処理を指示するとともに当該探索処理完了後にデータの書込み処理を指示するバックアッププログラム、バックアップ方法およびバックアップサーバ装置に関する。 The present invention relates to a backup program, a backup method, and a backup server device that are connected to a library device via a drive path, instruct search processing to the library device, and instruct data write processing after the search processing is completed.
従来より、商品管理や顧客管理などが必要なユーザにとって、商品管理や顧客管理などのデータが何らかの原因により消滅してしまった場合には、莫大な不利益を被る可能性があり、それを回避するために、当該データのバックアップをバックアップサーバ装置を利用して行っている。具体的には、バックアップサーバ装置は、バックアップデータをRAID(Redundant Arrays of Inexpensive Disks)装置から読み出し、ライブラリ装置に対してバックアップテープのマウント指示およびテープシーク指示を行い、当該バックアップテープの書込み位置への位置付けが正常に完了され、ドライブよりテープシーク完了の応答がなされてからデータの書込み処理を指示する。そして、管理するデータ量が増加すると、バックアップ処理にかかる時間も増加していくので、より処理能力の高いサーバ装置やRAID装置の組合せを利用してバックアップするデータの取りこぼしがないようにしている。 Conventionally, for users who need product management and customer management etc., if data such as product management and customer management disappears for some reason, there is a possibility of suffering huge disadvantages and avoiding it Therefore, the backup of the data is performed using a backup server device. Specifically, the backup server device reads backup data from a RAID (Redundant Arrays of Inexpensive Disks) device, instructs the library device to mount a backup tape and seek a tape, and writes the backup tape to the write position of the backup tape. Data write processing is instructed after the positioning is completed normally and a tape seek completion response is made from the drive. As the amount of data to be managed increases, the time required for backup processing also increases, so that a combination of a server device and a RAID device with higher processing capacity is used so that data to be backed up is not missed.
例えば、特許文献1(特開2006−277355号公報)では、バックアップサーバ装置は、テープライブラリ装置に対して複数のパスと、パスの切り替えを行うパス切り替えソフトとを用いて、書き込みデータを記憶領域である内蔵ディスクに一時的に複写した後にテープライブラリ装置に転送し、転送完了後は複写データを消去している。そして、パス障害発生時には、パスを切り替えてテープライブラリ装置のテープを書き込み再開位置に再位置付けし、一時記録領域に複写しておいたデータを再書き込みすることで、パス障害が発生しても、一時記録領域に記録されたデータを用いて書き込み継続を可能としている。 For example, in Patent Document 1 (Japanese Patent Application Laid-Open No. 2006-277355), the backup server device stores write data in a storage area using a plurality of paths to the tape library apparatus and path switching software for switching paths. Are temporarily copied to the internal disk and then transferred to the tape library device, and the copy data is erased after the transfer is completed. And when a path failure occurs, by switching the path and repositioning the tape of the tape library device to the write restart position, and rewriting the data copied to the temporary recording area, Writing can be continued using data recorded in the temporary recording area.
ところで、上記した従来の技術は、ドライブパスやライブラリ装置に異常が発生した場合に、バックアップ処理の再試行が遅いという課題があった。例えば、ドライブパスに異常が発生したような場合でも、バックアップサーバ装置は、ライブラリ装置に対してバックアップ処理を指示してから所定の時間(標準で60分)が経過しても応答がないときに初めて、タイムアウトにより異常と認識してバックアップ処理の再試行を行うので、バックアップ処理の再試行が遅いという課題があった。 Incidentally, the above-described conventional technique has a problem that the retry of the backup process is slow when an abnormality occurs in the drive path or the library apparatus. For example, even when an abnormality occurs in the drive path, the backup server device does not respond even if a predetermined time (60 minutes by default) elapses after instructing the library device to perform backup processing. For the first time, the backup processing is retried by recognizing that it is abnormal due to a timeout, so there is a problem that the retry of the backup processing is slow.
また、例えば、テープシーク時に異常が発生したような場合でも、バックアップサーバ装置は、ドライブから応答が返されてOS(Operating System)によりI/Oプロセスが中断されたときに初めて、テープシーク時に異常であると認識してバックアップ処理の再試行を行うので、バックアップ処理の再試行が遅いという課題があった。 Further, for example, even when an abnormality occurs during a tape seek, the backup server apparatus does not fail during a tape seek until the response is returned from the drive and the I / O process is interrupted by the OS (Operating System). Therefore, there is a problem that the retry of the backup process is slow.
そこで、この発明は、上述した従来技術の課題を解決するためになされたものであり、バックアップ処理の再試行を早期に実行することが可能なバックアッププログラム、バックアップ方法およびバックアップ装置を提供することを目的とする。 Accordingly, the present invention has been made to solve the problems in the conventional technology, capable backup program to perform retry the backup process at an early stage, to provide a backup method and backup equipment For the purpose.
上述した課題を解決し、目的を達成するため、本発明は、複数のドライブのいずれかに記憶媒体をマウントして当該記憶媒体上の所定位置を探索した後にデータを書き込むライブラリ装置とドライブパスを介して接続され、当該ライブラリ装置に対してドライブおよび記憶媒体を指定して探索処理を指示するとともに当該探索処理完了後にデータの書込み処理を指示するバックアップサーバ装置としてのコンピュータに実行されるバックアッププログラムであって、前記探索処理を指示してから前記データ書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知手順と、前記異常検知手順によって異常が検知された場合に、前記ライブラリ装置に対して別のドライブおよび別の記憶媒体を再び指定して探索処理を再び指示することでバックアップ処理を再試行する再試行手順と、をコンピュータに実行させ
ることを特徴とする。
In order to solve the above-described problems and achieve the object, the present invention provides a library device and a drive path for writing data after mounting a storage medium on any of a plurality of drives and searching for a predetermined position on the storage medium. A backup program that is executed by a computer as a backup server device that is connected to the library device and instructs the library device to specify search processing by specifying a drive and a storage medium and to instruct data write processing after the search processing is completed In the period from when the search process is instructed until the data write process is completed, an abnormality detection procedure for detecting an abnormality by monitoring the state of the drive path and / or the library device, and the abnormality detection procedure If an abnormality is detected, another drive and And procedures retry to retry the backup process by instructing again search process a storage medium by specifying again, and characterized by causing a computer to execute the.
また、本発明は、上記の発明において、前記再試行手順は、前記探索処理中に前記異常検知手順によって異常が検知された場合には、当該探索処理を残しつつ前記ライブラリ装置からの応答を待つことなく、新規にプロセスまたはスレッドを生成して前記バックアップ処理を再試行することを特徴とする。 Further, in the present invention according to the above invention, when the abnormality is detected by the abnormality detection procedure during the search process, the retry procedure waits for a response from the library device while leaving the search process. In this case, a new process or thread is generated and the backup process is retried.
また、本発明は、上記の発明において、前記再試行手順は、前記書込み処理中に前記異常検知手順によって異常が検知された場合には、当該書込み処理を中断するよう前記ライブラリ装置に指示し、当該中断したプロセスまたはスレッドを利用して前記バックアップ処理を再試行することを特徴とする。 Further, in the present invention, in the above invention, the retry procedure instructs the library apparatus to interrupt the write process when an abnormality is detected by the abnormality detection procedure during the write process. The backup process is retried using the interrupted process or thread.
また、本発明は、上記の発明において、前記探索処理を指示してから前記データ書込み処理が完了するまでの間、現に処理状況が探索処理中であるか書込み処理中であるかを示す処理状況情報を所定のメモリに更新して格納する処理状況情報格納手順をさらにコンピュータに実行させ、前記再試行手順は、前記異常検知手順によって異常が検知された場合に、前記処理状況情報格納手順によって所定のメモリに格納されている処理状況情報を参照して、現に処理状況が探索処理中であるか書込み処理中であるかを判定し、各処理状況に応じたバックアップ処理を再試行することを特徴とする。 Further, the present invention is the processing status according to the above-mentioned invention, wherein the processing status indicates whether the processing status is currently in the search processing or the write processing from when the search processing is instructed until the data write processing is completed. A processing status information storage procedure for updating and storing information in a predetermined memory is further executed by the computer, and the retry procedure is executed according to the processing status information storage procedure when an abnormality is detected by the abnormality detection procedure. Referring to the processing status information stored in the memory, it is determined whether the processing status is currently being searched or written, and backup processing corresponding to each processing status is retried. And
また、本発明は、上記の発明において、複数のドライブのいずれかに記憶媒体をマウントして当該記憶媒体上の所定位置を探索した後にデータを書き込むライブラリ装置とドライブパスを介して接続され、当該ライブラリ装置に対してドライブおよび記憶媒体を指定して探索処理を指示するとともに当該探索処理完了後にデータの書込み処理を指示するバックアップサーバ装置に適用されるバックアップ方法であって、前記探索処理を指示してから前記データ書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知工程と、前記異常検知工程によって異常が検知された場合に、前記ライブラリ装置に対して別のドライブおよび別の記憶媒体を再び指定して探索処理を再び指示することでバックアップ処理を再試行する再試行工程と、を含んだことを特徴とする。 Further, the present invention is the above invention, wherein a storage medium is mounted on any one of a plurality of drives and a predetermined position on the storage medium is searched for and then connected to a library device to which data is written via a drive path. A backup method applied to a backup server device that instructs a library device to specify a drive and a storage medium and instruct search processing, and instruct data write processing after completion of the search processing, and instructs the search processing Until the completion of the data writing process, the abnormality detection step of monitoring the drive path and / or the state of the library device to detect the abnormality, and when the abnormality is detected by the abnormality detection step, Specify another drive and another storage medium again for the library device and specify the search process again. Characterized in that it includes a retry process of retrying the backup process, the by.
また、本発明は、上記の発明において、複数のドライブのいずれかに記憶媒体をマウントして当該記憶媒体上の所定位置を探索した後にデータを書き込むライブラリ装置とドライブパスを介して接続され、当該ライブラリ装置に対してドライブおよび記憶媒体を指定して探索処理を指示するとともに当該探索処理完了後にデータの書込み処理を指示するバックアップサーバ装置であって、前記探索処理を指示してから前記データ書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知手段と、前記異常検知手段によって異常が検知された場合に、前記ライブラリ装置に対して別のドライブおよび別の記憶媒体を再び指定して探索処理を再び指示することでバックアップ処理を再試行する再試行手段と、を備えたことを特徴とする。 Further, the present invention is the above invention, wherein a storage medium is mounted on any one of a plurality of drives and a predetermined position on the storage medium is searched for and then connected to a library device to which data is written via a drive path. A backup server device that designates a search process by designating a drive and a storage medium to a library apparatus, and instructs a data write process after completion of the search process, the data write process after instructing the search process Until the process is completed, an abnormality detection unit that monitors the drive path and / or the state of the library apparatus to detect an abnormality, and an abnormality is detected for the library apparatus when an abnormality is detected by the abnormality detection unit. Backup by specifying the drive and another storage medium again and instructing the search process again A retry means for retrying, and further comprising a.
本発明によれば、バックアップサーバ装置は、ライブラリ装置に対してドライブおよび記憶媒体を指定して探索処理を指示してからデータ書込み処理が完了するまでの間、ドライブパスおよび/またはライブラリ装置の状態を監視するとともに、異常を検知した場合に、ライブラリ装置に対して別のドライブおよび別の記憶媒体を再び指定して探索処理を再び指示することでバックアップ処理を再試行することとしたので、バックアップ処理の再試行を早期に実行することが可能である。このため、バックアップスケジュール通りにバックアップデータを採取するとともにバックアップデータの取りこぼしをなくすことができる。 According to the present invention, the backup server device designates the drive and storage medium to the library device and instructs the search processing until the data write processing is completed until the data write processing is completed. In addition, when an abnormality is detected, the backup process is retried by specifying another drive and another storage medium to the library device and instructing the search process again. Processing retries can be performed early. For this reason, it is possible to collect backup data according to the backup schedule and to prevent the backup data from being lost.
また、本発明によれば、バックアップサーバ装置は、ライブラリ装置に対してドライブおよび記憶媒体を指定する探索処理中に異常を検知した場合には、当該探索処理を残しつつライブラリ装置からの応答を待つことなく、新規にプロセスまたはスレッドを生成してバックアップ処理を再試行することとしたので、異常を早期発見してバックアップ処理の再試行を早期に実行することが可能であるとともに、異常検知した探索処理を残しておくことで当該探索処理において利用したドライブを他処理において利用して再度異常検知されることを免れることが可能である。 Further, according to the present invention, when an abnormality is detected during a search process for specifying a drive and a storage medium for the library apparatus, the backup server apparatus waits for a response from the library apparatus while leaving the search process. Therefore, it is possible to create a new process or thread and retry backup processing, so that it is possible to detect abnormalities early and to retry backup processing early, and to search for detected abnormalities. By leaving the processing, it is possible to avoid the abnormality being detected again by using the drive used in the search processing in other processing.
また、本発明によれば、バックアップサーバ装置は、ライブラリ装置においてデータの書込み処理中に異常を検知した場合には、当該書込み処理を中断するようライブラリ装置に指示し、当該中断したプロセスまたはスレッドを利用してバックアップ処理を再試行することとしたので、異常を早期発見してバックアップ処理の再試行を早期に実行することが可能であるとともに、異常検知したI/O処理において、媒体での異常の可能性を考慮して別ドライブとテープ媒体を利用することで再度異常検知されることを免れることが可能である。 Further, according to the present invention, when the backup server apparatus detects an abnormality during the data write process in the library apparatus, the backup server apparatus instructs the library apparatus to interrupt the write process, and the interrupted process or thread is Since it was decided to retry the backup process by using it, it is possible to detect the abnormality early and to retry the backup process at an early stage, and in the detected I / O process, an abnormality in the medium Considering this possibility, it is possible to avoid detecting an abnormality again by using another drive and a tape medium.
また、本発明によれば、バックアップサーバ装置は、ライブラリ装置に対してドライブおよび記憶媒体を指定して探索処理を指示してからデータ書込み処理が完了するまでの間、現に処理状況が探索処理中であるか書込み処理中であるかを示す処理状況情報を所定のメモリに更新して格納するとともに、異常が検知された場合に、所定のメモリに格納されている処理状況情報を参照して、現に処理状況が探索処理中であるか書込み処理中であるかを参照し、各処理状況に応じたバックアップ処理を再試行することとしたので、各処理状況に応じて的確かつ迅速にバックアップ処理の再試行を行うことが可能である。 Further, according to the present invention, the backup server apparatus is currently in the process of searching while the data write process is completed after designating the drive and storage medium to the library apparatus and instructing the search process. The processing status information indicating whether or not the writing process is in progress is updated and stored in a predetermined memory, and when an abnormality is detected, referring to the processing status information stored in the predetermined memory, Referencing whether the processing status is currently in search processing or writing processing, and decided to retry the backup processing according to each processing status, so the backup processing can be performed accurately and quickly according to each processing status. It is possible to retry.
以下に添付図面を参照して、この発明に係るバックアッププログラムを適用したバックアップサーバ装置を用いたバックアップ処理の実施例を詳細に説明する。なお、以下では、本発明に係るバックアップサーバ装置の概要および特徴、バックアップサーバ装置の構成および処理の流れを順に説明し、最後に本実施例による効果を説明する。 Embodiments of backup processing using a backup server device to which a backup program according to the present invention is applied will be described in detail below with reference to the accompanying drawings. In the following, the outline and features of the backup server device according to the present invention, the configuration of the backup server device and the flow of processing will be described in order, and finally the effects of this embodiment will be described.
[概要および特徴]
まず最初に、図1を用いて、実施例1に係るバックアップサーバ装置を用いたバックアップ処理の概要および特徴を説明する。図1は、実施例1に係るバックアップサーバ装置を用いたバックアップ処理の概要および特徴を示す説明図である。
[Overview and Features]
First, the outline and features of backup processing using the backup server device according to the first embodiment will be described with reference to FIG. FIG. 1 is an explanatory diagram illustrating an overview and characteristics of backup processing using the backup server device according to the first embodiment.
図1に示すように、本実施例に係るバックアップサーバ装置は、データを記憶する複数のディスクを有するRAID(Redundant Arrays of Inexpensive Disks)装置と、バックアップテープを装填するロボットと、データ書込みを行うドライブとを有するライブラリ装置との間でパスを介してデータ通信可能に接続して構成される。 As shown in FIG. 1, a backup server device according to the present embodiment includes a RAID (Redundant Array of Inexpensive Disks) device having a plurality of disks for storing data, a robot loaded with a backup tape, and a drive for writing data. Are connected so as to be capable of data communication via a path.
このような構成において、バックアップサーバ装置を用いたバックアップ処理の概要について説明する。バックアップサーバ装置は、予め決定されたバックアップスケジュールにより、RAID装置に対してデータ読み出し要求を行って、RAID装置から該当するデータを読み出す(図1の(1)参照)。 An outline of backup processing using the backup server apparatus in such a configuration will be described. The backup server device makes a data read request to the RAID device according to a predetermined backup schedule, and reads the corresponding data from the RAID device (see (1) in FIG. 1).
続いて、該当するデータを受信したバックアップサーバ装置は、決定されたスケジューリングに従ってI/O処理プロセスを生成し(図1の(2)参照)、バックアップテープをロボットに装填させるマウント指示と、バックアップテープを書込み位置に配置するSeek指示とをライブラリ装置に対して行うとともに、ドライブにデータを書込むデータ書込み指示をライブラリ装置に対して行う(図1の(3)参照)。 Subsequently, the backup server device that has received the corresponding data generates an I / O processing process according to the determined scheduling (see (2) in FIG. 1), a mount instruction for loading the backup tape into the robot, and the backup tape. Is issued to the library apparatus, and a data write instruction to write data to the drive is issued to the library apparatus (see (3) in FIG. 1).
そして、ライブラリ装置によりマウントが行われて(図1の(4)参照)、ドライブによりデータ書込みが行われ(図1の(5)参照)、バックアップサーバ装置は、ドライブから書込みが正常に完了した旨の信号を受信すると、ライブラリ装置に対してロボットからバックアップテープを切り離すアンマウント指示を行う。なお、アンマウント指示を受け付けたライブラリ装置はアンマウント処理を実行する(図1の(6)参照)。 Then, mounting is performed by the library device (see (4) in FIG. 1), data is written by the drive (see (5) in FIG. 1), and the backup server device has successfully completed writing from the drive. When a signal to that effect is received, the library apparatus is instructed to unmount the backup tape from the robot. The library apparatus that has received the unmount instruction executes unmount processing (see (6) in FIG. 1).
このようにしてバックアップ処理が行われるが、実施例1に係るバックアップサーバ装置は、バックアップ処理の再試行を早期に実行することに主たる特徴がある。 Although the backup process is performed in this way, the backup server device according to the first embodiment is mainly characterized in that the backup process is retried at an early stage.
具体的に説明すると、バックアップサーバ装置は、ライブラリ装置に対してドライブおよびバックアップテープを指定してSeek処理を指示してからドライブでのデータ書込みが完了するまでの間、ドライブパスおよび/またはライブラリ装置の状態を監視する(図1の(A)参照)。そして、Seek時に異常が検知された場合には(図1の(C−1)参照)、I/O処理プロセスに通知し(図1の(C−2)参照)、当該Seek処理を残しつつライブラリ装置からの応答を待つことなく、新規にプロセスを生成してバックアップ処理を再試行する(図1の(D−1)〜(D−3)参照)。 More specifically, the backup server device designates the drive and backup tape to the library device and instructs the seek processing until the data writing in the drive is completed. Is monitored (see FIG. 1A). If an abnormality is detected during the seek (see (C-1) in FIG. 1), the I / O processing process is notified (see (C-2) in FIG. 1), and the Seek process remains. Without waiting for a response from the library apparatus, a new process is generated and the backup process is retried (see (D-1) to (D-3) in FIG. 1).
また、バックアップサーバ装置は、I/O時に異常が検知された場合には(図1の(C−1)参照)、I/O処理プロセスに通知し(図1の(C−2)参照)、当該書込み処理を中断するようライブラリ装置に指示し、当該中断したプロセス(図1の(2)参照)を利用してバックアップ処理を再試行する(図1の(E)参照)。 Further, when an abnormality is detected during I / O (see (C-1) in FIG. 1), the backup server device notifies the I / O processing process (see (C-2) in FIG. 1). The library apparatus is instructed to interrupt the write process, and the backup process is retried using the interrupted process (see (2) in FIG. 1) (see (E) in FIG. 1).
このようなことから、実施例1に係るバックアップサーバ装置は、上記した主たる特徴のごとく、異常を早期発見してバックアップ処理の再試行を早期に実行することが可能である。このため、バックアップスケジュール通りにバックアップデータを採取するとともにバックアップデータの取りこぼしをなくすことができる。 For this reason, the backup server device according to the first embodiment can detect an abnormality at an early stage and execute a retry of the backup process at an early stage as described above. For this reason, it is possible to collect backup data according to the backup schedule and to prevent the backup data from being lost.
[バックアップサーバ装置の構成]
次に、図2を用いて、図1に示したバックアップサーバ装置の構成を説明する。図2は、バックアップサーバ装置の構成を示すブロック図である。同図に示すように、このバックアップサーバ装置10は、I/F部11と、記憶部12と、制御部13とから構成される。
[Configuration of backup server]
Next, the configuration of the backup server apparatus shown in FIG. 1 will be described with reference to FIG. FIG. 2 is a block diagram showing the configuration of the backup server device. As shown in the figure, the
I/F部11は、RAID装置およびライブラリ装置との間でやり取りする各種情報に関する通信を制御する。具体的には、I/F部11は、データが記憶される複数のディスクを有するRAID装置から読み出した当該データを入力し、ライブラリ装置へ書込むデータを出力する。
The I /
記憶部12は、制御部13による各種処理に必要なデータおよびプログラムを記憶し、特に本発明に密接に関連するものとしては、処理状況情報管理テーブル12aを備える。
The
この記憶部12は、バックアップサーバ装置10、RAID装置およびライブラリ装置において行われるバックアップ処理に関する情報を記憶している。例えば、記憶部12は、バックアップ処理に関して、状態監視のログを示す状態監視情報、I/O処理のログを示すI/O処理情報、バックアップ処理開始のログを示す処理開始情報、バックアップ処理完了のログを示す処理完了情報およびエラー発生のログを示すエラー発生情報などを各処理情報が発生した日時と対応付けて記憶する。そして、記憶部12は、バックアップ処理に関してスケジューリングがなされている場合は、バックアップ開始日時およびバックアップするRAID装置のディスク識別情報などを記憶する。
The
処理状況情報管理テーブル12aは、ライブラリ装置におけるバックアップ処理に関する各種の情報を記憶する。具体的には、処理状況情報管理テーブル12aは、図3に例示するように、ライブラリ装置で行われるバックアップ処理においてどのドライブが利用されているかを示すドライブ情報、そして、Seek処理中であるか書込み処理中であるかを示すバックアップ処理情報を記憶して構成される。 The processing status information management table 12a stores various types of information related to backup processing in the library apparatus. Specifically, as illustrated in FIG. 3, the processing status information management table 12a is written with drive information indicating which drive is being used in the backup process performed in the library apparatus, and whether the seek process is being performed. Backup processing information indicating whether processing is in progress is stored.
制御部13は、OS(Operating System)などの制御プログラム、各種の処理手順などを規定したプログラムおよび所要データを格納するための内部メモリを有し、これらによって種々の処理を実行し、特に本発明に密接に関連するものとしては、データ送受処理部13aと、処理状況情報処理部13bと、I/O処理制御部13cと、マウント/アンマウント指示部13dと、Seek開始指示部13eと、状態監視制御部13fとを備える。
The
データ送受処理部13aは、バックアップを行うデータの送受信に関しての処理を行う。具体的には、データ送受処理部13aは、予め決定されたバックアップスケジュールに従ってバックアップ処理が開始指示されると、RAID装置から該当するデータを受信する。そして、データ送受処理部13aは、後述するI/O処理制御部13cの制御に従って決定されたライブラリ装置のドライブに対して当該データを送信する。
The data transmission /
処理状況情報処理部13bは、ライブラリ装置におけるバックアップ処理に関する各種の情報を処理する。具体的には、処理状況情報処理部13bは、ライブラリ装置においてSeek処理または書込み処理が開始または完了されると、開始または完了された処理状況に応じて処理状況情報管理テーブル12aの処理状況情報を更新する。また、処理状況情報処理部13bは、処理状況情報管理テーブル12aを用いてライブラリ装置においてSeek処理中または書込み処理中であるか、そして、どのドライブが使用中であるかを参照し、後述するI/O処理制御部13cに対して処理状況情報を通知する。
The processing status
I/O処理制御部13cは、図1に示したI/O処理プロセスを生成してバックアップ処理に関する制御を行う。具体的には、I/O処理制御部13cは、データ送受処理部13aによりRAID装置からデータが受信されたならば、処理状況情報処理部13bより処理状況情報を受け取り、I/O処理プロセスを生成して後述するマウント/アンマウント指示部13dおよびSeek開始指示部13eそれぞれに対してマウント指示およびSeek開始指示を促す。なお、I/O処理制御部13cは、マウント/アンマウント指示部13dに対してマウント指示を促したならば、状態監視制御部13fによる状態監視を開始させるため、マウント指示信号を状態監視制御部13fに対して通知する。
The I / O
そして、I/O処理制御部13cは、Seek処理中に、後述する状態監視制御部13fより異常検知信号を受信した場合には、処理状況情報処理部13bより処理状況情報を受け取って、バックアップ処理再試行に利用する別ドライブおよびテープ媒体を決定して、新規にI/O処理プロセスを生成したうえで、マウント/アンマウント指示部13dに対してマウント指示を促す。
When the I / O
さらに、I/O処理制御部13cは、非同期I/O処理中に、後述する状態監視制御部13fより異常検知信号を受信した場合には、バックアップ処理を中断するとともに、処理状況情報処理部13bより処理状況情報を受け取って、バックアップ処理再試行に利用する別ドライブおよびテープ媒体を決定したうえで、同じI/O処理プロセスにてマウント/アンマウント指示部13dに対してマウント指示を促す。
Furthermore, when an abnormality detection signal is received from a state
マウント/アンマウント指示部13dは、I/O処理制御部13cの制御に従ってマウント/アンマウントをI/F部11を介してライブラリ装置に対して指示する。具体的には、マウント/アンマウント指示部13dは、バックアップ処理が開始されてI/O処理制御部13cよりマウント指示が促されたならば、ライブラリ装置に対してマウント指示を行い、バックアップ処理が完了するとライブラリ装置に対してアンマウント指示を行う。なお、マウントまたはアンマウント指示を受け付けたライブラリ装置は、該当するロボットに対してバックアップテープのマウントまたはアンマウントを実行する。
The mount /
Seek開始指示部13eは、I/O処理制御部13cの制御に従ってI/F部11を介してライブラリ装置にSeek開始を指示する。具体的には、Seek開始指示部13eは、バックアップ処理が開始されてI/O処理制御部13cによりSeek開始指示が促されたならば、ライブラリ装置に対してSeek開始指示を行う。なお、Seek開始指示を受け付けたライブラリ装置は、該当するロボットに対してバックアップテープのSeek開始を実行して、バックアップテープ書込み位置へ位置付けする。
The seek
状態監視制御部13fは、マウントからアンマウントまでのバックアップ処理にかかるI/O処理時およびSeek処理時において異常状態の監視を行う。具体的には、状態監視制御部13fは、I/O処理制御部13cよりマウント指示信号を受信すると、アンマウント指示信号を受信するまでバックアップ処理状態を監視し、異常検知したならばI/O処理制御部13cに対して異常検知信号を通知する。
The state
この状態監視制御部13fは、ドライブパスの単位時間当たりの処理能力(データ転送量)を監視する「スループット監視」と、何らかのハード障害発生時にライブラリ装置がバックアップサーバ装置10に対して障害情報を自発的にネットワーク経由で通知するSNMPtrapを監視する「SNMPtrap監視」とを用いることで異常を早期に発見することが可能となっている。
This state
[バックアップサーバ装置による状態監視処理]
次に、図4を用いて、バックアップサーバ装置10の状態監視制御部13fによる状態監視処理を説明する。図4は、図2に示した状態監視制御部13fによる状態監視処理の流れを示すフローチャートである。
[Status monitoring process by backup server]
Next, the state monitoring process by the state
同図に示すように、状態監視制御部13fは、I/O処理制御部13cからのマウント指示信号受信待ちの状態にあり(ステップS401)、I/O処理制御部13cよりマウント指示信号を受信したならば(ステップS401肯定)、ドライブパスの単位時間当たりの処理能力(データ転送量)を監視するスループット監視を開始する(ステップS402)。
As shown in the figure, the state
続いて、状態監視制御部13fは、スループットが数秒間「0」であるなど閾値を下回る期間が一定期間続いたか否か(ステップS403)、何らかのハード障害発生時にライブラリ装置がバックアップサーバ装置10に対して障害情報を自発的にネットワーク経由で通知するSNMPtrapを受信したか否か(ステップS404)、I/O処理制御部13cよりアンマウント指示があったか否か(ステップS409)を、それぞれ判定する。
Subsequently, the state
ここで、状態監視制御部13fは、スループットが閾値を下回る期間が一定期間続いた(ステップS403肯定)、または、ライブラリ装置よりSNMPtrapを受信したならば(ステップS404肯定)、処理状況情報処理部13bの制御に従って処理状況情報管理テーブル12aを参照する(ステップS405)。
Here, if the period during which the throughput falls below the threshold continues for a certain period (Yes in step S403) or if SNMPtrap is received from the library device (Yes in step S404), the state
そして、状態監視制御部13fは、処理状況情報管理テーブル12aにおいてテープSeek処理中であるならば(ステップS406肯定)、I/O処理制御部13cに対してテープSeekにて異常が発生したことを通知し(ステップS407)、テープSeek処理中でないならば(ステップS406否定)、I/O処理制御部13cに対して非同期I/Oにて異常が発生したことを通知する(ステップS408)。
Then, if the tape seek processing is being performed in the processing status information management table 12a (Yes in step S406), the state
さらに、状態監視制御部13fは、I/O処理制御部13cよりアンマウント指示信号を受信したならば(ステップS409肯定)、状態監視を終了し(ステップS410)、I/O処理制御部13cよりアンマウント指示信号を受信していないならば(ステップS409否定)、状態監視を継続することとなる(ステップS403およびステップS404)。
Further, when the state
[バックアップサーバ装置によるバックアップ処理]
次に、図5および図6〜図8を用いて、バックアップサーバ装置10のバックアップ処理を説明する。図5は、図2に示したバックアップサーバ装置10によるバックアップ処理の流れを示すフローチャートであり、図6〜図8は、処理状況情報管理テーブル12aが保持しているバックアップにかかる各処理時の処理状況情報である。
[Backup processing by backup server]
Next, backup processing of the
図5に示すように、バックアップサーバ装置10は、バックアップ処理開始受け付け待ちの状態にあり(ステップS501)、予め決定されたバックアップスケジュールによりバックアップ処理開始を受け付けたならば(ステップS501肯定)、データ送受処理部13aによりRAID装置に対してデータ要求を行い、RAID装置より該当するデータを受け取る(ステップS502)。
As shown in FIG. 5, the
続いて、I/O処理制御部13cは、処理状況情報処理部13bの制御に従って処理状況情報管理テーブル12aを参照しつつ利用可能なバックアップ対象(ドライブ)の決定を行って(ステップS503)、マウント/アンマウント指示部13dを介してライブラリ装置に対してマウント指示を行うとともに(ステップS504)、Seek開始指示部13eを介してライブラリ装置に対してテープSeek処理開始指示を行う(ステップS505)。
Subsequently, the I / O
ここで、処理状況情報について説明すると、I/O処理制御部13cにより利用可能なバックアップ対象(ドライブ)の決定が行われた場合の処理状況情報は、初期状態となっている。具体的には、バックアップ処理情報が「バックアップA:I/O処理未実施」およびドライブ情報が「ドライブ1:空き ドライブ2:空き」となっている(図6の(A)参照)。そして、処理状況情報処理部13bは、マウント/アンマウント指示部13dによりライブラリ装置に対してマウント指示が行われたならば、ドライブ情報を「ドライブ1:バックアップA使用中」に更新する(図6の(B)参照)。また、処理状況情報処理部13bは、Seek開始指示部13eによりライブラリ装置に対してテープSeek処理開始指示が行われたならば、バックアップ処理情報を「バックアップA:テープSeek処理中」に更新する(図6の(C)参照)。
Here, the processing status information will be described. The processing status information when the backup target (drive) that can be used is determined by the I / O
そして、バックアップサーバ装置10は、ライブラリ装置よりテープSeek処理完了信号を受信したか否か(ステップS506)、状態監視制御部13fにおいてSNMPtrapまたはスループット異常信号を受信したか否か(ステップS507)を、それぞれ判定する。ここで、ライブラリ装置よりSNMPtrapまたはスループット異常信号を受信したならば(ステップS507肯定)、I/O処理制御部13cは、別プロセスを生成して再び別のバックアップ対象(ドライブ)の決定を行う(ステップS508)。
Then, the
ここで、処理状況情報について説明すると、処理状況情報処理部13bは、I/O処理制御部13cにより別プロセスを生成して再び別のバックアップ対象(ドライブ)の決定が行われたならば、バックアップ処理情報を「バックアップA:I/O処理未実施」に更新する(図6の(D)参照)。
Here, the processing status information will be described. The processing status
さらに、バックアップサーバ装置10は、ステップS507において異常検知し、ステップS508において別プロセスを生成して別のバックアップ対象(ドライブ)の決定を行ったならば、再びライブラリ装置に対してマウント指示を行うとともに(ステップS504)、ライブラリ装置に対してテープSeek処理開始の指示を行う(ステップS505)。なお、ライブラリ装置においてテープ媒体のハード障害に関しての異常検知がなされた場合は、バックアップサーバ装置10は、I/O処理プロセスを中断することができないため、異常検知したドライブの処理をそのままにしてきおき(ステップS509)、当該ドライブから応答が返されたらI/O処理プロセスを中止することとなる(ステップS510)。
Further, when the
ここで、処理状況情報について説明すると、処理状況情報処理部13bは、I/O処理制御部13cによりステップS508において別プロセスを生成して、別のバックアップ対象(ドライブ)が決定され、再びライブラリ装置に対してマウント指示が行われたならば、ドライブ情報を「ドライブ1:バックアップA使用中(異常) ドライブ2:バックアップA使用中」に更新する(図6の(E)参照)。また、処理状況情報処理部13bは、Seek開始指示部13eにより再びライブラリ装置に対してテープSeek処理開始の指示が行われたならば、バックアップ処理情報を「バックアップA:テープSeek処理中」に更新する(図6の(F)参照)。
Here, the processing status information will be described. The processing status
次に、バックアップサーバ装置10は、ステップS506においてライブラリ装置よりSeek処理完了信号を受信したならば(ステップS506肯定)、I/O処理制御部13cの制御に従ってデータ送受処理部13aに対してRAID装置から受け取ったデータをライブラリ装置へ送信させるデータI/O処理開始をライブラリ装置に対して指示するとともに(ステップS511)、ライブラリ装置のドライブに対してデータ書込み指示を行う(ステップS512)。
Next, when the
ここで、処理状況情報について説明すると、処理状況情報処理部13bは、バックアップサーバ装置10によりデータI/O処理開始をライブラリ装置に対して指示がなされたならば、バックアップ処理情報を「バックアップA:データI/O処理中」に更新する(図7の(A)参照)。
Here, the processing status information will be explained. When the
そして、バックアップサーバ装置10は、ライブラリ装置よりテープSeek処理完了信号を受信したか否か(ステップS513)、状態監視制御部13fにおいてSNMPtrapまたはスループット異常信号を受信したか否か(ステップS514)を、それぞれ判定する。ここで、ライブラリ装置よりSNMPtrapまたはスループット異常信号を受信したならば(ステップS514否定)、バックアップサーバ装置10は、データI/O処理を中断し(ステップS515)、マウント/アンマウント指示部13dを介してライブラリ装置に対してアンマウント指示を行うとともに(ステップS516)、同じI/O処理プロセスを利用して別のバックアップ対象(ドライブ)の決定を行う(ステップS517)。
Then, the
ここで、処理状況情報について説明すると、処理状況情報処理部13bは、バックアップサーバ装置10によりI/O処理が中断されたならば、バックアップ処理情報を「バックアップA:データI/O処理未実施」に更新する(図7の(B)参照)。また、処理状況情報処理部13bは、マウント/アンマウント指示部13dによりライブラリ装置に対してアンマウント指示がなされたならば、ドライブ情報を「ドライブ1:空き」に更新する(図7の(C)参照)。また、バックアップサーバ装置10により同じI/O処理プロセスを利用して別のバックアップ対象(ドライブ)の決定が行われた場合の処理状況情報は、上記した初期状態となる(図7の(D)参照)。
Here, the processing status information will be described. If the I / O processing is interrupted by the
さらに、バックアップサーバ装置10は、ステップS514において異常検知し、ステップS517において同プロセスを利用して別のバックアップ対象(ドライブ)の決定を行ったならば、再びライブラリ装置に対してマウント指示を行うとともに(ステップS504)、テープSeek処理開始の指示を行う(ステップS505)。
Furthermore, if the
なお、バックアップサーバ装置10は、ステップS513においてライブラリ装置よりデータI/O処理完了信号を受信したならば(ステップS513肯定)、I/O処理制御部13cの制御に従ってマウント/アンマウント指示部13dを介してライブラリ装置に対してアンマウント指示を行う(ステップS518)。
If the
ここで、処理状況情報について説明すると、処理状況情報処理部13bは、ステップS513においてバックアップサーバ装置10によりデータI/O処理完了信号を受信したならば、バックアップ処理情報を「バックアップA:I/O処理完了」に更新する(図8の(A)参照)。なお、マウント/アンマウント指示部13dによりライブラリ装置に対してアンマウント指示が行われた場合の処理状況情報は、上記した初期状態となる(図8の(B)参照)。
Here, the processing status information will be described. When the processing status
[実施例1の効果]
このようにして、実施例1にかかるバックアップサーバ装置10は、バックアップ処理に対してテープSeek処理中および非同期I/O処理中の状態監視を行うことにより、異常を早期発見してバックアップ処理の再試行を早期に実行することが可能である。このため、バックアップスケジュール通りにバックアップデータを採取するとともにバックアップデータの取りこぼしをなくすことが可能である。
[Effect of Example 1]
As described above, the
また、実施例1によれば、Seek処理時に異常検知された場合は、Seek処理を残しつつバックアップ処理の再試行を行うこととしたので、異常を早期発見してバックアップ処理の再試行を早期に実行することが可能であるとともに、媒体でのハード障害による異常検知が多いSeek処理を残しておくことで当該Seek処理において用いたドライブを他処理において利用して再度異常検知されることを免れることが可能である。 Also, according to the first embodiment, when an abnormality is detected during the seek processing, the backup processing is retried while leaving the seek processing, so that the abnormality is detected early and the backup processing is retried early. It is possible to execute the process and leave the Seek process with many abnormality detections due to a hardware failure in the medium, thereby avoiding the use of the drive used in the Seek process in another process and detecting the abnormality again. Is possible.
また、実施例1によれば、I/O処理時に異常検知された場合は、I/O処理を中断してバックアップ処理の再試行を行うこととしたので、異常を早期発見してバックアップ処理の再試行を早期に実行することが可能であるとともに、バックアップ装置とライブラリ装置間のドライブパスでの異常検知が多いI/O処理において、媒体での異常の可能性を考慮して別ドライブとテープ媒体を利用することで再度異常検知されることを免れることが可能である。 Also, according to the first embodiment, if an abnormality is detected during I / O processing, the I / O processing is interrupted and the backup processing is retried. Retry can be executed early, and another drive and tape can be used in consideration of the possibility of abnormality in the medium in I / O processing where there are many abnormality detections in the drive path between the backup device and the library device. It is possible to avoid being detected again by using the medium.
また、実施例1によれば、ライブラリ装置に対してバックアップ処理の指示を行う場合には、処理状況情報管理テーブル12aを参照するとともにバックアップ処理を行うバックアップテープおよびドライブを決定することとしたので、各処理状況に応じて的確かつ迅速にバックアップ処理の開始または再試行を行うことが可能である。 In addition, according to the first embodiment, when the backup process is instructed to the library apparatus, the processing status information management table 12a is referred to, and the backup tape and drive for performing the backup process are determined. The backup process can be started or retried accurately and quickly according to each processing situation.
さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下に示すようにそれぞれ区分けして異なる実施例を説明する。 Although the embodiments of the present invention have been described so far, the present invention may be implemented in various different forms other than the embodiments described above. Therefore, different embodiments will be described by dividing them as follows.
[監視対象]
上記の実施例1では、ライブラリ装置によるSeek処理中およびドライブパスによるI/O処理中の両者について監視する場合を説明したが、本発明はこれに限定されるものではなく、Seek処理中またはI/O処理中の一方のみ監視する場合でも本発明を同様に適用することができる。
[Monitoring target]
In the first embodiment described above, the case where both the seek processing by the library apparatus and the I / O processing by the drive path are monitored has been described. However, the present invention is not limited to this, and during the seek processing or I The present invention can be similarly applied even when only one of the / O processes is monitored.
[バックアップサーバ装置、RAID装置及びライブラリ装置の構成]
また、上記の実施例1では、バックアップサーバ装置、RAID装置及びライブラリ装置が1対1対1の関係で構成されることとして説明したが、本発明はこれに限定されるものではなく、いかなる関係で構成されるものであってもよく、例えば、複数のRAID装置と、一つのバックアップサーバ装置と、一つのライブラリ装置との関係で構成されるものであってもよい。例えば、複数のRAID装置に同じデータを格納しておけば、一つのRAID装置がハード異常により利用できない場合には、当該RAID装置と別のRAID装置のデータを利用してバックアップ処理を行うこととなる。
[Configuration of Backup Server Device, RAID Device, and Library Device]
In the first embodiment, the backup server device, the RAID device, and the library device are described as being configured in a one-to-one relationship. However, the present invention is not limited to this, and any relationship is possible. For example, it may be configured by a relationship among a plurality of RAID devices, one backup server device, and one library device. For example, if the same data is stored in a plurality of RAID devices and one RAID device cannot be used due to a hardware abnormality, backup processing is performed using data of the RAID device and another RAID device. Become.
[記憶領域]
また、上記の実施例1では、記憶領域を装置内部の記憶部と、装置外部のディスクとに分けて構成する場合を説明したが、本発明はこれに限定されるものではなく、一つの記憶領域に統合した構成であってもよい。例えば、バックアップサーバ装置10の記憶部12において、バックアップ処理の対象となるデータを格納するようにしてもよく、ライブラリ装置において、当該データの複製を格納するようにしてもよい。
[Storage area]
In the first embodiment, the case where the storage area is divided into the storage unit inside the apparatus and the disk outside the apparatus has been described. However, the present invention is not limited to this, and one storage is provided. The configuration may be integrated in the area. For example, the
[システム構成]
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、例えば、データ送受処理部13aを、データ送信を行うデータ送信処理部と、データ受信を行うデータ受信処理部とに分散するなど、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。さらに、各装置にて行われる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
[System configuration]
Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. That is, the specific form of distribution / integration of each device is not limited to the illustrated one. For example, the data transmission /
また、本実施例において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。例えば、上記の実施例では、RAID装置からバックアップサーバ装置10へのデータの送信がスケジューリングに従って自動で行われる場合を説明したが、オペレータが所定の操作を行うことで動作が始まるようにしてもよい。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。
In addition, among the processes described in the present embodiment, all or part of the processes described as being automatically performed can be performed manually, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method. For example, in the above-described embodiment, the case where data transmission from the RAID device to the
[バックアッププログラム]
ところで、上記の実施例では、ハードウェアロジックによって各種の処理を実現する場合を説明したが、本発明はこれに限定されるものではなく、あらかじめ用意されたプログラムをコンピュータで実行することによって実現するようにしてもよい。そこで、以下では、図9を用いて、上記の実施例に示したバックアップサーバ装置と同様の機能を有するバックアッププログラムを実行するコンピュータの一例を説明する。図9は、バックアッププログラムを実行するコンピュータを示す図である。
[Backup program]
By the way, in the above embodiment, the case where various processes are realized by hardware logic has been described. However, the present invention is not limited to this, and is realized by executing a program prepared in advance by a computer. You may do it. Therefore, in the following, an example of a computer that executes a backup program having the same function as the backup server apparatus shown in the above embodiment will be described with reference to FIG. FIG. 9 is a diagram illustrating a computer that executes a backup program.
同図に示すように、バックアップサーバ装置としてのコンピュータ110は、キーボード120、HDD130、CPU140、ROM150、RAM160およびディスプレイ170をバス180などで接続して構成される。
As shown in the figure, a computer 110 as a backup server device is configured by connecting a
ROM150には、上記の実施例1に示したバックアップサーバ装置10と同様の機能を発揮するバックアッププログラム、つまり、図9に示すように探索処理指示プログラム150aと、異常検知プログラム150bと、再試行プログラム150cとが、あらかじめ記憶されている。なお、これらのプログラム150a〜プログラム150cについては、図2に示したバックアップサーバ装置の各構成要素と同様、適宜統合または、分散してもよい。
The
そして、CPU140がこれらのプログラム150a〜プログラム150cをROM150から読み出して実行することで、図9に示すように、プログラム150a〜プログラム150cは、探索処理指示プロセス140aと、異常検知プロセス140bと、再試行プロセス140cとして機能するようになる。なお、プロセス140a〜プロセス140cは、図2に示した、Seek開始指示部13eと、状態監視制御部13fと、I/O処理制御部13cとにそれぞれ対応する。
The
そして、CPU140はRAM160に記録された処理状況情報データ160aに基づいてバックアッププログラムを実行する。
Then, the
なお、上記した各プログラム150a〜プログラム150cについては、必ずしも最初からROM150に記憶させておく必要はなく、例えば、コンピュータ110に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」、またはコンピュータ110の内外に備えられるHDDなどの「固定用の物理媒体」、さらには公衆回線、インターネット、LAN、WANなどを介してコンピュータ110に接続される「他のコンピュータ(またはサーバ)」などに各プログラムを記憶させておき、コンピュータ110がこれから各プログラムを読み出して実行するようにしてもよい。
The above-described
以上のように、本発明に係るバックアッププログラム、バックアップ方法およびバックアップ装置は、バックアップサーバ装置を用いたバックアップ処理に有用であり、特に、Seek時またはI/O時に処理状態を監視して、ドライブパスやライブラリ装置に異常が発生した場合にバックアップ処理の再試行を早く行うことに適する。 As described above, the backup program according to the present invention, a backup method and backup equipment is useful in the backup processing using the backup server device, in particular, monitors the at processing conditions or at I / O Seek, This is suitable for quickly retrying backup processing when an abnormality occurs in a drive path or library device.
10 バックアップサーバ装置
11 I/F部
12 記憶部
12a 処理状況情報管理テーブル
13 制御部
13a データ送受処理部
13b 処理状況情報処理部
13c I/O処理制御部
13d マウント/アンマウント指示部
13e Seek開始指示部
13f 状態監視制御部
110 コンピュータ
120 キーボード
130 HDD
140 CPU
140a 探索処理指示プロセス
140b 異常検知プロセス
140c 再試行プロセス
150 ROM
150a 探索処理指示プログラム
150b 異常検知プログラム
150c 再試行プログラム
160 RAM
160a 処理状況情報データ
170 ディスプレイ
180 バス
DESCRIPTION OF
140 CPU
140a Search processing instruction process 140b
150a Search processing instruction program 150b
160a Processing
Claims (7)
前記探索処理を指示してから前記データの書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知手順と、
前記探索処理中に前記異常検知手順によって異常が検知された場合には、当該探索処理を実行するプロセスまたはスレッドを残しつつ、前記ライブラリ装置からの応答を待つことなく、前記ライブラリ装置に対して別のドライブおよび別の記憶媒体を指定し、新たな探索処理のプロセスまたはスレッドを生成してバックアップ処理を再試行する再試行手順と、
をコンピュータに実行させることを特徴とするバックアッププログラム。 Mount a storage medium on one of multiple drives, search for a predetermined location on the storage medium, and then connect to the library device to which data is written via a drive path, and specify the drive and storage medium for the library device a backup program that is executing the write processing of the data after the search process completion indication to the Turkish computer instructs the search process and,
During the period from the instruction to the search processing until the write processing of the data is completed, the abnormality detection procedure for detecting an abnormality by monitoring the status of the drive path and / or library unit,
If an abnormality is detected during the search process by the abnormality detection procedure, the library apparatus is separated from the library apparatus without waiting for a response from the library apparatus while leaving a process or thread for executing the search process. the drive and other storage medium is specified, the procedure retries to retry the backup process to generate a process or thread of the new search process,
A backup program characterized by causing a computer to execute.
前記探索処理を指示してから前記データの書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知手順と、
前記データの書込み処理中に前記異常検知手順によって異常が検知された場合には、当該データの書込み処理を実行するプロセスまたはスレッドを中断するよう前記ライブラリ装置に指示し、当該中断したプロセスまたはスレッドを利用してバックアップ処理を再試行する再試行手順と、
をコンピュータに実行させることを特徴とするバックアッププログラム。 Mount a storage medium on one of multiple drives, search for a predetermined location on the storage medium, and then connect to the library device to which data is written via a drive path, and specify the drive and storage medium for the library device a backup program that is executing the write processing of the data after the search process completion indication to the Turkish computer instructs the search process and,
During the period from the instruction to the search processing until the write processing of the data is completed, the abnormality detection procedure for detecting an abnormality by monitoring the status of the drive path and / or library unit,
If an abnormality is detected by the abnormality detection procedure during the data writing process, the library apparatus is instructed to interrupt the process or thread that executes the data writing process, and the interrupted process or thread is A retry procedure to use and retry the backup process ,
A backup program characterized by causing a computer to execute.
前記再試行手順は、前記異常検知手順によって異常が検知された場合に、前記処理状況情報格納手順によって所定のメモリに格納されている処理状況情報を参照して、現に処理状況が探索処理中であるか書込み処理中であるかを判定し、各処理状況に応じたバックアップ処理を再試行することを特徴とする請求項1または2に記載のバックアッププログラム。 During said search process after instructing to write processing of the data is completed, stores the process status information currently processing status indicates whether being or write process is being search process to update the predetermined memory To further execute the processing status information storage procedure to be performed,
The retry procedure refers to the processing status information stored in a predetermined memory by the processing status information storage procedure when an abnormality is detected by the abnormality detection procedure, and the processing status is currently being searched. 3. The backup program according to claim 1, wherein it is determined whether there is a write process or not, and the backup process corresponding to each process status is retried.
前記探索処理を指示してから前記データの書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知工程と、
前記探索処理中に前記異常検知工程によって異常が検知された場合には、当該探索処理を実行するプロセスまたはスレッドを残しつつ、前記ライブラリ装置からの応答を待つことなく、前記ライブラリ装置に対して別のドライブおよび別の記憶媒体を指定し、新たな探索処理のプロセスまたはスレッドを生成してバックアップ処理を再試行する再試行工程と、
を含んだことを特徴とするバックアップ方法。 Mount a storage medium on one of multiple drives, search for a predetermined location on the storage medium, and then connect to the library device to which data is written via a drive path, and specify the drive and storage medium for the library device a backup method that is applied to the backup equipment to instruct the writing process of the data after the search process is completed instructs the search process and,
During the period from the instruction to the search processing until the write processing of the data is completed, the abnormality detecting step of detecting an abnormality by monitoring the status of the drive path and / or library unit,
If an abnormality is detected during the search process by the abnormality detection step, the library apparatus is separated from the library apparatus without waiting for a response from the library apparatus while leaving a process or thread for executing the search process. the drives and other storage media specify the a retry process to retry the backup process to generate a process or thread of the new search process,
The backup method characterized by including.
前記探索処理を指示してから前記データの書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知工程と、 An abnormality detection step of detecting an abnormality by monitoring the state of the drive path and / or the library device from the time when the search process is instructed until the completion of the data writing process,
前記データの書込み処理中に前記異常検知工程によって異常が検知された場合には、当該データの書込み処理を実行するプロセスまたはスレッドを中断するよう前記ライブラリ装置に指示し、当該中断したプロセスまたはスレッドを利用してバックアップ処理を再試行する再試行工程と、 When an abnormality is detected by the abnormality detection step during the data writing process, the library apparatus is instructed to interrupt the process or thread that executes the data writing process, and the interrupted process or thread is A retry process to retry the backup process using,
を含んだことを特徴とするバックアップ方法。 The backup method characterized by including.
前記探索処理を指示してから前記データの書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知手段と、
前記探索処理中に前記異常検知手段によって異常が検知された場合には、当該探索処理を実行するプロセスまたはスレッドを残しつつ、前記ライブラリ装置からの応答を待つことなく、前記ライブラリ装置に対して別のドライブおよび別の記憶媒体を指定し、新たな探索処理のプロセスまたはスレッドを生成してバックアップ処理を再試行する再試行手段と、
を備えたことを特徴とするバックアップ装置。 Mount a storage medium on one of multiple drives, search for a predetermined location on the storage medium, and then connect to the library device to which data is written via a drive path, and specify the drive and storage medium for the library device a backup equipment which instructs the writing process of the data after the search process is completed instructs the search process and,
And the search during processing after the instruction until the write processing of the data is completed, the abnormality detecting means for detecting an abnormality by monitoring the status of the drive path and / or library unit,
If an abnormality is detected by the abnormality detection means during the search process, the library apparatus is separated from the library apparatus without waiting for a response from the library apparatus while leaving a process or thread for executing the search process. the drive and other storage medium is specified, and retry means for retrying the backup process to generate a process or thread of the new search process,
Backup equipment, characterized in that it comprises a.
前記探索処理を指示してから前記データの書込み処理が完了するまでの間、前記ドライブパスおよび/またはライブラリ装置の状態を監視して異常を検知する異常検知手段と、 An abnormality detection means for monitoring the drive path and / or the state of the library device to detect an abnormality from the time when the search process is instructed until the time when the data writing process is completed,
前記データの書込み処理中に前記異常検知手段によって異常が検知された場合には、当該データの書込み処理を実行するプロセスまたはスレッドを中断するよう前記ライブラリ装置に指示し、当該中断したプロセスまたはスレッドを利用してバックアップ処理を再試行する再試行手段と、 If an abnormality is detected by the abnormality detection means during the data writing process, the library apparatus is instructed to interrupt the process or thread that executes the data writing process, and the interrupted process or thread is Retry means to use and retry the backup process,
を備えたことを特徴とするバックアップ装置。 A backup device characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007089160A JP4985033B2 (en) | 2007-03-29 | 2007-03-29 | Backup program, backup method and backup device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007089160A JP4985033B2 (en) | 2007-03-29 | 2007-03-29 | Backup program, backup method and backup device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008250509A JP2008250509A (en) | 2008-10-16 |
JP4985033B2 true JP4985033B2 (en) | 2012-07-25 |
Family
ID=39975411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007089160A Expired - Fee Related JP4985033B2 (en) | 2007-03-29 | 2007-03-29 | Backup program, backup method and backup device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4985033B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014170525A (en) * | 2013-02-06 | 2014-09-18 | Ricoh Co Ltd | Information process system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4813011A (en) * | 1985-05-13 | 1989-03-14 | International Business Machines Corporation | Data processing peripheral subsystems having a controller and a plurality of peripheral devices |
JPS6316485A (en) * | 1986-07-08 | 1988-01-23 | Nec Corp | Data back-up system |
JPH0831241B2 (en) * | 1986-11-10 | 1996-03-27 | 日本電気株式会社 | Peripheral control processor |
JPH09282780A (en) * | 1996-04-08 | 1997-10-31 | Natl Space Dev Agency Japan<Nasda> | Optical disk device |
JPH1063440A (en) * | 1996-08-14 | 1998-03-06 | Sony Corp | Data recording and reproducing device |
JP2000259357A (en) * | 1999-03-11 | 2000-09-22 | Fujitsu Ltd | Library controller |
JP2001100935A (en) * | 1999-09-28 | 2001-04-13 | Internatl Business Mach Corp <Ibm> | Disk device and its control method |
JP2003280339A (en) * | 2002-03-22 | 2003-10-02 | Ricoh Co Ltd | Image forming apparatus |
JP3909062B2 (en) * | 2004-03-25 | 2007-04-25 | 株式会社日立製作所 | NAS control device, backup method, and program |
-
2007
- 2007-03-29 JP JP2007089160A patent/JP4985033B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008250509A (en) | 2008-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7716520B2 (en) | Multi-CPU computer and method of restarting system | |
US7065620B2 (en) | Systems and methods for backing up data | |
US20050283673A1 (en) | Information processing apparatus, information processing method, and program | |
US20070226413A1 (en) | Offloading disk-related tasks from RAID adapter to distributed service processors in switched drive connection network enclosure | |
US8117501B2 (en) | Virtual library apparatus and method for diagnosing physical drive | |
US7117320B2 (en) | Maintaining data access during failure of a controller | |
JP5910444B2 (en) | Information processing apparatus, activation program, and activation method | |
US20130198731A1 (en) | Control apparatus, system, and method | |
US20040205388A1 (en) | Method for managing computer, apparatus for managing computer, and computer readable medium storing program for managing computer | |
US20140053017A1 (en) | Resource system management | |
US9251016B2 (en) | Storage system, storage control method, and storage control program | |
US20030214744A1 (en) | Information recorder and its control method | |
US8732531B2 (en) | Information processing apparatus, method of controlling information processing apparatus, and control program | |
JP2007299213A (en) | Raid controller and fault monitoring method | |
JP4985033B2 (en) | Backup program, backup method and backup device | |
US20200264946A1 (en) | Failure sign detection device, failure sign detection method, and recording medium in which failure sign detection program is stored | |
JP6665892B2 (en) | Information processing system, information processing apparatus, and control program | |
JPH02294739A (en) | Fault detecting system | |
JP3063666B2 (en) | Array disk controller | |
JP5910413B2 (en) | Information processing apparatus, activation program, and activation method | |
JP6996602B1 (en) | BMC, server system, device stability determination method and program | |
JP2022039508A (en) | Information processing apparatus and operation monitoring program | |
US20100162082A1 (en) | Control device, storage apparatus and controlling method | |
US7962781B2 (en) | Control method for information storage apparatus, information storage apparatus and computer readable information recording medium | |
JP2008059014A (en) | Data synchronization method of disk array system and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091208 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111220 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120220 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120403 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120416 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150511 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |