Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3794232B2 - Data backup method in information processing system - Google Patents
[go: Go Back, main page]

JP3794232B2 - Data backup method in information processing system - Google Patents

Data backup method in information processing system Download PDF

Info

Publication number
JP3794232B2
JP3794232B2 JP2000030215A JP2000030215A JP3794232B2 JP 3794232 B2 JP3794232 B2 JP 3794232B2 JP 2000030215 A JP2000030215 A JP 2000030215A JP 2000030215 A JP2000030215 A JP 2000030215A JP 3794232 B2 JP3794232 B2 JP 3794232B2
Authority
JP
Japan
Prior art keywords
data
backup
volume
storage device
fixed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000030215A
Other languages
Japanese (ja)
Other versions
JP2000305719A (en
JP2000305719A5 (en
Inventor
愛 里山
山本  彰
康友 山本
高 大枝
貴彦 庄山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP2000030215A priority Critical patent/JP3794232B2/en
Publication of JP2000305719A publication Critical patent/JP2000305719A/en
Publication of JP2000305719A5 publication Critical patent/JP2000305719A5/ja
Application granted granted Critical
Publication of JP3794232B2 publication Critical patent/JP3794232B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、計算機システムにおいて、記憶装置に格納されているデータのバックアップの取得、及びそのリストア方法に関する。
【0002】
【従来の技術】
計算機システムに用いられる記憶装置として、高性能化、高信頼化の観点から、ディスクアレイを用いるのが一般化してきている。ワークステーション、パーソナルコンピュータ(PC)等のいわゆるオープンシステムでは、ディスク装置などの外部記憶装置へのデータの記録形式として、固定長記録形式が用いられている。このため、オープンシステムとディスクアレイコントローラの間のインターフェースは、一般に、固定長アクセスインターフェースが採用される。固定長アクセスインターフェースは、ディスクアレイ内部の個々のディスク装置にも用いられている。
【0003】
一方、汎用の大型コンピュータ(以下メインフレームと記述)では、磁気ディスク装置へのデータの記録に可変長記録形式が適用されている。このため、磁気ディスク装置のアクセスには、可変長記録形式のデータアクセスを可能とするCKD(Count Key Data)などの可変長アクセスインターフェースが用いられる。従来、可変長記録形式のデータは、可変長アクセスインターフェースを有するディスク装置上に物理的に記録されてきた。しかし、近年、可変長記録形式のデータを記録する記憶装置として、PCやワークステーションで用いられる比較的安価なディスク装置で構成されたディスクアレイが広く用いられるようになってきた。
【0004】
メインフレーム用ディスクアレイの場合、「メインフレーム‘98」,日経BP社,pp.126−130に見られるように、個々のディスク装置には、FBA(Fixed Block Architecture)フォーマットと呼ばれる固定長記録形式でデータが記録されるディスク装置を用いるのが一般的になっている。ディスクアレイコントローラは、キャッシュメモリを利用した固定長記録形式と可変長記録形式の変換機能を持ち、メインフレームとディスクコントローラの間は、可変長アクセスインターフェースで接続される。メインフレームからのリード/ライト要求は、CCW(Channel Command Word)と呼ばれる複数個の入出力コマンドにより構成される。これら複数個のCCWは、CCWチェインと呼ばれる。CCWチェインは、メインフレームのオペレーティング・システムが、アプリケーションからの要求にしたがって作成する。
【0005】
通常、磁気ディスク装置は、ディスク制御装置とディスク装置とから構成されるディスクサブシステムとして、メインフレームの外部に設けられる。メインフレームは、ディスク装置にデータをリード/ライトする際、可変長記録形式に従ったコマンドをディスクサブシステムに送る。ディスクサブシステム内に設けられたディスク制御装置は、メインフレームから指示されたコマンドを受け取り、ディスク装置にアクセスするため、データを可変長記録形式から固定長記録形式に変換する。このような、可変長形式から固定長形式への変換については、例えば、特開平6−150557号公報に開示されている。
【0006】
近年の計算機センタは、メインフレームとオープンシステムが混在して構成されることが多い。このような構成において、ディスクアレイの管理を容易にするため、メインフレームとオープンシステムのそれぞれがアクセスするデータを共通に格納し、ディスクアレイを一元化することが要求されている。このような要求に応える技術として、例えば、「メインフレーム‘98」,日経BP社の145頁、あるいは151頁には、可変長アクセスインターフェースと固定長アクセスインターフェースの双方を備えたディスクアレイに格納されたメインフレームのデータを、オープンシステムからアクセスする技術が開示されている。ここでは、メインフレームのデータは、ディスクアレイ内で可変長/固定長記録形式の変換が行われ、固定長記録形式のディスク装置に格納される。ディスク装置に格納されたメインフレームのデータは、固定長記録形式のインターフェースを通じて、ディスク装置に格納されたままの形でオープンシステムのサーバ上に取り出される。
【0007】
さらに、メインフレーム側のバックアップリストアオプション機能を使用することによって、ディスクアレイ上のオープンシステム用のボリュームを、メインフレームからボリュームイメージで読み出し、バックアップできる。また、バックアップしたデータをメインフレーム側からオープンシステム用ボリュームにリストアできる。この機能を使用するに際して、特別なソフトウェアをメインフレーム及びオープンシステム側にインストールする必要はない。オープンシステム用ボリュームの固定長記録形式のデータをメインフレームからアクセスできるように、ディスクアレイコントローラが可変長記録形式のデータに変換する。バックアップ先としては、既存のテープライブラリ装置、MT(Magnetic tape)、ディスク等を選択可能である。ディスクアレイ内にあるオープンシステム用のボリュームについては、ボリューム初期化時に、当該ボリュームにボリュームシリアル番号、ボリューム目録が作成される。初期化によってボリュームに書き込まれるボリュームシリアル番号、ボリューム目録は、オープンシステムのデータが書き込まれている領域とは別の領域に書き込まれるため、オープンシステムのデータが破壊されることはない。ディスクアレイが接続されているサーバに接続された他のディスク装置に格納されているデータ、及び、他のネットワーク上のサーバ/クライアントに接続されたディスク装置に格納されているデータ(ディスクアレイ外に格納されているデータ)は、オープンシステム側のバックアッププログラムやシステムコマンドを使用して、ディスクアレイ内で初期化されたボリューム目録とボリュームシリアル番号が作成されているバックアップ/リストア用ボリュームにバックアップされる。バックアップ/リストア用ボリュームにバックアップされたデータは、さらに、前述したように、メインフレーム側のバックアップ機能を利用してテープライブラリ装置等にバックアップされる。
【0008】
一方、汎用の情報処理装置の外部記憶装置インターフェースとして、 固定長アクセスインターフェースであるSCSIインタフェースを持つものが出現してきている。例えば、「メインフレーム‘98」,日経BP社,pp.53―54に記載されている内蔵ディスク装置では、固定長記録形式のディスク装置が情報処理装置の筐体に内蔵される。オペレーティング・システムが生成した可変長記録形式のデータをリード/ライトするコマンド群(CCW)は、SAPと呼ばれるプロセッサにより解釈され、固定長記録形式のデータをリード/ライトするコマンド群(SCSIコマンド)に変換されて内蔵ディスクへの入出力処理が実行される。内蔵ディスク装置には、可変長記録形式のデータが固定長記録形式に埋め込まれた形で格納される。このようなデータフォーマットの変換は、SAPにより行われる。
【0009】
【発明が解決しようとする課題】
上記従来技術によれば、オープンシステムとメインフレームが共用している外部記憶装置のデータを、オープンシステムがメインフレーム側のバックアップストレージにバックアップする場合、メインフレームと共用している外部記憶装置のバックアップ用ボリューム内に一度データをコピーする必要がある。このため、バックアップする度にバックアップ用ボリュームを作成する必要がある。即ち、1回のバックアップ作業のために、2回のバックアップ動作が必要になる。このため、記憶容量の確保とバックアップ作業にかかる処理が発生する。
【0010】
本発明の目的は、バックアップ作業用に使用するバックアップ用ボリュームの領域を減らし、バックアップ作業のオーバヘッドを減らすバックアップ方法を提供することにある。
【0011】
【課題を解決するための手段】
上述した目的を達成するために、本発明の第1の観点によれば、第1のコンピュータ、第2のコンピュータ、前記第2のコンピュータに接続され、前記第2のコンピュータにより利用される固定長記録形式のデータを格納した第1の記憶装置、及び、前記第1のコンピュータに接続され、可変長記録形式でデータを格納するバックアップ装置を有するコンピュータシステムにおいて、前記第1の記憶装置に格納されたデータを前記バックアップ装置にバックアップするため、以下のステップを有するバックアップ方法が提供される。第1のコンピュータから第2のコンピュータに前記固定長記録形式のデータの読み出しを要求する。この要求に応答して、第2のコンピュータは、第1の記憶装置から固定長記録形式のデータを読み出して第1のコンピュータに転送する。第1のコンピュータは、転送された固定長記録形式のデータを可変長記録形式のデータに変換し、変換された可変長記録形式のデータをバックアップ装置に格納する。
【0012】
本発明の第2の観点によれば、第1のコンピュータ、第2のコンピュータ、第1のコンピュータと第2のコンピュータの双方に接続され、第2のコンピュータにより利用される固定長記録形式のデータを格納した記憶装置、及び、第1のコンピュータに接続され、可変長記録形式でデータを格納するバックアップ装置を有するコンピュータシステムにおいて、記憶装置に格納されたデータをバックアップ装置にバックアップするため、以下のステップを含むバックアップ方法が提供される。固定長記録形式のデータを第1のコンピュータからアクセスするためのボリューム情報が、固定長記録形式のデータが格納された領域とは区別された領域に格納される。第1のコンピュータは、ボリューム情報に含まれる情報に基づいて、記憶装置から前記固定長記録形式のデータを読み出す。第1のコンピュータにおいて、固定長記録形式のデータが可変長記録形式のデータに変換される。第1のコンピュータは、可変長記録形式に変換されたデータをバックアップ装置に格納する。
【0013】
【発明の実施の形態】
図1は、本発明の一実施形態における計算機システムの模式的なブロック図である。メインフレーム1は、1台以上からなる中央処理装置(CPU)12、主記憶装置11、他系の情報処理装置との情報およびデータの授受を制御する通信装置(I/Oチャネル)13、15、16、及び、1台以上の記憶装置制御プロセッサ14を有する。I/Oチャネル13は、可変長アクセスインタフェースを持ち、通信線30を介してバックアップ装置3と接続される。I/Oチャネル15は、固定長アクセスインタフェースを持ち、通信線31を介して外部記憶装置4と接続される。I/Oチャネル15と外部記憶装置4との間の固定長アクセスインタフェースとしては、例えば、SCSI(Small Computer System Interface)、あるいは、光ケーブルをベースにしたファイバチャネル(Fibre Channel)にSCSIプロトコルを搭載させたインタフェースを用いることができる。主記憶装置11には、CPU12が使用するデータやプログラムを格納する領域以外に、外部記憶装置4との間でのデータの入出力時に用いられるキャッシュメモリ111が割り当てられる。キャッシュメモリ111は、ディスクキャッシュの役割をする。記憶装置制御プロセッサ14は、可変長記録形式と固定長記録形式の変換機能であるデータ記録形式変換機構141を有する。本実施形態において、データ記録形式変換機構141は、記憶装置制御プロセッサ14により実行されるプログラムとして実現される。記憶装置制御プロセッサ14は、外部記憶装置4と主記憶装置11との間のデータ転送も制御する。キャッシュメモリ111には、外部記憶装置4から読み出されたデータや、CPU12が外部記憶装置4に書き込むデータが保持される。データは、外部記憶装置4と同じ固定長記録形式でキャッシュメモリ111に格納される。
【0014】
オープンシステム2は、サーバ装置であり、中央処理装置(CPU)22、主記憶装置21、及び、他系の情報処理装置との情報およびデータの授受を制御する通信装置(I/Oチャネル)23、24を有する。メインフレーム1とオープンシステム2は、I/Oチャネル16とI/Oチャネル24により、通信線34を介して接続される。I/Oチャネル23は、固定長アクセスインターフェースを持ち、外部記憶装置4と通信線32を介して接続される。また、I/Oチャネル23は、通信線33を介して外部記憶装置5にも接続される。
【0015】
外部記憶装置4は、メインフレーム1をサーバとしている。外部記憶装置4は、固定長記録形式でデータを記憶し、固定長アクセスインタフェースを有する。外部記憶装置4は、単体のディスク装置でも、固定長アクセスインタフェースを有するRAID(Redundant Array of Inexpensive Disks)サブシステムでも構わない。外部記憶装置4は、メインフレーム用ボリューム42とオープンシステム用ボリューム43を有している。メインフレーム用ボリューム42は、メインフレーム1のデータを格納するためのボリュームで、メインフレーム1からのみアクセス可能である。オープンシステム用ボリューム43は、オープンシステム2のデータを格納するためのボリュームである。オープンシステム用ボリューム43には、メインフレームシステム1のボリューム情報作成/データセットアロケーションモジュール1121による初期化処理で、オープンシステム用ボリューム43のボリューム情報及びボリュームシリアル番号が作成される。
【0016】
バックアップ装置3としては、例えば、記憶媒体として磁気テープ(MT)を用いたMTライブラリ装置が用いられる。バックアップ装置3には、MTライブラリ装置の代りにディスク装置を用いることもできる。
【0017】
図2は、オープンシステム用ボリューム43の論理構成を示す模式図である。オープンシステム用ボリューム43には、ボリューム情報431とボリュームシリアル番号433が格納される。ボリューム情報431は、ボリューム43内のユーザデータ432の先頭及び最後の位置を識別するための情報を有する。ボリュームシリアル番号432は、ボリューム43を他のボリュームと識別するために付与される識別子である。ボリューム情報431とボリュームシリアル番号433は、オープンシステム用のユーザデータ432が書き込まれている領域とは別の領域に書き込まれる。したがって、これによりオープンシステム用のユーザデータ432が破壊されることはない。ボリューム情報431とボリュームシリアル番号433を作成することにより、オープンシステム用ボリューム43は、メインフレーム1からもアクセス可能となる。但し、メインフレーム1側からオープンシステム用ボリューム43をアクセスできるのは、バックアップ/リストアプログラム112のみである。ボリューム情報431は、可変長記録形式、オープンシステム用のユーザデータは固定長記録形式で記憶される。ボリューム情報431とボリュームシリアル番号433は、上述したほか、オープンシステム用ボリューム43からは独立した他のボリューム、あるいは、メインフレーム1のキャッシュメモリ111に格納することもできる。
【0018】
外部記憶装置5が有するオープンシステム用ボリューム52のデータをバックアップする時に必要となるボリューム情報とボリュームシリアル番号は、メインフレーム1、または、外部記憶装置4の内部に作成される。オペレーティングシステム113には、ボリュームがメインフレーム1、または、外部記憶装置4に存在するようにみせかけ、記憶装置制御プロセッサ14のボリュームシリアル番号識別手段142により、実際のボリュームがどこにあるか判断される。記憶装置制御プロセッサ14は、ボリュームシリアル番号により識別される格納場所によって処理を選択する。ボリュームが外部記憶装置4にある場合は、直接該当ボリュームのバックアップ処理を行い、ボリュームが外部記憶装置5にある場合は、外部記憶装置5が接続されたオープンシステム2を介してバックアップすべきデータを取得する。
【0019】
図3は、可変長記録形式のトラックフォーマットを示す模式図である。図は、1つのトラックの構成例を示している。トラックは、一個のホームアドレス(以下、HAと略す)510と一個以上のレコード500から構成される。HA510は、各トラックの先頭に位置する最初のフィールドであり、トラックの番号等の情報が含まれる。各レコード500は、一個以上のフィールド、すなわちカウント部501、データ部502を有する。データ部502の前には、図示しないキー部が存在することもある。カウント部501は、固定長のフィールドで、そのレコード500のアドレス、後続するフィールド(データ部502とキー部)の長さなどの情報を格納している。各レコード500は可変長、つまりデータ部502の長さがレコード500毎に異なっていても良いこと、が許されている。このため、カウント部501には、そのレコードのキー部およびデータ部502の長さが格納されていいる。カウント部501を見れば、そのレコード500の各フィールドの長さが分かる。レコード500のアドレスは、シリンダ番号、ヘッド番号、レコード番号、すなわちトラックの先頭から付与されたシーケンシャルな番号の組みで示される。トラックは固定長であるが、レコードは可変長であるため、各トラックに含まれるレコード数は可変である。
【0020】
図4は、固定長記録形式のトラックフォーマットを示す模式図である。固定長の記憶装置では、各トラックは、あらかじめ定められた固定長の領域(以降、ブロックと呼ぶ)600から構成されている。各ブロック600は、記憶装置内で一意に番号付けされている。記憶装置のある領域へのアクセスは、その領域の先頭ブロック600の番号と、それに後続するブロック600の個数を指定して行われる。
【0021】
図5は、可変長記録形式のデータから固定長記録形式のデータへのフォーマット変換の概要を示す説明図である。可変長記録形式で表現された各トラックは、フォーマット変換に当たって固定長のブロック600の大きさと等しい領域に分割される。シリンダ番号1,ヘッド番号0で示される先頭トラックの先頭領域は、番号0で示される先頭のブロック600に割り当てられる。以降、後続するブロック600にトラック上の後続する領域が割り当てられ、先頭のトラックの全領域が割り当てられると、後続するブロック600に次トラック、すなわちシリンダ番号1、ヘッド番号1のトラックの先頭領域が割り当てられる。このとき、可変長記録形式のカウント部501は、格納されずに捨てられる。以下、同様にして各トラックの全領域が各ブロック600に対応付けられる。シリンダ番号0にはボリューム情報が格納される。メインフレーム用ボリューム42とオープンシステム用ボリューム43の外部記憶装置4内でのトラックフォーマットが同じものであれば、メインフレーム1からオープンシステム用ボリューム43をバックアップするときと、メインフレーム用のボリューム42をバックアップするときとで、同じデータ記録形式変換機構141を利用することができる。従って、メインフレーム用ボリューム42とオープンシステム用ボリューム43のトラックフォーマットは同じである方がよい。オープンシステム用のデータ、例えばSCSIデータにはカウント部がないため、メインフレーム用データのトラックフォーマットをオープンシステム用データのトラックフォーマットにあわせる。即ち,メインフレーム側からのリード要求時は、記憶装置制御プロセッサ14のデータ記録形式変換機構141でカウント部が生成され、メインフレーム1側からのライト要求時には、カウント部が捨てられてデータ部のみが格納される。各トラックの長さは固定長であるため、1つのトラックに固定長のブロック600がいくつ入るかは、トラック容量÷ブロック容量で求められる。トラックアドレスからそのトラックを格納している先頭のブロック600の番号は、“(シリンダ番号×ヘッド数+ヘッド番号)×トラック当たりのブロック総数”によって求めることができる。
【0022】
オープンシステム2から外部記憶装置4のデータを通常に使用する場合、オープンシステム2は、アプリケーションプログラム212から出されるリード要求に応答して、外部記憶装置4のオープンシステム用ボリューム43から直接データを読み出す。外部記憶装置4に存在するメインフレーム用ボリューム42、及び、オープンシステム用ボリューム43のバックアップは以下に説明するように行われる。
【0023】
図6は、メインフレーム1によるメインフレーム用ボリューム42のバックアップ処理のフローチャートである。メインフレーム用ボリューム42のバックアップ処理では、まず、メインフレーム1のバックアップソフト112が起動される(ステップ1001)。バックアップソフト112は、メインフレーム用ボリューム42からバックアップデータを読み出す(ステップ1002)。読み出されたバックアップデータは、記憶装置制御プロセッサ14のデータ記録形式変換機構141により、固定長記録形式から可変長記録形式に変換される(ステップ1003)。可変長記録形式に変換されたデータは、メインフレーム1に接続されたバックアップ装置3に格納される(ステップ1004)。バックアップソフト112は、バックアップすべきデータがまだあるかどうか判断し、データがあれば、ステップ1002からステップ1004を繰り返し、バックアップ処理を継続する。全てのデータのバックアップが終了していれば、バックアップ処理を終了する(ステップ1005)。
【0024】
バックアップされたデータのリストアは、バックアップ処理と同様に、バックアップソフト112により行われる。バックアップソフト112は、バックアップ装置3に格納されたバックアップデータをデータ記録形式変換機構141により可変長記録形式から固定長記録形式に変換し、メインフレーム用ボリューム42へ格納する。
【0025】
図7は、メインフレーム1によるオープンシステム用ボリューム43のバックアップ処理のフローチャートである。オープンシステム用ボリューム43のバックアップ処理では、まず、バックアップ取得対象のボリュームを使用するオープンシステム2の全ての業務を停止し、当該ボリューム43のアンマウントを実行する(ステップ1301)。メインフレーム1のバックアップソフト112が起動される。バックアップソフト112は、オープンシステム2で使用されているボリューム43のデバイスファイル名に対応するボリュームシリアル番号の指定をユーザから受けバックアップを開始する(ステップ1302)。以降、上述したステップ1002〜ステップ1005同様の処理により、バックアップが行われる(ステップ1303)。全てのデータがバックアップ装置3に格納されると、オープンシステム2からボリューム43に対しマウント処理が実行され、オープンシステム2での業務が再開される(ステップ1304)。
【0026】
オープンシステム用ボリューム43に対するリストア処理は、前述したメインフレームのリストア処理と同様に行われる。
【0027】
図8は、外部記憶装置5が有するオープンシステム用ボリューム52のデータをバックアップ装置3へバックアップする際の処理のフローチャートである。メインフレーム1から直接アクセスできない外部記憶装置5にあるボリュームのデータは、一旦、外部記憶装置4にコピーされた後、バックアップ装置3に格納される。
【0028】
オープンシステム用ボリューム52のバックアップ処理では、まず、外部記憶装置43にバックアップ用ボリュームを作成する。また、ボリューム目録作成/データセットアロケーションモジュール1121により、バックアップ用ボリュームのボリュームシリアル番号とボリューム情報が作成され、キャッシュメモリ111、あるいは、外部記憶装置4に格納される。バックアップ用ボリューム、ボリュームシリアル番号、及びボリューム情報は、ユーザからの指示に従って作成される(ステップ1401)。この後、オープンシステム2において、オープンシステム2の有するバックアッププログラム、あるいは、システムコマンドにより、バックアップ対象のデータをオープンシステム用ボリューム52から外部記憶装置4のバックアップ用ボリュームにコピーする。この処理を一時バックアップと呼ぶ。ここで行われるコピーは、例えば、ファイル単位に行われる。この際、バックアップ用ボリュームの容量の範囲内で、複数のファイルがコピーされる(ステップ1402)。バックアップデータのコピーの後、オープンシステム2側からの処理を停止し、バックアップ用ボリュームをオープンシステム2からアンマウントする(ステップ1403)。続いて、メインフレーム1のバックアップソフト112は、バックアップ用ボリュームを指定してデータを読み出す。バックアップ用ボリュームから読み出されたデータは、記憶装置制御プロセッサ14のデータ記録形式変換機構141により、C部が模擬的に生成され、固定長記録形式から可変長記録形式変換される(ステップ1404)。可変長記録形式に変換されたデータは、バックアップ装置3へ格納される(ステップ1405)。バックアップ用ボリュームに一時バックアップされたファイルのデータを全てバックアップ装置3に格納した後、バックアップ用ボリュームを次回の一次バックアップ先として使用するため、バックアップ用ボリュームにコピーされたファイルを全て削除する(ステップ1406)。バックアップ用ボリューム44に対しオープンシステム2からマウントを実行し、オープンシステム2からバックアップボリュームをアクセス可能とする(ステップ1407)。ボリューム52にバックアップすべきデータがあるか判断し、バックアップデータがまだある場合には、ステップ1402以降の処理を繰り返す。ボリューム52にバックアップすべきデータがなくなっていれば、バックアップ処理を終了する(ステップ1408)。
【0029】
バックアップしたデータのリストアは、可変長記録形式から固定長記録形式に変換された後、バックアップ用ボリュームを介してオープンシステム2に受け渡し、オープンシステム用ボリューム52に格納することで実現される。
【0030】
図9は、外部記憶装置5が有するオープンシステム用ボリューム52のデータのバックアップ装置3へのバックアップ処理の第2の実施形態を示すフローチャートである。図9に示す処理では、記憶装置制御プロセッサ14がボリューム情報431からバックアップデータの格納場所を判断してバックアップが行われる。なお、本実施形態では、バックアップデータに対するボリューム情報は、キャッシュメモリ111に作成される。
【0031】
本実施形態におけるオープンシステム用ボリュームのバックアップ処理では、まず、バックアップの取得対象であるオープンシステム用ボリューム52を使用するオープンシステム2の全ての業務を停止する。業務停止後、オープンシステム2は、ボリューム52のアンマウント(またはボリュームを使用しているOS毎のコマンド)を実行する(ステップ1101)。次に、メインフレーム1のバックアップソフト112を起動する(ステップ1102)。バックアップソフト112のボリューム情報作成/データセットアロケーションモジュール1121は、オープンシステム2に接続された外部記憶装置5に対するボリューム情報とボリュームシリアル番号を作成し、主記憶装置11にあるキャッシュメモリ111に格納する。この際、キャッシュメモリ111内に仮想的なボリュームがあるものと考える。ここでは、ボリューム情報をキャッシュメモリ111に格納しているが、ボリューム情報を格納する場所は他であってもよい。運用を容易化するためには、オープンシステム2におけるデバイスファイル名をボリュームシリアル番号と関連のある名称にしておくことが好ましい。また、ボリュームシリアル番号は、予め、外部記憶装置5内のデータに対するものとわかるように、番号の範囲をシステム内で決めておく。ボリュームシリアル番号はユーザが管理し運用する(ステップ1103)。
【0032】
バックアップソフト112は、ボリューム情報を作成すると、作成したボリューム情報を指定してバックアップデータの読み出しを記憶装置制御プロセッサに要求し、バックアップ処理を開始する(ステップ1104)。記録装置制御プロセッサ14は、ボリュームシリアル番号識別手段142により、指定されたボリュームシリアル番号が外部記憶装置5のデータに対する番号の範囲内であるかどうか判断する。指定されたボリュームシリアル番号が外部記憶装置5のデータに対するものの範囲外である場合は、外部記憶装置4が有するオープンシステム用ボリュームのバックアップとなる。したがって、この場合は、ステップ1303と同様の処理が行われる(ステップ1105)。指定されたボリュームシリアル番号が外部記憶装置5のデータに対するものの範囲内であれば、記録装置制御プロセッサ14は、通信線34を介してオープンシステム2にデータの読み出しを要求する。この要求に応答して、オープンシステム2は、バックアッププログラムを起動し、バックアップデータをオープンシステム用ボリュームから読み出し、通信線34を介して記憶装置制御プロセッサ14に転送する(ステップ1106)。記憶装置制御プロセッサ14は、データ記録形式変換機構141により、オープンシステム2から転送されたデータをメインフレーム1のオペレーティングシステム113で利用できるよう、C部を模擬的に生成して可変長記録形式に変換する(ステップ1107)。記憶装置制御プロセッサ14は、変換後のデータをオペレーティングシステム113に送る。オペレーティングシステム113に送られたデータは、バックアップソフト112によりバックアップ装置3に格納される(ステップ1108)。記憶装置制御プロセッサ14は、オープンシステム2からのバックアップデータがまだあるかどうか判断する。バックアップデータが残っていれば、ステップ1107からステップ1108を繰り返す(ステップ1109)。全てのバックアップデータの処理が終了していれば、記憶装置制御プロセッサ14は、バックアップ処理の完了を報告する。オープンシステム2は、オープンシステム用ボリューム53のマウント処理を実行して業務を再開する(ステップ1110)。
【0033】
また,オープンシステム2からのデータをある程度ためてから,バックアップする方法もある。
【0034】
リストア時には、バックアップソフト112により、バックアップ装置3に格納したバックアップデータが読み出され、データ記録形式変換機構141により固定長記録形式に変換される。記憶装置制御プロセッサ14は、通信線34を介して固定長記録形式に変換されたデータをオープンシステム2へ転送する。このデータは、オープンシステム2によりオープンシステム用ボリューム52にリストアされる。
【0035】
上述した実施形態では、オープンシステム2によって専有される外部記憶装置5が有するボリュームに格納されたデータのバックアップは、オープンシステム2が介在することにより実現される。上述した方法に替えて、メインフレーム1の通信装置15を外部記憶装置5の通信装置35と接続し、オープンシステム2を介在させることなくバックアップを行うことも可能である。この場合、バックアップ事前処理として、バックアップソフト112により、外部記憶装置5(オープンシステム用ボリューム52)に対するボリュームシリアル番号とボリューム情報が作成され、キャッシュメモリ111に格納される。バックアップ処理は、図7のフローチャートにより説明したオープンシステム用ボリューム43のバックアップと同様に実現することができる。メインフレーム1は、外部記憶装置5への誤アクセス防止のため、通常時には、外部記憶装置5をアンマウントしておくか、通常通信線35をオフラインにしておく。そして、バックアップソフト112を起動したときに外部記憶装置5と接続できるようにする。
【0036】
図10は、本発明のさらに他の実施形態における計算機システムの構成を示すブロック図である。本実施形態における計算機システムは、メインフレーム1、オープンシステム2、バックアップ装置3、及び外部記憶装置4、5が外部記憶装置間ネットワーク6により接続される。外部記憶装置間ネットワーク6と各装置との間は、通信線34、35、36、37、及び38で接続されている。メインフレーム1、オープンシステム2、及び外部記憶装置4、5は、外部記憶装置間ネットワーク6を介して他の装置と通信するための通信装置17、25、45、及び55を各々有している。通常、メインフレーム1からは、外部記憶装置4が使用可能な状態にあり、オープンシステム2からは、外部記憶装置4、5が使用可能な状態にあるものとする。メインフレーム1のキャッシュメモリ111には、バックアップソフト112によるバックアップ事前処理作成される外部記憶装置5のオープンシステム用ボリューム52に対するボリュームシリアル番号114とボリューム情報115が格納される。
【0037】
本実施形態でのバックアップ処理は、バックアップデータの転送が、外部記憶装置間ネットワーク6を介して、メインフレーム1と該当する外部記憶装置、及びバックアップ装置3との間で行われる他は、図7のフローチャートにより説明したオープンシステム用ボリューム43のバックアップと同様の処理により実現することができる。
【0038】
以上説明した実施形態によれば、メーンフレームとオープンシステムとが混在した計算機システムにおいて、オープンシステムに接続され、オープンシステムにより利用されるディスク装置などのデータを、メインフレームに接続されたバックアップ装置にバックアップすることができる。また、オープンシステムのデータをメインフレーム側に取り込みつつバックアップできるので、メインフレーム側で、外部記憶装置内にバックアップ用ボリュームを作成せずにすみ、バックアップ処理を短時間で行え、バックアップ作業用のために確保する記憶容量も少なくてすむ。
【0039】
なお、本発明は、上述した実施形態に限定されるものではない。例えば、同一のシステム内に設けられるメインフレーム、オープンシステムの数は、1台に限らず、2台以上存在してもよい。同様に、外部記憶装置の数も任意とすることが可能である。
【0040】
【発明の効果】
本発明によれば、メーンフレームとオープンシステムとが混在した計算機システムにおいて、オープンシステム側で使われるデータを、メインフレームに接続されたバックアップ装置にバックアップする際に、バックアップ作業用に使用するバックアップ用ボリュームの領域を減らし、バックアップ作業のオーバヘッドを減らすことができる。
【図面の簡単な説明】
【図1】本発明の一実施形態における計算機システムの模式的なブロック図である。
【図2】オープンシステム用ボリュームの論理構成を示す模式図である。
【図3】可変長記録形式のトラックフォーマットを示す模式図である。
【図4】固定長記録形式のトラックフォーマットを示す模式図である。
【図5】可変長記録形式のデータから固定長記録形式のデータへのフォーマット変換の概要を示す説明図である。
【図6】メインフレーム用ボリュームのバックアップ処理のフローチャートである。
【図7】オープンシステム用ボリュームのバックアップ処理のフローチャートである。
【図8】オープンシステムに専有された外部記憶装置に格納されたデータのバックアップ処理のフローチャートである。
【図9】オープンシステムに専有された外部記憶装置に格納されたデータのバックアップ処理の他の実施形態によるフローチャートである。
【図10】本発明のさらに他の実施形態における計算機システムの構成を示すブロック図である。
【符号の説明】
1・・・メインフレーム、2・・・オープンシステム、3・・・バックアップ装置、4、5・・・外部記憶装置、13・・・通信装置(可変長アクセスインタフェース)、15、23、41、51・・・通信装置(固定長アクセスインタフェース)、14・・・記憶装置制御プロセッサ、42・・・メインフレーム用ボリューム、43、53・・・オープンシステム用ボリューム、112・・・バックアップソフト、141・・・データ記録形式変換機構。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to acquisition of a backup of data stored in a storage device and a restoration method thereof in a computer system.
[0002]
[Prior art]
As a storage device used in a computer system, it has become common to use a disk array from the viewpoint of high performance and high reliability. In so-called open systems such as workstations and personal computers (PCs), a fixed-length recording format is used as a recording format of data to an external storage device such as a disk device. For this reason, a fixed-length access interface is generally adopted as an interface between the open system and the disk array controller. The fixed length access interface is also used for individual disk devices in the disk array.
[0003]
On the other hand, in a general-purpose large computer (hereinafter referred to as a mainframe), a variable-length recording format is applied to record data on a magnetic disk device. For this reason, a variable length access interface such as CKD (Count Key Data) that enables data access in a variable length recording format is used for accessing the magnetic disk device. Conventionally, data of a variable length recording format has been physically recorded on a disk device having a variable length access interface. However, in recent years, disk arrays composed of relatively inexpensive disk devices used in PCs and workstations have been widely used as storage devices for recording data of variable length recording format.
[0004]
In the case of a disk array for mainframes, “Mainframe '98”, Nikkei BP, pp. As seen from 126-130, it is common to use a disk device in which data is recorded in a fixed-length recording format called FBA (Fixed Block Architecture) format for each disk device. The disk array controller has a conversion function between a fixed-length recording format and a variable-length recording format using a cache memory, and the mainframe and the disk controller are connected by a variable-length access interface. A read / write request from the main frame is composed of a plurality of input / output commands called CCW (Channel Command Word). These multiple CCWs are called CCW chains. The CCW chain is created by the mainframe operating system according to a request from an application.
[0005]
Usually, the magnetic disk device is provided outside the main frame as a disk subsystem composed of a disk control device and a disk device. When the mainframe reads / writes data to / from the disk device, it sends a command according to the variable length recording format to the disk subsystem. In the disk subsystem Provided The disk control device receives a command instructed from the main frame and converts data from a variable length recording format to a fixed length recording format in order to access the disk device. Such conversion from the variable length format to the fixed length format is disclosed in, for example, Japanese Patent Laid-Open No. 6-150557.
[0006]
In recent years, computer centers are often configured by mixing mainframes and open systems. In such a configuration, in order to facilitate management of the disk array, it is required to store data accessed by the mainframe and the open system in common and to unify the disk array. For example, “Mainframe '98”, page 145 or page 151 of Nikkei Business Publications, Inc. is stored in a disk array equipped with both a variable-length access interface and a fixed-length access interface. A technique for accessing mainframe data from an open system is disclosed. Here, the data of the main frame is converted in the variable length / fixed length recording format in the disk array and stored in the disk device of the fixed length recording format. The mainframe data stored in the disk device is retrieved on the open system server through the fixed-length recording format interface as it is stored in the disk device.
[0007]
Furthermore, by using the backup / restore option function on the mainframe side, the volume for the open system on the disk array can be read from the mainframe as a volume image and backed up. In addition, the backed up data can be restored from the mainframe side to the open system volume. When using this function, it is not necessary to install special software on the mainframe and the open system side. The disk array controller converts the fixed-length recording format data of the open system volume into variable-length recording format data so that it can be accessed from the mainframe. As a backup destination, an existing tape library device, MT (Magnetic Tape), disk, or the like can be selected. For an open system volume in a disk array, a volume serial number and a volume list are created for the volume at the time of volume initialization. Since the volume serial number and volume list written to the volume by the initialization are written in an area different from the area where the data of the open system is written, the data of the open system is not destroyed. Data stored in other disk devices connected to the server to which the disk array is connected, and data stored in disk devices connected to servers / clients on other networks (outside the disk array The stored data) is backed up to the backup / restore volume in which the volume list and volume serial number initialized in the disk array are created using the backup program and system command on the open system side. . As described above, the data backed up in the backup / restore volume is further backed up to a tape library device or the like using the backup function on the mainframe side.
[0008]
On the other hand, as an external storage device interface of a general-purpose information processing device, one having a SCSI interface which is a fixed length access interface has appeared. For example, “Mainframe '98”, Nikkei Business Publications, pp. In the built-in disk device described in 53-54, a fixed-length recording format disk device is built in the housing of the information processing apparatus. A command group (CCW) for reading / writing data of variable length recording format generated by the operating system is interpreted by a processor called SAP, and is converted into a command group (SCSI command) for reading / writing data of fixed length recording format. The data is converted and input / output processing to the internal disk is executed. The built-in disk device stores variable length recording format data embedded in a fixed length recording format. Such data format conversion is performed by SAP.
[0009]
[Problems to be solved by the invention]
According to the above-described prior art, when the open system backs up the data of the external storage device shared by the open system and the mainframe to the backup storage on the mainframe side, the backup of the external storage device shared by the mainframe is performed. Data needs to be copied into the backup volume. For this reason, it is necessary to create a backup volume every time backup is performed. That is, two backup operations are required for one backup operation. For this reason, processing for securing storage capacity and backup work occurs.
[0010]
An object of the present invention is to provide a backup method that reduces the backup volume area used for the backup work and reduces the overhead of the backup work.
[0011]
[Means for Solving the Problems]
In order to achieve the above-described object, according to the first aspect of the present invention, a fixed length connected to the first computer, the second computer, and the second computer and used by the second computer. In a computer system having a first storage device storing data in a recording format and a backup device connected to the first computer and storing data in a variable-length recording format, the data is stored in the first storage device. In order to back up the data to the backup device, a backup method having the following steps is provided. The first computer requests the second computer to read the data in the fixed length recording format. In response to this request, the second computer reads data in the fixed length recording format from the first storage device and transfers the data to the first computer. The first computer converts the transferred data in the fixed-length recording format into data in the variable-length recording format, and stores the converted data in the variable-length recording format in the backup device.
[0012]
According to the second aspect of the present invention, data in a fixed-length recording format that is connected to both the first computer, the second computer, and the first computer and the second computer and is used by the second computer. In order to back up data stored in a storage device to a backup device in a computer system having a storage device storing the data and a backup device connected to the first computer and storing data in a variable-length recording format, A backup method including steps is provided. Volume information for accessing data in the fixed length recording format from the first computer is stored in an area that is distinct from the area in which the data in the fixed length recording format is stored. The first computer reads the data in the fixed length recording format from the storage device based on the information included in the volume information. In the first computer, the data in the fixed length recording format is converted into the data in the variable length recording format. The first computer stores the data converted into the variable-length recording format in the backup device.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a schematic block diagram of a computer system according to an embodiment of the present invention. The main frame 1 includes at least one central processing unit (CPU) 12, a main storage device 11, and communication devices (I / O channels) 13, 15 for controlling transmission and reception of information and data with other information processing devices. , 16 and one or more storage device control processors 14. The I / O channel 13 has a variable length access interface and is connected to the backup device 3 via the communication line 30. The I / O channel 15 has a fixed length access interface and is connected to the external storage device 4 via the communication line 31. As a fixed length access interface between the I / O channel 15 and the external storage device 4, for example, SCSI (Small Computer System Interface) or a fiber channel based on an optical cable (Fibre Channel) is equipped with the SCSI protocol. Interface can be used. In addition to an area for storing data and programs used by the CPU 12, a cache memory 111 used for data input / output with the external storage device 4 is allocated to the main storage device 11. The cache memory 111 serves as a disk cache. The storage device control processor 14 includes a data recording format conversion mechanism 141 that is a conversion function between a variable length recording format and a fixed length recording format. In the present embodiment, the data recording format conversion mechanism 141 is realized as a program executed by the storage device control processor 14. The storage device control processor 14 also controls data transfer between the external storage device 4 and the main storage device 11. The cache memory 111 holds data read from the external storage device 4 and data written by the CPU 12 to the external storage device 4. The data is stored in the cache memory 111 in the same fixed length recording format as that of the external storage device 4.
[0014]
The open system 2 is a server device, and a communication device (I / O channel) 23 that controls transmission and reception of information and data with the central processing unit (CPU) 22, the main storage device 21, and other information processing devices. , 24 Have. The main frame 1 and the open system 2 are connected via the communication line 34 by the I / O channel 16 and the I / O channel 24. The I / O channel 23 has a fixed-length access interface and is connected to the external storage device 4 via the communication line 32. The I / O channel 23 is also connected to the external storage device 5 via the communication line 33.
[0015]
The external storage device 4 uses the main frame 1 as a server. The external storage device 4 stores data in a fixed-length recording format and has a fixed-length access interface. The external storage device 4 may be a single disk device or a RAID (Redundant Array of Inexpensive Disks) subsystem having a fixed-length access interface. The external storage device 4 has a main frame volume 42 and an open system volume 43. The main frame volume 42 is a volume for storing data of the main frame 1 and is accessible only from the main frame 1. The open system volume 43 is a volume for storing data of the open system 2. In the open system volume 43, the volume information and volume serial number of the open system volume 43 are created by the initialization process by the volume information creation / data set allocation module 1121 of the mainframe system 1.
[0016]
As the backup device 3, for example, an MT library device using a magnetic tape (MT) as a storage medium is used. As the backup device 3, a disk device can be used instead of the MT library device.
[0017]
FIG. 2 is a schematic diagram showing a logical configuration of the open system volume 43. The open system volume 43 stores volume information 431 and a volume serial number 433. The volume information 431 includes information for identifying the beginning and end positions of the user data 432 in the volume 43. The volume serial number 432 is an identifier given to identify the volume 43 from other volumes. The volume information 431 and the volume serial number 433 are written in an area different from the area where the user data 432 for the open system is written. Accordingly, this does not destroy the user data 432 for the open system. By creating the volume information 431 and the volume serial number 433, the open system volume 43 can also be accessed from the mainframe 1. However, only the backup / restore program 112 can access the open system volume 43 from the mainframe 1 side. The volume information 431 is stored in a variable length recording format, and the user data for the open system is stored in a fixed length recording format. In addition to the above, the volume information 431 and the volume serial number 433 can be stored in another volume independent of the open system volume 43 or in the cache memory 111 of the mainframe 1.
[0018]
Volume information and a volume serial number necessary for backing up the data of the open system volume 52 included in the external storage device 5 are created in the main frame 1 or the external storage device 4. The operating system 113 appears to have the volume in the main frame 1 or the external storage device 4, and the volume serial number identifying unit 142 of the storage device control processor 14 determines where the actual volume is. The storage device control processor 14 selects a process according to the storage location identified by the volume serial number. When the volume is in the external storage device 4, the corresponding volume is directly backed up. When the volume is in the external storage device 5, the data to be backed up via the open system 2 to which the external storage device 5 is connected is stored. get.
[0019]
FIG. 3 is a schematic diagram showing a track format of a variable length recording format. The figure shows a configuration example of one track. The track is composed of one home address (hereinafter abbreviated as HA) 510 and one or more records 500. HA 510 is the first field located at the head of each track, and includes information such as the track number. Each record 500 has one or more fields, that is, a count part 501 and a data part 502. There may be a key part (not shown) in front of the data part 502. The count unit 501 is a fixed-length field, and stores information such as the address of the record 500 and the length of subsequent fields (the data unit 502 and the key unit). Each record 500 is allowed to have a variable length, that is, the length of the data portion 502 may be different for each record 500. For this reason, the count part 501 stores the length of the key part and the data part 502 of the record. If the count part 501 is seen, the length of each field of the record 500 can be known. The address of the record 500 is indicated by a combination of a cylinder number, a head number, a record number, that is, a sequential number given from the beginning of the track. Although the track has a fixed length, since the record has a variable length, the number of records included in each track is variable.
[0020]
FIG. 4 is a schematic diagram showing a track format of a fixed-length recording format. In the fixed-length storage device, each track is composed of a predetermined fixed-length area (hereinafter referred to as a block) 600. Each block 600 is uniquely numbered within the storage device. Access to an area of the storage device is performed by designating the number of the first block 600 in the area and the number of blocks 600 that follow it.
[0021]
FIG. 5 is an explanatory diagram showing an outline of format conversion from variable-length recording format data to fixed-length recording format data. Each track expressed in the variable-length recording format is divided into areas equal to the size of the fixed-length block 600 for format conversion. The head area of the head track indicated by cylinder number 1 and head number 0 is allocated to the head block 600 indicated by number 0. Thereafter, the subsequent area on the track is allocated to the subsequent block 600, and when the entire area of the first track is allocated, the next area, that is, the first area of the track of cylinder number 1 and head number 1 is allocated to the subsequent block 600. Assigned. At this time, the variable length recording format count unit 501 is discarded without being stored. Hereinafter, the entire area of each track is associated with each block 600 in the same manner. Volume information is stored in cylinder number 0. If the mainframe volume 42 and the open system volume 43 have the same track format in the external storage device 4, when the open system volume 43 is backed up from the mainframe 1 and the mainframe volume 42 is The same data recording format conversion mechanism 141 can be used for backup. Therefore, the track format of the main frame volume 42 and the open system volume 43 should be the same. Since the open system data, for example, SCSI data does not have a counting unit, the track format of the main frame data is matched with the track format of the open system data. That is, when a read request is made from the main frame side, a count unit is generated by the data recording format conversion mechanism 141 of the storage device control processor 14, and when a write request is issued from the main frame 1 side, the count unit is discarded and only the data unit is discarded. Is stored. Since each track has a fixed length, the number of fixed-length blocks 600 included in one track is obtained by track capacity / block capacity. The number of the first block 600 storing the track from the track address can be obtained by “(cylinder number × head number + head number) × total number of blocks per track”.
[0022]
When the data of the external storage device 4 is normally used from the open system 2, the open system 2 reads data directly from the open system volume 43 of the external storage device 4 in response to a read request issued from the application program 212. . The mainframe volume 42 and the open system volume 43 existing in the external storage device 4 are backed up as described below.
[0023]
FIG. 6 is a flowchart of backup processing of the mainframe volume 42 by the mainframe 1. In the backup process of the mainframe volume 42, first, the backup software 112 of the mainframe 1 is activated (step 1001). The backup software 112 reads backup data from the mainframe volume 42 (step 1002). The read backup data is converted from the fixed-length recording format to the variable-length recording format by the data recording format conversion mechanism 141 of the storage device control processor 14 (step 1003). The data converted into the variable length recording format is stored in the backup device 3 connected to the main frame 1 (step 1004). The backup software 112 determines whether there is still data to be backed up, and if there is data, repeats the steps 1002 to 1004 and continues the backup process. If the backup of all data has been completed, the backup process is terminated (step 1005).
[0024]
The backup data is restored by the backup software 112 in the same manner as the backup process. The backup software 112 converts the backup data stored in the backup device 3 from the variable length recording format to the fixed length recording format by the data recording format conversion mechanism 141 and stores it in the mainframe volume 42.
[0025]
FIG. 7 is a flowchart of the backup processing of the open system volume 43 by the mainframe 1. In the backup processing of the open system volume 43, first, all the operations of the open system 2 that use the backup acquisition target volume are stopped, and the volume 43 is unmounted (step 1301). The backup software 112 of the mainframe 1 is activated. The backup software 112 receives the designation of the volume serial number corresponding to the device file name of the volume 43 used in the open system 2 from the user, and starts backup (step 1302). Thereafter, backup is performed by the same processing as in Step 1002 to Step 1005 described above (Step 1303). When all the data is stored in the backup device 3, the mount processing is executed from the open system 2 to the volume 43, and the operation in the open system 2 is resumed (step 1304).
[0026]
The restore process for the open system volume 43 is performed in the same manner as the mainframe restore process described above.
[0027]
FIG. 8 is a flowchart of processing when backing up the data of the open system volume 52 of the external storage device 5 to the backup device 3. Volume data in the external storage device 5 that cannot be directly accessed from the mainframe 1 is once copied to the external storage device 4 and then stored in the backup device 3.
[0028]
In the backup processing of the open system volume 52, first, a backup volume is created in the external storage device 43. In addition, the volume serial number and volume information of the backup volume are created by the volume inventory creation / data set allocation module 1121 and stored in the cache memory 111 or the external storage device 4. The backup volume, volume serial number, and volume information are created in accordance with an instruction from the user (step 1401). Thereafter, in the open system 2, data to be backed up is copied from the open system volume 52 to the backup volume of the external storage device 4 by the backup program or system command of the open system 2. This process is called temporary backup. The copying performed here is performed in units of files, for example. At this time, a plurality of files are copied within the capacity range of the backup volume (step 1402). After copying the backup data, the processing from the open system 2 side is stopped, and the backup volume is unmounted from the open system 2 (step 1403). Subsequently, the backup software 112 of the main frame 1 reads data by designating a backup volume. Data read from the backup volume is generated in a simulated manner by the data recording format conversion mechanism 141 of the storage device control processor 14 and converted from a fixed length recording format to a variable length recording format (step 1404). . The data converted into the variable length recording format is stored in the backup device 3 (step 1405). After all the data of files temporarily backed up in the backup volume is stored in the backup device 3, all the files copied to the backup volume are deleted in order to use the backup volume as the next primary backup destination (step 1406). ). The backup volume 44 is mounted from the open system 2 so that the backup volume can be accessed from the open system 2 (step 1407). It is determined whether there is data to be backed up in the volume 52. If there is still backup data, the processing from step 1402 is repeated. If there is no data to be backed up in the volume 52, the backup process is terminated (step 1408).
[0029]
Restoration of the backed up data is realized by converting the variable length recording format to the fixed length recording format, then transferring it to the open system 2 via the backup volume and storing it in the open system volume 52.
[0030]
FIG. 9 is a flowchart showing a second embodiment of the backup processing of the data in the open system volume 52 of the external storage device 5 to the backup device 3. In the processing shown in FIG. 9, the storage device control processor 14 determines the storage location of the backup data from the volume information 431 and performs backup. In the present embodiment, volume information for backup data is created in the cache memory 111.
[0031]
In the backup processing of the open system volume in this embodiment, first, all the operations of the open system 2 that use the open system volume 52 that is the backup acquisition target are stopped. After the service is stopped, the open system 2 executes unmounting of the volume 52 (or a command for each OS using the volume) (step 1101). Next, the backup software 112 of the main frame 1 is activated (step 1102). The volume information creation / data set allocation module 1121 of the backup software 112 creates volume information and a volume serial number for the external storage device 5 connected to the open system 2 and stores them in the cache memory 111 in the main storage device 11. At this time, it is assumed that there is a virtual volume in the cache memory 111. Here, the volume information is stored in the cache memory 111, but the location where the volume information is stored may be other. In order to facilitate the operation, the device file name in the open system 2 is preferably a name related to the volume serial number. Further, the range of the number is determined in advance in the system so that the volume serial number can be understood as being for the data in the external storage device 5. The volume serial number is managed and operated by the user (step 1103).
[0032]
When creating the volume information, the backup software 112 designates the created volume information, requests the storage device control processor to read the backup data, and starts backup processing (step 1104). The recording device control processor 14 determines whether or not the designated volume serial number is within the number range for the data in the external storage device 5 by the volume serial number identifying means 142. If the specified volume serial number is outside the range for the data in the external storage device 5, it becomes a backup of the open system volume of the external storage device 4. Therefore, in this case, the same processing as in step 1303 is performed (step 1105). If the specified volume serial number is within the range for the data in the external storage device 5, the recording device control processor 14 requests the open system 2 to read the data via the communication line 34. In response to this request, the open system 2 starts the backup program, reads the backup data from the open system volume, and transfers it to the storage device control processor 14 via the communication line 34 (step 1106). The storage device control processor 14 uses the data recording format conversion mechanism 141 to generate the C section by simulation so that the data transferred from the open system 2 can be used by the operating system 113 of the mainframe 1 and convert it into a variable length recording format. Conversion is performed (step 1107). The storage device control processor 14 sends the converted data to the operating system 113. The data sent to the operating system 113 is stored in the backup device 3 by the backup software 112 (step 1108). The storage device control processor 14 determines whether there is still backup data from the open system 2. If backup data remains, step 1107 to step 1108 are repeated (step 1109). If processing of all backup data has been completed, the storage device control processor 14 reports the completion of the backup processing. The open system 2 executes the mount processing of the open system volume 53 and resumes the business (step 1110).
[0033]
There is also a method of backing up after a certain amount of data from the open system 2 has been accumulated.
[0034]
At the time of restoration, backup data stored in the backup device 3 is read by the backup software 112 and converted into a fixed-length recording format by the data recording format conversion mechanism 141. The storage device control processor 14 transfers the data converted into the fixed length recording format to the open system 2 via the communication line 34. This data is restored to the open system volume 52 by the open system 2.
[0035]
In the above-described embodiment, backup of data stored in the volume of the external storage device 5 dedicated by the open system 2 is realized by the open system 2 being interposed. Instead of the method described above, it is possible to connect the communication device 15 of the mainframe 1 to the communication device 35 of the external storage device 5 and perform backup without interposing the open system 2. In this case, as backup pre-processing, the volume serial number and volume information for the external storage device 5 (open system volume 52) are created by the backup software 112 and stored in the cache memory 111. The backup process can be realized in the same manner as the backup of the open system volume 43 described with reference to the flowchart of FIG. In order to prevent erroneous access to the external storage device 5, the main frame 1 unmounts the external storage device 5 or keeps the normal communication line 35 offline during normal operation. Then, when the backup software 112 is activated, it can be connected to the external storage device 5.
[0036]
FIG. 10 is a block diagram showing a configuration of a computer system in still another embodiment of the present invention. In the computer system according to this embodiment, a main frame 1, an open system 2, a backup device 3, and external storage devices 4 and 5 are connected by a network 6 between external storage devices. The network 6 between external storage devices and each device are connected by communication lines 34, 35, 36, 37 and 38. The main frame 1, the open system 2, and the external storage devices 4 and 5 have communication devices 17, 25, 45, and 55 for communicating with other devices via the external storage device network 6. . Normally, it is assumed that the external storage device 4 is usable from the main frame 1 and the external storage devices 4 and 5 are usable from the open system 2. The cache memory 111 of the mainframe 1 stores a volume serial number 114 and volume information 115 for the open system volume 52 of the external storage device 5 created by backup preprocessing by the backup software 112.
[0037]
The backup process in the present embodiment is the same as that shown in FIG. 7 except that the backup data is transferred between the mainframe 1 and the corresponding external storage device and the backup device 3 via the external storage device network 6. This can be realized by the same processing as the backup of the open system volume 43 described with reference to the flowchart of FIG.
[0038]
According to the embodiment described above, in a computer system in which a main frame and an open system are mixed, data such as a disk device connected to the open system and used by the open system is transferred to the backup device connected to the main frame. Can be backed up. Also, since open system data can be backed up while being captured on the mainframe side, it is not necessary to create a backup volume in the external storage device on the mainframe side, backup processing can be performed in a short time, and for backup work. Requires less storage capacity.
[0039]
In addition, this invention is not limited to embodiment mentioned above. For example, the number of mainframes and open systems provided in the same system is not limited to one and may be two or more. Similarly, the number of external storage devices can be arbitrary.
[0040]
【The invention's effect】
According to the present invention, in a computer system in which a main frame and an open system are mixed, when data used on the open system side is backed up to a backup device connected to the main frame, the backup is used for backup work. The volume area can be reduced, and the overhead of backup work can be reduced.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram of a computer system according to an embodiment of the present invention.
FIG. 2 is a schematic diagram showing a logical configuration of an open system volume.
FIG. 3 is a schematic diagram showing a track format of a variable-length recording format.
FIG. 4 is a schematic diagram showing a track format of a fixed-length recording format.
FIG. 5 is an explanatory diagram showing an overview of format conversion from variable-length recording format data to fixed-length recording format data.
FIG. 6 is a flowchart of mainframe volume backup processing;
FIG. 7 is a flowchart of backup processing for an open system volume.
FIG. 8 is a flowchart of backup processing of data stored in an external storage device dedicated to the open system.
FIG. 9 is a flowchart according to another embodiment of a backup process of data stored in an external storage device dedicated to an open system.
FIG. 10 is a block diagram showing a configuration of a computer system in still another embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Main frame, 2 ... Open system, 3 ... Backup apparatus, 4, 5 ... External storage device, 13 ... Communication apparatus (variable length access interface), 15, 23, 41, DESCRIPTION OF SYMBOLS 51 ... Communication apparatus (fixed length access interface), 14 ... Storage device control processor, 42 ... Main frame volume, 43, 53 ... Open system volume, 112 ... Backup software, 141 ... Data recording format conversion mechanism.

Claims (4)

メインフレーム計算機と、前記メインフレーム計算機と通信線を介して接続されたオープンシステム計算機と、前記オープンシステム計算機に接続され、前記オープンシステム計算機により利用される固定長記録形式のデータを格納した第1の記憶装置と、前記メインフレーム計算機と他の固定長形式アクセスインタフェースで接続された第2の記憶装置と、及び、前記メインフレーム計算機に接続され可変長記録形式でデータを格納するバックアップ装置とを有する情報処理システムにおいて、前記第1の記憶装置に格納されたデータを前記バックアップ装置に前記メインフレーム計算機がバックアップするためのバックアップ方法であって、A mainframe computer, an open system computer connected to the mainframe computer via a communication line, and a first data stored in a fixed-length recording format connected to the open system computer and used by the open system computer A second storage device connected to the mainframe computer via another fixed-length format access interface, and a backup device connected to the mainframe computer for storing data in a variable-length recording format. In the information processing system having, a backup method for the mainframe computer to back up data stored in the first storage device to the backup device,
前記メインフレーム計算機が、前記バックアップ装置にデータをバックアップする時に必要となり、かつ、前記第1の記憶装置または前記第2の記憶装置に格納されている固定長記録形式のデータをアクセスする際に用いる、ボリュームを識別するボリュームシリアル番号およびデータの先頭および最後の位置を識別する情報であるボリューム情報を作成し、  Used when the mainframe computer accesses data of a fixed-length recording format that is necessary when backing up data to the backup device and is stored in the first storage device or the second storage device. Create volume information, which is information that identifies the volume serial number that identifies the volume and the beginning and end positions of the data,
前記メインフレーム計算機が、前記ボリュームシリアル番号が前記第1の記憶装置のデータに対するものの番号の範囲内であるか否かを判断し、また、前記ボリューム情報を使用して前記データの格納位置を判断し、  The mainframe computer determines whether the volume serial number is within a range of numbers for the data in the first storage device, and determines the storage location of the data using the volume information And
もし前記データが前記第1の記憶装置に格納されていたなら、前記メインフレーム計算機が、前記オープンシステム計算機へ、前記通信線を介して、前記固定長記録形式で前記第1の記憶装置に格納されている前記データを要求し、  If the data is stored in the first storage device, the mainframe computer stores the data in the fixed storage format in the first storage device via the communication line to the open system computer. Requesting said data being
前記オープンシステム計算機が、前記要求に応答し、前記第1の記憶装置に格納された固定長記録形式の前記データを、前記固定長形式アクセスインタフェースを介して読み出し、  In response to the request, the open system computer reads the data in the fixed-length recording format stored in the first storage device via the fixed-length format access interface,
前記オープンシステム計算機が、前記読み出した固定長記録形式のデータを前記通信線を介して前記メインフレーム計算機へ転送し、  The open system computer transfers the read fixed-length recording format data to the mainframe computer via the communication line,
前記メインフレーム計算機が、前記固定長記録形式のデータを可変長記録形式のデータへ変換し、  The mainframe calculator converts the fixed-length recording format data into variable-length recording format data,
前記メインフレーム計算機が、前記変換された可変長記録形式のデータを前記バックアップ装置へバックアップすることを特徴とするバックアップ方法。  A backup method, wherein the mainframe computer backs up the converted variable-length recording format data to the backup device.
請求項1記載のバックアップ方法であって、前記ボリューム情報と前記ボリュームシーケンス番号とが前記メインフレーム計算機が有する主記憶内の所定の領域に格納することを特徴とするバックアップ方法。2. The backup method according to claim 1, wherein the volume information and the volume sequence number are stored in a predetermined area in a main memory of the mainframe computer. 請求項1記載のバックアップ方法であって、  The backup method according to claim 1, wherein
もし前記バックアップされるべきデータが前記第1の記憶装置に格納されていないなら、前記メインフレーム計算機が、前記第2の記憶装置の固定長記録形式のデータを読み出すことを特徴とするバックアップ方法。  If the data to be backed up is not stored in the first storage device, the mainframe computer reads data in the fixed length recording format of the second storage device.
メインフレーム計算機と、オープンシステム計算機と、前記オープンシステム計算機に第1の固定長形式アクセスインタフェースで接続され、前記オープンシステム計算機により利用される固定長記録形式のデータを格納した第1の記憶装置と、前記メインフレーム計算機と第2の固定長形式アクセスインタフェースで接続され、かつ、前記オープンシステム計算機と第3の固定長形式アクセスインタフェースで接続され、固定長記録形式のデータを格納する第2の記憶装置と、及び、前記メインフレーム計算機に接続され可変長記録形式でデータを格納するバックアップ装置とを有する情報処理システムにおいて、前記第1の記憶装置に格納されたデータを前記バックアップ装置に前記メインフレーム計算機がバックアップするためのバックアップ方法であって、A mainframe computer, an open system computer, and a first storage device connected to the open system computer via a first fixed-length format access interface and storing data in a fixed-length recording format used by the open system computer; A second memory for connecting the mainframe computer with a second fixed-length format access interface and connected with the open system computer by a third fixed-length format access interface for storing data in a fixed-length recording format; In an information processing system having a device and a backup device connected to the mainframe computer and storing data in a variable length recording format, the data stored in the first storage device is transferred to the mainframe. Backup for computer backup A up method,
前記メインフレーム計算機が、前記第2の記憶装置に作成されたバックアップ用ボリュ  The mainframe computer has a backup volume created in the second storage device. ームを識別するボリュームシリアル番号およびデータの先頭および最後の位置を識別する情報であるボリューム情報を作成し、Create volume serial information that identifies the volume and volume information that is information that identifies the beginning and end of the data.
前記オープンシステム計算機が前記第1の記憶装置に格納している固定長記録形式のデータを前記バックアップ用ボリュームに前記第3の固定長形式アクセスインタフェースを介してコピーし、  Copying the data in the fixed length recording format stored in the first storage device by the open system computer to the backup volume via the third fixed length format access interface;
前記メインフレーム計算機が、前記ボリュームシリアル番号と前記ボリューム情報を使用して、前記第2の記憶装置の前記バックアップ用ボリュームに格納された固定長記録形式のデータを、前記第2の固定長形式アクセスインタフェースを介して読み出し、  The mainframe computer uses the volume serial number and the volume information to access the fixed-length recording format data stored in the backup volume of the second storage device in the second fixed-length format access. Read through the interface,
前記メインフレーム計算機が、前記固定長記録形式のデータを可変長記録形式のデータへ変換し、  The mainframe calculator converts the fixed-length recording format data into variable-length recording format data,
前記メインフレーム計算機が、前記変換された可変長記録形式のデータを前記バックアップ装置へバックアップすることを特徴とするバックアップ方法。  A backup method, wherein the mainframe computer backs up the converted variable-length recording format data to the backup device.
JP2000030215A 1999-02-19 2000-02-02 Data backup method in information processing system Expired - Fee Related JP3794232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000030215A JP3794232B2 (en) 1999-02-19 2000-02-02 Data backup method in information processing system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11-41048 1999-02-19
JP4104899 1999-02-19
JP2000030215A JP3794232B2 (en) 1999-02-19 2000-02-02 Data backup method in information processing system

Publications (3)

Publication Number Publication Date
JP2000305719A JP2000305719A (en) 2000-11-02
JP2000305719A5 JP2000305719A5 (en) 2004-09-09
JP3794232B2 true JP3794232B2 (en) 2006-07-05

Family

ID=26380574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000030215A Expired - Fee Related JP3794232B2 (en) 1999-02-19 2000-02-02 Data backup method in information processing system

Country Status (1)

Country Link
JP (1) JP3794232B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004005222A (en) 2002-05-31 2004-01-08 Internatl Business Mach Corp <Ibm> Backup technique for recording devices with different storage formats
JP2008191775A (en) * 2007-02-01 2008-08-21 Nec Corp Disk array device and management method for duplicate volume in disk array device
JP4990064B2 (en) * 2007-08-09 2012-08-01 株式会社日立製作所 Storage system and backup method
JP5699626B2 (en) * 2011-01-21 2015-04-15 日本電気株式会社 Management board
JP7113698B2 (en) * 2018-08-10 2022-08-05 株式会社日立製作所 Information system

Also Published As

Publication number Publication date
JP2000305719A (en) 2000-11-02

Similar Documents

Publication Publication Date Title
US6615327B1 (en) Method and system for backing up data of data processing devices including fixed length block format data conversion to variable length block format
US11782607B2 (en) Data protection with multiple site replication
EP0869438B1 (en) Heterogeneous computer system, heterogeneous input/output system and data back-up method for the systems
JP3944449B2 (en) Computer system, magnetic disk device, and disk cache control method
JP4559046B2 (en) Virtual tape library device
EP0983548B1 (en) Apparatus and method for backup of a disk storage system
US7281104B1 (en) System and method for online data migration
US7930474B2 (en) Automated on-line capacity expansion method for storage device
US6772365B1 (en) Data backup method of using storage area network
US20020069318A1 (en) Real time application accelerator and method of operating the same
US20080301334A1 (en) Disk control apparatus, disk control method, remote disk control apparatus, and remote disk control method
US20020144069A1 (en) Backup processing method
KR20030091664A (en) Storage system and storage subsystem
JPH09282104A (en) Method for improving data storage performance of storage device and device therefor
JP2001125815A (en) Backup data management system
JP3800903B2 (en) Storage device and access control method thereof
JP3794232B2 (en) Data backup method in information processing system
US8037268B2 (en) Storage system and operation method thereof
EP1686451A1 (en) Virtual tape library device
JP2002055862A (en) Computer system
JPH06242888A (en) Disk array device, computer system and data storage device
CN119127063A (en) Data management method and server
JP2000339855A (en) Data storage system
JP2007048319A (en) Compound computer system and compound I / O system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060302

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: 20060322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060404

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090421

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100421

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110421

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120421

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130421

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140421

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees