JP3781369B2 - Storage subsystem - Google Patents

Storage subsystem Download PDF

Info

Publication number
JP3781369B2
JP3781369B2 JP2002256282A JP2002256282A JP3781369B2 JP 3781369 B2 JP3781369 B2 JP 3781369B2 JP 2002256282 A JP2002256282 A JP 2002256282A JP 2002256282 A JP2002256282 A JP 2002256282A JP 3781369 B2 JP3781369 B2 JP 3781369B2
Authority
JP
Japan
Prior art keywords
access
subsystem
old
path
new
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
JP2002256282A
Other languages
Japanese (ja)
Other versions
JP2003108315A (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 JP2002256282A priority Critical patent/JP3781369B2/en
Publication of JP2003108315A publication Critical patent/JP2003108315A/en
Application granted granted Critical
Publication of JP3781369B2 publication Critical patent/JP3781369B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、サブシステムの移行技術に関し、特に、無停止運転を前提とする情報処理システム等における中央処理装置の配下のサブシステムの移行操作に適用して有効な技術に関する。
【0002】
【従来の技術】
データ移行とは、情報処理システムにおいて外部記憶装置として機能している旧ディスクサブシステム内のデータを新ディスクサブシステム内に移し替えるものである。従来、一般的にディスクサブシステム間でデータ移行する方法としては、移行したい装置に対する中央処理装置からのアクセスを停止させ、CPUが旧ディスクサブシステムからデータを読み込み、そのデータをCPUが新ディスクサブシステムへ書き込むというような、CPUの介入による方法が知られている。この方法では、データ移行中は、当該ディスクサブシステムに対する顧客の業務を長時間停止させることになる。
【0003】
これに対して、データ移行中もCPUからのアクセスを可能とすることにより業務停止時間を短くする技術として、日立製作所のHODM(Hitachi Online Data Migration)機能、IBM社の拡張リモートコピー機能(以降、XRC)または、対等リモートコピー機能(以降、PPRC)(文献例 IBM 3990 Model 6 Enhancements)、また、EMC社のSymmetrix Data Migration Service(SDMS)(文献例 SYMMETRIX ICDA Family PRODUCT ANNOUNCEMENT SUMMARY November 6th,1995)がある。
【0004】
HODMによる方式では、まず、CPUから旧ディスクサブシステムに対するアクセスを停止させる。その後、CPUから旧ディスクサブシステムへのアクセス経路をCPUから新ディスクサブシステムへ接続変更し、さらに、新旧ディスクサブシステム間に新たにアクセス経路を設ける。その後、新ディスクサブシステムから旧ディスクサブシステムのデータを新たなアクセス経路を通して、読み込みすることにより、移行を開始させ、CPUからのアクセスを再開させる。移行済み領域に対するCPUアクセス時は、新旧ディスクサブシステム両方で処理する。また、移行未完領域に対するCPUアクセス時は、旧ディスクサブシステムから読込んだデータを、新ディスクサブシステムにも反映させ処理をする。これにより、CPUからのアクセス中のデータ移行を可能としている。本機能の大きな特徴は、旧ディスクサブシステムが、データ移行の機能を有する必要のない点である。
【0005】
XRCによる方式では、旧ディスクサブシステムにCPUからの書き込みデータをディスク制御装置に確保しておく機能を有し、また、CPUには確保したデータを読み込む機能を有する。このデータを新ディスクサブシステムに書き込むことにより、CPUからのアクセス中のデータ移行を可能としている。本方式では、移行完了後に、旧ディスクサブシステムに対する顧客の業務を停止させ、新ディスクサブシステムに切り替えるという特徴がある。
【0006】
PPRCによる方式では、旧ディスクサブシステムと新ディスクサブシステム間を接続し、双方での通信機能を有する。旧ディスクサブシステムに対するCPUの書き込みデータをこの通信機能を介して新ディスクサブシステムに書き込むことにより、CPUからのアクセス中のデータ移行を可能としている。また本方式では、XRCと同様に、移行完了後に顧客の業務を停止し、切り替えるという特徴がある。
【0007】
一方、SDMSは、まず、CPUから旧ディスクサブシステムに対するアクセスを停止させる。その後、CPUから旧ディスクサブシステムへのアクセス経路をCPUから新ディスクサブシステムへ接続変更し、さらに、新旧ディスクサブシステム間に新たにアクセス経路を設ける。その後、新ディスクサブシステムから旧ディスクサブシステムのデータを新たなアクセス経路を通して、読み込みすることにより、移行を開始する。また、移行開始後、CPUからのアクセスを再開させる。CPUアクセスが移行済み領域に対する時は、新ディスクサブシステムで直接処理する。移行未完領域に対するアクセス時は、旧ディスクサブシステムから当該トラックのデータを読み込み後、新ディスクサブシステムで通常の処理をする。これにより、CPUからのアクセス中のデータ移行を可能としている。
【0008】
【発明が解決しようとする課題】
上述のような従来技術においては、データ移行中でもCPUからのアクセスを可能とすることで、旧ディスクサブシステムに格納されるデータへのアクセス停止を、旧ディスクサブシステムから新ディスクサブシステムへの切り替え時間に抑えることができている。しかし、OSなどのシステム制御データの場合は、一時のアクセス停止であってもそれは顧客業務の停止であり、移行作業による影響は大きい。特に、増えてきている24時間のオンライン業務が必要な顧客ではこれは許されず、年末年始などのシステム停止時にしか移行ができないこととなる、という技術的課題がある。
【0009】
また、一般に、一つのサブシステムは複数のCPUに接続されて使用することが可能である。この時、サブシステムでは、受けとったアクセス経路ごと、またはアクセス経路のグループ単位でCPUを区分し処理している。相手サブシステムへの同等のアクセスもこれが区分されなければならない。
【0010】
また、CPUアクセスを継続したままCPUからのアクセス経路を新サブシステムに切り替えた場合、CPUからは同じ装置へアクセスを続けていると認識される。データ移行が終わり旧サブシステムが撤去されたあと、CPUから装置確認等の目的で装置情報の入力要求が発行されることがある。過去に読み取った装置情報と今回読み取る装置情報の一致/不一致で装置およびアクセス経路の確認を行っているCPUでは、このとき新サブシステムの情報を送ると、CPUは装置情報が不一致のためアクセス経路に障害があると判断し、アクセス経路が切断され、サブシステムダウンになってしまうことが懸念される。
【0011】
本発明の目的は、旧サブシステムから新サブシステムへの切り替え中も上位装置からサブシステム側へのアクセスを継続することが可能なサブシステムの移行技術を提供することにある。
【0012】
本発明の他の目的は、データ移行手順にともなう上位装置からサブシステム側へのアクセスの停止が一切必要なく、無停止状態でのデータ移行が可能なサブシステムの移行技術を提供することにある。
【0013】
本発明の他の目的は、複数の上位装置の配下で稼働する旧サブシステムの新サブシステムへの移行を無停止稼働の下で円滑に行うことが可能なサブシステムの移行技術を提供することにある。
【0014】
本発明の他の目的は、旧サブシステムから新サブシステムへの移行に伴う装置情報等の環境変化に起因する障害の発生を回避して、円滑なサブシステムの移行を可能にするサブシステムの移行技術を提供することにある。
【0015】
【課題を解決するための手段】
一般に、CPUやチャネル等の上位装置から配下のサブシステムへは複数のアクセス経路が設けられ、上位装置はこのアクセス経路を自由に選択切り替えし、サブシステムへアクセスを行う。例えば、ある入出力処理要求で出される命令の連なりにおいて発生する中断後の再開時であっても、元のアクセス経路とは別のアクセス経路が選択されて使われることもある。中断前と後の命令は一連の処理であるから、サブシステムにおいては中断前の命令が実行されていなければ中断後の命令が実行できないのはいうまでもない。したがって、アクセス経路の変更があっても、サブシステムではそれを認識し、一連の命令として処理できるようになっている。
【0016】
本発明は、上位装置と、データ移行元である第1のサブシステムと、第1のサブシステムからデータを移行される第2のサブシステムと、を有する記憶システムであって、第1の状態から、少なくとも第2の状態を経て、第3の状態に切り替わるものであって、第1の状態は、上位装置と第1のサブシステムとが第1のアクセス経路によって接続される状態であって、第2の状態は、上位装置と第1のサブシステムとが第1のアクセス経路によって接続され、上位装置と第2のサブシステムとが第2のアクセス経路によって接続され、第1のサブシステムと第2のサブシステムとが第3のアクセス経路によって接続される状態であり、第3の状態は、上位装置と第2のサブシステムとが第2のアクセス経路によって接続される状態であり、第2の状態においては、上位装置から、第1のサブシステム内の記憶領域のうち上位装置のアクセス対象となる第1の記憶領域内に格納されたデータへの入出力要求を行う経路として、上位装置から第1のアクセス経路を経由する経路と、上位装置から第2のアクセス経路を経由して第2のサブシステムを中継して第3のアクセス経路を経由する経路と、の少なくとも2通りの経路を有し、2通りの経路のいずれの経路を経由した入出力処理も可能に構成され、第3の状態において、第1のサブシステムから第2のサブシステムにデータ移行を開始するものであり、第1のサブシステムから第2のサブシステムにデータ移行が完了していないデータについてのコマンドを第2のサブシステムが受領した場合には、第1のサブシステムから第2のサブシステムをデータ移行した後に、コマンドに対する処理が実行される。すなわち、上位装置から旧サブシステムへ複数の第1アクセス経路と、新旧サブシステム間に第3アクセス経路が設けられているとき、上位装置から旧サブシステムへの第1アクセス経路を複数回に分けて、上位装置と新サブシステムの間の第2アクセス経路に接続変更するようにする。接続変更中は、新旧の両サブシステムに上位装置から第1および第2アクセス経路が接続されることになるが、この時に、新旧サブシステムでは、アクセスを上位装置から受けた場合には、同等のアクセスを、第3アクセス経路を介して相手サブシステムに行うことで、アクセス要求の中継を行うようにする。こうすることで相手サブシステムが中断前の命令を実行するので、中断後の命令も実行できるようにさせることができる。また、この同等のアクセスは新旧の両サブシステムで行う必要があるが、接続変更中に中心となって処理するサブシステムを決めれば、それとは反対のサブシステムが行うだけでもよい。また、上位装置からの処理要求に中断が入らないとき、さらに、上位装置からの処理要求がアクセス経路固定で来るときなど、相手サブシステムが上位装置から連続したつぎの命令を受けることがないときは、場合により同等のアクセスを相手サブシステムに行う必要がないこともある。また、相手サブシステムに行うアクセスをアクセス経路固定として相手サブシステムに行うようにすることで、相手サブシステムが上位装置から連続したつぎの命令を受けることがないようにし、上位装置から受けたものとは違うアクセスを行うこともできる。このようにして、上位装置からのアクセスを止めずに、アクセス経路を複数回に分けて、旧サブシステムから新サブシステムに接続を切り替えることが可能となる。
【0017】
たとえば、ディスクサブシステムにおけるデータ移行にて、接続変更中は旧ディスクサブシステムが中心となって処理するようにさせると、新ディスクサブシステムで本発明の前記第3アクセス経路を介したアクセス要求の中継を実施すれば上位装置からのアクセスを止めずに接続切り替えが実施できる。しかし、データ移行を実施しながら切り替えを行うと、切り替え中に旧ディスクサブシステムが直接上位装置からのアクセスを受け、旧ディスクサブシステムのみデータの更新がかかることがある。既に移行が済んでいる部分のデータが更新された場合は、その部分のデータが移行もれとなってしまう。
【0018】
そこで、本発明では、新ディスクサブシステムに、第2アクセス経路を介した上位装置からのアクセス要求を、第3アクセス経路を介して旧サブシステムに中継することで旧ディスクサブシステムから新ディスクサブシステムへの接続切り替えを実現させる場合、全ての第1アクセス経路の第2アクセス経路への接続切り替え終了後に、旧サブシステムから新サブシステムへのデータの移行を始めるようにさせることで、データ移行後の部分に新ディスクサブシステムを経由しない更新が発生しないようにし、再度のデータ移行を必要としないようにさせる。
一方、逆に、接続変更中は新ディスクサブシステムが中心となって処理するようにさせると、すなわち、第1アクセス経路から第2アクセス経路への接続変更中に、第1アクセス経路を介した上位装置からのアクセス要求を、旧サブシステムが第3アクセス経路を介して新サブシステムに中継することで、上位装置からのアクセスを止めずに接続切り替えが実施できる。しかし、データ移行前や移行中は新ディスクサブシステムに移行されていないデータへ上位装置からアクセスがあった時は、処理ができない。
【0019】
そこで、本発明では、この場合には、旧サブシステムへの第1アクセス経路を、新サブシステムへの第2アクセス経路への切り替えに先立って、旧サブシステムから新サブシステムへのデータ移行(複写)を予め完了させた後、旧ディスクサブシステムに、第1アクセス経路を介して上位装置から到来するアクセス要求を第3アクセス経路を介して新サブシステムに中継する動作を行わせることで、旧ディスクサブシステムから新ディスクサブシステムへの接続切り替えを実現させるようにするものである。
【0020】
また、旧サブシステムから新サブシステムへのデータ移行中に接続切り替えを行わせることを可能とするためには、切り替え中も常に、新旧の両ディスクサブシステムのデータが更新されればよい。
【0021】
そこで、本発明では、このような場合には、新および旧ディスクサブシステムの双方において、第1および第2アクセス経路を介して上位装置から到来するアクセス要求を、第3アクセス経路を介して互いに他のサブシステムに中継することで、データ移行中の接続切り替えを可能とするものである。
【0022】
また、本発明では、複数上位装置のアクセスを区別して相手サブシステムに伝えるために、旧ディスクサブシステムに接続されている上位装置の数と少なくとも同数の第3アクセス経路を新旧ディスクサブシステム間に備えるようにしたものである。ディスクサブシステム間の個々の第3アクセス経路を経由したアクセスを各上位装置からのアクセスに対応させ、旧ディスクサブシステムが複数の上位装置に接続されている場合のデータ移行を可能とする。また、第3アクセス経路の数とは、物理的なアクセス経路の数のみでなく、論理的なアクセス経路の数もふくめる。
【0023】
また、本発明では、新ディスクサブシステムが予め装置情報入力要求を旧ディスクサブシステムに発行し、このとき旧ディスクサブシステムから応答される装置情報を読み取り、記憶しておくようにする。そして、上位装置からの装置情報の入力要求には、新ディスクサブシステムの装置情報ではなく、記憶している旧ディスクサブシステムの装置情報を送るようにする。
【0024】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照しながら詳細に説明する。
【0025】
(実施の形態1)
図1は、本発明のサブシステムの移行方法が実施される情報処理システムの一実施の形態である汎用コンピュータシステムの構成および作用の一例を示す概念図である。
【0026】
本実施の形態の構成は、中央処理装置であるCPU10、データ移行先である新ディスクコントローラユニット11(以降、新CU11と記す)と新ディスクボリューム12(以降、新VOL12と記す)からなる旧サブシステム、およびデータ移行元である旧ディスクコントローラユニット13(以降、旧CU13と記す)と旧ディスクボリューム14(以降、旧VOL14と記す)からなる旧サブシステムで構成されている。
【0027】
旧VOL14は旧CU13の配下で稼働する記憶媒体であり、旧CU13を介してCPU10との間で授受されるデータが格納されている。
【0028】
新VOL12は新CU11の配下で稼働する記憶媒体であり、新CU11を介してCPU10との間で授受されるデータや、旧VOL14から移行されるデータが格納される。
【0029】
また、新CU11は、第2アクセス経路20’、第2アクセス経路21’を介してCPU10から到来するアクセス要求を、第3アクセス経路30、第3アクセス経路31を介して旧CU13に中継することで、後述のように、CPUアクセスを停止することなく新旧サブシステム間でのパス移行を可能とさせるパス移行制御部111、およびデータ移行を制御するデータ移行制御部112を備えている。パス移行制御部111は、第3アクセス経路30、第3アクセス経路31を用いた旧CU13へのアクセスでは、CPU10と等価な動作を行う。
【0030】
本実施の形態のデータ移行処理では、CPU10と元々使用している旧CU13との間で接続されている第1アクセス経路20および第1アクセス経路21を、CPU10とデータ移行先である新CU11間に第2アクセス経路20’および第2アクセス経路21’として接続切り替えし、新CU11と旧CU13の間は新しい第3アクセス経路30および第3アクセス経路31で接続する構成とする。また、新CU11と新VOL12の間および、旧CU13と旧VOL14の間は、デバイスパス12a、デバイスパス14a、を介してそれぞれ接続されている。
【0031】
まず、図1に例示された構成の情報処理システムにおけるデータ移行処理の一例を、図6のフローチャートを用いて説明する。図6は図1の実施の形態において、第1の発明によるサブシステム間パスの移行を行う保守員の操作5a,5b,.....,5iと、それに従って変化する、CPU10が使用するアクセス経路を示すCPUアクセス経路50、パス移行制御部111に指定されている状態を示すパス移行制御部指定51、CPU10からのアクセスを処理するCUを示す処理CU52を時系列に対応させて表している。
【0032】
まず、保守員の操作開始前は通常処理中であるため、CPU10からは第1アクセス経路20および21が使用され、CPUアクセス経路50は第1アクセス経路20および21を示している。またパス移行制御部指定51はパス移行に関係ないため、CPU10からアクセスをうけたら新CU11で処理し、(後で設けられる)第3アクセス経路30および31を通じての旧CU13への同じアクセスは行わないように指定(以下こうした指定を、自CUでの処理と称する)されている。また、処理CU52は旧CU13である。保守員はまず新CU11と旧CU13間の第3アクセス経路30および31を新設する(操作5a)。
【0033】
さらに、パス移行制御部111に、CPU10からアクセスをうけたら、新CU11では処理せず、第3アクセス経路30および31を通じて旧CU13へ同じアクセスを行う(アクセスを中継する)よう指定(以下こうした指定を、他CUでの処理と称する)を行う(操作5b)。
【0034】
次に、CPU10から第1アクセス経路20はオフライン状態とし(操作5c)、当該経路を使ったCPU10のアクセスを止める。
【0035】
この時、CPUアクセス経路50は第1アクセス経路21のみとなる。続いて元の構成から第1アクセス経路20を第2アクセス経路20’に接続切り替えを行う(操作5d)。
【0036】
接続が終わったらCPU10から第2アクセス経路20’(元の第1アクセス経路20)をオンライン状態にする(操作5e)。
【0037】
これでCPUアクセス経路50に示すようにCPU10からは旧CU13に対するアクセスとして、それまで行われていた第1アクセス経路21を使ったアクセスと共に第2アクセス経路20’を使ったアクセスが開始される。第2アクセス経路20’を使ったアクセスは新CU11が受け取るが、パス移行制御部111にて新CU11では処理せずに第3アクセス経路30、31を経由して旧CU13へ同じアクセスを行い、旧CU13にて処理させるように動作される。よってCPUからは第2アクセス経路20’(第1アクセス経路21)のどちらを使っても旧CU13へアクセスされ、旧CU13によってのみの処理が継続される。同様の手順で操作5f,5g,5hにより第1アクセス経路21を第2アクセス経路21’に切り替える。こうしてアクセスを停止することなくCPU10から旧CU13へのアクセス経路を新CU11に接続切り替えすることができる。最後に、全ての切り替えが終わったので、パス移行制御部111の指定を自CUでの処理にかえれば(操作5f)、処理CU52に示すように新CU11が、CPU10からのアクセス要求の処理を行うようになる。こうして、CPU10からのアクセスを止めずに処理サブシステムを、旧CU13および旧VOL14から、新CU11および新VOL12へと切り替えられる。
【0038】
ここで、図1に例示された本実施の形態のようにデータ移行を伴うサブシステムの移行におけるデータ移行の開始のタイミングを検討する。データの移行処理は第3アクセス経路30および31のいずれか1本でもあれば実施可能である。しかし、もし第1アクセス経路20が第2アクセス経路20’として新CU11に接続切り替え後、第1アクセス経路21が第2アクセス経路21’として切り替えされる前に、データ移行を実施(開始)してしまうと、第1アクセス経路21を通じてCPU10から旧CU13へのデータ更新が移行済みの部分に行われる可能性がある。万一こうした更新が行われると、新CU11はこれがわからないため、データの移行ぬけとなってしまう。
【0039】
そこで、本実施の形態では、新CU11に設けられたパス移行制御部111による第2アクセス経路20’、21’側からのアクセスの第3アクセス経路30、31を介した旧CU13への中継によって、CPU10からの第1アクセス経路20、第1アクセス経路21が第2アクセス経路20’、第2アクセス経路21’として全て新CU11に接続切り替えされたのち、データ移行制御部112にデータ移行の開始を指示、さらに、これと同期してパス移行制御部111を自CUでの処理に指定をかえれば、全てのデータがぬけなく移行でき、無停止のデータ移行が実施できる。
【0040】
このような本実施の形態におけるデータ移行を含むサブシステムの移行の処理手順の全体を、図7に例示されるフローチャートで説明すると以下のようになる。
【0041】
すなわち、ステップ101〜106で、第1アクセス経路20、21を第2アクセス経路20’、21’に切り替える経路切り替え操作を実行した後、第3アクセス経路30、31を経由した旧CU13側から新CU11側へのデータのコピー(移行)(ステップ107)を、旧CU13の配下の旧VOL14における移行の必要なデータの全てに対して実施し(ステップ108)、その後、第3アクセス経路30、31および旧CU13、旧VOL14の撤去を行う(ステップ109)。
【0042】
ここで、上述のステップ107〜108におけるデータ移行中のCPU10からアクセス要求の処理は、一例として図8および図9に例示されるフローチャートのようになる。
【0043】
すなわち、図9に例示されるようなコピー処理がバックグラウンド処理として実行され、この間に、図8に例示されるアクセス要求処理が随時実行される。
【0044】
まず、図9のコピー処理では、一例としてトラック単位でデータコピーを行う場合、図示しないコピー管理用のビットマップを参照して(ステップ301)、旧VOL14内の未コピートラックの有無を調べ(ステップ302)、有る場合には、未コピートラック中の最小トラック番号のものを選択し(ステップ303)、第3アクセス経路30、31を経由して新VOL12側にコピーした後(ステップ304)、コピー管理用のビットマップを当該トラックコピー済に更新する(ステップ305)、という動作を、移行対象の全トラックについて行う。
【0045】
一方、図8に例示されるように、新CU11では、CPU10からのコマンドを受領すると(ステップ201)、当該コマンドのアクセス領域が未コピーエリアか否かを調べ(ステップ202)、未コピーエリアの場合には、当該コマンドがリード系コマンドか否かを調べ(ステップ203)、リード系コマンドの場合には、第3アクセス経路30、31を経由して旧VOL14の側から新VOL12にアクセス対象のデータを含むトラックをコピーした後(ステップ205)、コピー管理用のビットマップをコピー済に更新し(ステップ206)、その後、コマンド処理を実行する(ステップ207)。
【0046】
一方、ステップ202にて、コピー済エリアへのアクセスと判定された場合には、直ちに、ステップ207でコマンド処理を実行する。
【0047】
また、ステップ203でリード系コマンド以外(すなわちライト系)と判断された場合には、旧データの必要なライトか否かを判別し(ステップ204)、必要な場合には、ステップ205以降を実行し、不要な場合には、ステップ207のコマンド処理を実行する。
【0048】
このような処理によって、情報処理システムを停止させることなく、旧サブシステムから新サブシステムへの移行が可能になるとともに、無停止稼働中の第1アクセス経路20、21の第2アクセス経路20’、21’への切り替え後のデータ移行処理を円滑かつ的確に行うことができる。
【0049】
(実施の形態2)
図2は、本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態を示す概念図であり、図10および図11は、その作用の一例を示すフローチャートである。
【0050】
本実施の形態の情報処理システムの構成は、一例として、新CU11はパス移行制御部とデータ移行制御部を備えず、旧CU13がパス移行制御部131とデータ移行制御部132を備えている点のみが図1の場合と異なる。
【0051】
まず、第1アクセス経路20、21から旧CU13に発生したアクセス要求の、第3アクセス経路30、31を経由した新CU11側への中継による経路切り替え操作の概略動作を説明する。
【0052】
通常処理中はパス移行に関係ないため、パス移行制御部131には自CUでの処理が指定されている。まず、新CU11と旧CU13間の第3アクセス経路30および31を新設する(ステップ401、ステップ402)。さらに、パス移行制御部131に、他CUでの処理を指定する。これで、旧CU13では処理せずに、第3アクセス経路30、31を介して中継することにより新CU11のみにて処理させるようにする。
【0053】
次に第1アクセス経路20を第2アクセス経路20’へ接続切り替えを行う。この時、CPU10から第1アクセス経路20はオフライン状態としておき、当該経路を使ったCPU10のアクセスを止めておく。さらに第3アクセス経路30は撤去する(ステップ405、ステップ406)。接続が終わったらCPU10から第2アクセス経路20’(元の第1アクセス経路20)をオンライン状態にする。
【0054】
CPU10からは旧CU13に対するアクセスとして、それまで行われていた第1アクセス経路21を使った旧CU13側へのアクセスと共に第2アクセス経路20’を使った新CU11へのアクセスが開始される。第2アクセス経路20’を使ったアクセスを新CU11が受け取るが、新CU11にとっては第3アクセス経路30で受けていたアクセスを第2アクセス経路20’で受けることになるだけであり、そのまま処理が継続される(ステップ407)。第1アクセス経路21を使った旧CU13側へのアクセスは第3アクセス経路30、31を介して新CU11に中継されて処理される(ステップ408)。
【0055】
同様の手順で第1アクセス経路21を第2アクセス経路21’に切り替え、第3アクセス経路31を撤去する。こうしてアクセスを停止することなくCPU10からの旧CU13へのアクセス経路を新CU11に接続切り替えができることになる(ステップ409)。そして旧CU13および配下の旧VOL14の撤去が行われる(ステップ410)。
【0056】
しかし、ここで、データ移行を必要とする記憶サブシステムの移行に適用する場合、VOLデータへのアクセスを制御する記憶サブシステムのCUにおいては、新CU11にデータが移行されていなければ、CPU10からのアクセスを処理できない。そこで本実施の形態では、まず第3アクセス経路30および31を新設した時点で、データ移行制御部132にデータ移行の開始を指示する(ステップ403)。全てのデータが移行でき、新CU11がCPU10から直接アクセスをうけても処理できるようになった時点で(ステップ404)、前記のステップ405以降の経路切り替え処理を実行し、CPU10からのアクセスを停止することなく接続切り替えを行うことにより、無停止のデータ移行が実施できる。
【0057】
ここで、ステップ403〜404のデータ移行完了後のステップ405〜409の経路切り替え操作中にCPU10から発生するアクセス要求(コマンド処理)の一例を図11にて説明する。
【0058】
すなわち、旧CU13では、CPU10からのコマンドを受領すると(ステップ501)、当該コマンドのアクセス領域がコピー済エリアか否かを調べ(ステップ502)、コピー済エリアの場合には、当該コマンドがリード系コマンドか否かを調べ(ステップ503)、リード系コマンドでない(ライト系の)場合には、新CU11および旧CU13の両方でコマンド処理を実行する(ステップ504)。一方、ステップ503でリード系コマンドと判定された場合には、旧CU13が旧VOL14のデータを用いてコマンド処理を行う(ステップ505)。
【0059】
また、ステップ502で未コピーエリアへのアクセスと判定された場合には、ステップ505で、旧CU13が旧VOL14のデータを用いてコマンド処理を行う。
【0060】
このような処理により、旧CU13側に設けられたパス移行制御部131による第3アクセス経路30、31を経由した新CU11側へのアクセス要求の中継により、情報処理システムを停止させることなく、旧サブシステムを新サブシステムに移行させることができるとともに、データ移行中における経路切り替え操作を無停止状態にて的確に実行することが可能になる。
【0061】
(実施の形態3)
図3は、本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態を示す概念図である。本実施の形態における情報処理システムの構成は、旧CU13がパス移行制御部131を備えている点のみが図1と異なる。ここでは、本実施の形態での特徴的な概略動作を説明し、その説明の流れにおいて、パス移行制御部111およびパス移行制御部131による、互いに他のサブシステムへの、第3アクセス経路30、31を介したアクセス要求の中継による経路切り替え操作の概略動作を説明する。
【0062】
通常処理中はパス移行に関係ないため、パス移行制御部111、パス移行制御部131には自CUでの処理が指定されている。まず、新CU11と旧CU13間の第3アクセス経路30および31を新設する。ここで、パス移行制御部111、パス移行制御部131に、CPU10からアクセスを受けたら、自CUで処理し、第3アクセス経路30および31を通じて相手CUへ同じアクセスを行うよう指定(以下こうした指定を、両CUでの処理と称する)する。旧CU13から新CU11に行われるアクセスは、まだ新CU11にデータがないため、エラーとなるが、CPU10からの処理としては旧CU13が実施しているので問題無い。
【0063】
次にデータ移行制御部112にデータ移行の開始を指示する。この時点で新CU11では、旧CU13からのアクセスも、データ移行済み部の場合は通常処理され、データ未移行部の場合は従来データ移行機能による移行元からのデータ読み込みが行われるので正常に処理されるようになる。この後データ移行中に、第1アクセス経路20を第2アクセス経路20’へ接続切り替えを行う。この時、CPU10から第1アクセス経路20はオフライン状態としておき、当該経路を使ったCPU10のアクセスを止めておく。接続が終わったらCPU10から第2アクセス経路20’(元の第1アクセス経路20)をオンライン状態にする。CPU10からは旧CU13に対するアクセスとして、それまで行われていた第1アクセス経路21を使ったアクセスと共に第2アクセス経路20’を使ったアクセスが開始される。第2アクセス経路20’を使ったアクセスを新CU11が受け取るが、新CU11ではそれまで受けていた旧CU13からのアクセスと合わせて処理される。ただし、CPU10からのアクセスであるため、旧CU13へも同じアクセスを行う。この状態ではCPU10から旧CU13および新CU11共にアクセスを受け処理を行うが、全て相手CUにもアクセスを実施するので、入出力処理の中断が入って第2アクセス経路20’と第1アクセス経路21が入れ替わってアクセスされても処理可能である。
【0064】
同様の手順で第1アクセス経路21を第2アクセス経路21’に切り替える。このように、旧CU13および新CU11が双方共にパス移行制御部131およびパス移行制御部111を備えて、CPU10のアクセスを停止することなくCPU10からの旧CU13への第1アクセス経路20、21を、新CU11への第2アクセス経路20’、21’に接続切り替えができる。
【0065】
この後は、新CU11の側に備えられたデータ移行制御部112による従来データ移行機能により、旧CU13側から新CU11側への移行対象の全てのデータのデータ移行(コピー)が実施される。こうして、データ移行中でもCPU10のアクセスを停止することなく、第1アクセス経路20、21の第2アクセス経路20’、21’への接続切り替えが可能なデータ移行が行える。
【0066】
(実施の形態4)
図4は、本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態の構成および作用の一例を示す概念図である。本実施の形態における情報処理システムの構成は、一つのCPU10の代わりに、複数のCPU10aおよびCPU10bを備えており、CPU10aがアクセス経路20aおよびアクセス経路21a、CPU10bがアクセス経路20bおよびアクセス経路21bによって、動的にアクセス経路を切替えるパス切り替え装置15に接続され、さらにパス切り替え装置15と旧CU13の間が第1アクセス経路20cおよび第1アクセス経路21cによって接続されている点が図1と異なる。
【0067】
また、本実施の形態によるサブシステムの移行処理では、第1アクセス経路20cおよび第1アクセス経路21cが、パス切り替え装置15とデータ移行先である新CU11の間に第2アクセス経路20c’および第2アクセス経路21c’として接続変更される。
【0068】
本実施の形態では、CPU10aからのアクセス経路20aを通じたアクセスは、パス切り替え装置15を介して第1アクセス経路20cを通じて旧CU13に実施される。また同じくアクセス経路21aからは第1アクセス経路21c、さらにCPU10bの場合はアクセス経路20bからは第1アクセス経路20c、アクセス経路21bからは第1アクセス経路21cを通じて旧CU13に実施される。このような場合、第1アクセス経路20cは物理的には1本の経路であるが、アクセス経路20aからのアクセスと20bからのアクセスとを区分できるよう、二つの論理的アクセス経路をもつ。
【0069】
同様に、旧CU13においても、第2アクセス経路20c’(第2アクセス経路21c’)の各々は、CPU10a(CPU10b)側のアクセス経路20a(アクセス経路20b)およびアクセス経路21a(アクセス経路21b)の各々に対応した二つの論理的アクセス経路として機能し、また、この二つの経路は別々のCPU10aおよびCPU10bからのアクセス経路として、認識され処理される。
【0070】
図1で例示したように、新CU11の側にパス移行制御部111を設けて、第2アクセス経路からのアクセス要求を第3アクセス経路30、31を介して旧CU13側に中継することで無停止状態にて第1から第2アクセス経路へのアクセス経路切り替え操作を行うとともに、データ移行は経路切り替え完了後に行うことと同様の手順により、第1アクセス経路20cを切り替え、第2アクセス経路20c’とした時、新CU11においても同様に認識される。
【0071】
すなわち、二つの論理的アクセス経路から受けるアクセスを区分し、CPU10aと10bのどちらのCPUからのアクセスであるかを判断して処理が行われる。アクセス経路切り替え中の処理とは、CPUから受けたアクセスをパス移行制御部111が旧CU13に中継して同じアクセスを行うことであるが、当然どちらのCPUからのアクセスであるかを旧CU13に区分させなければならない。この区分はアクセス経路の違いでなされるから、本実施の形態では第3アクセス経路31をCPU10aからのアクセス用に、第3アクセス経路30をCPU10bからのアクセス用にと使い分けることで実現している。同じく第1アクセス経路21cを切り替え、第2アクセス経路21c’とした時も同じく行えばよい。このように、旧CU13に接続されるCPUが複数ある時、CPU数と少なくとも同数の新CU11と旧CU13間の第3アクセス経路を設けてサブシステム間パス移行を行うこと、およびデータ移行を実現させることが図4に例示された本実施の形態により可能となる。
【0072】
また、本実施の形態では第3アクセス経路30をCPU10aからのアクセス用に、第3アクセス経路31をCPU10bからのアクセス用にと使い分ける様にしたが、第3アクセス経路30のみしか使えないような時、すなわち新CU11と旧CU13間のアクセス経路数がCPU数より少ない場合、第3アクセス経路30に論理的アクセス経路を二つ設け、これを使い分けることでも実施可能である。また、第3アクセス経路数が十分足りる場合(CPU数以上の時)でも、論理的アクセス経路を複数設けて使用できることは言うまでもない。さらにまた、第2アクセス経路20c’に第3アクセス経路30、第2アクセス経路21c’に第3アクセス経路31というように各対応させ、各第2アクセス経路20c’および第2アクセス経路21c’にある論理的アクセス経路をそのまま第3アクセス経路30および31上に設けるという様にしてもよい。
【0073】
(実施の形態5)
図1および図5により本発明のサブシステムの移行方法の他の実施の形態について説明する。図5は、図1に例示された情報処理システムの新CU11に備えられる例えばバッファメモリのような記憶手段において、旧CU13の装置情報を記憶した旧CU装置情報表40の一例を示す概念図である。
【0074】
通常、情報処理システムにおいてCPUの配下で稼働するサブシステムでは、CPUがサブシステムの環境や仕様等を判別する目的で、当該サブシステムの装置構成等の情報を、必要に応じてCPU側に読み出すためのコマンドインタフェース(装置情報入力要求)を備えている。
【0075】
CPU10からの装置情報入力要求に対し、旧CU13が接続されている間は、旧CU13に同じ要求を行い、返ってきた情報をCPU10へ入力すれば、CPU10にてアクセス経路障害などと判断されずにサブシステムとして使用継続が可能である。しかしデータ移行が終了後、通常、旧CU13は撤去される。よって、本実施の形態では、この撤去後でも旧CU13の装置情報をCPU10に対して応答(入力)できるよう、前もって新CU11が第3アクセス経路30、31を介して、全ての装置情報入力要求を旧CU13に行い、返ってきた情報を旧CU装置情報表40に入力要求名40aと、当該入力要求に対して旧CU13から応答された情報40bを対にして記録し、以後のCPU10からの装置情報入力要求に対し、旧CU装置情報表40の情報40bを読出して応答するようにする。
【0076】
こうして、CPU10が過去の装置情報との比較を行うCPUの場合でも、旧CU13を撤去後、新CU11の使用継続が可能となる。つまり、システムダウン等の懸念を生じることなく、旧CU13の撤去が行えることになる。また、本実施の形態では新CU11に備わる旧CU装置情報表40等の記憶手段を用いたが、新CU11が本来もつ装置情報を旧CU13の情報に書き換えてもよい。
【0077】
以上説明したように、本発明では、CPUアクセスを一切止めずに移行元の旧サブシステムから移行元の新サブシステムへのパス切り替えを行えるので、完全無停止なシステム移行が可能となる。
【0078】
さらに、ディスクサブシステムにおいて、CPUアクセスを止めずにパス切り替えを行える機能を移行先の新ディスクサブシステムにのみ備えた場合でも、パス切り替え時を含む完全無停止なデータ移行が行える。
【0079】
また、ディスクサブシステムにおいて、CPUアクセスを止めずにパス切り替えを行える機能を移行元の旧ディスクサブシステムにのみ備えた場合でも、パス切り替え時を含む完全無停止なデータ移行が行える。
【0080】
また、ディスクサブシステムにおいて、CPUアクセスを止めずにパス切り替えを行える機能を、移行先の新サブシステムおよび移行元の旧ディスクサブシステムの両方に備えることで、データ移行中でのパス切り替えを可能とした完全無停止なデータ移行が行える。
【0081】
さらに、複数のCPUの配下で稼働するサブシステムでも、完全無停止なシステム移行が可能となる。
【0082】
さらに、サブシステムの装置情報を記憶し、新たに読み取った現在のサブシステムの装置情報と比較し、アクセス経路などの異常を検知するCPUの場合でも、旧サブシステムの装置情報を新サブシステム側で予め読み出して保存しておき装置情報入力要求に対して保存されていた旧サブシステムの装置情報を応答することで、CPUアクセスを止めずにパス切り替えを行い、移行元の旧サブシステムを速やかに撤去できる。
【0083】
以上本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。
【0084】
たとえばサブシステムの一例としてデータ移行を伴う記憶サブシステムを例にとって説明したが、これに限らず、データ移行の必要のない一般のサブシステムに広く適用することができる。
【0085】
【発明の効果】
本発明のサブシステムの移行方法によれば、旧サブシステムから新サブシステムへの切り替え中も上位装置からサブシステム側へのアクセスを継続することができる、という効果が得られる。
【0086】
また、データ移行手順にともなう上位装置からサブシステム側へのアクセスの停止が一切必要なく、無停止状態でのデータ移行ができる、という効果が得られる。
【0087】
また、複数の上位装置の配下で稼働する旧サブシステムの新サブシステムへの移行を無停止稼働の下で円滑に行うことができる、という効果が得られる。
【0088】
また、旧サブシステムから新サブシステムへの移行に伴う装置情報等の環境変化に起因する障害の発生を回避して、円滑なサブシステムの移行ができる、という効果が得られる。
【図面の簡単な説明】
【図1】本発明のサブシステムの移行方法が実施される情報処理システムの一実施の形態である汎用コンピュータシステムの構成および作用の一例を示す概念図である。
【図2】本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態を示す概念図である。
【図3】本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態を示す概念図である。
【図4】本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態の構成および作用の一例を示す概念図である。
【図5】本発明のサブシステムの移行方法の他の実施の形態において用いられる記憶手段の内容の一例を示す概念図である。
【図6】本発明のサブシステムの移行方法が実施される情報処理システムの作用の一例を示すフローチャートである。
【図7】本発明のサブシステムの移行方法が実施される情報処理システムの作用の一例を示すフローチャートである。
【図8】本発明のサブシステムの移行方法が実施される情報処理システムの作用の一例を示すフローチャートである。
【図9】本発明のサブシステムの移行方法が実施される情報処理システムの作用の一例を示すフローチャートである。
【図10】本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態の作用の一例を示すフローチャートである。
【図11】本発明のサブシステムの移行方法が実施される情報処理システムの他の実施の形態の作用の一例を示すフローチャートである。
【符号の説明】
5a〜5i…操作、10,10a,10b…CPU、11…新ディスクコントローラユニット(新CU)、12…新ディスクボリューム(新VOL)、12a…デバイスパス、13…旧ディスクコントローラユニット(旧CU)、14…旧ディスクボリューム(旧VOL)、14a…デバイスパス、15…パス切り替え装置、20a,20b…アクセス経路、21a,21b…アクセス経路、20…第1アクセス経路、20’…第2アクセス経路、20c…第1アクセス経路、20c’…第2アクセス経路、21…第1アクセス経路、21’…第2アクセス経路、21c…第1アクセス経路、21c’…第2アクセス経路、30,31…第3アクセス経路、40…旧CU装置情報表、40a…入力要求名、40b…情報、50…CPUアクセス経路、51…パス移行制御部指定、52…処理CU、111…パス移行制御部、112…データ移行制御部、131…パス移行制御部、132…データ移行制御部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a subsystem transition technique, and more particularly to a technique that is effective when applied to a subsystem transition operation under a central processing unit in an information processing system or the like that assumes non-stop operation.
[0002]
[Prior art]
Data migration is to transfer data in the old disk subsystem functioning as an external storage device in the information processing system to the new disk subsystem. Conventionally, as a general method of data migration between disk subsystems, access from a central processing unit to a device to be migrated is stopped, the CPU reads data from the old disk subsystem, and the CPU reads the data from the new disk subsystem. A method using CPU intervention such as writing to a system is known. In this method, during the data migration, the customer's work for the disk subsystem is stopped for a long time.
[0003]
On the other hand, Hitachi's HODM (Hitachi Online Data Migration) function, IBM's extended remote copy function (hereinafter referred to as the “Hitachi Online Data Migration” function) XRC) or peer remote copy function (hereinafter PPRC) (literature example IBM 3990 Model 6 Enhancements), EMC's Symmetric Data Migration Service (SDMS) (literature example SYMTRIX IDAFUMT is there.
[0004]
In the HODM method, first, access to the old disk subsystem from the CPU is stopped. Thereafter, the connection path from the CPU to the old disk subsystem is changed from the CPU to the new disk subsystem, and a new access path is provided between the new and old disk subsystems. After that, by reading the data of the old disk subsystem from the new disk subsystem through the new access path, the migration is started and the access from the CPU is resumed. When the CPU is accessed for the migrated area, processing is performed by both the old and new disk subsystems. Further, when the CPU is accessed to the migration incomplete area, the data read from the old disk subsystem is reflected in the new disk subsystem for processing. This enables data migration during access from the CPU. A major feature of this function is that the old disk subsystem does not need to have a data migration function.
[0005]
In the XRC method, the old disk subsystem has a function of securing write data from the CPU in the disk controller, and the CPU has a function of reading the secured data. By writing this data to the new disk subsystem, data migration during access from the CPU is enabled. This method is characterized in that after the migration is completed, the customer's work for the old disk subsystem is stopped and switched to the new disk subsystem.
[0006]
In the PPRC method, the old disk subsystem and the new disk subsystem are connected to each other and have a communication function. By writing the CPU write data for the old disk subsystem to the new disk subsystem via this communication function, data migration during access from the CPU is enabled. In addition, like the XRC, this method has a feature that the customer's business is stopped and switched after the migration is completed.
[0007]
On the other hand, the SDMS first stops access to the old disk subsystem from the CPU. Thereafter, the connection path from the CPU to the old disk subsystem is changed from the CPU to the new disk subsystem, and a new access path is provided between the new and old disk subsystems. Thereafter, the migration is started by reading the data of the old disk subsystem from the new disk subsystem through the new access path. In addition, after the start of migration, the access from the CPU is resumed. When the CPU access is to the migrated area, it is processed directly by the new disk subsystem. When accessing the incomplete migration area, after reading the data of the track from the old disk subsystem, the new disk subsystem performs normal processing. This enables data migration during access from the CPU.
[0008]
[Problems to be solved by the invention]
In the conventional technology as described above, the access from the data stored in the old disk subsystem is switched from the old disk subsystem to the new disk subsystem by enabling access from the CPU even during data migration. You can keep it in time. However, in the case of system control data such as an OS, even if the access is temporarily stopped, it is a customer service stop, and the influence of the migration work is large. In particular, there is a technical problem that this is not permitted for customers who need online business for 24 hours, which is increasing, and that migration is possible only when the system is stopped, such as the year-end and New Year holidays.
[0009]
In general, one subsystem can be used by being connected to a plurality of CPUs. At this time, in the subsystem, the CPU is divided and processed for each received access route or for each access route group. This must also be distinguished for equivalent access to the peer subsystem.
[0010]
Further, when the access path from the CPU is switched to the new subsystem while the CPU access is continued, it is recognized that the CPU continues to access the same device. After the data migration is completed and the old subsystem is removed, a request for inputting device information may be issued from the CPU for the purpose of device confirmation. In the CPU that confirms the device and the access route by matching / mismatching the device information read in the past and the device information read this time, when the information of the new subsystem is sent at this time, the CPU does not match the device information and the access route There is a concern that the access path is cut off and the subsystem goes down.
[0011]
An object of the present invention is to provide a subsystem migration technique capable of continuing access from a host device to a subsystem side even during switching from an old subsystem to a new subsystem.
[0012]
Another object of the present invention is to provide a subsystem migration technique that does not require any stoppage of access from the host device to the subsystem side in accordance with the data migration procedure, and that allows data migration without interruption. .
[0013]
Another object of the present invention is to provide a subsystem migration technique that can smoothly migrate an old subsystem operating under the control of a plurality of host devices to a new subsystem under non-stop operation. It is in.
[0014]
Another object of the present invention is to provide a subsystem that enables smooth subsystem transition by avoiding the occurrence of failures due to environmental changes such as device information associated with transition from the old subsystem to the new subsystem. To provide transition technology.
[0015]
[Means for Solving the Problems]
In general, a plurality of access paths are provided from a higher-level device such as a CPU and a channel to a subordinate subsystem, and the higher-level device freely selects and switches the access path and accesses the subsystem. For example, even when restarting after an interruption that occurs in a series of instructions issued by a certain input / output processing request, an access path different from the original access path may be selected and used. Since the instruction before and after the interruption is a series of processes, it goes without saying that the instruction after the interruption cannot be executed unless the instruction before the interruption is executed in the subsystem. Therefore, even if the access path is changed, the subsystem can recognize it and process it as a series of instructions.
[0016]
The present invention is a storage system having a host device, a first subsystem that is a data migration source, and a second subsystem to which data is migrated from the first subsystem, in a first state To the third state through at least the second state, and the first state is a state in which the host device and the first subsystem are connected by the first access path. In the second state, the host device and the first subsystem are connected by the first access path, and the host device and the second subsystem are connected by the second access path. And the second subsystem are connected by a third access route, and the third state is a state in which a host device and the second subsystem are connected by a second access route, First In this state, the host device serves as a path for making an input / output request from the host device to the data stored in the first storage area to be accessed by the host device in the storage area in the first subsystem. Route from the first device via the first access route and at least two routes from the upper device via the second access route and the second subsystem via the third access route It is configured to be capable of input / output processing via any of the two routes, and starts data migration from the first subsystem to the second subsystem in the third state. When the second subsystem receives a command for data for which data migration has not been completed from the first subsystem to the second subsystem, the second subsystem The blanking system after data migration, the process for the command is executed. That is, when there are a plurality of first access paths from the host device to the old subsystem and a third access path between the old and new subsystems, the first access path from the host device to the old subsystem is divided into multiple times. Thus, the connection is changed to the second access path between the host device and the new subsystem. While the connection is being changed, the first and second access paths are connected to the old and new subsystems from the host device. At this time, if the old and new subsystems receive access from the host device, they are equivalent. The access request is relayed to the partner subsystem via the third access path. By doing so, the partner subsystem executes the instruction before the interruption, so that the instruction after the interruption can also be executed. This equivalent access needs to be performed by both the old and new subsystems. However, if a subsystem to be mainly processed during connection change is determined, it may be performed only by the opposite subsystem. Also, when the processing request from the host device is not interrupted, and when the processing request from the host device comes with a fixed access path, the partner subsystem does not receive the next command from the host device. In some cases, it may not be necessary to make equivalent access to the other subsystem. In addition, by making access to the other subsystem to the other subsystem with the access path fixed, it prevents the other subsystem from receiving the next sequential command from the upper device, and received from the upper device. You can also access differently. In this way, it is possible to switch the connection from the old subsystem to the new subsystem by dividing the access path into a plurality of times without stopping the access from the host device.
[0017]
For example, in the data migration in the disk subsystem, if the old disk subsystem is mainly processed during the connection change, the access request via the third access path of the present invention is sent to the new disk subsystem. If relaying is performed, connection switching can be performed without stopping access from the host device. However, if switching is performed while performing data migration, the old disk subsystem may receive direct access from the host device during the switching, and only the old disk subsystem may be updated. If the data of the part that has already been migrated is updated, the data of that part will be migrated.
[0018]
Therefore, in the present invention, the access request from the host device via the second access path is relayed to the new disk subsystem from the old disk subsystem to the new disk subsystem by relaying to the old subsystem via the third access path. When switching the connection to the system is realized, the data migration is started by starting the migration of data from the old subsystem to the new subsystem after the connection switching of all the first access paths to the second access path is completed. Updates that do not go through the new disk subsystem do not occur in the later part so that data migration is not required again.
On the other hand, when the connection is changed, the new disk subsystem performs processing mainly, that is, during the connection change from the first access path to the second access path, via the first access path. By switching the access request from the host device to the new subsystem via the third access path, connection switching can be performed without stopping access from the host device. However, before or during data migration, processing cannot be performed when data that has not been migrated to the new disk subsystem is accessed from the host device.
[0019]
Therefore, according to the present invention, in this case, prior to switching the first access path to the old subsystem to the second access path to the new subsystem, data migration from the old subsystem to the new subsystem ( Copy) is completed in advance, and by causing the old disk subsystem to perform an operation of relaying an access request coming from a host device via the first access path to the new subsystem via the third access path, The connection switching from the old disk subsystem to the new disk subsystem is realized.
[0020]
In order to enable connection switching during data migration from the old subsystem to the new subsystem, the data of both the old and new disk subsystems only need to be updated during the switching.
[0021]
Therefore, in the present invention, in such a case, in both the new and old disk subsystems, access requests coming from the host device via the first and second access paths are sent to each other via the third access path. Relaying to other subsystems enables connection switching during data migration.
[0022]
Further, in the present invention, in order to distinguish and transmit accesses of a plurality of higher-level devices to the partner subsystem, at least the same number of third access paths as the number of higher-level devices connected to the old disk subsystem are set between the new and old disk subsystems. It is intended to provide. Access via each third access path between the disk subsystems is made to correspond to access from each host device, and data migration is possible when the old disk subsystem is connected to a plurality of host devices. In addition, the number of third access paths includes not only the number of physical access paths but also the number of logical access paths.
[0023]
Further, in the present invention, the new disk subsystem issues a device information input request to the old disk subsystem in advance, and device information responded from the old disk subsystem at this time is read and stored. In response to a request for inputting device information from the host device, the device information of the stored old disk subsystem is sent instead of the device information of the new disk subsystem.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0025]
(Embodiment 1)
FIG. 1 is a conceptual diagram showing an example of the configuration and operation of a general-purpose computer system that is an embodiment of an information processing system in which the subsystem migration method of the present invention is implemented.
[0026]
The configuration of this embodiment is an old sub comprising a CPU 10 as a central processing unit, a new disk controller unit 11 (hereinafter referred to as a new CU 11) as a data migration destination, and a new disk volume 12 (hereinafter referred to as a new VOL 12). The system includes an old subsystem consisting of an old disk controller unit 13 (hereinafter referred to as an old CU 13) and an old disk volume 14 (hereinafter referred to as an old VOL 14) as a data migration source.
[0027]
The old VOL 14 is a storage medium that operates under the old CU 13 and stores data exchanged with the CPU 10 via the old CU 13.
[0028]
The new VOL 12 is a storage medium that operates under the new CU 11, and stores data exchanged with the CPU 10 through the new CU 11 and data transferred from the old VOL 14.
[0029]
Further, the new CU 11 relays the access request coming from the CPU 10 via the second access path 20 ′ and the second access path 21 ′ to the old CU 13 via the third access path 30 and the third access path 31. As will be described later, a path migration control unit 111 that enables path migration between the old and new subsystems without stopping CPU access and a data migration control unit 112 that controls data migration are provided. The path migration control unit 111 performs an operation equivalent to the CPU 10 in accessing the old CU 13 using the third access path 30 and the third access path 31.
[0030]
In the data migration process of the present embodiment, the first access path 20 and the first access path 21 connected between the CPU 10 and the old CU 13 originally used are connected between the CPU 10 and the new CU 11 that is the data migration destination. The connection is switched as the second access path 20 ′ and the second access path 21 ′, and the new CU 11 and the old CU 13 are connected by the new third access path 30 and the third access path 31. Further, the new CU 11 and the new VOL 12 and the old CU 13 and the old VOL 14 are connected via a device path 12a and a device path 14a, respectively.
[0031]
First, an example of data migration processing in the information processing system having the configuration illustrated in FIG. 1 will be described with reference to the flowchart of FIG. FIG. 6 shows the operation of the maintenance personnel 5a, 5b,... That performs the inter-subsystem path transition according to the first invention in the embodiment of FIG. . . . . , 5i, and the CPU access path 50 indicating the access path used by the CPU 10 that changes accordingly, the path transfer control unit designation 51 indicating the state specified in the path transfer control unit 111, and the CU that processes the access from the CPU 10 The process CU52 indicating the above is shown in time series.
[0032]
First, since normal processing is being performed before the start of operation by the maintenance personnel, the first access paths 20 and 21 are used from the CPU 10, and the CPU access path 50 indicates the first access paths 20 and 21. Since the path migration control unit designation 51 is not related to the path migration, the new CU 11 processes the access from the CPU 10 and the same access to the old CU 13 through the third access paths 30 and 31 (provided later) is performed. It is specified so that it does not exist (hereinafter, such specification is referred to as processing in its own CU). Further, the processing CU52 is the old CU13. First, the maintenance staff newly establishes third access paths 30 and 31 between the new CU 11 and the old CU 13 (operation 5a).
[0033]
Further, when the CPU 10 receives access to the path transition control unit 111, the new CU 11 does not process, but designates the same access to the old CU 13 (relays the access) through the third access paths 30 and 31 (hereinafter referred to as such designation). (Referred to as processing in another CU) (operation 5b).
[0034]
Next, the first access path 20 from the CPU 10 is brought into an offline state (operation 5c), and the access of the CPU 10 using the path is stopped.
[0035]
At this time, the CPU access path 50 is only the first access path 21. Subsequently, the first access path 20 is switched to the second access path 20 ′ from the original configuration (operation 5d).
[0036]
When the connection is completed, the second access path 20 ′ (original first access path 20) is brought online from the CPU 10 (operation 5e).
[0037]
As shown in the CPU access path 50, the CPU 10 starts the access to the old CU 13 using the second access path 20 ′ together with the access using the first access path 21 performed so far. Access using the second access path 20 ′ is received by the new CU 11, but the same access is made to the old CU 13 via the third access paths 30 and 31 without processing by the new CU 11 in the path transition control unit 111. The old CU 13 is operated so as to be processed. Therefore, the CPU is accessed to the old CU 13 regardless of which of the second access paths 20 ′ (first access paths 21) is used, and the processing only by the old CU 13 is continued. In the same procedure, the first access path 21 is switched to the second access path 21 ′ by the operations 5f, 5g, and 5h. Thus, the access path from the CPU 10 to the old CU 13 can be switched to the new CU 11 without stopping access. Finally, since all the switching has been completed, if the designation of the path transition control unit 111 is changed to the processing in the own CU (operation 5f), the new CU 11 processes the access request from the CPU 10 as shown in the processing CU52. To do. In this way, the processing subsystem can be switched from the old CU 13 and the old VOL 14 to the new CU 11 and the new VOL 12 without stopping the access from the CPU 10.
[0038]
Here, the timing of the start of data migration in the migration of a subsystem accompanying data migration as in the present embodiment illustrated in FIG. 1 will be considered. The data migration process can be performed as long as any one of the third access paths 30 and 31 is present. However, if the first access path 20 is switched to the new CU 11 as the second access path 20 ′, the data migration is performed (started) before the first access path 21 is switched as the second access path 21 ′. Therefore, there is a possibility that the data update from the CPU 10 to the old CU 13 is performed on the migrated portion through the first access path 21. If such an update is performed, the new CU 11 does not know this, and therefore the data is not transferred.
[0039]
Therefore, in the present embodiment, the path migration control unit 111 provided in the new CU 11 relays access from the second access paths 20 ′ and 21 ′ to the old CU 13 via the third access paths 30 and 31. After the first access path 20 and the first access path 21 from the CPU 10 are all switched to the new CU 11 as the second access path 20 ′ and the second access path 21 ′, the data migration control unit 112 starts data migration. In addition, if the path transition control unit 111 is changed to processing in the own CU in synchronization with this, all data can be transferred without interruption, and non-stop data transfer can be performed.
[0040]
The entire processing procedure for subsystem migration including data migration in this embodiment will be described with reference to the flowchart illustrated in FIG.
[0041]
That is, in steps 101 to 106, after performing a path switching operation for switching the first access paths 20 and 21 to the second access paths 20 ′ and 21 ′, the new CU 13 side through the third access paths 30 and 31 starts the new operation. Copying (migration) of data to the CU 11 side (step 107) is performed on all data that needs to be migrated in the old VOL 14 under the control of the old CU 13 (step 108), and then the third access paths 30, 31 are performed. Then, the old CU 13 and the old VOL 14 are removed (step 109).
[0042]
Here, the processing of the access request from the CPU 10 during data migration in the above-described steps 107 to 108 is as shown in the flowcharts illustrated in FIGS. 8 and 9 as an example.
[0043]
That is, the copy process illustrated in FIG. 9 is executed as the background process, and during this time, the access request process illustrated in FIG. 8 is executed as needed.
[0044]
First, in the copy process of FIG. 9, when data copying is performed in units of tracks as an example, a copy management bitmap (not shown) is referred to (step 301), and the presence or absence of an uncopied track in the old VOL 14 is checked (step 302), if there is, the one with the smallest track number among the uncopied tracks is selected (step 303), copied to the new VOL 12 side via the third access paths 30, 31 (step 304), and then copied. The operation of updating the management bitmap to the track copied (step 305) is performed for all tracks to be migrated.
[0045]
On the other hand, as illustrated in FIG. 8, when the new CU 11 receives a command from the CPU 10 (step 201), it checks whether or not the access area of the command is an uncopied area (step 202). In this case, it is checked whether or not the command is a read command (step 203). If the command is a read command, the new VOL 12 is accessed from the old VOL 14 side via the third access paths 30 and 31. After copying the track containing the data (step 205), the copy management bitmap is updated to have been copied (step 206), and then command processing is executed (step 207).
[0046]
On the other hand, if it is determined in step 202 that the access has been made to the copied area, command processing is immediately executed in step 207.
[0047]
If it is determined in step 203 that the command is not a read command (ie, a write command), it is determined whether or not the old data is a required write (step 204), and if necessary, step 205 and subsequent steps are executed. If unnecessary, the command processing in step 207 is executed.
[0048]
Such processing enables the transition from the old subsystem to the new subsystem without stopping the information processing system, and the second access path 20 ′ of the first access paths 20 and 21 during non-stop operation. , 21 'can be performed smoothly and accurately after data switching.
[0049]
(Embodiment 2)
FIG. 2 is a conceptual diagram showing another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented, and FIGS. 10 and 11 are flowcharts showing an example of the operation thereof.
[0050]
As an example of the configuration of the information processing system according to the present embodiment, the new CU 11 does not include a path migration control unit and a data migration control unit, and the old CU 13 includes a path migration control unit 131 and a data migration control unit 132. Only differs from the case of FIG.
[0051]
First, a schematic operation of a path switching operation by relaying an access request generated from the first access paths 20 and 21 to the old CU 13 to the new CU 11 side via the third access paths 30 and 31 will be described.
[0052]
Since the normal process is not related to the path transition, the path transition control unit 131 designates the process in its own CU. First, the third access paths 30 and 31 between the new CU 11 and the old CU 13 are newly established (step 401 and step 402). Furthermore, the process at the other CU is designated to the path migration control unit 131. Thus, the processing is performed only by the new CU 11 by relaying through the third access paths 30 and 31 without processing by the old CU 13.
[0053]
Next, connection switching of the first access path 20 to the second access path 20 ′ is performed. At this time, the first access path 20 from the CPU 10 is set in an offline state, and the access of the CPU 10 using the path is stopped. Further, the third access path 30 is removed (steps 405 and 406). When the connection is completed, the CPU 10 brings the second access path 20 ′ (original first access path 20) to an online state.
[0054]
As an access to the old CU 13 from the CPU 10, the access to the new CU 11 using the second access path 20 ′ is started together with the access to the old CU 13 using the first access path 21 which has been performed so far. The new CU 11 receives an access using the second access path 20 ′, but the new CU 11 only receives the access received on the third access path 30 on the second access path 20 ′, and the processing is performed as it is. Continue (step 407). Access to the old CU 13 side using the first access path 21 is relayed and processed by the new CU 11 via the third access paths 30 and 31 (step 408).
[0055]
In a similar procedure, the first access path 21 is switched to the second access path 21 ′, and the third access path 31 is removed. In this way, the connection path from the CPU 10 to the old CU 13 can be switched to the new CU 11 without stopping access (step 409). Then, the old CU 13 and the subordinate old VOL 14 are removed (step 410).
[0056]
However, here, when applied to migration of a storage subsystem that requires data migration, in the CU of the storage subsystem that controls access to VOL data, if the data has not been migrated to the new CU 11, the CPU 10 Unable to handle access. Therefore, in this embodiment, when the third access paths 30 and 31 are newly established, the data migration control unit 132 is instructed to start data migration (step 403). When all the data can be migrated and the new CU 11 can be processed even if it is directly accessed from the CPU 10 (step 404), the path switching process after the step 405 is executed, and the access from the CPU 10 is stopped. By performing connection switching without any interruption, data can be transferred without interruption.
[0057]
Here, an example of an access request (command processing) generated from the CPU 10 during the path switching operation in steps 405 to 409 after completion of data migration in steps 403 to 404 will be described with reference to FIG.
[0058]
That is, when the old CU 13 receives a command from the CPU 10 (step 501), it checks whether the access area of the command is a copied area (step 502). Whether the command is a command is checked (step 503). If it is not a read command (write command), command processing is executed by both the new CU 11 and the old CU 13 (step 504). On the other hand, if it is determined in step 503 that the command is a read command, the old CU 13 performs command processing using the data of the old VOL 14 (step 505).
[0059]
If it is determined in step 502 that the access is to an uncopied area, in step 505, the old CU 13 performs command processing using the data of the old VOL 14.
[0060]
By such processing, the path transition control unit 131 provided on the old CU 13 side relays the access request to the new CU 11 side via the third access paths 30 and 31, without stopping the information processing system. The subsystem can be migrated to the new subsystem, and the path switching operation during the data migration can be accurately executed without stopping.
[0061]
(Embodiment 3)
FIG. 3 is a conceptual diagram showing another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented. The configuration of the information processing system in the present embodiment is different from that in FIG. 1 only in that the old CU 13 includes a path transition control unit 131. Here, the characteristic outline operation in the present embodiment will be described, and in the flow of the description, the third access route 30 to the other subsystems by the path migration control unit 111 and the path migration control unit 131 with each other. , 31, the outline operation of the path switching operation by relaying the access request will be described.
[0062]
Since the normal process is not related to the path transition, the path transition control unit 111 and the path transition control unit 131 are designated by the local CU. First, the third access paths 30 and 31 between the new CU 11 and the old CU 13 are newly established. Here, when access is received from the CPU 10 to the path transfer control unit 111 and the path transfer control unit 131, the processing is performed by the own CU and the same access is made to the partner CU through the third access paths 30 and 31 (hereinafter referred to as such specification). Is referred to as processing in both CUs). An access from the old CU 13 to the new CU 11 results in an error because there is no data in the new CU 11 yet, but there is no problem because the old CU 13 is executing processing from the CPU 10.
[0063]
Next, the data migration control unit 112 is instructed to start data migration. At this time, in the new CU 11, the access from the old CU 13 is normally processed in the case of the data migration completed part, and in the case of the data non-migration part, the data is read from the migration source by the conventional data migration function, so it is processed normally Will come to be. Thereafter, during data migration, connection switching of the first access path 20 to the second access path 20 ′ is performed. At this time, the first access path 20 from the CPU 10 is set in an offline state, and the access of the CPU 10 using the path is stopped. When the connection is completed, the CPU 10 brings the second access path 20 ′ (original first access path 20) to an online state. As an access to the old CU 13 from the CPU 10, the access using the second access path 20 ′ is started together with the access using the first access path 21 which has been performed so far. The new CU 11 receives an access using the second access path 20 ′, but the new CU 11 processes the access together with the access from the old CU 13 that has been received so far. However, since the access is from the CPU 10, the same access is made to the old CU13. In this state, both the old CU 13 and the new CU 11 are accessed and processed from the CPU 10, but all the other CUs are also accessed, so the input / output process is interrupted and the second access path 20 ′ and the first access path 21 are entered. Can be processed even if they are accessed after being replaced.
[0064]
The first access path 21 is switched to the second access path 21 ′ in the same procedure. As described above, both the old CU 13 and the new CU 11 include the path transition control unit 131 and the path transition control unit 111, and the first access paths 20 and 21 from the CPU 10 to the old CU 13 are stopped without stopping the access of the CPU 10. The connection can be switched to the second access paths 20 ′ and 21 ′ to the new CU 11.
[0065]
Thereafter, data migration (copying) of all data to be migrated from the old CU 13 side to the new CU 11 side is performed by the conventional data migration function by the data migration control unit 112 provided on the new CU 11 side. In this way, data migration that can switch connection of the first access paths 20 and 21 to the second access paths 20 ′ and 21 ′ without stopping the access of the CPU 10 even during data migration can be performed.
[0066]
(Embodiment 4)
FIG. 4 is a conceptual diagram showing an example of the configuration and operation of another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented. The configuration of the information processing system in the present embodiment includes a plurality of CPUs 10a and 10b instead of a single CPU 10. The CPU 10a includes an access path 20a and an access path 21a, and the CPU 10b includes an access path 20b and an access path 21b. 1 is different from FIG. 1 in that it is connected to a path switching device 15 that dynamically switches an access route, and the path switching device 15 and the old CU 13 are connected by a first access route 20c and a first access route 21c.
[0067]
Further, in the subsystem migration processing according to the present embodiment, the first access route 20c and the first access route 21c are connected between the path switching device 15 and the new CU 11 that is the data migration destination and the second access route 20c ′ and the first access route 20c. The connection is changed as the two access path 21c ′.
[0068]
In the present embodiment, the access from the CPU 10a through the access path 20a is performed by the old CU 13 through the first access path 20c via the path switching device 15. Similarly, the access path 21a is implemented in the old CU 13 through the first access path 21c. Further, in the case of the CPU 10b, the access path 20b is implemented through the first access path 20c, and the access path 21b is implemented through the first access path 21c. In such a case, the first access path 20c is physically one path, but has two logical access paths so that the access from the access path 20a and the access from the 20b can be distinguished.
[0069]
Similarly, in the old CU 13, each of the second access paths 20c ′ (second access paths 21c ′) is an access path 20a (access path 20b) and an access path 21a (access path 21b) on the CPU 10a (CPU 10b) side. It functions as two logical access paths corresponding to each, and these two paths are recognized and processed as access paths from separate CPUs 10a and 10b.
[0070]
As illustrated in FIG. 1, a path transition control unit 111 is provided on the new CU 11 side, and an access request from the second access route is relayed to the old CU 13 side via the third access routes 30 and 31. The access route switching operation from the first to the second access route is performed in the stop state, and the first access route 20c is switched by the same procedure as that performed after the route switching is completed, and the second access route 20c ′. Is recognized in the new CU11 as well.
[0071]
That is, the access received from the two logical access paths is divided, and the process is performed by determining which of the CPUs 10a and 10b is the access. The process during the access path switching is that the path transfer control unit 111 relays the access received from the CPU to the old CU 13 and performs the same access, but of course the CPU from which the access is from the old CU 13. Must be segmented. Since this division is made according to the difference in the access route, in the present embodiment, the third access route 31 is used for access from the CPU 10a, and the third access route 30 is used for access from the CPU 10b. . Similarly, when the first access route 21c is switched to the second access route 21c ′, the same operation may be performed. As described above, when there are a plurality of CPUs connected to the old CU 13, the inter-subsystem path migration is performed by providing the third access path between the new CU 11 and the old CU 13 at least as many as the number of CPUs, and the data migration is realized. This can be achieved by the present embodiment illustrated in FIG.
[0072]
In the present embodiment, the third access path 30 is used for access from the CPU 10a and the third access path 31 is used for access from the CPU 10b. However, only the third access path 30 can be used. In other words, when the number of access paths between the new CU 11 and the old CU 13 is smaller than the number of CPUs, it is also possible to provide two logical access paths in the third access path 30 and use them separately. Needless to say, even when the number of third access paths is sufficient (when the number is the number of CPUs or more), a plurality of logical access paths can be provided and used. Furthermore, the second access path 20c ′ is associated with the third access path 30, the second access path 21c ′ is associated with the third access path 31, and the second access path 20c ′ and the second access path 21c ′ are associated with each other. A certain logical access path may be provided on the third access paths 30 and 31 as they are.
[0073]
(Embodiment 5)
Another embodiment of the subsystem migration method of the present invention will be described with reference to FIGS. FIG. 5 is a conceptual diagram showing an example of the old CU device information table 40 in which device information of the old CU 13 is stored in a storage means such as a buffer memory provided in the new CU 11 of the information processing system illustrated in FIG. is there.
[0074]
Normally, in a subsystem operating under the control of a CPU in an information processing system, information such as the device configuration of the subsystem is read to the CPU as necessary for the purpose of determining the environment and specifications of the subsystem. Command interface (device information input request).
[0075]
When the old CU 13 is connected to the device information input request from the CPU 10, if the same request is made to the old CU 13 and the returned information is input to the CPU 10, the CPU 10 does not determine an access path failure or the like. It can be used continuously as a subsystem. However, after the data migration is completed, the old CU 13 is usually removed. Therefore, in this embodiment, the new CU 11 requests all device information input requests via the third access paths 30 and 31 in advance so that the device information of the old CU 13 can be responded (input) to the CPU 10 even after the removal. Is recorded on the old CU 13 and the returned information is recorded in the old CU device information table 40 as a pair of the input request name 40a and the information 40b returned from the old CU 13 in response to the input request. In response to the device information input request, the information 40b in the old CU device information table 40 is read and responded.
[0076]
In this way, even when the CPU 10 is a CPU that performs comparison with past device information, the use of the new CU 11 can be continued after the old CU 13 is removed. That is, the old CU 13 can be removed without causing a concern such as system down. In the present embodiment, the storage means such as the old CU device information table 40 provided in the new CU 11 is used. However, the device information originally possessed by the new CU 11 may be rewritten with the information of the old CU 13.
[0077]
As described above, according to the present invention, the path can be switched from the old subsystem at the migration source to the new subsystem at the migration source without stopping the CPU access at all. Therefore, a completely non-stop system migration is possible.
[0078]
Further, even when the disk subsystem has a function that can switch paths without stopping CPU access only in the new disk subsystem that is the migration destination, it is possible to perform completely non-disruptive data migration including when switching paths.
[0079]
Further, even when the disk subsystem has a function that can perform path switching without stopping CPU access only in the old disk subsystem of the migration source, complete non-stop data migration including path switching can be performed.
[0080]
In addition, the disk subsystem has a function that can switch paths without stopping CPU access in both the new subsystem at the migration destination and the old disk subsystem at the migration source, enabling path switching during data migration. It is possible to perform complete non-disruptive data migration.
[0081]
Furthermore, even in a subsystem that operates under the control of a plurality of CPUs, a complete non-stop system migration is possible.
[0082]
Furthermore, the device information of the subsystem is stored and compared with the newly read device information of the current subsystem, and the device information of the old subsystem is stored on the new subsystem side even in the case of a CPU that detects an abnormality such as an access path. In response to the device information of the old subsystem that has been read and stored in advance in response to the device information input request, the path is switched without stopping the CPU access, and the old subsystem of the migration source is quickly restored. Can be removed.
[0083]
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.
[0084]
For example, the storage subsystem with data migration has been described as an example of the subsystem. However, the present invention is not limited to this and can be widely applied to general subsystems that do not require data migration.
[0085]
【The invention's effect】
According to the subsystem migration method of the present invention, it is possible to obtain an effect that it is possible to continue the access from the host device to the subsystem side even during switching from the old subsystem to the new subsystem.
[0086]
Further, there is no need to stop access from the host device to the subsystem side in accordance with the data migration procedure, and there is an effect that data migration can be performed without stopping.
[0087]
In addition, there is an effect that the old subsystem operating under the control of a plurality of higher-level devices can be smoothly transferred to the new subsystem under non-stop operation.
[0088]
In addition, it is possible to avoid the occurrence of a failure due to an environmental change such as device information accompanying the transition from the old subsystem to the new subsystem, and to smoothly transition the subsystem.
[Brief description of the drawings]
FIG. 1 is a conceptual diagram showing an example of the configuration and operation of a general-purpose computer system that is an embodiment of an information processing system in which a subsystem migration method of the present invention is implemented.
FIG. 2 is a conceptual diagram showing another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 3 is a conceptual diagram showing another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 4 is a conceptual diagram showing an example of the configuration and operation of another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 5 is a conceptual diagram showing an example of the contents of storage means used in another embodiment of the subsystem migration method of the present invention.
FIG. 6 is a flowchart showing an example of the operation of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 7 is a flowchart showing an example of the operation of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 8 is a flowchart showing an example of the operation of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 9 is a flowchart showing an example of the operation of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 10 is a flowchart showing an example of the operation of another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented.
FIG. 11 is a flowchart showing an example of the operation of another embodiment of the information processing system in which the subsystem migration method of the present invention is implemented.
[Explanation of symbols]
5a to 5i ... operation, 10, 10a, 10b ... CPU, 11 ... new disk controller unit (new CU), 12 ... new disk volume (new VOL), 12a ... device path, 13 ... old disk controller unit (old CU) , 14 ... Old disk volume (old VOL), 14a ... Device path, 15 ... Path switching device, 20a, 20b ... Access route, 21a, 21b ... Access route, 20 ... First access route, 20 '... Second access route 20c ... first access route, 20c '... second access route, 21 ... first access route, 21' ... second access route, 21c ... first access route, 21c '... second access route, 30, 31 ... 3rd access route, 40 ... old CU device information table, 40a ... input request name, 40b ... information, 50 ... CPU access route , 51... Path migration control unit designation, 52... Processing CU, 111... Path migration control unit, 112... Data migration control unit, 131.

Claims (2)

上位装置と、データ移行元である第1のサブシステムと、前記第1のサブシステムからデータを移行される第2のサブシステムと、を有する記憶システムであって、
第1の状態から、少なくとも第2の状態を経て、第3の状態に切り替わるものであって、
前記第1の状態は、
前記上位装置と前記第1のサブシステムとが第1のアクセス経路によって接続される状態であって、
前記第2の状態は、
前記上位装置と前記第1のサブシステムとが前記第1のアクセス経路によって接続され、前記上位装置と前記第2のサブシステムとが第2のアクセス経路によって接続され、前記第1のサブシステムと前記第2のサブシステムとが第3のアクセス経路によって接続される状態であり、
前記第3の状態は、
前記上位装置と前記第2のサブシステムとが前記第2のアクセス経路によって接続される状態であり、
前記第2の状態においては、
前記上位装置から、前記第1のサブシステム内の記憶領域のうち前記上位装置のアクセス対象となる第1の記憶領域内に格納されたデータへの入出力要求を行う経路として、前記上位装置から前記第1のアクセス経路を経由する経路と、前記上位装置から前記第2のアクセス経路を経由して前記第2のサブシステムを中継して前記第3のアクセス経路を経由する経路と、の少なくとも2通りの経路を有し、前記2通りの経路のいずれの経路を経由した入出力処理も可能に構成され、
前記第3の状態において、前記第1のサブシステムから前記第2のサブシステムにデータ移行を開始するものであり、前記第1のサブシステムから前記第2のサブシステムにデータ移行が完了していないデータについてのコマンドを前記第2のサブシステムが受領した場合には、前記第1のサブシステムから前記第2のサブシステムをデータ移行した後に、前記コマンドに対する処理が実行される
ことを特徴とする記憶システム。
A storage system comprising a host device, a first subsystem that is a data migration source, and a second subsystem to which data is migrated from the first subsystem,
From the first state to the third state through at least the second state,
The first state is:
The host device and the first subsystem are connected by a first access path,
The second state is:
The host device and the first subsystem are connected by the first access path, the host device and the second subsystem are connected by a second access path, and the first subsystem A state in which the second subsystem is connected by a third access path;
The third state is:
The host device and the second subsystem are connected by the second access path;
In the second state,
As a path for making an input / output request from the host device to the data stored in the first storage area to be accessed by the host device in the storage area in the first subsystem, the host device At least a path that passes through the first access path, and a path that relays the second subsystem from the higher-level device via the second access path and passes through the third access path. There are two routes, and input / output processing via either of the two routes is possible ,
In the third state, data migration is started from the first subsystem to the second subsystem, and data migration from the first subsystem to the second subsystem is completed. When the second subsystem receives a command for data that is not present, the process for the command is executed after data migration from the first subsystem to the second subsystem. Storage system.
請求項1に記載の記憶システムであって、
前記第1の状態は、
前記上位装置と前記第1のサブシステムとが複数の第1のアクセス経路によって接続され、前記第1のサブシステムと前記第2のサブシステムとが前記第3のアクセス経路によって接続される状態であって、
前記第3の状態は、
前記上位装置と前記第2のサブシステムとが前記第2のアクセス経路によって接続され、前記第1のサブシステムと前記第2のサブシステムとが前記第3のアクセス経路によって接続される状態である
ことを特徴とする記憶システム。
The storage system of claim 1,
The first state is:
In a state where the host device and the first subsystem are connected by a plurality of first access paths, and the first subsystem and the second subsystem are connected by the third access path. There,
The third state is:
The host device and the second subsystem are connected by the second access path, and the first subsystem and the second subsystem are connected by the third access path. A storage system characterized by that.
JP2002256282A 2002-09-02 2002-09-02 Storage subsystem Expired - Fee Related JP3781369B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002256282A JP3781369B2 (en) 2002-09-02 2002-09-02 Storage subsystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002256282A JP3781369B2 (en) 2002-09-02 2002-09-02 Storage subsystem

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP35552797A Division JP3410010B2 (en) 1997-01-08 1997-12-24 Subsystem migration method and information processing system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005000031A Division JP3781378B2 (en) 2005-01-04 2005-01-04 Storage subsystem

Publications (2)

Publication Number Publication Date
JP2003108315A JP2003108315A (en) 2003-04-11
JP3781369B2 true JP3781369B2 (en) 2006-05-31

Family

ID=19196665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002256282A Expired - Fee Related JP3781369B2 (en) 2002-09-02 2002-09-02 Storage subsystem

Country Status (1)

Country Link
JP (1) JP3781369B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004013215A (en) 2002-06-03 2004-01-15 Hitachi Ltd Storage system, storage sub-system, and information processing system including them
JP4282464B2 (en) 2003-12-17 2009-06-24 株式会社日立製作所 Remote copy system
US7124143B2 (en) 2004-05-10 2006-10-17 Hitachi, Ltd. Data migration in storage system
US7278000B2 (en) 2004-08-03 2007-10-02 Hitachi, Ltd. Data migration with worm guarantee
JP2007011682A (en) 2005-06-30 2007-01-18 Hitachi Ltd Storage control device and path switching method for it

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5544347A (en) * 1990-09-24 1996-08-06 Emc Corporation Data storage system controlled remote data mirroring with respectively maintained data indices
JP2834399B2 (en) * 1993-12-28 1998-12-09 三菱電機株式会社 Duplex disk unit
US5680640A (en) * 1995-09-01 1997-10-21 Emc Corporation System for migrating data by selecting a first or second transfer means based on the status of a data element map initialized to a predetermined state

Also Published As

Publication number Publication date
JP2003108315A (en) 2003-04-11

Similar Documents

Publication Publication Date Title
JP3410010B2 (en) Subsystem migration method and information processing system
US7269667B2 (en) Disk array system and method for migrating from one storage system to another
JP2005018193A (en) Interface command control method for disk device, and computer system
JP4387116B2 (en) Storage system control method and storage system
JP4606711B2 (en) Virtualization control device and data migration control method
US20070255916A1 (en) Data duplication control method
US7376804B2 (en) Storage system, backup system, and backup method
JPH10508967A (en) System and method for on-line, real-time, data transfer technical field
JP5286212B2 (en) Remote copy control method and system in storage cluster environment
JP2007265403A (en) Remote mirroring method between tiered storage systems
US8555012B2 (en) Data storage apparatus
KR20080061312A (en) Mirroring method, mirroring device, and recording medium
JP3781369B2 (en) Storage subsystem
JP2007048323A (en) Virtualization controller and data migration control method
US20090177916A1 (en) Storage system, controller of storage system, control method of storage system
JPH11242566A (en) Multiplex data storage system
JP3781378B2 (en) Storage subsystem
JP3937878B2 (en) Magnetic tape device, control method thereof, and program for controlling magnetic tape device
US7107485B2 (en) Method, apparatus, and computer readable medium for managing multiple system
JP2001154896A (en) Computer and method for updating file
JP2004078746A (en) Control method of storage system, storage system, and storage apparatus
JPH05158631A (en) Duplex file control method
JP2007172646A (en) Data transfer control method, switch system and data control method
JPH1185409A (en) Storage system and medium managing method applied to the system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20060214

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060214

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060303

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140317

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees