JP5026375B2 - Storage device and storage device control method - Google Patents

Storage device and storage device control method Download PDF

Info

Publication number
JP5026375B2
JP5026375B2 JP2008230415A JP2008230415A JP5026375B2 JP 5026375 B2 JP5026375 B2 JP 5026375B2 JP 2008230415 A JP2008230415 A JP 2008230415A JP 2008230415 A JP2008230415 A JP 2008230415A JP 5026375 B2 JP5026375 B2 JP 5026375B2
Authority
JP
Japan
Prior art keywords
storage device
resource
virtual
processor
cache memory
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
JP2008230415A
Other languages
Japanese (ja)
Other versions
JP2010066842A (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 JP2008230415A priority Critical patent/JP5026375B2/en
Priority to US12/272,124 priority patent/US8510517B2/en
Publication of JP2010066842A publication Critical patent/JP2010066842A/en
Application granted granted Critical
Publication of JP5026375B2 publication Critical patent/JP5026375B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0634Configuration or reconfiguration of storage systems by changing the state or mode of one or more devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Description

本発明は、ストレージシステムの資源利用に関する。   The present invention relates to resource utilization of a storage system.

例えば、データセンタ等のような大規模なデータを取り扱うデータベースシステムでは、ホストコンピュータとは別に構成された記憶システムを用いて、データが管理されている。この記憶システムは、例えば、ストレージ装置等から構成されている。ストレージ装置は、ホストコンピュータからの入出力要求に応答して、複数の記憶デバイスの記憶領域上に形成された論理ボリューム(論理ユニット)をホスト(ホストコンピュータ)に提供することができる。   For example, in a database system that handles large-scale data such as a data center, the data is managed using a storage system that is configured separately from the host computer. This storage system is composed of, for example, a storage device. In response to an input / output request from the host computer, the storage apparatus can provide a logical volume (logical unit) formed on a storage area of a plurality of storage devices to the host (host computer).

特許文献1には、ストレージ装置を分割し、論理的な複数のストレージとして管理可能にする方法が記載されている。   Patent Document 1 describes a method of dividing a storage device so that it can be managed as a plurality of logical storages.

米国特許第 7,069,408号U.S. Patent No. 7,069,408

ストレージ装置を複数の仮想ストレージ装置として分割して使用する際に、仮想ストレージ装置が増加していくと、一時的なプロジェクト用や、テスト用の仮想ストレージ装置等、常時使用しない仮想ストレージ装置が混在していく。そのような状況において、特許文献1に記載の技術では、
常時使用しない仮想ストレージ装置の制御情報やボリュームデータがストレージ装置の容量を消費し、無駄となってしまうという課題がある。
When a storage device is divided and used as multiple virtual storage devices, if the number of virtual storage devices increases, virtual storage devices that are not always used, such as temporary project and virtual storage devices for testing, are mixed I will do it. In such a situation, in the technique described in Patent Document 1,
There is a problem that control information and volume data of a virtual storage device that is not always used consumes the capacity of the storage device and is wasted.

仮想ストレージ装置のサスペンド時には、制御情報及びボリュームデータを外部のストレージ装置等に退避して、使用していたストレージ装置の資源を空き資源として解放する。そして、仮想ストレージ装置のリジューム時には、ストレージ装置の空き資源を確保し、外部のストレージ装置等に保存した制御情報及びボリュームデータを回復する。   When the virtual storage apparatus is suspended, the control information and volume data are saved in an external storage apparatus or the like, and the used storage apparatus resources are released as free resources. When the virtual storage device is resumed, free resources of the storage device are secured, and the control information and volume data stored in the external storage device are recovered.

本発明によれば、以下の効果が期待できる。   According to the present invention, the following effects can be expected.

今後しばらく使用しない仮想ストレージ装置の制御情報とデータを安価な外部のテープストレージ等に保管することで、ボリュームを解放できる。そのため、ストレージ装置の容量を他の仮想ストレージ装置に転用でき、資源利用の効率化が可能である。   Volumes can be released by storing control information and data for virtual storage devices that will not be used for a while in an inexpensive external tape storage or the like. Therefore, the capacity of the storage device can be diverted to another virtual storage device, and the efficiency of resource utilization can be improved.

以下、本発明の一実施形態を説明する。
(第1の実施形態)
図1は、本発明の一実施形態に係る仮想ストレージシステムの物理的な構成を示す。
Hereinafter, an embodiment of the present invention will be described.
(First embodiment)
FIG. 1 shows a physical configuration of a virtual storage system according to an embodiment of the present invention.

グループ101は、管理サーバ102及び、1台または複数のホスト103を含む。グループ101は、SAN(Storage Area Network)におけるホストグループに相当する。   The group 101 includes a management server 102 and one or a plurality of hosts 103. The group 101 corresponds to a host group in a SAN (Storage Area Network).

ホスト103はポート104を含む。ポート104は、例えばFC(Fiber Channel)やSATA(Serial Advanced Technology Attachment)等のインターフェイスで実装される。ホスト103は、ポート104から、ネットワーク119を介して、仮想ストレージ装置106のポート108と通信する。ホスト103が発行するread/write命令(I/Oリクエスト)は、ポート104、ネットワーク119、ポート108を介して物理ストレージ装置120に伝えられる。物理ストレージ装置120は結果のデータ等をポート122、ネットワーク119、ポート104を介してホスト103に送信する。   Host 103 includes port 104. The port 104 is implemented by an interface such as FC (Fiber Channel) or SATA (Serial Advanced Technology Attachment). The host 103 communicates with the port 108 of the virtual storage apparatus 106 from the port 104 via the network 119. A read / write command (I / O request) issued by the host 103 is transmitted to the physical storage device 120 via the port 104, the network 119, and the port 108. The physical storage device 120 transmits the result data and the like to the host 103 via the port 122, the network 119, and the port 104.

ホスト103は情報を記憶する部品であるメモリ1003やHDD(Hard Disk Drive)1004を持ち、メモリ1003やHDD1004に格納したプログラムを、メモリ1003やHDD1004に格納したデータに基づいて実行するプロセッサ1002を持ち、他の計算機やストレージ装置と通信するためのLAN(Local Area Network)やiSCSI(Internet Small Computer System Interface)等のI/F1005を持つ。   The host 103 has a memory 1003 and an HDD (Hard Disk Drive) 1004 that are components for storing information, and has a processor 1002 that executes a program stored in the memory 1003 and the HDD 1004 based on data stored in the memory 1003 and the HDD 1004. And an I / F 1005 such as a LAN (Local Area Network) and iSCSI (Internet Small Computer System Interface) for communicating with other computers and storage devices.

管理サーバ102も、上記で説明したホスト103と同等のハードウェア構成を持つ装置である。   The management server 102 is also a device having a hardware configuration equivalent to that of the host 103 described above.

管理サーバ102はI/F1005からネットワーク105を介して、物理ストレージ装置120の管理I/F121と通信する。管理I/F121及びネットワーク105はLAN等によって実装する。管理サーバ102は、ネットワーク105を介して、物理ストレージ装置120にプログラムの操作の指示等を送信する。プログラムとは、ストレージ装置の機能(リモートコピーやローカルコピー機能等)を表す。管理サーバ102はグループ101毎に存在してもよい。   The management server 102 communicates with the management I / F 121 of the physical storage apparatus 120 via the network 105 from the I / F 1005. The management I / F 121 and the network 105 are implemented by a LAN or the like. The management server 102 transmits a program operation instruction or the like to the physical storage device 120 via the network 105. The program represents a storage device function (such as a remote copy function or a local copy function). The management server 102 may exist for each group 101.

物理ストレージ装置120は管理I/F121を持つ。管理I/F121は、例えばLAN等のI/Fとして実装する。   The physical storage device 120 has a management I / F 121. The management I / F 121 is implemented as an I / F such as a LAN, for example.

物理ストレージ装置120はポート122を1個以上持つ。ポート122は、例えばFC等のインターフェイスで実装される。   The physical storage device 120 has one or more ports 122. The port 122 is implemented by an interface such as FC.

物理ストレージ装置120は制御部123を持つ。制御部123は、制御プロセッサ124と制御メモリ125を持つ。制御プロセッサ124は、制御メモリ125に格納した各種プログラムやデータを参照してさまざまな処理を実行する。例えば、制御プロセッサ124は、ホスト103から受けたread/write命令や、後述する仮想ストレージ装置106と物理ストレージ装置120の対応関係を求める処理等を実行する。   The physical storage device 120 has a control unit 123. The control unit 123 has a control processor 124 and a control memory 125. The control processor 124 refers to various programs and data stored in the control memory 125 and executes various processes. For example, the control processor 124 executes a read / write command received from the host 103, processing for obtaining a correspondence relationship between the virtual storage device 106 and the physical storage device 120, which will be described later, and the like.

物理ストレージ装置120は物理ドライブ127を持つ。物理ドライブ127は例えば、HDDや、SSD(Solid State Drive)等の、一般に電源をOFFにしてもデータが消えない、不揮発性の記憶装置で実装される。 物理ストレージ装置120はキャッシュメモリ126を持つ。キャッシュメモリ126は、一般に物理ドライブ127よりも高速アクセスが可能なRAM(Random Access Memory)等で実装する。また、キャッシュメモリ126は、複数のメモリスロット130を持っている。制御プロセッサ124で実行されるプログラム等が物理ドライブ127に格納するデータを一時的にキャッシュメモリ126に格納することにより、ホスト103へのデータの送信を高速化する効果がある。   The physical storage device 120 has a physical drive 127. The physical drive 127 is implemented by a non-volatile storage device such as an HDD or SSD (Solid State Drive) that generally does not lose data even when the power is turned off. The physical storage device 120 has a cache memory 126. The cache memory 126 is generally implemented by a RAM (Random Access Memory) that can be accessed at a higher speed than the physical drive 127. The cache memory 126 has a plurality of memory slots 130. By temporarily storing the data stored in the physical drive 127 by the program executed by the control processor 124 in the cache memory 126, there is an effect of speeding up the transmission of data to the host 103.

物理ストレージ装置120は外部接続ポート128を持つ。物理ストレージ装置120は、外部接続ポート128により、外部ストレージ装置と通信する。外部接続ポート128は、例えばFC等のインターフェイスで実装する。ただし、ポート122はSCSIにおけるターゲットの機能を有しているのに対して、外部接続ポート128はSCSIにおけるイニシエータの機能を有している。イニシエータの機能によって、物理ストレージ装置120は外部ストレージ装置129と互いに通信し、外部ストレージ装置129の記憶領域すなわち外部ボリュームを、物理ストレージ装置120が備える記憶領域すなわち物理ドライブ127の代わりに用いることができる。   The physical storage device 120 has an external connection port 128. The physical storage device 120 communicates with the external storage device via the external connection port 128. The external connection port 128 is implemented by an interface such as FC. However, the port 122 has a SCSI target function, whereas the external connection port 128 has a SCSI initiator function. Depending on the function of the initiator, the physical storage device 120 can communicate with the external storage device 129, and the storage area of the external storage device 129, that is, the external volume, can be used instead of the storage area, that is, the physical drive 127 provided in the physical storage device 120. .

また、上述の構成において、管理サーバ102は、ネットワーク119を介して物理ストレージ装置120と通信し、操作の指示等を送信してもよい。具体的には、物理ストレージ装置120が管理のための専用のボリューム、(コマンドデバイスと呼ぶ)を用意し、管理サーバ102からアクセスすることにより通信する。   In the configuration described above, the management server 102 may communicate with the physical storage device 120 via the network 119 and transmit an operation instruction or the like. Specifically, the physical storage apparatus 120 prepares a dedicated volume for management (referred to as a command device) and communicates by accessing from the management server 102.

本明細書の仮想ストレージシステムでは、3つの階層で仮想ストレージ装置106を構成する機能部品を定義している。3つの階層とは、物理レイヤと、資源プールと、仮想レイヤである。   In the virtual storage system of the present specification, functional components constituting the virtual storage apparatus 106 are defined in three layers. The three hierarchies are a physical layer, a resource pool, and a virtual layer.

物理レイヤとは物理ドライブ等の物理的なデバイスを指す階層である。本明細書では、“物理資源”と説明する場合はこの物理レイヤに属するデバイス一般を指す。   The physical layer is a hierarchy indicating a physical device such as a physical drive. In this specification, the term “physical resource” refers to devices in general belonging to this physical layer.

資源プールは、資源ボリュームの集合である。資源ボリュームは、仮想ストレージ装置106に割り当てて使用する。本明細書では、“資源”と説明する場合はこの資源プールに属する論理的なデバイス一般を指す。資源は、物理ストレージ装置120の範囲で番号を振り、この番号を資源番号と呼ぶ。   A resource pool is a set of resource volumes. The resource volume is allocated to the virtual storage device 106 and used. In this specification, the term “resource” refers to a general logical device belonging to this resource pool. Resources are numbered within the range of the physical storage device 120, and this number is called a resource number.

仮想レイヤとは、仮想ストレージ装置106に割り当てた資源を指す階層である。本明細書では、“仮想資源”と説明する場合はこの仮想レイヤに属するデバイス一般を指す。仮想レイヤでは、仮想ストレージ装置106の範囲で番号を振り、この番号を仮想資源番号と呼ぶ。   The virtual layer is a hierarchy indicating resources allocated to the virtual storage apparatus 106. In this specification, the term “virtual resource” refers to devices in general belonging to this virtual layer. In the virtual layer, a number is assigned in the range of the virtual storage device 106, and this number is called a virtual resource number.

詳細については、図3にボリューム、キャッシュメモリ、制御部における物理レイヤと資源プールの階層の関係と資源プールと仮想レイヤの階層の関係を示す。   For details, FIG. 3 shows the relationship between the physical layer and the resource pool hierarchy and the relationship between the resource pool and the virtual layer in the volume, cache memory, and control unit.

図2は、本発明の第1の実施形態に係る仮想ストレージシステムの物理的な構成と仮想ストレージ装置106の対応関係を示す。   FIG. 2 shows a correspondence relationship between the physical configuration of the virtual storage system and the virtual storage device 106 according to the first embodiment of the present invention.

本発明の仮想ストレージシステムでは、1台の物理的なストレージ装置を複数台の仮想ストレージ装置106として使用することができる。よって、グループ101毎に仮想的ストレージ装置106を使用できる。また、管理サーバ102によって、グループ101毎に管理することができる。1台の物理的なストレージ装置を複数台の仮想ストレージ装置106として提供する方法については、後ほど図3で詳細を述べる。また、一般的に、仮想ストレージシステムでは、複数のグループ101が存在している。   In the virtual storage system of the present invention, one physical storage device can be used as a plurality of virtual storage devices 106. Therefore, the virtual storage device 106 can be used for each group 101. The management server 102 can manage each group 101. The method of providing one physical storage device as a plurality of virtual storage devices 106 will be described in detail later with reference to FIG. In general, a plurality of groups 101 exist in a virtual storage system.

仮想ストレージ装置106は管理I/F107を持つ。管理サーバ102はネットワーク105を介して、仮想ストレージ装置106の管理I/F107と通信する。管理I/F107の実体は、物理ストレージ装置120の管理I/F121である。管理I/F107A及び107Bは物理的に一つの管理I/F121に対応する。図2では管理サーバ102A、102Bがそれぞれ、管理I/F107A及び107Bにアクセスしている。この場合、管理I/F121は、イーサネット(登録商標)の同一IPアドレスのポート番号で管理サーバ102Aと102Bを区別する。または、管理I/F121に1個の管理I/FでIPアドレスを複数持つ方法等を実装することで管理サーバ102Aと102Bを区別しても良い。   The virtual storage apparatus 106 has a management I / F 107. The management server 102 communicates with the management I / F 107 of the virtual storage device 106 via the network 105. The entity of the management I / F 107 is the management I / F 121 of the physical storage device 120. The management I / Fs 107A and 107B physically correspond to one management I / F 121. In FIG. 2, the management servers 102A and 102B access the management I / Fs 107A and 107B, respectively. In this case, the management I / F 121 distinguishes between the management servers 102A and 102B by the port number of the same IP address of Ethernet (registered trademark). Alternatively, the management servers 102A and 102B may be distinguished by implementing a method of having a plurality of IP addresses with one management I / F in the management I / F 121.

管理サーバ102はグループ101毎に存在しているため、グループ101毎の管理者がそれぞれで仮想ストレージ装置106を管理することができる。   Since the management server 102 exists for each group 101, an administrator for each group 101 can manage the virtual storage apparatus 106 by each.

仮想ストレージ装置106はポート108を持つ。物理ストレージ装置120のポート122は仮想ストレージ装置106におけるポート108に対応している。ポート122はポート108と1対1に対応させて実装される。   The virtual storage device 106 has a port 108. The port 122 of the physical storage device 120 corresponds to the port 108 in the virtual storage device 106. The port 122 is mounted in a one-to-one correspondence with the port 108.

仮想ストレージ装置106は仮想制御部109を持つ。仮想制御部109はポート108がホストから受けたread/writereadre命令等を実行する。物理ストレージ装置120の制御部123が、仮想ストレージ装置106における仮想制御部109に対応する。物理ストレージ装置120は、制御部123の制御プロセッサ124が持つ計算資源を仮想制御部109に割り当てる。割り当て方法等の詳細については、後ほど図3で説明する。   The virtual storage device 106 has a virtual control unit 109. The virtual control unit 109 executes a read / writereadre instruction received by the port 108 from the host. The control unit 123 of the physical storage device 120 corresponds to the virtual control unit 109 in the virtual storage device 106. The physical storage device 120 allocates the computing resources of the control processor 124 of the control unit 123 to the virtual control unit 109. Details of the allocation method and the like will be described later with reference to FIG.

仮想ストレージ装置106は仮想ボリューム111を持つ。仮想ボリューム111はホスト103から受信したデータを保存する記憶領域である。仮想ボリューム111と物理ストレージ装置120のボリュームとの対応関係の詳細については後ほど図3で述べる。   The virtual storage device 106 has a virtual volume 111. The virtual volume 111 is a storage area for storing data received from the host 103. Details of the correspondence between the virtual volume 111 and the volume of the physical storage device 120 will be described later with reference to FIG.

仮想ストレージ装置106は仮想キャッシュメモリ110を持つ。仮想キャッシュメモリ110は仮想ボリューム111に格納するデータを一時的に保存する。一般に仮想キャッシュメモリ110は仮想ボリューム111よりも高速アクセス可能な記憶領域である。物理ストレージ装置120のキャッシュメモリ126は、仮想キャッシュメモリ110に対応する。仮想ストレージシステムでは、仮想ストレージ101ごとに、キャッシュメモリ126の記憶領域の一部が、仮想キャッシュメモリ110として割り当てられる。割り当て方法等の詳細については、後ほど図3で述べる。   The virtual storage device 106 has a virtual cache memory 110. The virtual cache memory 110 temporarily stores data stored in the virtual volume 111. In general, the virtual cache memory 110 is a storage area that can be accessed at a higher speed than the virtual volume 111. The cache memory 126 of the physical storage device 120 corresponds to the virtual cache memory 110. In the virtual storage system, a part of the storage area of the cache memory 126 is allocated as the virtual cache memory 110 for each virtual storage 101. Details of the allocation method and the like will be described later with reference to FIG.

図3は、ボリューム、キャッシュメモリ、制御部における物理レイヤと資源プールの階層の関係と、各資源と仮想ストレージ装置106の関係を示している。   FIG. 3 shows the relationship between the physical layer and the resource pool hierarchy in the volume, cache memory, and control unit, and the relationship between each resource and the virtual storage device 106.

まず、物理資源と資源の関係について説明する。   First, the relationship between physical resources and resources will be described.

物理ドライブ127を複数台使用し、1つの仮想的なボリュームにするRAID技術が一般的に知られている。RAID技術を使い、物理ドライブ127を複数使用し、資源ボリューム1202が作成される。例えば、物理ストレージ装置120の制御部は、物理ドライブ127A〜Dを4つ使用して、パリティグループ1203Aを作成し、パリティグループの一部を資源ボリューム1202Aとして割り当てる。   A RAID technology that uses a plurality of physical drives 127 and makes one virtual volume is generally known. A RAID volume is used to create a resource volume 1202 using a plurality of physical drives 127. For example, the control unit of the physical storage device 120 creates a parity group 1203A using four physical drives 127A to 127D, and allocates a part of the parity group as a resource volume 1202A.

物理ストレージ装置120に存在する資源ボリューム1202の集合が、資源ボリュームプール2701である。   A set of resource volumes 1202 existing in the physical storage device 120 is a resource volume pool 2701.

資源ボリューム1202とパリティグループの対応関係を示したテーブルが、後に図10で説明する資源ボリューム制御情報3201である。   A table showing the correspondence between the resource volume 1202 and the parity group is resource volume control information 3201 described later with reference to FIG.

物理ストレージ装置120は、複数のメモリスロット130を持つ。複数のメモリスロット130が一様な記憶領域のアドレス空間に資源キャッシュメモリ1302として割り当てられる。   The physical storage device 120 has a plurality of memory slots 130. A plurality of memory slots 130 are assigned as resource cache memory 1302 to a uniform storage area address space.

資源キャッシュメモリ1302は、資源キャッシュメモリアドレスによって仮想ストレージ装置への割り当て時に識別される。例えば、資源キャッシュメモリアドレスは“(メモリスロット番号×メモリスロットの記憶容量)+メモリスロット上のアドレス”という計算式によって、定義される。メモリスロット番号とは、物理ストレージ装置120が搭載している各メモリスロット130と対応させた、0から始まる番号である。例えば、メモリスロットの記憶容量が256MBで、メモリスロット3番の、メモリスロット上のアドレスが“0x1000000“である場合は、資源キャッシュメモリアドレスは”0x31000000“となる。   The resource cache memory 1302 is identified at the time of allocation to the virtual storage device by the resource cache memory address. For example, the resource cache memory address is defined by a calculation formula “(memory slot number × memory slot storage capacity) + address on memory slot”. The memory slot number is a number starting from 0 that is associated with each memory slot 130 installed in the physical storage device 120. For example, if the memory capacity of the memory slot is 256 MB and the address on the memory slot of memory slot 3 is “0x1000000”, the resource cache memory address is “0x31000000”.

物理ストレージ装置120に存在する資源キャッシュメモリ1302の集合が、資源キャッシュメモリプール302である。   A set of resource cache memories 1302 existing in the physical storage device 120 is a resource cache memory pool 302.

また、資源キャッシュメモリアドレスとメモリスロットの対応関係を示したテーブルが、後に図13で説明する資源キャッシュメモリ制御情報902である。   A table showing the correspondence between resource cache memory addresses and memory slots is resource cache memory control information 902 described later with reference to FIG.

制御プロセッサ上には、I/O処理等のプログラムを実行する主体であるタスク304が存在する。タスク304は、一般的なOSにおける、スレッドやプロセス等と同等である。制御プロセッサ124は、あらかじめ一定数のタスクを起動しておく。各タスクは資源タスクに対応する。   On the control processor, there is a task 304 that is a subject that executes a program such as I / O processing. The task 304 is equivalent to a thread or process in a general OS. The control processor 124 activates a certain number of tasks in advance. Each task corresponds to a resource task.

物理ストレージ装置120に存在する資源タスク305の集合が、資源タスクプール303である。   A set of resource tasks 305 existing in the physical storage device 120 is a resource task pool 303.

また、資源タスク番号とタスク番号の対応関係を示したテーブルが、後に図14で説明する資源タスク制御情報903である。   A table showing the correspondence between resource task numbers and task numbers is resource task control information 903 described later with reference to FIG.

次に、資源と仮想ストレージ装置106の関係について説明する。   Next, the relationship between resources and the virtual storage device 106 will be described.

仮想ボリューム111は、資源ボリューム1202が仮想ストレージ装置1201に、割り当てられた仮想資源である。仮想ボリューム番号は、仮想ストレージ装置毎にユニークに割り振られる。例えば、仮想ストレージ1201Aの仮想ボリューム1202Aの仮想ボリューム番号が1である場合で且つ、仮想ストレージ1201Bの仮想ボリューム1202Bの仮想ボリューム番号が1であってもよい。   The virtual volume 111 is a virtual resource in which the resource volume 1202 is assigned to the virtual storage device 1201. The virtual volume number is uniquely assigned to each virtual storage device. For example, the virtual volume number of the virtual volume 1202A of the virtual storage 1201A may be 1, and the virtual volume number of the virtual volume 1202B of the virtual storage 1201B may be 1.

資源ボリュームと仮想ボリュームの対応関係を示したテーブルが、仮想ストレージ資源管理情報821である。ホストからのI/Oリクエストの処理(I/O処理)は、これらのテーブルを使う。I/O処理の詳細は後に図26で説明する。   A table showing the correspondence between resource volumes and virtual volumes is virtual storage resource management information 821. These tables are used for processing an I / O request from the host (I / O processing). Details of the I / O processing will be described later with reference to FIG.

仮想キャッシュメモリは、資源キャッシュメモリ1302が仮想ストレージ装置1201に割り当てられた仮想資源である。仮想キャッシュメモリアドレスは、仮想ストレージ装置毎にユニークに割り振られる。例えば、仮想キャッシュメモリアドレスは、0から始まる連続した記憶領域の空間で表される。この仮想キャッシュメモリアドレスと資源キャッシュメモリアドレスの対応関係を示したテーブルが仮想ストレージ資源管理情報411である。   The virtual cache memory is a virtual resource in which the resource cache memory 1302 is allocated to the virtual storage device 1201. The virtual cache memory address is uniquely assigned to each virtual storage device. For example, the virtual cache memory address is represented by a continuous storage area space starting from 0. A table showing the correspondence between the virtual cache memory address and the resource cache memory address is the virtual storage resource management information 411.

ホストからのI/O処理は、仮想ストレージ資源管理情報411と物理ストレージ制御情報410を参照して、仮想キャッシュメモリアドレスから、資源キャッシュメモリアドレスを求める。   The I / O processing from the host refers to the virtual storage resource management information 411 and the physical storage control information 410 to obtain the resource cache memory address from the virtual cache memory address.

仮想制御部は、資源タスクプール303から資源タスク305が仮想ストレージ装置1201に割り当てられた仮想資源である。仮想制御部には求められるI/O処理の性能等に基づいて複数の仮想制御部に複数のタスクを割り当ててもよい。   The virtual control unit is a virtual resource in which the resource task 305 from the resource task pool 303 is assigned to the virtual storage device 1201. A plurality of tasks may be assigned to a plurality of virtual control units based on required I / O processing performance or the like.

本実施例では、一定数のタスクを起動しておき、資源タスクプールから必要な性能に応じて複数のタスクが仮想ストレージ装置106に割り当てられている。しかし、一般的なOSではタスクに優先度を指定することができる。このため、資源タスクプールの提供方法として、1つの仮想ストレージ装置106に1タスクを割り当て、必要な性能に応じてタスクの優先度を設定する方法もある。   In this embodiment, a certain number of tasks are activated, and a plurality of tasks are assigned to the virtual storage apparatus 106 according to the required performance from the resource task pool. However, in a general OS, priority can be specified for a task. For this reason, as a method for providing a resource task pool, there is a method in which one task is assigned to one virtual storage device 106 and the priority of the task is set according to the required performance.

図4は、物理ストレージ装置120の制御部123における、制御プロセッサ124によって実行される、制御メモリ125内にあるプログラム及びデータ構造を表している。   FIG. 4 shows programs and data structures in the control memory 125 executed by the control processor 124 in the control unit 123 of the physical storage device 120.

制御メモリ125内には、仮想ストレージ制御情報401が0個以上格納される。仮想ストレージ制御情報401は、物理ストレージ上で実装する個々の仮想ストレージ装置106を制御するための情報を含んでいる。仮想ストレージ制御情報401は、プログラム制御情報402、LUNセキュリティ情報403、LUNマッピング情報404、仮想ストレージ構成情報405を含む。それぞれの情報の詳細については、図5〜8で説明する。また、仮想ストレージ制御情報401は、物理ストレージ装置上にある仮想ストレージ装置106の数だけ存在する。   In the control memory 125, zero or more virtual storage control information 401 is stored. The virtual storage control information 401 includes information for controlling individual virtual storage apparatuses 106 mounted on the physical storage. The virtual storage control information 401 includes program control information 402, LUN security information 403, LUN mapping information 404, and virtual storage configuration information 405. Details of each information will be described with reference to FIGS. The virtual storage control information 401 exists as many as the number of virtual storage devices 106 on the physical storage device.

制御メモリ125内には、物理ストレージ制御情報410が格納されている。物理ストレージ制御情報410は、資源と物理資源の対応関係等を表すテーブルの集合である。詳細については、図10〜14で説明する。   In the control memory 125, physical storage control information 410 is stored. The physical storage control information 410 is a set of tables representing the correspondence relationship between resources and physical resources. Details will be described with reference to FIGS.

制御メモリ125内には、仮想ストレージ資源管理情報411が格納されている。仮想ストレージ資源管理情報411は、資源と仮想ストレージ装置106の対応関係を表すテーブルである。詳細については、図15で説明する。   In the control memory 125, virtual storage resource management information 411 is stored. The virtual storage resource management information 411 is a table representing the correspondence between resources and the virtual storage device 106. Details will be described with reference to FIG.

制御メモリ125内には、WWN変更通知情報412が格納されている。WWN変更通知情報412は、ホスト側のポートの構成変更時のポートのWWN(World Wide Name)に関する情報を格納している。WWNは、通常ポートの製造時に一意に割り当てられるポートの識別子である。ホスト側の変更通知の詳細については、図25で説明する。   In the control memory 125, WWN change notification information 412 is stored. The WWN change notification information 412 stores information related to the WWN (World Wide Name) of the port when the configuration of the port on the host side is changed. The WWN is an identifier of a port that is uniquely assigned when a normal port is manufactured. Details of the host-side change notification will be described with reference to FIG.

制御メモリ125内には、サスペンド処理421というプログラムが格納されている。サスペンド処理421は、対象の仮想ストレージ装置106をサスペンドして資源を解放する処理であり、管理サーバ102等の指示によって起動する処理である。仮想ストレージ装置106のサスペンドとは、対象の仮想ストレージ装置106に関連する部品の電源を切る等の処理とそのための準備を行うことである。詳細については、フローチャートを用いて後ほど図27で説明する。   A program called a suspend process 421 is stored in the control memory 125. The suspend process 421 is a process for releasing the resources by suspending the target virtual storage apparatus 106, and is a process that is activated by an instruction from the management server 102 or the like. Suspending the virtual storage device 106 means performing a process such as turning off the power of a component related to the target virtual storage device 106 and preparing for it. Details will be described later with reference to FIG. 27 using a flowchart.

制御メモリ125内には、リジューム処理422というプログラムが格納されている。リジューム処理422は、対象の仮想ストレージ装置106がサスペンドしているときに、関連する資源の電源を入れる等の処理とその準備のための処理を実行する処理である。また、リジューム処理422は、資源を仮想ストレージ装置106に割り当てる処理である。詳細については、フローチャートを用いて後ほど図29で説明する。   In the control memory 125, a program called resume processing 422 is stored. The resume process 422 is a process for executing processing such as turning on the power of related resources and processing for preparation when the target virtual storage apparatus 106 is suspended. The resume process 422 is a process for allocating resources to the virtual storage apparatus 106. Details will be described later with reference to FIG. 29 using a flowchart.

制御メモリ125内には、ホストコマンド処理423というプログラムが格納されている。ホストコマンド処理423は、制御プロセッサ124が実行ずる。ホストコマンド処理423は、ホストからのread/writeコマンドをポート122が受領したとき、対応するデータを物理ディスク127やキャッシュメモリ126からポートに対して転送する処理等である。具体的には、物理ストレージ装置120は、制御部123に含む、DMA(Direct Memory Access)回路等によって転送を実行する。詳細については、フローチャートを用いて後ほど図28で説明する。   In the control memory 125, a program called host command processing 423 is stored. The host processor 423 is executed by the control processor 124. The host command processing 423 is processing for transferring corresponding data from the physical disk 127 or the cache memory 126 to the port when the port 122 receives a read / write command from the host. Specifically, the physical storage device 120 executes transfer by a DMA (Direct Memory Access) circuit included in the control unit 123. Details will be described later with reference to FIG. 28 using a flowchart.

制御メモリ125内には、WWN変更通知受信処理424というプログラムが格納されている。WWN変更通知受信処理424は、ホスト側のポートの構成変更時にポートのWWN情報等をホストから受信する処理を実行するプログラムである。詳細については、フローチャートを用いて後ほど図24で説明する。   In the control memory 125, a program called a WWN change notification reception process 424 is stored. The WWN change notification reception process 424 is a program that executes a process of receiving port WWN information and the like from the host when the host-side port configuration is changed. Details will be described later with reference to FIG.

次に、仮想ストレージ制御情報401に含まれる、各情報ついて説明する。(図5〜8)
図5は、LUNセキュリティ情報403のデータ構造を表している。
Next, each information included in the virtual storage control information 401 will be described. (Figs. 5-8)
FIG. 5 shows the data structure of the LUN security information 403.

LUNセキュリティ情報403は、LUN511と、アクセス可能WWN512の組の集合である。LUNセキュリティは、SAN環境等において他のホストグループのポートから自分のホストグループのLUNにアクセスされることを防ぐための手段である。   The LUN security information 403 is a set of a set of LUN 511 and accessible WWN 512. The LUN security is a means for preventing access to the LUN of its own host group from a port of another host group in a SAN environment or the like.

例えば図5だと、LUN511が“3”のボリュームに対してホストがアクセスするには、ホストのポートのWWNは“WWN1”か、“WWN2” か、“WWN3”でなければならない。   For example, in FIG. 5, in order for a host to access a volume whose LUN 511 is “3”, the WWN of the host port must be “WWN1”, “WWN2”, or “WWN3”.

図6は、LUNマッピング情報404のデータ構造を表している。   FIG. 6 shows the data structure of the LUN mapping information 404.

LUNマッピング情報404は、ホストからアクセスするボリュームのLUN611と仮想ボリュームとの対応関係を示す情報である。LUNマッピング情報404は、LUN611と、仮想ストレージボリューム番号612と、LUSE(Logical Unit Size Expansion)情報613の組の集合である。   The LUN mapping information 404 is information indicating the correspondence between the LUN 611 of the volume accessed from the host and the virtual volume. The LUN mapping information 404 is a set of a set of LUN 611, virtual storage volume number 612, and LUSE (Logical Unit Size Expansion) information 613.

例えば図6だと、LUN611が“3”のボリュームに対して、ホストがアクセスする場合、ホストは仮想ボリューム番号612が“1”,“2”,“3”,“4”の仮想ボリュームにアクセスすることになる。ここでホストがアクセスする仮想ボリュームが複数あるのは、LUSE情報613が“有り”であるためである。LUSEとは複数のボリュームを1つの大きなボリュームとしてホストに見せる機能である。ホストが、LUN611が“3”のボリュームにアクセスすると、ホストにはボリューム容量が“1”,“2”,“3”,“4”のボリュームの合計のサイズに見えることになる。   For example, in FIG. 6, when a host accesses a volume whose LUN 611 is “3”, the host accesses virtual volumes whose virtual volume numbers 612 are “1”, “2”, “3”, “4”. Will do. Here, there are a plurality of virtual volumes accessed by the host because the LUSE information 613 is “present”. LUSE is a function that shows a plurality of volumes to a host as one large volume. When the host accesses a volume whose LUN 611 is “3”, the host capacity appears to be the total size of the volumes whose volume capacities are “1”, “2”, “3”, and “4”.

図7は、プログラム制御情報402のデータ構造を表している。   FIG. 7 shows the data structure of the program control information 402.

プログラム制御情報402は、物理ストレージ装置120において使用されるプログラムの制御のための情報の一例を示す。図7では、プログラム制御情報402は、一般的なボリュームコピー機能におけるペア状態のテーブルを表している。   The program control information 402 shows an example of information for controlling a program used in the physical storage device 120. In FIG. 7, the program control information 402 represents a pair status table in a general volume copy function.

プログラム制御情報402は、P−VOL番号711と、S−VOL番号712と、ペア状態713と、プログラム種別714を要素に含む。P−VOL番号611はコピー元のボリュームを表す番号である。このP−VOL番号711は、LUNである。S−VOL番号712はコピー先のボリュームを表す番号である。このS−VOL712番号は、LUNである。ペア状態713は、ペアのボリュームの状態を表している。ペア状態713が“コピー中”とは、コピー元のボリュームからコピー先のボリュームにデータのコピーを実行中であることを表している。プログラム種別714は、“リモートコピー”や“ローカルコピー”等、プログラムの種別を表している。その他、ローカルコピー機能やリモートコピー機能等のプログラムに関する、他の制御情報をプログラム制御情報202として、制御メモリ125に格納してもよい。   The program control information 402 includes a P-VOL number 711, an S-VOL number 712, a pair status 713, and a program type 714 as elements. The P-VOL number 611 is a number representing a copy source volume. This P-VOL number 711 is a LUN. The S-VOL number 712 is a number representing a copy destination volume. This S-VOL 712 number is a LUN. The pair status 713 represents the status of the paired volume. The “copying” in the pair status 713 indicates that data is being copied from the copy source volume to the copy destination volume. A program type 714 represents a program type such as “remote copy” or “local copy”. In addition, other control information related to programs such as the local copy function and the remote copy function may be stored in the control memory 125 as the program control information 202.

図8は、仮想ストレージ構成情報405のデータ構造を表している。   FIG. 8 shows the data structure of the virtual storage configuration information 405.

仮想ストレージ構成情報801及び802は、仮想ストレージ装置106の保有している資源のサイズ等の仕様を保持している。例えば仮想ストレージ構成情報801は、仮想ストレージ装置106にある仮想ボリューム番号811とそのサイズ812の対応関係を示している。また、仮想ストレージ構成情報802は、仮想ストレージ装置106が保有する、ポート数831、キャッシュサイズ832、タスク数833を示している。   The virtual storage configuration information 801 and 802 holds specifications such as the size of resources held by the virtual storage apparatus 106. For example, the virtual storage configuration information 801 indicates the correspondence between the virtual volume number 811 in the virtual storage apparatus 106 and its size 812. The virtual storage configuration information 802 indicates the number of ports 831, the cache size 832, and the number of tasks 833 that the virtual storage apparatus 106 has.

仮想ストレージ構成情報801及び802は、仮想ストレージ装置106がリジュームされる際に参照し、リジューム時に必要な資源を決める際等に使用する。   The virtual storage configuration information 801 and 802 are referred to when the virtual storage apparatus 106 is resumed, and are used when determining resources necessary for the resume.

次に、物理ストレージ制御情報410について説明する。(図9〜14)
図9は、物理ストレージ制御情報410の内部構造を表している。
Next, the physical storage control information 410 will be described. (Figs. 9-14)
FIG. 9 shows the internal structure of the physical storage control information 410.

物理ストレージ制御情報410は、資源と物理ストレージ装置120の対応関係、及び電源の状態等を保持している。   The physical storage control information 410 holds the correspondence between resources and the physical storage device 120, the power supply status, and the like.

物理ストレージ制御情報410は、資源ボリューム制御情報901、資源キャッシュメモリ制御情報902、資源タスク制御情報903、パリティグループ制御情報904、物理ディスク制御情報905を含む。それぞれの情報の内容は以下の図10〜14で説明する。   The physical storage control information 410 includes resource volume control information 901, resource cache memory control information 902, resource task control information 903, parity group control information 904, and physical disk control information 905. The contents of each information will be described with reference to FIGS.

図10は、資源ボリューム制御情報901のデータ構造を表している。   FIG. 10 shows the data structure of the resource volume control information 901.

資源ボリューム制御情報901は、資源ボリューム番号1021の資源ボリューム毎に、使用状態1024、サイズ1025、パリティグループ番号1026、開始位置1027、外部接続情報1028を含む。   The resource volume control information 901 includes a usage state 1024, a size 1025, a parity group number 1026, a start position 1027, and external connection information 1028 for each resource volume with the resource volume number 1021.

資源ボリューム番号1021は、物理ストレージ装置内でユニークな番号である。   The resource volume number 1021 is a unique number in the physical storage device.

使用状態1024は、資源ボリューム1202が仮想ストレージ装置106に割り当てられているかどうかを示す情報である。使用状態1024は、資源ボリューム1202が仮想ストレージ装置106に割り当て済みであれば、“使用中”であり、未割り当てであれば、“未使用”である。   The usage state 1024 is information indicating whether or not the resource volume 1202 is allocated to the virtual storage apparatus 106. The usage state 1024 is “in use” if the resource volume 1202 has been allocated to the virtual storage apparatus 106, and “unused” if the resource volume 1202 has not been allocated.

サイズ1025は、資源ボリュームのサイズを表す。例えば、図10では、資源ボリューム番号が1の資源ボリュームのサイズは“300GB”である。   The size 1025 represents the size of the resource volume. For example, in FIG. 10, the size of the resource volume with the resource volume number 1 is “300 GB”.

パリティグループ番号1026は、資源ボリュームの属するパリティグループの番号を表す。   The parity group number 1026 represents the number of the parity group to which the resource volume belongs.

開始位置1027は、資源ボリュームがパリティグループ番号1026のどの位置から割り当てているかを表す。開始位置1027は、パリティグループの先頭アドレスからのオフセットで表される。   The start position 1027 indicates from which position of the parity group number 1026 the resource volume is allocated. The start position 1027 is represented by an offset from the start address of the parity group.

外部接続情報1028は、物理ストレージ装置120が資源ボリューム1202に外部ストレージ装置1210の外部ボリュームを割り当てる場合に使用される。また、外部接続情報1028は、物理ストレージ装置120がポート128経由で外部ストレージ装置129と通信するときに、資源ボリューム1202に割り当てられ外部ボリュームを一意に特定するための識別子を格納する。なお、物理ストレージ装置120が資源ボリューム1202にパリティグループ1203上を割り当てる場合には、資源ボリューム1202は外部ボリュームと対応づかない。このとき、物理ストレージ装置120は外部接続情報1028には無効な値としてNULLが格納される。   The external connection information 1028 is used when the physical storage device 120 allocates an external volume of the external storage device 1210 to the resource volume 1202. Further, the external connection information 1028 stores an identifier that is assigned to the resource volume 1202 and uniquely identifies the external volume when the physical storage device 120 communicates with the external storage device 129 via the port 128. When the physical storage device 120 allocates the resource volume 1202 on the parity group 1203, the resource volume 1202 does not correspond to the external volume. At this time, the physical storage device 120 stores NULL as an invalid value in the external connection information 1028.

図11は、パリティグループ制御情報904のデータ構造を表している。   FIG. 11 shows the data structure of the parity group control information 904.

パリティグループ制御情報904は、物理ストレージ装置で保持しているパリティグループ毎に、パリティグループ番号1111、物理ディスク番号リスト1112、RAIDレベル1113を含む。   The parity group control information 904 includes a parity group number 1111, a physical disk number list 1112, and a RAID level 1113 for each parity group held in the physical storage device.

パリティグループ番号1111は、物理ストレージ装置が保持しているパリティグループを表す識別子である。   The parity group number 1111 is an identifier representing a parity group held by the physical storage device.

物理ディスク番号リスト1112は、パリティグループが使用している物理ディスクを表す物理ディスク番号のリストである。   The physical disk number list 1112 is a list of physical disk numbers representing physical disks used by the parity group.

RAIDレベル1113は、パリティグループのRAIDレベルを表す。例えば、図11では、パリティグループ番号が“1”のパリティグループは、物理ディスク番号が“1”,“2”,“3”,“4”の4つの物理ディスクを使用し、RAIDレベルは“RAID5”である。   The RAID level 1113 represents the RAID level of the parity group. For example, in FIG. 11, the parity group with the parity group number “1” uses four physical disks with physical disk numbers “1”, “2”, “3”, and “4”, and the RAID level is “ RAID 5 ″.

図12は、物理ディスク制御情報905のデータ構造を表している。   FIG. 12 shows the data structure of the physical disk control information 905.

物理ディスク制御情報905は、物理ストレージ装置が保持している物理ディスク毎に、物理ディスク番号1211、電源状態1212、電源カウンタ1213を含む。   The physical disk control information 905 includes a physical disk number 1211, a power state 1212, and a power counter 1213 for each physical disk held by the physical storage device.

物理ディスク番号1211は、物理ストレージ装置が保持している物理ディスクを表す識別子である。   The physical disk number 1211 is an identifier representing a physical disk held by the physical storage device.

電源状態1212は、物理ディスクの電源の状態を表している。物理ディスクの電源がONの状態であれば、“ON”を、電源がOFFの状態であれば、“OFF”を制御プロセッサ124が電源状態1212に入力する。   The power state 1212 represents the power state of the physical disk. The control processor 124 inputs “ON” to the power supply state 1212 if the power supply of the physical disk is ON, and “OFF” if the power supply is OFF.

電源カウンタ1213は、物理ディスクが仮想ストレージ装置106に割り当てられている場合に、その割り当てられている仮想ストレージ装置106の数を表す。   The power supply counter 1213 represents the number of virtual storage devices 106 assigned when physical disks are assigned to the virtual storage devices 106.

ただし、物理ストレージ装置120がパリティグループ単位で電源を管理する場合は、物理ディスク制御情報905に含まれる電源状態1212と電源カウンタ1213が、パリティグループ制御情報904に含まれてもよい。   However, when the physical storage device 120 manages the power supply in units of parity groups, the power supply state 1212 and the power supply counter 1213 included in the physical disk control information 905 may be included in the parity group control information 904.

図13は、資源キャッシュメモリ制御情報902のデータ構造を表している。   FIG. 13 shows the data structure of the resource cache memory control information 902.

資源キャッシュメモリ制御情報902は、物理ストレージ装置で保持している資源キャッシュメモリ1302毎に、資源キャッシュメモリアドレス1341、電源状態1342、使用状態1344、メモリスロット番号1345を保持している。   The resource cache memory control information 902 holds a resource cache memory address 1341, a power state 1342, a use state 1344, and a memory slot number 1345 for each resource cache memory 1302 held in the physical storage device.

資源キャッシュメモリアドレス1341は、資源キャッシュメモリ1302毎の資源キャッシュメモリアドレスの範囲を表している。資源キャッシュメモリアドレス1341は、物理ストレージ装置内でユニークなアドレスである。   A resource cache memory address 1341 represents a range of resource cache memory addresses for each resource cache memory 1302. The resource cache memory address 1341 is a unique address in the physical storage device.

電源状態1342は、資源キャッシュメモリ1302の電源状態を表している。資源キャッシュメモリ1302の電源がONの状態であれば、“ON”を、電源がOFFの状態であれば、“OFF”を制御プロセッサ124が電源状態1342に入力する。   A power state 1342 represents a power state of the resource cache memory 1302. If the power of the resource cache memory 1302 is ON, the control processor 124 inputs “ON”, and if the power is OFF, the control processor 124 inputs “OFF”.

使用状態1344は、資源キャッシュメモリ1302が仮想ストレージ装置106に割り当てられているかどうかを示す情報である。資源キャッシュメモリ1302が仮想ストレージ装置106に割り当て済みであれば、“使用中”を、未割り当てであれば、“未使用”を制御プロセッサ124が使用状態1344に入力する。   The usage state 1344 is information indicating whether or not the resource cache memory 1302 is allocated to the virtual storage device 106. If the resource cache memory 1302 has already been allocated to the virtual storage apparatus 106, the control processor 124 inputs “in use”, and if it has not been allocated, the control processor 124 inputs “unused”.

メモリスロット番号1345は、資源キャッシュメモリ1302に対応するメモリスロットを表すスロット番号である。   The memory slot number 1345 is a slot number representing a memory slot corresponding to the resource cache memory 1302.

図14は、資源タスク制御情報903のデータ構造を表した図である。   FIG. 14 is a diagram showing the data structure of the resource task control information 903.

資源タスク制御情報903は、物理ストレージ装置で保持している資源タスク305毎に、資源タスク番号1461、電源状態1462、使用状態1464、制御プロセッサ番号1465、タスク番号1466を保持している。   The resource task control information 903 holds a resource task number 1461, a power state 1462, a usage state 1464, a control processor number 1465, and a task number 1466 for each resource task 305 held in the physical storage device.

資源タスク番号1461は、物理ストレージ装置が保持している資源タスク2705を表す識別子である。資源タスク番号1461は、物理ストレージ装置内でユニークな番号である。   The resource task number 1461 is an identifier representing the resource task 2705 held by the physical storage device. The resource task number 1461 is a number unique within the physical storage device.

電源状態1462は、資源タスク305の電源状態を表している。資源タスク305の電源がONの状態であれば、“ON”を、電源がOFFの状態であれば、“OFF”を制御プロセッサ124が電源状態1462に入力する。電源状態は、制御プロセッサ124毎に存在する。   A power state 1462 represents the power state of the resource task 305. If the power of the resource task 305 is ON, the control processor 124 inputs “ON”, and if the power is OFF, the control processor 124 inputs “OFF”. A power state exists for each control processor 124.

使用状態1464は、資源タスク305が仮想ストレージ装置106に割り当てられているかどうかを示す情報である。資源タスク305が仮想ストレージ装置106に割り当て済みであれば、“使用中”を、未割り当てであれば、“未使用”を制御プロセッサ124が使用状態1464に入力する。   The use state 1464 is information indicating whether the resource task 305 is assigned to the virtual storage apparatus 106. If the resource task 305 has been assigned to the virtual storage apparatus 106, the control processor 124 inputs “in use”, and if it has not been assigned, the control processor 124 inputs “unused”.

制御プロセッサ番号1465は、資源タスク305が動作する制御プロセッサの識別子である制御プロセッサ番号を表す。   The control processor number 1465 represents a control processor number that is an identifier of the control processor on which the resource task 305 operates.

タスク番号1466は、資源タスクと対応するタスクの番号である。タスク番号1466は、制御プロセッサ124毎にユニークな番号である。ただし、物理ストレージ装置120内の各制御プロセッサ124で動作するOSが、複数の制御プロセッサ124間で並列に動作する一般的なSMP型OSの場合は、タスク番号1466が複数プロセッサ間でユニークになる場合もある。   The task number 1466 is a task number corresponding to the resource task. The task number 1466 is a unique number for each control processor 124. However, when the OS that operates on each control processor 124 in the physical storage device 120 is a general SMP type OS that operates in parallel between a plurality of control processors 124, the task number 1466 is unique among the plurality of processors. In some cases.

図15は、仮想ストレージ資源管理情報411のデータ構造を表している。   FIG. 15 shows the data structure of the virtual storage resource management information 411.

仮想ストレージ資源管理情報1501、1521、1541、1561は、資源と仮想ストレージ装置106の対応関係を保持している。例えば仮想ストレージ資源管理情報1501は、仮想ストレージ装置番号1511とキャッシュエリア1512の対応関係を保持している。また、仮想ストレージ資源管理情報1521は、仮想ストレージ装置番号1531と仮想ボリューム番号1532と、資源ボリューム番号1533の対応関係を保持している。また、仮想ストレージ資源管理情報1541は、ポート番号1552が、どの仮想ストレージ装置番号1551に属しているか、対応関係を保持している。また、仮想ストレージ資源管理情報1561は、仮想ストレージ装置番号1571の仮想ストレージ装置106がどのタスク番号のタスクを保持しているかを示している。   The virtual storage resource management information 1501, 1521, 1541, 1561 holds a correspondence relationship between resources and the virtual storage apparatus 106. For example, the virtual storage resource management information 1501 holds the correspondence between the virtual storage device number 1511 and the cache area 1512. Further, the virtual storage resource management information 1521 holds a correspondence relationship between the virtual storage device number 1531, the virtual volume number 1532, and the resource volume number 1533. Further, the virtual storage resource management information 1541 holds a correspondence relationship to which virtual storage device number 1551 the port number 1552 belongs. Also, the virtual storage resource management information 1561 indicates which task number the virtual storage device 106 of the virtual storage device number 1571 holds.

図16は、仮想ストレージ装置106の全状態をデータとして保存する際のデータ構造である、ストレージイメージデータ1601を表している。   FIG. 16 shows storage image data 1601 that is a data structure for storing the entire state of the virtual storage apparatus 106 as data.

ストレージイメージデータ1601は、仮想ストレージ装置106のサスペンド時に外部ストレージ装置129等に保存される。また、ストレージイメージデータ1601は、仮想ストレージ装置106毎に作成される。   The storage image data 1601 is stored in the external storage device 129 or the like when the virtual storage device 106 is suspended. The storage image data 1601 is created for each virtual storage device 106.

ストレージイメージデータ1601は、仮想ストレージ制御情報401と、ボリュームデータ1603を含む。仮想ストレージ制御情報401はサスペンドした仮想ストレージ装置106に対応する制御情報である。ボリュームデータ1603は、サスペンドした仮想ストレージ装置106に存在する仮想ボリューム111毎に保存されるデータである。   The storage image data 1601 includes virtual storage control information 401 and volume data 1603. The virtual storage control information 401 is control information corresponding to the suspended virtual storage apparatus 106. The volume data 1603 is data stored for each virtual volume 111 existing in the suspended virtual storage apparatus 106.

図17は、ホスト103及び管理サーバ102の、プロセッサ1002が実行する、メモリ1003内にあるプログラム及びデータ構造を表している。   FIG. 17 shows programs and data structures in the memory 1003 executed by the processor 1002 of the host 103 and the management server 102.

ホスト103及び管理サーバ102のメモリ1003は、OS(オペレーションシステム)1703と、ストレージ管理プログラム1704、WWN変更通知プログラム1705、鍵情報1701、WWN情報1702を含む。   The memory 1003 of the host 103 and the management server 102 includes an OS (Operation System) 1703, a storage management program 1704, a WWN change notification program 1705, key information 1701, and WWN information 1702.

ストレージ管理プログラム1704は、仮想ストレージ装置106を管理するためのプログラムである。ストレージ管理プログラム1704は、仮想ストレージ装置106の管理者が、ボリュームコピー機能のペア操作等を実行するためのプログラムである。   The storage management program 1704 is a program for managing the virtual storage device 106. The storage management program 1704 is a program for the administrator of the virtual storage apparatus 106 to execute a volume copy function pair operation or the like.

OS1703は、ポート104を制御して、後述する仮想ストレージ装置106の仮想ボリューム111を認識して、ボリューム1109とする。そして、OS1703はボリューム1109をアプリケーション1706が使用する記憶領域として提供する。   The OS 1703 controls the port 104 to recognize a virtual volume 111 of the virtual storage apparatus 106 described later and sets it as the volume 1109. The OS 1703 provides the volume 1109 as a storage area used by the application 1706.

アプリケーション1706は、ボリューム1109に対してアクセスをするプログラムである。アプリケーション1706は、例えばデータベースソフトウェア等でもよい。   An application 1706 is a program for accessing the volume 1109. The application 1706 may be database software, for example.

鍵情報1701及びWWN情報1702は、管理サーバ102が物理ストレージ装置120のWWNを変更する際に使用される。   The key information 1701 and WWN information 1702 are used when the management server 102 changes the WWN of the physical storage device 120.

図18は、WWN情報1702のデータ構造を示した図である。   FIG. 18 is a diagram showing a data structure of the WWN information 1702.

管理サーバ102は、WWN情報1702をメモリ1003上に保持し、仮想ストレージ装置106のリジューム時にWWN情報1702を参照し、WWN変更通知プログラム1705を起動して、物理ストレージ装置120にWWNの変更を伝える。   The management server 102 holds the WWN information 1702 in the memory 1003, refers to the WWN information 1702 when the virtual storage apparatus 106 is resumed, starts the WWN change notification program 1705, and notifies the physical storage apparatus 120 of the WWN change. .

WWN情報1702は、ホストグループ番号1811、ホスト番号1812、ホストポート番号1813、ホストWWN1814、変更有無1815を項目に含む。   The WWN information 1702 includes a host group number 1811, a host number 1812, a host port number 1813, a host WWN 1814, and a change presence / absence 1815.

ホストグループ番号1811は、仮想ストレージシステムがホストグループ101を識別するための番号である。ホスト番号1812は、ホストグループ101内のホスト103を識別するための番号である。ホストポート番号1813は、ホスト103が内蔵するポート104を識別するための番号である。ホストWWN1814は、ホスト103のポート104のWWNを表す。管理サーバ102は、変更有無1815に、ホスト103のポート104のWWNが変更された場合に、“有”と入力し、変更されていない場合に“無”と入力する。   The host group number 1811 is a number for the virtual storage system to identify the host group 101. The host number 1812 is a number for identifying the host 103 in the host group 101. The host port number 1813 is a number for identifying the port 104 built in the host 103. The host WWN 1814 represents the WWN of the port 104 of the host 103. In the change presence / absence 1815, the management server 102 inputs “Yes” when the WWN of the port 104 of the host 103 is changed, and inputs “None” when it is not changed.

図19は、ホスト側の構成変更の動作を示した図である。   FIG. 19 is a diagram showing the operation of changing the configuration on the host side.

旧ホスト1902Aと管理サーバ102を含むグループにおいて、仮想ストレージシステムをしばらく使用しない状態になり、システム全体を一時的に停止させる場合を想定する。その場合、管理者はホストの動作を停止するため、OSによってサスペンドや、電源OFFを実行する。また、仮想ストレージ装置106もサスペンドするため、管理者は管理サーバ102のストレージ管理プログラム1704からサスペンド指示を出して、仮想ストレージ装置106のサスペンドを実施する。仮想ストレージ装置106のサスペンドの方法の詳細については図27で説明する。   In the group including the old host 1902A and the management server 102, it is assumed that the virtual storage system is not used for a while and the entire system is temporarily stopped. In that case, in order to stop the operation of the host, the administrator executes suspend or power-off by the OS. Since the virtual storage apparatus 106 is also suspended, the administrator issues a suspend instruction from the storage management program 1704 of the management server 102 to suspend the virtual storage apparatus 106. Details of the suspend method of the virtual storage apparatus 106 will be described with reference to FIG.

次に、仮想ストレージシステムを再び使用する際に、仮想ストレージ装置106をリジュームする場合を想定する。そのときに、従来動作していた旧ホスト1902Aは既に廃棄されており、新ホスト1902Bが使用されるとする。旧ホストのポート1906AのWWNが、新ホストのポート1906BのWWNへ変更されたとする。   Next, it is assumed that the virtual storage apparatus 106 is resumed when the virtual storage system is used again. At that time, it is assumed that the old host 1902A, which has been operating conventionally, has already been discarded and the new host 1902B is used. Assume that the WWN of port 1906A of the old host is changed to the WWN of port 1906B of the new host.

管理サーバ102はWWN通知プログラム1705により、このようなWWNの変更を、新ホストを起動する前に、物理ストレージ装置120に送信する。WWN通知プログラム1705は、変更前のWWNと変更後のWWNを、仮想ストレージ装置106に通知する。WWNの変更は、I/F1904からネットワーク105を経由して管理I/F1919に通知される。また、WWNの変更は、ポート1906からネットワーク119を通じて、ポート1910に通知してもよい。具体的には、仮想ストレージ装置が管理のための専用の仮想ボリューム(コマンドデバイスと呼ぶ)を用意し、管理サーバ102からアクセスする。WWN通知プログラム1705の動作の詳細は、後ほど図22で説明する。   The management server 102 uses the WWN notification program 1705 to transmit such a WWN change to the physical storage device 120 before starting the new host. The WWN notification program 1705 notifies the virtual storage apparatus 106 of the WWN before the change and the WWN after the change. The change of WWN is notified from the I / F 1904 to the management I / F 1919 via the network 105. Further, the change of the WWN may be notified from the port 1906 to the port 1910 through the network 119. Specifically, the virtual storage apparatus prepares a dedicated virtual volume (referred to as a command device) for management and accesses from the management server 102. Details of the operation of the WWN notification program 1705 will be described later with reference to FIG.

図20は、仮想ストレージシステム全体における業務再開の動作を示したラダーチャートである。   FIG. 20 is a ladder chart showing the operation restarting operation in the entire virtual storage system.

まず、仮想ストレージ装置106の管理者は、管理サーバ102のGUI画面3102からストレージ装置のリジュームを指示する(2002)。GUI画面3102の詳細は後説する。   First, the administrator of the virtual storage apparatus 106 instructs to resume the storage apparatus from the GUI screen 3102 of the management server 102 (2002). Details of the GUI screen 3102 will be described later.

次に、管理サーバ102は、WWN情報1702を参照する。ホストのWWNが変更されている場合は、管理サーバ102は、ストレージ管理プログラムからWWN通知プログラムを呼び出す(2003)。   Next, the management server 102 refers to the WWN information 1702. If the host WWN has been changed, the management server 102 calls the WWN notification program from the storage management program (2003).

管理サーバ102は、WWN通知プログラムにより、WWNの変更通知を物理ストレージ装置120に送信する(2004)。送信内容については後に図23に示す。   The management server 102 transmits a WWN change notification to the physical storage device 120 using the WWN notification program (2004). The contents of transmission will be shown later in FIG.

物理ストレージ装置120は、WWNの変更通知を受信する。WWN変更通知受信処理が完了したら(2005、2006)、管理サーバ102は、ストレージ管理プログラムで、物理ストレージ装置120に仮想ストレージ装置106のリジューム指示を送信する(2007)。   The physical storage device 120 receives a WWN change notification. When the WWN change notification reception process is completed (2005, 2006), the management server 102 transmits a resume instruction for the virtual storage apparatus 106 to the physical storage apparatus 120 using the storage management program (2007).

リジューム指示(2007)を受信したら、仮想ストレージ装置106はリジューム処理を実行し、結果(正常又は異常、異常の場合はその理由)をストレージ管理プログラムに返す。ストレージ管理プログラム1702によって、管理サーバ102は、リジューム処理の結果と異常ならその理由を管理サーバ102のGUI画面3102にメッセージとして表示する。リジューム処理が正常終了した場合(2008)、ホストの管理者は、ホストを起動する(2010)。   When receiving the resume instruction (2007), the virtual storage apparatus 106 executes the resume process, and returns the result (normal or abnormal, the reason in case of abnormality) to the storage management program. With the storage management program 1702, the management server 102 displays the result of the resume process and the reason for abnormality as a message on the GUI screen 3102 of the management server 102. When the resume process ends normally (2008), the host administrator activates the host (2010).

図21は、ホスト側の起動時の動作を示したフローチャートである。   FIG. 21 is a flowchart showing the operation at the time of starting on the host side.

仮想ストレージ装置106の管理者等が、ホスト103の電源をON又はリジュームすると、ホスト103は、まずOS1103を起動する(ステップ2101)。一般的にホスト103は、OS1703をホスト1902の内部のHDD1004等に格納している。ホストは起動時に、OS1703を内部のHDD1004からメモリ1003上にコピーし、プロセッサ1002がメモリ1003上のOS1703を実行する。一般に、ホスト103は、OS1703の起動により、ハードウェアの初期設定等を実行する。   When the administrator of the virtual storage apparatus 106 turns on or resumes the power of the host 103, the host 103 first activates the OS 1103 (step 2101). In general, the host 103 stores the OS 1703 in the HDD 1004 or the like inside the host 1902. When the host starts up, the OS 1703 is copied from the internal HDD 1004 to the memory 1003, and the processor 1002 executes the OS 1703 on the memory 1003. In general, the host 103 executes initial setting of hardware and the like when the OS 1703 is activated.

次に、ホストは物理ストレージ装置120のポート122に対して、デバイスリストを要求する(ステップ2102)。デバイスリストはホストがアクセス可能なLUを示す一覧表である。デバイスリストの要求の際に、ホスト103は、ポート104のWWNを物理ストレージ装置120に通知する。WWNは物理ストレージ装置120がポート104を一意に特定するために使用する識別子である。   Next, the host requests a device list from the port 122 of the physical storage device 120 (step 2102). The device list is a list indicating LUs accessible by the host. When requesting the device list, the host 103 notifies the physical storage device 120 of the WWN of the port 104. The WWN is an identifier used by the physical storage device 120 to uniquely identify the port 104.

次に、ホスト103はデバイスリストを物理ストレージ装置120から受信する(ステップ2103)。   Next, the host 103 receives the device list from the physical storage device 120 (step 2103).

次に、ホスト103は、受信したデバイスリストのLUをボリュームとして認識する(ステップ2104)。認識とは、例えば、一般的なOSにおけるボリュームのマウント機能に相当する。認識後は、LUは、ホスト103で動作するアプリケーションからボリュームへの読み書きが可能な状態になる。   Next, the host 103 recognizes the LU of the received device list as a volume (step 2104). The recognition corresponds to, for example, a volume mounting function in a general OS. After recognition, the LU is ready to read and write to the volume from an application running on the host 103.

次に、ホスト103でアプリケーションを実行する(ステップ2105)。   Next, an application is executed on the host 103 (step 2105).

図22は、WWN変更通知プログラムの動作を示したフローチャートである。   FIG. 22 is a flowchart showing the operation of the WWN change notification program.

管理サーバ102は、ストレージ管理プログラム1704により、GUI画面3102でレジュームを指示する際にWWN変更通知プログラム1705を呼び出す。その際に、管理サーバ102は、レジューム対象の仮想ストレージ装置番号と、GUI画面3102より入力した、変更後のWWN、変更前のWWNを指定する。   The management server 102 calls the WWN change notification program 1705 when the storage management program 1704 instructs the resume on the GUI screen 3102. At that time, the management server 102 designates the virtual storage device number to be resumed, the changed WWN and the changed WWN input from the GUI screen 3102.

ストレージ管理プログラム1102がWWN変更通知プログラム1705を実行すると、管理サーバ102は、WWN変更通知パケット2301を作成する(ステップ2201)。WWN変更通知パケット2301の詳細は後ほど説明する。   When the storage management program 1102 executes the WWN change notification program 1705, the management server 102 creates a WWN change notification packet 2301 (step 2201). Details of the WWN change notification packet 2301 will be described later.

管理サーバ102は、作成したWWN変更通知パケット2301とともにWWN変更通知を送信する(ステップ2202)。   The management server 102 transmits a WWN change notification together with the created WWN change notification packet 2301 (step 2202).

図23は、WWN変更通知パケット2301のデータ構造を表した図である。   FIG. 23 is a diagram illustrating a data structure of the WWN change notification packet 2301.

WWN変更通知パケット2301は、仮想ストレージ装置番号2311、変更後のWWN2312、変更前のWWN2313、鍵情報2314を含む。   The WWN change notification packet 2301 includes a virtual storage device number 2311, a WWN 2312 after the change, a WWN 2313 before the change, and key information 2314.

管理サーバ102はWWN変更通知プログラム1107により、WWN変更通知パケット2301を作成する。   The management server 102 creates a WWN change notification packet 2301 using the WWN change notification program 1107.

管理サーバ102は、WWN変更通知プログラムが、ストレージ管理プログラムから受け取った、レジューム対象の仮想ストレージ装置番号2311、変更後のWWN2312、変更前のWWN2313をWWN変更通知パケット2301に入力する。また、管理サーバ102は、前記仮想ストレージ装置番号2311に対応するメモリ1003上に保持している鍵情報1701をWWN変更通知パケット2301に入力して、WWN変更通知パケット2301を作成する。   In the management server 102, the WWN change notification program inputs the resume target virtual storage device number 2311, the changed WWN 2312, and the WWN 2313 before the change received from the storage management program into the WWN change notification packet 2301. Further, the management server 102 inputs the key information 1701 held on the memory 1003 corresponding to the virtual storage device number 2311 to the WWN change notification packet 2301 to create the WWN change notification packet 2301.

図24は、物理ストレージ装置120が実行する、WWN変更通知受信処理424を示したフローチャートである。   FIG. 24 is a flowchart showing the WWN change notification reception process 424 executed by the physical storage device 120.

物理ストレージ装置124は、ホスト103側で実行するWWN変更通知プログラム1705の通知を受信するため、WWN変更通知受信処理を実行する。   The physical storage device 124 executes WWN change notification reception processing in order to receive the notification of the WWN change notification program 1705 executed on the host 103 side.

物理ストレージ装置124は、WWN変更通知プログラム1705によって、WWN変更通知を受信すると(ステップ2401)、認証処理を実行する(ステップ2402)。物理ストレージ装置120は、認証処理を実行することによって、WWNの変更をセキュアに行う。つまり、物理ストレージ装置120が、認証処理を実行する目的は、認証処理で正しいと認識できる、限られたホストだけがWWNの設定を変更できるようにすることである。物理ストレージ装置120は、WWN変更通知プログラム1705がホスト側で保持している鍵情報をステップ2401で受信し、ストレージ側で保持している鍵情報と照合し、鍵情報が正しいかを認証する。鍵情報の認証は、ハッシュ関数等を使用する方式等、一般的に知られている認証方式で実装してもよい。また、管理サーバ102のGUI画面3101へのログイン時に、仮想ストレージ装置の管理者を認証し、管理I/F1111へのアクセスを管理サーバに限定する方式を採用してもよい。その場合は、既に管理サーバのGUI画面で認証が済んでいるため、WWN通知プログラム1705の実行時に、前記の鍵情報で認証しなくてもよい。   When the WWN change notification program 1705 receives the WWN change notification (step 2401), the physical storage device 124 executes an authentication process (step 2402). The physical storage device 120 securely changes the WWN by executing an authentication process. In other words, the purpose of executing the authentication process by the physical storage device 120 is to allow only a limited host that can be recognized as correct in the authentication process to change the WWN setting. The physical storage device 120 receives the key information held by the WWN change notification program 1705 on the host side in step 2401, compares it with the key information held on the storage side, and authenticates whether the key information is correct. Authentication of key information may be implemented by a generally known authentication method such as a method using a hash function or the like. Also, a method may be employed in which, when logging in to the GUI screen 3101 of the management server 102, the administrator of the virtual storage apparatus is authenticated and access to the management I / F 1111 is limited to the management server. In that case, since authentication has already been completed on the GUI screen of the management server, it is not necessary to authenticate with the key information when the WWN notification program 1705 is executed.

ステップ2402の認証処理の結果、認証に成功したら(ステップ2403のY)、WWN変更通知情報212を書き換える。具体的には、制御プロセッサ124が、WWN変更通知受信処理がステップ2401で受信した、LUNと変更後のWWNの内容を、対象の仮想ストレージ装置番号と受信したポートのポート番号とともに、WWN変更通知情報252に追加する。管理サーバ102が、WWN変更通知受信処理が認証に失敗したら(ステップ2403のN)、終了する。   As a result of the authentication process in step 2402, if the authentication is successful (Y in step 2403), the WWN change notification information 212 is rewritten. Specifically, the control processor 124 receives the WWN change notification received in step 2401, the LUN and the changed WWN contents, together with the target virtual storage device number and the port number of the received port. It adds to the information 252. If the management server 102 fails the authentication of the WWN change notification reception process (N in Step 2403), the management server 102 ends.

このようにして、ステップ2402の認証処理により、鍵を持っている管理サーバ102のみがWWNの変更ができるようになり、WWNの変更をセキュアに実行できる。   In this way, only the management server 102 having the key can change the WWN by the authentication processing in step 2402, and the WWN can be changed securely.

図25は、WWN変更通知情報212を示した図である。   FIG. 25 is a diagram showing the WWN change notification information 212.

物理ストレージ装置120は、WWN変更通知情報252に、ホスト側が通知したWWN変更通知を、つまりWWN変更通知受信処理424が受信した結果を保存する。WWN変更通知情報252は、仮想ストレージ装置番号2511、ポート番号2512、LUN2513、変更通知有無情報2514、変更後のWWN情報2515、変更前のWWN情報2516を含む。仮想ストレージ装置番号2511は、WWNの変更対象となるボリュームが属している仮想ストレージ装置番号を示している。ポート番号2512はWWNの変更対象となるボリュームが属しているポートを示している。LUN番号2513は、WWNの変更対象となるボリュームを示している。変更通知有無情報2514は、ホストから変更通知を受信している場合に“Y”、受信していない場合に“N”を入れられる。変更後のWWN情報2515は、ホストから変更通知を受信した場合に、変更後のWWNが入力される。物理ストレージ装置120は、ホストから変更通知を受信した場合に、変更前のWWN情報2516に、変更前のWWNを入力する。   The physical storage device 120 stores, in the WWN change notification information 252, the WWN change notification notified by the host, that is, the result received by the WWN change notification reception process 424. The WWN change notification information 252 includes a virtual storage device number 2511, a port number 2512, a LUN 2513, a change notification presence / absence information 2514, WWN information 2515 after change, and WWN information 2516 before change. The virtual storage device number 2511 indicates the virtual storage device number to which the volume that is the WWN change target belongs. A port number 2512 indicates a port to which a volume to be changed by WWN belongs. The LUN number 2513 indicates the volume for which the WWN is to be changed. The change notification presence / absence information 2514 is set to “Y” when a change notification is received from the host, and “N” when it is not received. The changed WWN information 2515 receives the changed WWN when a change notification is received from the host. When receiving a change notification from the host, the physical storage device 120 inputs the WWN before the change into the WWN information 2516 before the change.

図26は、ホストコマンド処理223の動作を示したフローチャートである。   FIG. 26 is a flowchart showing the operation of the host command processing 223.

物理ストレージ装置120は、ホストからホストコマンド命令を受信したときに、ホストコマンド処理423が実行される(ステップ2601)。具体的には、制御プロセッサ124やポート122に内蔵したプロトコル制御回路等が、ポート122の状態をチェックすることにより、ホストコマンド命令の受信を認識し、ホストコマンド処理423の実行を開始する。物理ストレージ装置120は、仮想ストレージ資源管理情報1541を参照し、ポートに対応する仮想ストレージ装置番号を算出する(ステップ2602)。次に、物理ストレージ装置120は、仮想ストレージ資源管理情報1561を参照し、仮想ストレージ装置106に対応する仮想制御部からタスクを算出する(ステップ2603)。   When the physical storage device 120 receives a host command command from the host, host command processing 423 is executed (step 2601). Specifically, the protocol control circuit or the like built in the control processor 124 or the port 122 checks the status of the port 122 to recognize the reception of the host command command and starts executing the host command processing 423. The physical storage device 120 refers to the virtual storage resource management information 1541 and calculates a virtual storage device number corresponding to the port (step 2602). Next, the physical storage device 120 refers to the virtual storage resource management information 1561 and calculates a task from the virtual control unit corresponding to the virtual storage device 106 (step 2603).

以降のステップは、各仮想ストレージ装置106に割り当てた計算資源であるタスクが実行する。各仮想ストレージ装置106がホストコマンド処理を行う計算資源を仮想ストレージ装置ごとに独立に保有することで、他の仮想ストレージ装置への性能影響を極力排除するためである。一方、ステップ2603でタスクを算出するまでは、特定の制御プロセッサ124上で動作するタスクが、計算する。   The subsequent steps are executed by a task that is a computational resource assigned to each virtual storage device 106. This is because each virtual storage apparatus 106 has a computing resource for performing host command processing independently for each virtual storage apparatus, thereby eliminating the performance influence on other virtual storage apparatuses as much as possible. On the other hand, until the task is calculated in step 2603, the task operating on the specific control processor 124 calculates.

次に、物理ストレージ装置120は、ホストから受信したホストコマンド命令を解析する(ステップ2604)。具体的には、ホストコマンド命令は、ホストコマンドの種別や、どのLUNに対するコマンドであるか等である。   Next, the physical storage device 120 analyzes the host command command received from the host (step 2604). Specifically, the host command instruction is the type of host command, which LUN the command is for, and the like.

ホストコマンドの種別がデバイスリストの要求であった場合(ステップ2609のY)、物理ストレージ装置は、デバイスリスト通知処理を実行する(ステップ2610)。デバイスリスト通知処理を以下説明する。ホスト103がログイン要求を送信する。そして、物理ストレージ装置120はホスト103が送信したポートのWWNを受信する。そして、物理ストレージ装置120は、受信したポート122に対応する仮想ストレージ装置106のLUNセキュリティ情報403を参照し、ポート番号及びホストから受信したWWNからアクセス可能なLUの識別子、すなわちLUNのリストであるデバイスリストをホストに送信する。以上がデバイスリスト通知処理の処理内容である。   When the type of the host command is a device list request (Y in Step 2609), the physical storage device executes device list notification processing (Step 2610). The device list notification process will be described below. The host 103 transmits a login request. Then, the physical storage device 120 receives the port WWN transmitted by the host 103. Then, the physical storage device 120 refers to the LUN security information 403 of the virtual storage device 106 corresponding to the received port 122, and is a list of LUNs that are accessible from the port number and WWN received from the host, that is, a list of LUNs. Send device list to host. The above is the processing content of the device list notification processing.

ステップ2604の解析の結果、ホストコマンドの種別がデバイスリストの要求ではなく(ステップ2609のN)、ホストコマンドの種別がI/O要求であった場合(ステップ2605のY)、I/O処理を実行する。I/O処理を以下説明する。制御部123では、I/O処理の性能向上を目的とし、頻繁にアクセスされるデータがキャッシュメモリに配置される。また、制御部123は、どの記憶領域のデータがキャッシュメモリ上に配置されているかを管理している。データがキャッシュメモリ上にない(キャッシュミス)場合は、制御部123は、ステップ2604で解析したLUNから、LUNマッピング情報404を参照し、対象の仮想ボリューム番号612を調べ、仮想ストレージ資源管理情報1521を参照して資源ボリューム番号1533を調べる。また、物理ストレージ制御情報410を参照し、資源ボリューム番号1533から調べ、資源ボリュームの属する物理位置を、パリティグループ情報1026から調べる。また、データがキャッシュメモリ上にある(キャッシュヒット)の場合、仮想ストレージ資源管理情報1501を参照し、対応するキャッシュエリア1512を求め、資源キャッシュメモリ制御情報902を参照し、キャッシュエリアに対応する物理位置のメモリスロット番号1345とオフセットを求める(ステップ2606)。次に、writeコマンドの場合、制御部123は、ホスト側からステップ2606で特定した物理位置にデータ転送を実行する。また、readコマンドの場合、制御部123は、ステップ2606で特定した物理位置から、ホスト側にデータ転送を実行する(ステップ2607)。転送が完了したら、物理ストレージ装置120は、ホストに完了メッセージを通知する(ステップ2608)。以上がI/O処理の説明である。   As a result of the analysis in step 2604, if the host command type is not a device list request (N in step 2609) and the host command type is an I / O request (Y in step 2605), I / O processing is performed. Execute. The I / O process will be described below. In the control unit 123, frequently accessed data is arranged in the cache memory for the purpose of improving the performance of I / O processing. In addition, the control unit 123 manages which storage area data is arranged on the cache memory. If the data is not in the cache memory (cache miss), the control unit 123 refers to the LUN mapping information 404 from the LUN analyzed in step 2604, examines the target virtual volume number 612, and virtual storage resource management information 1521. To check the resource volume number 1533. Further, the physical storage control information 410 is referred to, the resource volume number 1533 is checked, and the physical position to which the resource volume belongs is checked from the parity group information 1026. When the data is on the cache memory (cache hit), the virtual storage resource management information 1501 is referred to determine the corresponding cache area 1512, the resource cache memory control information 902 is referred to, and the physical corresponding to the cache area is obtained. The memory slot number 1345 of the position and the offset are obtained (step 2606). Next, in the case of a write command, the control unit 123 executes data transfer from the host side to the physical location specified in Step 2606. In the case of a read command, the control unit 123 executes data transfer from the physical position specified in Step 2606 to the host side (Step 2607). When the transfer is completed, the physical storage device 120 notifies the host of a completion message (step 2608). The above is the description of the I / O processing.

以上説明したホストコマンド処理のうち、ステップ2601から2603の部分は、制御部123の制御プロセッサ124で処理してもよいし、ポート122に内蔵したプロトコル制御回路で実行してもよい。   Of the host command processing described above, steps 2601 to 2603 may be processed by the control processor 124 of the control unit 123 or may be executed by a protocol control circuit built in the port 122.

図27は、仮想ストレージ装置106のサスペンド処理421の動作を示したフローチャートである。   FIG. 27 is a flowchart showing the operation of the suspend process 421 of the virtual storage apparatus 106.

仮想ストレージ装置106の管理者が、管理サーバ102のGUIからサスペンドを指示しする。そして、管理サーバ102がネットワーク105及び管理I/F107を経由して、仮想ストレージ装置106にサスペンドの指示を送信する。そして、仮想ストレージ装置106のサスペンド処理421が実行される。   The administrator of the virtual storage device 106 instructs suspend from the GUI of the management server 102. Then, the management server 102 transmits a suspend instruction to the virtual storage apparatus 106 via the network 105 and the management I / F 107. Then, the suspend process 421 of the virtual storage device 106 is executed.

物理ストレージ装置120は、サスペンド処理221が実行されると、コマンド処理を動作不可に、つまり、ホスト103からのコマンド命令を無視するようにする(ステップ2701)。   When the suspend process 221 is executed, the physical storage device 120 disables the command process, that is, ignores the command command from the host 103 (step 2701).

次に、物理ストレージ装置120は、キャッシュメモリ上にあるwriteデータをボリュームに退避する(ステップ2702)。これは、キャッシュメモリがRAM等の揮発メモリで実装されているためである。キャッシュメモリ上のwriteデータがディスクに反映されていない場合、キャッシュメモリの電源がOFFになると、キャッシュメモリ上のwriteデータが揮発し、復元できなくなる。   Next, the physical storage device 120 saves the write data on the cache memory to the volume (step 2702). This is because the cache memory is implemented by a volatile memory such as a RAM. When the write data on the cache memory is not reflected on the disk, the write data on the cache memory is volatilized and cannot be restored when the power of the cache memory is turned off.

次に、物理ストレージ装置120は、仮想ストレージ制御情報201を、ストレージイメージデータ1601の保存先である物理ストレージ装置129に保存する(ステップ2703)。   Next, the physical storage device 120 stores the virtual storage control information 201 in the physical storage device 129 that is the storage destination of the storage image data 1601 (step 2703).

次に、物理ストレージ装置120は、ボリュームデータをストレージイメージデータ1601の保存先である物理ストレージ装置129に保存する(ステップ2704)。   Next, the physical storage device 120 stores the volume data in the physical storage device 129 that is the storage destination of the storage image data 1601 (step 2704).

ステップ2704は、サスペンド対象の仮想ストレージ装置106に含まれる仮想ボリュームすべてに対して実行される(ステップ2705)。   Step 2704 is executed for all virtual volumes included in the suspended virtual storage apparatus 106 (step 2705).

サスペンド対象の仮想ストレージ装置106に含まれる仮想ボリュームすべてに対して実行が終わったら、資源の解放処理を実行する(ステップ2706)。   When the execution is completed for all the virtual volumes included in the virtual storage apparatus 106 to be suspended, a resource release process is executed (step 2706).

仮想ストレージ装置106のサスペンド後、物理ストレージ装置129の電源をOFFにしてもよい。   After the virtual storage device 106 is suspended, the physical storage device 129 may be turned off.

図28は、仮想ストレージ装置106のサスペンド処理における資源解放処理の動作を示したフローチャートである。   FIG. 28 is a flowchart showing the operation of resource release processing in the suspend processing of the virtual storage apparatus 106.

物理ストレージ装置120は、資源解放処理が実行されると、まず解放する資源を決定する(ステップ2801)。具体的には、制御プロセッサ124が、仮想ストレージ資源管理情報411を参照する。そして、制御プロセッサ124は、サスペンド対象となる仮想ストレージ装置番号に割り当てた資源を、解放解放する資源として決定する。   When the resource release process is executed, the physical storage device 120 first determines a resource to be released (step 2801). Specifically, the control processor 124 refers to the virtual storage resource management information 411. Then, the control processor 124 determines the resource assigned to the virtual storage device number to be suspended as a resource to be released and released.

次に、制御プロセッサ124は、解放する資源に対応する仮想ストレージ資源管理情報411と物理ストレージ制御情報を更新する(ステップ2802)。具体的には、以下の3点を実施する。
(1)制御プロセッサ124は、解放解放の対象の資源の制御情報(資源ボリューム制御情報3201、資源キャッシュメモリ制御情報902、資源タスク制御情報903)の使用状態を“未使用”にする。
(2)制御プロセッサ124は、仮想ストレージ資源管理情報411のうち、サスペンド対象の仮想ストレージ装置番号の項目で、解放する資源に対応する項目を削除する。
(3)解放の対象の資源が資源ボリュームの場合、制御プロセッサ124は、まず資源ボリューム制御情報901を参照し、資源に対応するパリティグループ番号1026を求める。その後、制御プロセッサ124は、パリティグループ制御情報904を参照し、パリティグループに対応する物理ディスク番号リスト1112を求める。その後、制御プロセッサ124は、物理ディスク番号リスト1112に含む物理ディスク番号について、物理ディスク制御情報905を参照し、電源カウンタ1213を1引いた値に変更する。
Next, the control processor 124 updates the virtual storage resource management information 411 and physical storage control information corresponding to the resource to be released (step 2802). Specifically, the following three points are implemented.
(1) The control processor 124 sets the usage state of the control information (resource volume control information 3201, resource cache memory control information 902, resource task control information 903) of the resource to be released / released to “unused”.
(2) The control processor 124 deletes the item corresponding to the resource to be released from the items of the virtual storage device number to be suspended in the virtual storage resource management information 411.
(3) When the resource to be released is a resource volume, the control processor 124 first refers to the resource volume control information 901 and obtains a parity group number 1026 corresponding to the resource. Thereafter, the control processor 124 refers to the parity group control information 904 to obtain a physical disk number list 1112 corresponding to the parity group. Thereafter, the control processor 124 refers to the physical disk control information 905 for the physical disk numbers included in the physical disk number list 1112 and changes the power supply counter 1213 to a value obtained by subtracting one.

次に、物理ストレージ装置120は、解放する各資源について、電源がOFFにできるかどうかをチェックする(ステップ2803)。   Next, the physical storage device 120 checks whether the power can be turned off for each resource to be released (step 2803).

具体的には、制御プロセッサ124が、まず解放する資源に対応する物理資源を求める。   Specifically, the control processor 124 first obtains a physical resource corresponding to the resource to be released.

解放される資源が資源キャッシュメモリの場合、制御プロセッサ124は、資源キャッシュメモリ制御情報902を参照し、資源に対応する物理資源のメモリスロット番号1345を求める。その後、制御プロセッサ124は、メモリスロット番号に対応する使用状態1344がすべて未使用であるかどうかをチェックする。使用状態1344がすべて未使用であった場合のみ、その物理資源は電源のOFFの対象となる。   When the resource to be released is the resource cache memory, the control processor 124 refers to the resource cache memory control information 902 and obtains the memory slot number 1345 of the physical resource corresponding to the resource. Thereafter, the control processor 124 checks whether or not all the usage states 1344 corresponding to the memory slot numbers are unused. Only when all of the usage states 1344 are unused, the physical resource is a target to be turned off.

解放される資源が資源タスクの場合、制御プロセッサ124は、資源タスク制御情報903を参照し、資源に対応する物理資源のタスク番号1466を求める。その後、制御プロセッサ124は、タスク番号に対応する制御プロセッサ番号1465を求め、制御プロセッサ番号1465に対応する使用状態1464がすべて未使用であるかどうかをチェックする。使用状態1464がすべて未使用であった場合のみ、その物理資源は電源のOFFの対象となる。   When the resource to be released is a resource task, the control processor 124 refers to the resource task control information 903 and obtains the task number 1466 of the physical resource corresponding to the resource. Thereafter, the control processor 124 obtains the control processor number 1465 corresponding to the task number, and checks whether or not all the usage states 1464 corresponding to the control processor number 1465 are unused. Only when all the usage states 1464 are unused, the physical resource is the target of power-off.

解放される資源が資源ボリュームの場合、まず制御プロセッサ124は、資源ボリューム制御情報901を参照し、資源に対応するパリティグループ番号1026を求める。その後、制御プロセッサ124は、パリティグループ制御情報904を参照し、パリティグループに対応する物理ディスク番号リスト1112を求める。その後、制御プロセッサ124は、物理ディスク番号リスト1112に含む物理ディスク番号について、物理ディスク制御情報905をチェックする。制御プロセッサ124は、電源カウンタ1213の値が0になっている物理ドライブのみを電源のOFFの対象とする。   When the resource to be released is a resource volume, first, the control processor 124 refers to the resource volume control information 901 and obtains a parity group number 1026 corresponding to the resource. Thereafter, the control processor 124 refers to the parity group control information 904 to obtain a physical disk number list 1112 corresponding to the parity group. Thereafter, the control processor 124 checks the physical disk control information 905 for the physical disk numbers included in the physical disk number list 1112. The control processor 124 sets only the physical drive for which the value of the power supply counter 1213 is 0 as the target of power OFF.

補足すると、対象の物理資源を起動するとき、制御プロセッサ124は、電源カウンタ1213の値に1を足す。この電源カウンタが0のときは、その物理資源はどの仮想ストレージ装置106にも割り当てられていない状態であることを表す。詳細は、図26の資源準備処理のフローチャートにて説明する。また、後説する資源解放処理のステップ2805及び資源準備処理のステップ3007で、物理ストレージ装置120は、電源カウンタ又は使用状態を、その資源を使っている仮想ストレージ装置106の有無を表すように更新する。   Supplementally, when starting the target physical resource, the control processor 124 adds 1 to the value of the power supply counter 1213. When this power supply counter is 0, it indicates that the physical resource is not assigned to any virtual storage device 106. Details will be described with reference to the flowchart of the resource preparation process of FIG. In step 2805 of resource release processing and step 3007 of resource preparation processing, which will be described later, the physical storage device 120 updates the power supply counter or the usage state so as to indicate the presence or absence of the virtual storage device 106 that uses the resource. To do.

次に、物理資源が電源OFFの対象であった場合(ステップ2803のY)、電源をOFFにする(ステップ2804)。具体的には、ハードディスクの場合、電源OFFの処理は、スピンダウン処理や、完全に電源を停止する処理でもよい。   Next, when the physical resource is a target to be turned off (Y in Step 2803), the power is turned off (Step 2804). Specifically, in the case of a hard disk, the power-off process may be a spin-down process or a process of completely stopping the power.

また、物理資源が電源OFFの対象でなかった場合(ステップ2803のN)、制御プロセッサ124は、ステップ2806へ処理を進める。   If the physical resource is not the target to be turned off (N in Step 2803), the control processor 124 advances the process to Step 2806.

次に、制御プロセッサ124は、電源をOFFにする物理資源に対応する物理ストレージ制御情報を更新する(ステップ2805)。   Next, the control processor 124 updates physical storage control information corresponding to the physical resource whose power is to be turned off (step 2805).

具体的には、電源をOFFにする物理資源がメモリスロットの場合、制御プロセッサ124が、資源キャッシュメモリ制御情報902の、対象のメモリスロット番号1345に対応する電源状態1342をOFFにする。   Specifically, when the physical resource whose power is to be turned off is a memory slot, the control processor 124 turns off the power state 1342 corresponding to the target memory slot number 1345 in the resource cache memory control information 902.

電源をOFFにする物理資源が物理ドライブの場合、制御プロセッサ124が、物理ディスク制御情報905の、対象の物理ディスク番号に対応する電源状態1212をOFFにする。   When the physical resource whose power is to be turned off is a physical drive, the control processor 124 turns off the power state 1212 corresponding to the target physical disk number in the physical disk control information 905.

電源をOFFにする物理資源が制御プロセッサ124の場合、制御プロセッサ124が、資源タスク制御情報903の、対象の制御プロセッサ番号1465に対応する電源状態1462をOFFにする。   When the physical resource whose power is to be turned off is the control processor 124, the control processor 124 turns off the power state 1462 corresponding to the target control processor number 1465 in the resource task control information 903.

すべての資源を処理していない場合(ステップ2806のN)、次の資源について、ステップ2802から処理を進める。すべての資源を処理したら(ステップ2806のY)、終了する。   If all the resources have not been processed (N in Step 2806), the process proceeds from Step 2802 for the next resource. When all the resources have been processed (Y in step 2806), the process ends.

制御部123は、制御プロセッサ124の電源をONすることができる制御回路が搭載される。ストレージ装置のリジューム時、管理サーバは制御回路と通信し、まず制御プロセッサ124の電源をONにする。次に、制御プロセッサ124は、関連する物理ドライブ等の資源について、電源をONにする。ストレージ装置のサスペンド時は、制御プロセッサ124が関連する物理ドライブ等の資源の電源をOFFにした後、制御プロセッサ124自身が制御プロセッサ124の電源をOFFにする。   The control unit 123 is equipped with a control circuit that can turn on the power of the control processor 124. When the storage device is resumed, the management server communicates with the control circuit and first turns on the power of the control processor 124. Next, the control processor 124 turns on the power for the related resource such as a physical drive. When the storage apparatus is suspended, the control processor 124 itself turns off the power of the control processor 124 after turning off the power of the related resource such as a physical drive.

また、あらかじめ予約された制御プロセッサを一個以上用意し、予約された制御プロセッサは、電源OFFの対象からはずすようにすることにより、リジュームを実行可能にしてもよい。   In addition, one or more reserved control processors may be prepared, and the reserved control processors may be resumed by removing them from the power-off target.

図29は、仮想ストレージ装置106のリジューム処理422の動作を示したフローチャートである。   FIG. 29 is a flowchart showing the operation of the resume process 422 of the virtual storage apparatus 106.

仮想ストレージ装置106の管理者が、管理サーバ102のGUIからリジュームを指示する。そして、管理サーバ102が、ネットワーク105及び管理I/F107を経由して、仮想ストレージ装置106にリジュームの指示を送信する。そして、仮想ストレージ装置106のリジューム処理422が実行される。   The administrator of the virtual storage apparatus 106 instructs resumption from the GUI of the management server 102. Then, the management server 102 transmits a resume instruction to the virtual storage apparatus 106 via the network 105 and the management I / F 107. Then, the resume process 422 of the virtual storage device 106 is executed.

物理ストレージ装置120は、リジューム処理が実行されると、まず物理ストレージ装置129等に保存したストレージイメージデータ1601から仮想ストレージ制御情報を制御メモリ125上に読み込む(ステップ2901)。サスペンドの際に、物理ストレージ装置129の電源をOFFにした場合、仮想ストレージ制御情報401を制御メモリ125上に読み込むために、物理ストレージ装置120は物理ストレージ装置129の電源をONにする。   When the resume process is executed, the physical storage device 120 first reads virtual storage control information from the storage image data 1601 stored in the physical storage device 129 or the like onto the control memory 125 (step 2901). When the physical storage device 129 is turned off during suspension, the physical storage device 120 turns on the physical storage device 129 in order to read the virtual storage control information 401 into the control memory 125.

次に、物理ストレージ装置120は、資源を準備する(ステップ2902)。資源の準備処理については、後ほど別のフローチャートを用いて説明する。資源の準備処理が終了すると、仮想ストレージ装置106の資源の電源がONになる等により、仮想ボリューム等が使用可能になる。   Next, the physical storage device 120 prepares resources (step 2902). The resource preparation process will be described later using another flowchart. When the resource preparation process is completed, the virtual volume or the like can be used by turning on the power of the resource of the virtual storage apparatus 106.

次に、物理ストレージ装置120は、ストレージイメージデータ1601から、ボリュームデータを仮想ボリュームに回復する(ステップ2903)。   Next, the physical storage device 120 recovers the volume data from the storage image data 1601 to a virtual volume (step 2903).

次に、物理ストレージ装置120は、ストレージイメージデータ301から、仮想ストレージ制御情報を制御メモリ125に回復する(ステップ2904)。   Next, the physical storage device 120 recovers the virtual storage control information from the storage image data 301 to the control memory 125 (step 2904).

次に、物理ストレージ装置120は、WWN変更通知情報412をチェックする(ステップ2905)。WWN変更通知情報412はホスト103のポート104のWWNの変更を検出した際に、物理ストレージ装置120に通知される情報である。   Next, the physical storage device 120 checks the WWN change notification information 412 (step 2905). The WWN change notification information 412 is information that is notified to the physical storage device 120 when a WWN change of the port 104 of the host 103 is detected.

次に、LUNセキュリティ情報403の変更が必要な場合に(ステップ2906のY)、LUNセキュリティ情報403のWWNが変更される(ステップ2907)。具体的には、物理ストレージ装置120はWWN変更通知情報412の、対象の仮想ストレージ装置番号の項目で、変更通知有無2514を参照する。変更通知有無2514がYの項目について、変更後のWWN2515が、LUNセキュリティ情報403のWWNに変更される。   Next, when the LUN security information 403 needs to be changed (Y in Step 2906), the WWN of the LUN security information 403 is changed (Step 2907). Specifically, the physical storage device 120 refers to the change notification presence / absence 2514 in the item of the target virtual storage device number in the WWN change notification information 412. For the item for which the change notification presence / absence 2514 is Y, the changed WWN 2515 is changed to the WWN of the LUN security information 403.

次に、物理ストレージ装置120は、ホストコマンド処理を動作可能にする(ステップ2908)。具体的には、物理ストレージ装置120は、制御プロセッサ124やポート122に内蔵したプロトコル制御回路等がポートの状態のチェックを開始することにより、ホストコマンド命令の受信を認識できるようにする。ホストからのコマンド要求、また、LUNセキュリティ情報403の変更が不要な場合は(ステップ2906のN)、ステップ2908に進む。   Next, the physical storage device 120 enables host command processing (step 2908). Specifically, the physical storage device 120 makes it possible to recognize the reception of the host command command by starting the check of the state of the port by the protocol control circuit or the like built in the control processor 124 or the port 122. If a command request from the host or the LUN security information 403 need not be changed (N in Step 2906), the process proceeds to Step 2908.

以上のように、第1の実施形態においては、WWN変更通知プログラム1705によって、ホスト1902が、物理ストレージ装置120に新しいWWNを通知する。そして、ステップ2907において物理ストレージ装置120はLUNセキュリティ情報403における古いポートのWWNを新しいポートのWWNに更新する。この結果、物理ストレージ装置120はデバイスリスト通知処理(ステップ2610)において、新しいWWNに対しても、仮想ストレージ装置106のサスペンドの前にホスト1902に送信していたデバイスリストと同じ内容のデバイスリストをホスト1902に送信することができる。このため、ホスト1902は仮想ストレージ装置106のサスペンドの後にWWNを変更した場合においても、サスペンドの前にアクセスしていたボリュームにアクセスできる。   As described above, in the first embodiment, the host 1902 notifies the physical storage device 120 of a new WWN by the WWN change notification program 1705. In step 2907, the physical storage device 120 updates the WWN of the old port in the LUN security information 403 to the WWN of the new port. As a result, in the device list notification process (step 2610), the physical storage device 120 also provides a device list having the same contents as the device list transmitted to the host 1902 before the suspension of the virtual storage device 106 for the new WWN. It can be sent to the host 1902. Therefore, even when the host 1902 changes the WWN after the virtual storage apparatus 106 is suspended, the host 1902 can access the volume accessed before the suspension.

図30は、仮想ストレージ装置106のリジューム処理における資源準備処理を示したフローチャートである。   FIG. 30 is a flowchart showing the resource preparation process in the resume process of the virtual storage apparatus 106.

まず、物理ストレージ装置120は、資源準備処理を実行すると、仮想ストレージ構成情報205から必要な資源要件を求める(ステップ3001)。仮想ストレージ構成情報405は、仮想ストレージ装置106のスペックを表している。例えば、キャッシュサイズが“256MB”であった場合、当該仮想ストレージ装置106をレジュームさせるには、制御プロセッサ124は、256MBのキャッシュメモリを確保する必要がある。   First, when executing the resource preparation process, the physical storage device 120 obtains necessary resource requirements from the virtual storage configuration information 205 (step 3001). The virtual storage configuration information 405 represents the specifications of the virtual storage device 106. For example, if the cache size is “256 MB”, the control processor 124 needs to secure a 256 MB cache memory to resume the virtual storage apparatus 106.

次に、物理ストレージ装置120は、空き資源の探索を行う(ステップ3002)。具体的には、制御プロセッサ124は、確保の対象の資源の制御情報(資源ボリューム制御情報901、資源キャッシュメモリ制御情報902、資源タスク制御情報903)の使用状態1024、1344、1464を参照し、“未使用”の資源を探索する。   Next, the physical storage device 120 searches for free resources (step 3002). Specifically, the control processor 124 refers to the usage statuses 1024, 1344, and 1464 of the control information (resource volume control information 901, resource cache memory control information 902, resource task control information 903) of the resources to be secured, Search for “unused” resources.

ステップ3002の探索の結果、空き資源がなかった場合(ステップ3003のN)、管理サーバ102の管理画面で警告メッセージを表示し、仮想ストレージ装置106の管理者に空き資源がないためにリジュームできないことを知らせる(ステップ3008)。管理サーバ102の管理画面についての詳細は図31で説明する。   If there is no free resource as a result of the search in Step 3002 (N in Step 3003), a warning message is displayed on the management screen of the management server 102, and the virtual storage device 106 administrator cannot resume because there is no free resource. (Step 3008). Details of the management screen of the management server 102 will be described with reference to FIG.

ステップ3002の探索の結果、空き資源があった場合(ステップ3003のN)、確保する資源に対応する仮想ストレージ資源管理情報411と物理ストレージ制御情報が更新される(ステップ3004)。   If there are free resources as a result of the search in Step 3002 (N in Step 3003), the virtual storage resource management information 411 and physical storage control information corresponding to the resources to be secured are updated (Step 3004).

具体的には、以下の3点を実施する。
(1)制御プロセッサ124は、確保の対象の資源の制御情報(資源ボリューム制御情報901、資源キャッシュメモリ制御情報902、資源タスク制御情報903)の使用状態を“使用中”にする。
(2)制御プロセッサ124は、仮想ストレージ資源管理情報411に、リジューム対象の仮想ストレージ装置番号の項目を追加する。
(3)確保の対象の資源が資源ボリュームの場合、制御プロセッサ124は、まず資源ボリューム制御情報901を参照し、資源に対応するパリティグループ番号1026を求める。その後、制御プロセッサ124は、パリティグループ制御情報904を参照し、パリティグループに対応する物理ディスク番号リスト1112を求める。その後、制御プロセッサ124は、物理ディスク番号リスト1112に含まれる物理ディスク番号について、物理ディスク制御情報905を参照し、電源カウンタ1213を1足した値に変更する。
Specifically, the following three points are implemented.
(1) The control processor 124 sets the usage state of the control information (resource volume control information 901, resource cache memory control information 902, resource task control information 903) of the resources to be secured to “in use”.
(2) The control processor 124 adds an item of the virtual storage device number to be resumed to the virtual storage resource management information 411.
(3) When the resource to be secured is a resource volume, the control processor 124 first refers to the resource volume control information 901 and obtains a parity group number 1026 corresponding to the resource. Thereafter, the control processor 124 refers to the parity group control information 904 to obtain a physical disk number list 1112 corresponding to the parity group. Thereafter, the control processor 124 refers to the physical disk control information 905 for the physical disk numbers included in the physical disk number list 1112 and changes the power supply counter 1213 to a value obtained by adding one.

その後、物理ストレージ装置120は、既に電源がONになっているかチェックを行う(ステップ3005)。   After that, the physical storage device 120 checks whether the power is already turned on (step 3005).

具体的には、制御プロセッサ124は、まず確保する資源に対応する物理資源を求める。確保する資源が資源キャッシュメモリの場合、制御プロセッサ124は、資源キャッシュメモリ制御情報902を参照し、資源に対応する物理資源のメモリスロット番号1345を求める。その後、制御プロセッサ124は、メモリスロット番号に対応する電源状態がONであるかどうかをチェックする。電源状態がOFFであった場合のみ、その物理資源は電源のONの対象となる。   Specifically, the control processor 124 first obtains a physical resource corresponding to the resource to be secured. When the resource to be secured is the resource cache memory, the control processor 124 refers to the resource cache memory control information 902 and obtains the memory slot number 1345 of the physical resource corresponding to the resource. Thereafter, the control processor 124 checks whether the power supply state corresponding to the memory slot number is ON. Only when the power state is OFF, the physical resource is the target of power ON.

確保する資源が資源タスクの場合、制御プロセッサ124は、資源タスク制御情報903を参照し、資源に対応する物理資源のタスク番号1466を求める。その後、制御プロセッサ124は、タスク番号に対応する制御プロセッサ番号1465を求め、制御プロセッサ番号1465に対応する電源状態がONであるかどうかをチェックする。電源状態がOFFであった場合のみ、その物理資源は電源のONの対象となる。   When the resource to be secured is a resource task, the control processor 124 refers to the resource task control information 903 and obtains the task number 1466 of the physical resource corresponding to the resource. Thereafter, the control processor 124 obtains a control processor number 1465 corresponding to the task number, and checks whether the power supply state corresponding to the control processor number 1465 is ON. Only when the power state is OFF, the physical resource is the target of power ON.

確保する資源が資源ボリュームの場合、制御プロセッサ124は、まず資源ボリューム制御情報901を参照し、資源に対応するパリティグループ番号1026を求める。その後、制御プロセッサ124は、パリティグループ制御情報904を参照し、パリティグループに対応する物理ディスク番号リスト1112を求める。その後、制御プロセッサ124は、物理ディスク番号リスト1112に含む物理ディスク番号について物理ディスク制御情報905をチェックし、電源状態がONであるかどうかをチェックする。電源状態がOFFであった場合のみ、その物理資源は電源のONの対象となる。   When the resource to be secured is a resource volume, the control processor 124 first refers to the resource volume control information 901 and obtains a parity group number 1026 corresponding to the resource. Thereafter, the control processor 124 refers to the parity group control information 904 to obtain a physical disk number list 1112 corresponding to the parity group. Thereafter, the control processor 124 checks the physical disk control information 905 for the physical disk numbers included in the physical disk number list 1112 and checks whether the power state is ON. Only when the power state is OFF, the physical resource is the target of power ON.

各物理資源について電源状態が“ON”の場合(ステップ3005のY)は、ステップ3009に進み、“OFF”の場合(ステップ3005のN)は資源の電源をONにする(ステップ3006)。   If the power state of each physical resource is “ON” (Y in step 3005), the process proceeds to step 3009. If “OFF” (N in step 3005), the power of the resource is turned on (step 3006).

具体的には、ハードディスクの場合、電源ONの処理は、スピンアップ処理や、完全に電源を停止した状態から電源をONにする処理でもよい。   Specifically, in the case of a hard disk, the process of turning on the power may be a spin-up process or a process of turning on the power after the power is completely stopped.

次に、物理ストレージ装置120は、電源をONにする物理資源に対応する物理ストレージ制御情報を更新する(ステップ3007)。   Next, the physical storage device 120 updates the physical storage control information corresponding to the physical resource to be turned on (step 3007).

具体的には、電源をONにする物理資源がメモリスロットの場合、制御プロセッサ124は、資源キャッシュメモリ制御情報902の、対象のメモリスロット番号1345に対応する電源状態1342をONにする。   Specifically, when the physical resource to be turned on is a memory slot, the control processor 124 turns on the power state 1342 corresponding to the target memory slot number 1345 in the resource cache memory control information 902.

電源をONにする物理資源が制御プロセッサ124の場合、制御プロセッサ124は、資源タスク制御情報903の、対象の制御プロセッサ番号1465に対応する電源状態1462をONにする。   When the physical resource to be turned on is the control processor 124, the control processor 124 turns on the power state 1462 corresponding to the target control processor number 1465 of the resource task control information 903.

電源をONにする資源が物理ドライブの場合、制御プロセッサ124は、物理ディスク制御情報905の、対象の物理ディスク番号1211に対応する電源状態1212をONにする。   When the resource to be turned on is a physical drive, the control processor 124 turns on the power state 1212 corresponding to the target physical disk number 1211 in the physical disk control information 905.

ステップ3007の後、ステップ3001で求めたすべての必要な資源について一連の処理(ステップ3003からステップ3007まで)を実施していない場合は(ステップ3009のN)、次の必要な資源について空き資源の探索(ステップ3002)を行う。一連の処理を実施した場合(ステップ3009のY)は、終了する。   After step 3007, if a series of processing (from step 3003 to step 3007) has not been performed for all necessary resources obtained in step 3001 (N in step 3009), the free resources for the next necessary resource Search (step 3002) is performed. If a series of processing has been performed (Y in step 3009), the processing ends.

このようにして、物理ストレージ装置120が、仮想ストレージ資源管理情報411や、物理ストレージ制御情報410をステップ2802、ステップ3004で更新することで、その時点で仮想ストレージ装置106が確保している資源の情報を制御メモリに保持する。これにより、物理ストレージ装置120は、ステップ2801で仮想ストレージ装置106の単位でサスペンドする際に解放する資源や、ステップ3001でリジュームする際の確保する資源を決定することが可能になる。   In this way, the physical storage device 120 updates the virtual storage resource management information 411 and the physical storage control information 410 in step 2802 and step 3004, so that the resource of the virtual storage device 106 secured at that time is updated. Hold information in control memory. As a result, the physical storage device 120 can determine the resources to be released when suspending in units of the virtual storage device 106 in step 2801 and the resources to be secured when resuming in step 3001.

また、仮想ストレージ装置106のサスペンド時に、物理ストレージ装置120は、ステップ2803で、電源カウンタまたは使用状態を参照する。このため、その物理資源を使用している仮想ストレージ装置106がまだ残っているときに、仮想ストレージ装置106の管理者が、誤って電源を止めてしまうことを防ぐことができる。   In addition, when the virtual storage apparatus 106 is suspended, the physical storage apparatus 120 refers to the power supply counter or the use state in step 2803. Therefore, it is possible to prevent the administrator of the virtual storage apparatus 106 from accidentally turning off the power when the virtual storage apparatus 106 that uses the physical resource still remains.

さらに、図27のステップ2703において、物理ストレージ装置120が、ストレージイメージデータ1601を外部ボリュームに退避させる。そして、物理ストレージ装置は仮想ストレージ装置106の仮想ボリュームを含めた各資源を解放する。そして、他の仮想ストレージ装置106をリジュームするときに、図30のステップ3002から3006において、物理ストレージ装置が空き資源の探索処理を行う。そして、この仮想ストレージ装置106が解放した資源を使用することができる。これによって、仮想ストレージシステム全体として、物理ストレージ装置120の資源が有効に活用される。例えば仮想ストレージ装置106が高性能のビットコストの高いオンライン系のストレージで、物理ストレージ装置129が低性能でビットコストの低いテープストレージであるとする。仮想ストレージ装置106の管理者は、今後しばらく使用しない仮想ストレージ装置106のボリュームデータと制御情報をテープストレージに保管する。このようにして、管理者は、他の使用したい仮想ストレージ装置106を高性能な物理ストレージ装置120上で使用できるようになる。   Further, in step 2703 of FIG. 27, the physical storage device 120 saves the storage image data 1601 to the external volume. Then, the physical storage device releases each resource including the virtual volume of the virtual storage device 106. Then, when resuming another virtual storage apparatus 106, the physical storage apparatus searches for free resources in steps 3002 to 3006 in FIG. Then, the resources released by the virtual storage device 106 can be used. As a result, the resources of the physical storage device 120 are effectively utilized as the entire virtual storage system. For example, assume that the virtual storage device 106 is a high-performance online storage with a high bit cost, and the physical storage device 129 is a tape storage with a low performance and a low bit cost. The administrator of the virtual storage apparatus 106 stores the volume data and control information of the virtual storage apparatus 106 that will not be used for a while in the tape storage. In this way, the administrator can use the virtual storage device 106 that he / she wants to use on the high-performance physical storage device 120.

図31は、仮想ストレージ装置106の管理サーバ102の画面3101を示した図である。   FIG. 31 is a diagram showing a screen 3101 of the management server 102 of the virtual storage apparatus 106.

管理サーバ102は、画面3101を持つ。画面3101上にストレージ管理プログラム1102のGUI画面3102が表示される。   The management server 102 has a screen 3101. A GUI screen 3102 of the storage management program 1102 is displayed on the screen 3101.

GUI画面3102は、メニュー部3103と設定部3104を持つ。メニュー部3103には、各設定項目がツリー型に表示されている。メニュー部には、仮想ストレージ装置106を識別する情報3121が表示される。例えば図31だと、“仮想ストレージ装置A”という仮想ストレージ装置106の名称が表示されている。   The GUI screen 3102 has a menu unit 3103 and a setting unit 3104. In the menu portion 3103, each setting item is displayed in a tree shape. Information 3121 for identifying the virtual storage apparatus 106 is displayed in the menu section. For example, in FIG. 31, the name of the virtual storage device 106 “virtual storage device A” is displayed.

メニュー部には、仮想ストレージ装置106を識別する情報3121の下位に、仮想資源一覧3122及び電源管理3121の設定項目が表示されている。   In the menu section, setting items for the virtual resource list 3122 and the power management 3121 are displayed below the information 3121 for identifying the virtual storage device 106.

仮想資源一覧3122は、管理の対象の仮想ストレージ装置106が保持している仮想資源の状態を表示し、仮想資源を設定するための設定項目である。   The virtual resource list 3122 is a setting item for displaying the state of the virtual resource held by the virtual storage apparatus 106 to be managed and setting the virtual resource.

電源管理3123は、管理の対象の仮想ストレージ装置106をサスペンド、レジュームするための設定や状態を設定部に表示するための設定項目である。   The power management 3123 is a setting item for displaying settings and a state for suspending and resuming the virtual storage apparatus 106 to be managed on the setting unit.

仮想ストレージ装置106の管理者が電源管理3121を選択すると、設定部3104にサスペンド、レジュームに関する設定項目を表示する。   When the administrator of the virtual storage apparatus 106 selects the power management 3121, setting items related to suspend and resume are displayed on the setting unit 3104.

サスペンド設定画面3111では、仮想ストレージ装置106をサスペンドするための設定事項が表示される。サスペンド先指定3112では、仮想ストレージ装置106の管理者がサスペンド時にボリュームデータと制御情報を移行するための仮想ボリューム番号を指定する。例えば、仮想ストレージ装置106の管理者は外接ボリュームの仮想ボリューム番号を指定する。   On the suspend setting screen 3111, setting items for suspending the virtual storage apparatus 106 are displayed. In the suspend destination designation 3112, the administrator of the virtual storage apparatus 106 designates a virtual volume number for transferring volume data and control information during suspension. For example, the administrator of the virtual storage device 106 designates the virtual volume number of the circumscribed volume.

リジューム設定画面3113では、仮想ストレージ装置106をリジュームするための設定事項が表示される。リジューム元指定3114では、仮想ストレージ装置106の管理者がリジューム元の仮想ボリューム番号を指定する。例えば、仮想ストレージ装置106の管理者は外接ボリュームの仮想ボリューム番号を指定する。   On the resume setting screen 3113, setting items for resuming the virtual storage apparatus 106 are displayed. In the resume source designation 3114, the administrator of the virtual storage apparatus 106 designates the resume source virtual volume number. For example, the administrator of the virtual storage device 106 designates the virtual volume number of the circumscribed volume.

実行ボタン3116を押すと、設定部3104で設定した内容で、管理サーバ102は、ストレージ管理プログラム1704によって物理ストレージ装置120にサスペンド又はリジューム指示を送信する。また、リジューム時には、管理サーバ102は、ストレージ管理プログラム1704によってWWN変更通知プログラム1705を実行する。   When the execute button 3116 is pressed, the management server 102 transmits a suspend or resume instruction to the physical storage device 120 by the storage management program 1704 with the contents set by the setting unit 3104. At the time of resumption, the management server 102 executes the WWN change notification program 1705 by the storage management program 1704.

管理サーバ102が仮想ストレージ装置106のリジューム指示を送信し、物理ストレージ装置120の資源が不足している場合は、GUI画面3102に「資源不足のためリジュームできません」というメッセージ3105が表示される。これによって、仮想ストレージ装置106の管理者にリジューム不可であることが伝えられる。
(第2の実施形態)
本実施例では、パッケージ(PK)と呼ぶ単位でストレージ装置の物理資源の電源管理を実施する例を示す。
When the management server 102 transmits a resume instruction for the virtual storage device 106 and the physical storage device 120 has insufficient resources, a message 3105 “Resuming is not possible due to insufficient resources” is displayed on the GUI screen 3102. As a result, the administrator of the virtual storage apparatus 106 is notified that the resume is impossible.
(Second Embodiment)
In this embodiment, an example is shown in which power management of physical resources of a storage apparatus is performed in units called packages (PK).

以下、第2の実施形態について、第1の実施形態との差異を説明する。   Hereinafter, the difference between the second embodiment and the first embodiment will be described.

図32は、本発明の第2の実施形態に係る仮想ストレージシステムにおけるストレージ装置の物理的な構成を示す。   FIG. 32 shows a physical configuration of the storage apparatus in the virtual storage system according to the second embodiment of the present invention.

バックエンドパッケージ3211は、物理ディスクを含むディスクパッケージ3216と、物理ディスクや外部ストレージ装置129と通信するポートを含むバックエンドポートパッケージ3217を含む。   The back-end package 3211 includes a disk package 3216 including a physical disk and a back-end port package 3217 including a port for communicating with the physical disk and the external storage device 129.

フロントエンドパッケージ3212は、ポートを含むパッケージである。   The front end package 3212 is a package including a port.

データバス3213は、パッケージ間のデータ転送等の通信処理を実行する装置である。 プロセッサパッケージ3215は、制御プロセッサ124や制御メモリ125等、制御部を含んだパッケージである。 プロセッサパッケージ3215内には複数の制御部があってもよく、かつプロセッサパッケージ3215が複数あってもよいため、物理的に制御プロセッサ124が複数存在してもよい。各制御プロセッサ124は、データバス3213を通じてキャッシュメモリパッケージ3214内のキャッシュメモリにアクセスし、制御メモリ上の各種制御情報を、キャッシュメモリ上に配置することができる。そして、各制御プロセッサ124は、キャッシュメモリ上の各種制御情報を、別の制御部の制御プロセッサ124と共有することができる。なお、本実施例以降では、特に補足説明がない場合、各種制御情報を制御メモリ125上に配置すると説明した場合、各種制御情報をキャッシュメモリ上に配置し、物理ストレージ装置120内で共有する前提で説明する。   The data bus 3213 is a device that executes communication processing such as data transfer between packages. The processor package 3215 is a package including a control unit such as the control processor 124 and the control memory 125. Since there may be a plurality of control units in the processor package 3215 and a plurality of processor packages 3215, a plurality of control processors 124 may physically exist. Each control processor 124 accesses the cache memory in the cache memory package 3214 through the data bus 3213, and can arrange various control information on the control memory on the cache memory. Each control processor 124 can share various control information on the cache memory with the control processor 124 of another control unit. In addition, in this embodiment and later, when there is no supplementary explanation, it is assumed that various control information is arranged in the control memory 125, and various control information is arranged in the cache memory and shared in the physical storage device 120. I will explain it.

キャッシュメモリパッケージ3214は、キャッシュメモリを含むパッケージである。   The cache memory package 3214 is a package including a cache memory.

なお、制御メモリ125として使用するキャッシュメモリを含むキャッシュメモリパッケージ3214は、共有している各種制御情報にアクセスする制御プロセッサ124が存在する限り電源をOFFにすることができない。   Note that the cache memory package 3214 including the cache memory used as the control memory 125 cannot be turned off as long as the control processor 124 that accesses various shared control information exists.

そこで、物理ストレージ装置120の各制御プロセッサ124は、固定のキャッシュメモリパッケージ3214のキャッシュメモリを制御メモリの代替として使用する場合、キャッシュメモリパッケージ3214の電源カウンタ3314の値にあらかじめ1加算しておき、電源を落とさないように制御する。電源カウンタ3314の詳細については、後説する。   Therefore, when using the cache memory of the fixed cache memory package 3214 as an alternative to the control memory, each control processor 124 of the physical storage device 120 adds 1 to the value of the power supply counter 3314 of the cache memory package 3214 in advance, Control so as not to turn off the power. Details of the power supply counter 3314 will be described later.

図33はパッケージ資源対応情報3301のデータ構造を表す。   FIG. 33 shows the data structure of the package resource correspondence information 3301.

パッケージ資源対応情報3301は、パッケージ番号3311、パッケージ種別3312、資源リスト3313、電源カウンタ3314、電源状態3315を含む。パッケージ情報は、物理ストレージ装置120の制御メモリ125に格納される。   The package resource correspondence information 3301 includes a package number 3311, a package type 3312, a resource list 3313, a power supply counter 3314, and a power supply state 3315. Package information is stored in the control memory 125 of the physical storage device 120.

パッケージ番号3311は、パッケージを識別する番号である。   The package number 3311 is a number for identifying a package.

パッケージ種別3312は、パッケージの種別を表す。パッケージの種別には、制御部を1つ以上含む“プロセッサパッケージ”、キャッシュメモリを1つ以上含む“キャッシュメモリパッケージ”、物理ディスクを1つ以上含む“ディスクパッケージ”、ホストと通信するポートを一つ以上含む“フロントエンドパッケージ”、物理ディスクや外部ストレージ装置129と通信するポートを一つ以上含む“バックエンドポートパッケージ”の種類が存在する。   The package type 3312 represents a package type. The package type includes “processor package” including one or more control units, “cache memory package” including one or more cache memories, “disk package” including one or more physical disks, and a port communicating with the host. There are two types of “front end package” including one or more and “back end port package” including one or more ports communicating with the physical disk or the external storage device 129.

資源リスト3313は、各パッケージが含む資源のリストである。電源カウンタ3314の値は、パッケージを使用している仮想ストレージ装置106の個数を表している。電源カウンタ3314の値の更新方法については、図34及び図35で説明する。電源状態3315は、各パッケージの電源がONであるか、OFFであるかを表している。   The resource list 3313 is a list of resources included in each package. The value of the power supply counter 3314 represents the number of virtual storage apparatuses 106 that are using the package. A method for updating the value of the power supply counter 3314 will be described with reference to FIGS. The power supply state 3315 indicates whether the power supply of each package is ON or OFF.

図34は、本実施例における資源解放処理を表すフローチャートである。   FIG. 34 is a flowchart showing resource release processing in this embodiment.

図34は、図28と、ステップ3401〜3404が異なっている。   FIG. 34 differs from FIG. 28 in steps 3401 to 3404.

物理ストレージ装置120は、資源開放処理で、解放する資源に対応する仮想ストレージ資源管理情報411とパッケージ資源対応情報3301を更新する(ステップ3401)。具体的には、以下の3点を実施する。
(1)制御プロセッサ124は、解放する対象の資源の制御情報(資源ボリューム制御情報901、資源キャッシュメモリ制御情報902、資源タスク制御情報903)の使用状態を“未使用”にする。
(2)制御プロセッサ124は、仮想ストレージ資源管理情報411のうち、サスペンド対象の仮想ストレージ装置番号の項目で、解放する資源に対応する項目を削除する。
(3)制御プロセッサ124は、パッケージ資源対応情報3301の、解放の対象の資源に対応する電源カウンタ3314の値に1減算する。ただし、本フローチャートの開始から終了の間に、同一のパッケージ番号3311の電源カウンタ3314の値に、別の資源を処理した際に、既に1減算されていた場合、値は減算されない。
The physical storage device 120 updates the virtual storage resource management information 411 and the package resource correspondence information 3301 corresponding to the resource to be released in the resource release process (step 3401). Specifically, the following three points are implemented.
(1) The control processor 124 sets the usage state of the control information (resource volume control information 901, resource cache memory control information 902, resource task control information 903) of the resource to be released to “unused”.
(2) The control processor 124 deletes the item corresponding to the resource to be released from the items of the virtual storage device number to be suspended in the virtual storage resource management information 411.
(3) The control processor 124 subtracts 1 from the value of the power supply counter 3314 corresponding to the resource to be released in the package resource correspondence information 3301. However, if another resource has already been subtracted from the value of the power supply counter 3314 of the same package number 3311 between the start and end of this flowchart, the value is not subtracted.

次に、物理ストレージ装置120は、解放する各資源について、電源がOFFにできるかどうかをチェックする(ステップ3402)。   Next, the physical storage device 120 checks whether the power can be turned off for each resource to be released (step 3402).

具体的には、パッケージ資源対応情報3301の電源カウンタ3314の値が0になっているパッケージのみが電源のOFFの対象となる。   Specifically, only packages whose power supply counter 3314 value of the package resource correspondence information 3301 is 0 are targeted for power off.

次に、物理資源が電源OFFの対象であった場合(ステップ3402のY)、物理ストレージ装置120は、パッケージの電源をOFFにする(ステップ3403)。物理資源が電源OFFの対象でなかった場合(ステップ3402のN)、処理はステップ2806へ進む。   Next, when the physical resource is a target to be turned off (Y in Step 3402), the physical storage device 120 turns off the power of the package (Step 3403). If the physical resource is not a target to be turned off (N in Step 3402), the process proceeds to Step 2806.

次に、電源をOFFにするパッケージに対応するパッケージ資源対応情報3301を更新する(ステップ3403)。   Next, the package resource correspondence information 3301 corresponding to the package whose power is to be turned off is updated (step 3403).

具体的には、制御プロセッサ124は、パッケージ資源対応情報3301の電源状態3315をOFFにする。   Specifically, the control processor 124 turns off the power state 3315 of the package resource correspondence information 3301.

その他の資源解放処理の動作については、図28で説明した動作と同等であるため、説明を割愛する。   The other resource release processing operations are the same as those described with reference to FIG.

図35は、本実施例における資源準備処理を表すフローチャートである。   FIG. 35 is a flowchart showing resource preparation processing in the present embodiment.

図35は、図30と、ステップ3501〜3504が異なっている。   FIG. 35 differs from FIG. 30 in steps 3501 to 3504.

物理ストレージ装置120は、ステップ3002で見つけた空き資源に対応する仮想ストレージ資源管理情報411とパッケージ資源対応情報を更新する(ステップ3501)。具体的には、以下の3点を実施する。
(1)制御プロセッサ124は、確保の対象の資源の制御情報(資源ボリューム制御情報901、資源キャッシュメモリ制御情報902、資源タスク制御情報903)の使用状態を“使用中”にする。
(2)制御プロセッサ124は、仮想ストレージ資源管理情報411に、リジューム対象の仮想ストレージ装置番号の項目を追加する。
(3)パッケージ資源対応情報3301の、確保の対象の資源に対応する電源カウンタ3314の値を1加算する。ただし、本フローチャートの開始から終了の間に、同一のパッケージ番号3311の電源カウンタ3314の値に対して、別の資源を処理した際に、既に1加算されていた場合、値は加算されない。
The physical storage device 120 updates the virtual storage resource management information 411 and the package resource correspondence information corresponding to the free resource found in step 3002 (step 3501). Specifically, the following three points are implemented.
(1) The control processor 124 sets the usage state of the control information (resource volume control information 901, resource cache memory control information 902, resource task control information 903) of the resources to be secured to “in use”.
(2) The control processor 124 adds an item of the virtual storage device number to be resumed to the virtual storage resource management information 411.
(3) Add 1 to the value of the power supply counter 3314 corresponding to the resource to be secured in the package resource correspondence information 3301. However, when another resource is processed for the value of the power supply counter 3314 of the same package number 3311 between the start and the end of this flowchart, the value is not added.

次に、制御プロセッサ124は、既に資源の電源がONになっているかチェックを行う(ステップ3502)。   Next, the control processor 124 checks whether the resource has already been turned on (step 3502).

具体的には、パッケージ資源対応情報3301の電源状態3315の値が“OFF”になっているパッケージのみが電源のONの対象となる。   Specifically, only packages whose value of the power state 3315 of the package resource correspondence information 3301 is “OFF” are targets for power ON.

次に、既に物理資源の電源がONであった場合(ステップ3502のY)、処理はステップ3009に進み、物理資源が電源ONの対象であった場合(ステップ3502のN)、物理ストレージ装置120は、パッケージの電源をONにする(ステップ3503)。   Next, if the physical resource is already powered on (Y in step 3502), the process proceeds to step 3009. If the physical resource is a target to be powered on (N in step 3502), the physical storage device 120. Turns on the power of the package (step 3503).

次に、物理ストレージ装置120は、電源をONにするパッケージに対応するパッケージ資源対応情報3301を更新する(ステップ3504)。   Next, the physical storage device 120 updates the package resource correspondence information 3301 corresponding to the package to be turned on (step 3504).

具体的には、制御プロセッサ124は、パッケージ資源対応情報3301の電源状態3315を“ON”に変更する。   Specifically, the control processor 124 changes the power state 3315 of the package resource correspondence information 3301 to “ON”.

その他の資源準備処理の動作については、図30で説明した動作と同等であるため、説明を割愛する。   The operation of other resource preparation processes is the same as the operation described with reference to FIG.

以上のようにして、仮想ストレージ装置106のサスペンド及びリジューム時に、パッケージ資源対応情報3301の電源カウンタ3314が更新される。ステップ3401及びステップ3501において、電源カウンタ3314は、使用している仮想ストレージ装置106の数を表すように更新される。   As described above, when the virtual storage apparatus 106 is suspended and resumed, the power supply counter 3314 of the package resource correspondence information 3301 is updated. In step 3401 and step 3501, the power supply counter 3314 is updated to represent the number of virtual storage devices 106 being used.

仮想ストレージ装置106のサスペンド時に、ステップ3402において、パッケージ資源対応情報3301の電源カウンタ3314が参照される。そして、使用中の仮想ストレージ装置106の有無が判断される。このため、仮想ストレージ装置間で同一パッケージ内の資源をシェアしている場合でも、仮想ストレージ装置106の管理者は、他の仮想ストレージ装置106に影響を与えることなく、電源をOFFにすることができる。
(第3の実施形態)
本実施例では、複数のモジュールを結合して1台のストレージ装置として提供するストレージであるモジュール型ストレージにおける仮想ストレージ装置のサスペンド、リジューム方法について述べる。
When the virtual storage apparatus 106 is suspended, the power supply counter 3314 of the package resource correspondence information 3301 is referred to in step 3402. Then, the presence / absence of the virtual storage device 106 in use is determined. For this reason, even when resources in the same package are shared between virtual storage apparatuses, the administrator of the virtual storage apparatus 106 can turn off the power without affecting other virtual storage apparatuses 106. it can.
(Third embodiment)
In the present embodiment, a method for suspending and resuming a virtual storage apparatus in a modular storage that is a storage provided by combining a plurality of modules as one storage apparatus will be described.

以下、第3の実施形態について、第1、2の実施形態との差異を説明する。   Hereinafter, a difference between the third embodiment and the first and second embodiments will be described.

図36は、本発明の第3の実施形態に係る仮想ストレージシステムの物理的な構成を示す。   FIG. 36 shows a physical configuration of a virtual storage system according to the third embodiment of the present invention.

モジュール3602はプロセッサパッケージ3215とキャッシュメモリパッケージ3214とフロントエンドパッケージとバックエンドパッケージとデータバスを含む。   The module 3602 includes a processor package 3215, a cache memory package 3214, a front end package, a back end package, and a data bus.

プロセッサパッケージは制御部を有し、キャッシュメモリパッケージは複数のキャッシュメモリを有し、フロントエンドパッケージは複数のポートを有し、バックエンドパッケージは複数のディスクを含むディスクパッケージと複数のポートを含むポートパッケージを有する。   The processor package has a control unit, the cache memory package has a plurality of cache memories, the front end package has a plurality of ports, and the back end package has a disk package including a plurality of disks and a port including a plurality of ports. Have a package.

モジュール型ストレージ3601は、複数のモジュール3602を結合して1台のストレージ装置として提供するストレージである。モジュール3602の内部は、実施形態2で説明したハードウェアと同等であるため、説明は割愛する。   The modular storage 3601 is a storage provided by combining a plurality of modules 3602 as one storage device. Since the inside of the module 3602 is equivalent to the hardware described in the second embodiment, the description thereof is omitted.

モジュール型ストレージ3601で仮想ストレージ装置106のリジューム処理を実行する場合、複数の異なるモジュール3602から資源を確保する場合がある。この時、性能影響が発生する。   When the resume processing of the virtual storage apparatus 106 is executed in the module type storage 3601, resources may be secured from a plurality of different modules 3602. At this time, performance is affected.

例えば、仮想ストレージ装置3604Aをサスペンドし、リジュームした結果が、仮想ストレージ装置3604Bであるとする。リジューム後の仮想ストレージ装置3604Bは、物理ディスクとポートが存在するモジュールが異なっている。このため、制御部が物理ディスクから読み出したデータを、ポートに転送する際に、モジュール間の経路3603でデータ通信を行う必要が発生する。モジュール型ストレージでは、モジュール内のデータバスを使ったデータ通信は高速に処理できるが、モジュール間のデータ通信は、モジュール内のデータバスを使ったデータ通信と比較して低速である。したがって、複数の異なるモジュールに存在する資源で、仮想ストレージ装置106がリジュームされると、性能影響が発生する。   For example, it is assumed that the result of suspending and resuming the virtual storage device 3604A is the virtual storage device 3604B. The resumed virtual storage apparatus 3604B is different in the physical disk and the module in which the port exists. For this reason, when the data read from the physical disk by the control unit is transferred to the port, it is necessary to perform data communication through the path 3603 between the modules. In the modular storage, data communication using the data bus in the module can be processed at high speed, but data communication between modules is slower than data communication using the data bus in the module. Therefore, when the virtual storage apparatus 106 is resumed with resources existing in a plurality of different modules, a performance impact occurs.

そこで、本実施形態では、物理ストレージ装置120は、仮想ストレージ装置106のリジューム時に性能影響ができるだけ発生しないよう、リジューム時にできるだけ同一モジュール内の資源を選ぶようにする。以下にその方法を具体的に説明する。   Therefore, in this embodiment, the physical storage device 120 selects resources in the same module as much as possible at the time of resumption so that the performance influence does not occur as much as possible when the virtual storage device 106 is resumed. The method will be specifically described below.

図37は、モジュール情報3701のデータ構造を表す図である。   FIG. 37 shows the data structure of module information 3701.

モジュール情報3701は、モジュール番号3711と、そのモジュールに属する資源の集合を表す資源リスト3712との対応を示した表である。   The module information 3701 is a table showing the correspondence between the module number 3711 and the resource list 3712 representing a set of resources belonging to the module.

モジュール番号3711は、ストレージ装置に存在するモジュールを表す番号である。   The module number 3711 is a number representing a module existing in the storage apparatus.

資源リスト3712は、モジュールに存在している、資源の集合を表す。制御プロセッサ124は、資源リスト3712に、資源タスク、資源キャッシュメモリ、資源ボリューム等の番号を入力する。   The resource list 3712 represents a set of resources existing in the module. The control processor 124 inputs numbers such as a resource task, a resource cache memory, and a resource volume into the resource list 3712.

図38は、リジューム処理における資源準備処理を示したフローチャートである。   FIG. 38 is a flowchart showing the resource preparation process in the resume process.

図38は、図30と、ステップ3801〜3811が異なっている。   FIG. 38 differs from FIG. 30 in steps 3801 to 3811.

ステップ3001で求めた必要な資源要件について、制御プロセッサ124は、モジュール内要件チェック処理を実行する(ステップ3801)。制御プロセッサ124は、モジュール内要件チェック処理を実行し、指定したモジュール内の資源のみで、前記資源要件を満たすかどうかをチェックする。前記資源要件を満たす場合、制御プロセッサ124は、満たす資源の組を、資源準備リストに入力する。また、前記資源要件を満たさない場合、制御プロセッサ124は、資源準備リストを空にする。モジュール内要件チェック処理の詳細は図39で説明する。   For the necessary resource requirements obtained in step 3001, the control processor 124 executes an in-module requirement check process (step 3801). The control processor 124 executes an in-module requirement check process, and checks whether or not the resource requirement is satisfied with only the resources in the designated module. If the resource requirement is satisfied, the control processor 124 inputs the set of resources to be satisfied into the resource preparation list. If the resource requirement is not satisfied, the control processor 124 empties the resource preparation list. Details of the in-module requirement check process will be described with reference to FIG.

資源準備リストが空の場合(ステップ3802のY)、制御プロセッサ124は、物理ストレージ装置120に存在する他のモジュールについて処理を実行する(ステップ3803のN)。制御プロセッサ124は、物理ストレージ装置120に存在するすべてのモジュールについて探索した場合(ステップ3803のY)、物理ストレージ装置内要件チェック処理を実行する(ステップ3804)。制御プロセッサ124は、物理ストレージ装置内要件チェック処理を実行し、物理ストレージ装置120内の資源について、前記資源要件を満たすかどうかをチェックする。前記資源要件を満たす場合、制御プロセッサ124は、満たす資源の組を、資源準備リストに入力する。前記資源要件を満たさない場合、制御プロセッサ124は、資源準備リストを空にする。物理ストレージ装置内要件チェック処理の詳細は図38で説明する。   If the resource preparation list is empty (Y in step 3802), the control processor 124 executes processing for other modules existing in the physical storage device 120 (N in step 3803). When all the modules existing in the physical storage device 120 have been searched (Y in Step 3803), the control processor 124 executes a physical storage device requirement check process (Step 3804). The control processor 124 executes a physical storage device requirement check process to check whether or not the resources in the physical storage device 120 satisfy the resource requirement. If the resource requirement is satisfied, the control processor 124 inputs the set of resources to be satisfied into the resource preparation list. If the resource requirement is not met, the control processor 124 empties the resource preparation list. Details of the physical storage device requirement checking process will be described with reference to FIG.

物理ストレージ装置内要件チェック処理の実行の結果、資源準備リストが空の場合(ステップ3805のY)、物理ストレージ装置120に空き資源が無いため、管理サーバ102は警告メッセージを表示する(ステップ3008)。   If the resource preparation list is empty as a result of executing the physical storage device requirement check processing (Y in step 3805), the management server 102 displays a warning message because there is no free resource in the physical storage device 120 (step 3008). .

資源準備リストが空ではない場合(ステップ3805のN)、管理サーバ102は性能影響メッセージを表示する(ステップ3806)。性能影響メッセージは、複数の異なるモジュールに存在する資源を使って仮想ストレージ装置106をリジュームする際に、性能影響が出ることを、仮想ストレージ装置106の管理者に伝える。   When the resource preparation list is not empty (N in Step 3805), the management server 102 displays a performance influence message (Step 3806). The performance influence message informs the administrator of the virtual storage apparatus 106 that a performance influence will occur when the virtual storage apparatus 106 is resumed using resources existing in a plurality of different modules.

性能影響メッセージを表示する方法を具体的に説明する。物理ストレージ装置120の制御プロセッサ124が管理サーバ102に性能影響メッセージを表示する命令を送信し、管理サーバ102がその命令を受信し、性能影響メッセージが表示される。今後の説明で、メッセージを管理サーバ102に表示する場合、特に説明がないときは、同様の方法で表示させる。   A method for displaying the performance influence message will be specifically described. The control processor 124 of the physical storage device 120 transmits a command for displaying a performance impact message to the management server 102, and the management server 102 receives the command, and the performance impact message is displayed. In the future explanation, when a message is displayed on the management server 102, unless otherwise explained, it is displayed in the same manner.

性能影響メッセージには、“自動設定”と“マニュアル設定”と“キャンセル”が表示される。仮想ストレージ装置106の管理者は、その何れかを選択することができる。   In the performance influence message, “automatic setting”, “manual setting”, and “cancel” are displayed. The administrator of the virtual storage apparatus 106 can select one of them.

仮想ストレージ装置106の管理者が、“自動設定”を選択すると(ステップ3807のN、ステップ3810のN)、制御プロセッサ124は、資源確保処理を実行する(ステップ3811)。資源確保処理は、ステップ3804で実行された物理ストレージ装置内要件チェック処理の結果である資源準備リストに入力された資源について行われる。資源確保処理が実行されたの後、資源準備処理が終了する。資源確保処理については、図41で説明する。   When the administrator of the virtual storage apparatus 106 selects “automatic setting” (N in Step 3807, N in Step 3810), the control processor 124 executes a resource securing process (Step 3811). The resource securing process is performed for the resource input to the resource preparation list as a result of the physical storage device requirement check process executed in step 3804. After the resource securing process is executed, the resource preparation process ends. The resource securing process will be described with reference to FIG.

また、仮想ストレージ装置106の管理者が、 “マニュアル設定”を選択すると(ステップ3807のY)、管理サーバ102はマニュアル設定画面(ステップ3808)を表示する。   When the administrator of the virtual storage apparatus 106 selects “manual setting” (Y in step 3807), the management server 102 displays a manual setting screen (step 3808).

仮想ストレージ装置106の管理者が、マニュアル設定画面で入力した結果を、物理ストレージ装置120が受信したら、マニュアル設定画面の内容から資源準備リストを作成する(ステップ3809)。その後、制御プロセッサ124が、前記資源準備リストに入力した資源について、資源確保処理を実行し(ステップ3811)、資源準備処理を終了する。   When the physical storage device 120 receives the result input by the administrator of the virtual storage apparatus 106 on the manual setting screen, a resource preparation list is created from the contents of the manual setting screen (step 3809). Thereafter, the control processor 124 executes a resource securing process for the resource input to the resource preparation list (step 3811), and ends the resource preparation process.

仮想ストレージ装置106の管理者が、 “キャンセル”を選択すると(ステップ3807のN、ステップ3810のY)、資源準備処理が終了して、リジューム処理が中断される。   When the administrator of the virtual storage apparatus 106 selects “Cancel” (N in Step 3807, Y in Step 3810), the resource preparation process is completed and the resume process is interrupted.

資源準備リストが空ではない場合(ステップ3802のN)、同一モジュール内の資源で仮想ストレージ装置106のリジュームが可能である。その場合、ステップ3801でモジュール内要件チェック処理の結果として資源準備リストに入力した資源について、資源確保処理3810を実行し、資源準備処理を終了する。   If the resource preparation list is not empty (N in step 3802), the virtual storage apparatus 106 can be resumed with resources in the same module. In that case, a resource securing process 3810 is executed for the resource input to the resource preparation list as a result of the in-module requirement check process in step 3801, and the resource preparation process is terminated.

図39は、モジュール内要件チェック処理を示したフローチャートである。   FIG. 39 is a flowchart showing the in-module requirement check process.

制御プロセッサ124は、モジュール内要件チェック処理として、指定したモジュール内の資源のみで、前記資源要件を満たすかどうかをチェックする。制御プロセッサ124は、前記資源要件を満たす場合、満たす資源の組を、資源準備リストに入力し、満たさない場合、資源準備リストを空にする。以下、モジュール内要件チェック処理をステップごとに説明する。   The control processor 124 checks whether or not the resource requirement is satisfied only by the resource in the designated module as the in-module requirement check process. If the resource requirement is satisfied, the control processor 124 inputs a set of resources to be satisfied into the resource preparation list. If not, the control processor 124 empties the resource preparation list. Hereinafter, the in-module requirement check process will be described step by step.

制御プロセッサ124が、モジュール内要件チェック処理を開始すると、対象のモジュール内で必要な資源に対応する空き資源を探索する(ステップ3901)。制御プロセッサ124は、資源がどのモジュールに存在しているかを、モジュール情報3901を参照することで把握できる。   When the control processor 124 starts the in-module requirement check process, it searches for a free resource corresponding to a necessary resource in the target module (step 3901). The control processor 124 can grasp in which module the resource exists by referring to the module information 3901.

ステップ3901の探索の結果、空き資源がない場合(ステップ3902のN)、制御プロセッサ124は、準備資源リストをクリアして(ステップ3905)、モジュール内要件チェック処理を終了する。   If there is no free resource as a result of the search in step 3901 (N in step 3902), the control processor 124 clears the prepared resource list (step 3905) and ends the in-module requirement check process.

ステップ3901の探索の結果、空き資源がある場合、(ステップ3902のY)、制御プロセッサ124は、見つかった空き資源を準備資源リストに追加する(ステップ3903)。探索がすべての必要な資源について実施されていない場合(ステップ3904のN)、制御プロセッサ124は、次の必要な資源について、ステップ3901に戻って繰り返し探索する。探索がすべての必要な資源について実施されたら(ステップ3904のY)、制御プロセッサ124は、モジュール内要件チェック処理を終了する。   If there is a free resource as a result of the search in step 3901 (Y in step 3902), the control processor 124 adds the found free resource to the prepared resource list (step 3903). If the search has not been performed for all required resources (N in step 3904), the control processor 124 returns to step 3901 to search repeatedly for the next required resource. When the search is performed for all necessary resources (Y in Step 3904), the control processor 124 ends the intra-module requirement check process.

図40は、物理ストレージ装置内要件チェック処理を示したフローチャートである。   FIG. 40 is a flowchart showing the physical storage device internal requirement check processing.

物理ストレージ装置120は、物理ストレージ装置内要件チェック処理により、物理ストレージ装置120の各資源が、前記資源要件を満たすかどうかをチェックする。物理ストレージ装置120は、前記資源要件を満たす場合、満たす資源の組を、資源準備リストに入力し、満たさない場合、資源準備リストを空にする処理である。   The physical storage device 120 checks whether each resource of the physical storage device 120 satisfies the resource requirement by the physical storage device requirement check process. The physical storage device 120 is a process of inputting a set of resources to be satisfied to the resource preparation list when the resource requirement is satisfied, and emptying the resource preparation list when not satisfying the resource requirement.

制御プロセッサ124が、物理ストレージ装置内要件チェック処理を開始すると、物理ストレージ装置120内で必要な資源に対応する空き資源が探索される。以降は、図39で説明したモジュール内要件チェック処理と同様に処理を進める。   When the control processor 124 starts the in-physical storage device requirement check process, free resources corresponding to necessary resources are searched for in the physical storage device 120. Thereafter, the processing proceeds in the same manner as the in-module requirement check processing described in FIG.

図41は、資源準備処理における資源確保処理を示したフローチャートである。   FIG. 41 is a flowchart showing the resource securing process in the resource preparation process.

図41は、図35と、ステップ4101、4102が異なっている。   41 differs from FIG. 35 in steps 4101 and 4102.

制御プロセッサ124は、準備資源リスト4401の各要素について電源をONにし、関連する仮想ストレージ資源管理情報411やパッケージ資源対応情報を更新する。以下に資源確保処理の各ステップを説明する。   The control processor 124 turns on the power of each element of the prepared resource list 4401 and updates the related virtual storage resource management information 411 and package resource correspondence information. Each step of the resource securing process will be described below.

制御プロセッサ124は、準備資源リスト4401の各要素について、電源ON処理を開始する(ステップ4101)。以降は実施例3の図35の資源解放処理で説明したステップ3501からステップ3503までと同様に処理を進める。次に、制御プロセッサ124は、準備資源リスト4401のすべての資源について処理を実施していない場合(4102のN)、準備資源リスト4401中の次の資源を処理する。制御プロセッサ124が、準備資源リスト4401のすべての資源について処理を実施した場合(4102のY)、処理を終了する。   The control processor 124 starts a power ON process for each element of the prepared resource list 4401 (step 4101). Thereafter, the processing proceeds in the same manner as in steps 3501 to 3503 described in the resource release processing of FIG. Next, the control processor 124 processes the next resource in the preparation resource list 4401 when the processing is not performed for all the resources in the preparation resource list 4401 (N of 4102). If the control processor 124 has performed processing for all resources in the prepared resource list 4401 (Y in 4102), the processing is terminated.

図42は、管理サーバ102のGUI画面3101を示した図である。   FIG. 42 is a diagram showing a GUI screen 3101 of the management server 102.

図42は、図31と、4201〜4204が異なっている。   42 differs from FIG. 31 in 4201 to 4204.

管理サーバ102は、物理ストレージ装置120からステップ3806で性能影響メッセージを表示する指示を受ける。そして、管理サーバ102は、管理サーバ102で動作するストレージ管理プログラム1704のGUI画面3102上に性能影響メッセージ4201を表示する。   The management server 102 receives an instruction to display a performance influence message from the physical storage apparatus 120 in step 3806. Then, the management server 102 displays a performance influence message 4201 on the GUI screen 3102 of the storage management program 1704 operating on the management server 102.

性能影響メッセージ4201は、“複数モジュールにまたがった資源を使用するため、性能影響が発生する可能性があります。”というメッセージと、自動設定ボタン4202と、マニュアル設定ボタン4203と、キャンセルボタン4204を含む。   The performance impact message 4201 includes a message “Performance impact may occur due to use of resources across multiple modules”, an automatic setting button 4202, a manual setting button 4203, and a cancel button 4204. .

仮想ストレージ装置106の管理者が、自動設定ボタン4202を押すと、物理ストレージ装置120に、仮想ストレージ装置106の管理者が自動設定を選択したことが伝えられる。物理ストレージ装置120は、それを受けた結果ステップ3811を実行する。   When the administrator of the virtual storage apparatus 106 presses the automatic setting button 4202, the physical storage apparatus 120 is notified that the administrator of the virtual storage apparatus 106 has selected automatic setting. As a result, the physical storage device 120 executes step 3811.

仮想ストレージ装置106の管理者が、マニュアル設定ボタン4203を押すと、物理ストレージ装置120に、仮想ストレージ装置106の管理者がマニュアル設定を選択したことが伝えられる。物理ストレージ装置120は、それを受けた結果ステップ3809を実行する。   When the administrator of the virtual storage apparatus 106 presses the manual setting button 4203, the physical storage apparatus 120 is notified that the administrator of the virtual storage apparatus 106 has selected manual setting. As a result, the physical storage apparatus 120 executes step 3809.

仮想ストレージ装置106の管理者が、キャンセルボタン4204を押すと、物理ストレージ装置120に、仮想ストレージ装置106の管理者が自動設定を選択したことが伝えられる。物理ストレージ装置120は、それを受けて資源準備処理を終了して、レジューム処理を中断する。   When the administrator of the virtual storage apparatus 106 presses a cancel button 4204, the physical storage apparatus 120 is notified that the administrator of the virtual storage apparatus 106 has selected automatic setting. In response to this, the physical storage device 120 ends the resource preparation process and interrupts the resume process.

図43は、管理サーバ102のGUI画面2202のマニュアル設定画面を示した図である。   FIG. 43 is a diagram showing a manual setting screen of the GUI screen 2202 of the management server 102.

マニュアル設定画面4301は、メニュー4311、空き資源リスト4312、確保資源リスト4313、追加ボタン4314、削除ボタン4315を含んでいる。   The manual setting screen 4301 includes a menu 4311, a free resource list 4312, a reserved resource list 4313, an add button 4314, and a delete button 4315.

仮想ストレージ装置106の管理者が、メニュー4311で各モジュールについて“制御部”、“キャッシュ”等の資源の分類を選択すると、管理サーバ102は、前記モジュールに存在する空き資源の一覧を空き資源リスト4312に表示する。仮想ストレージ装置106の管理者が、空き資源リスト4312から資源を選択して、追加ボタン4314を押すと、管理サーバ102は、確保資源リスト4313に選択した前記資源を追加して表示する。仮想ストレージ装置106の管理者が、確保資源リスト4313から資源を選択して、削除ボタン4315を押すと、管理サーバ102は、確保資源リストから前記選択した資源を削除して表示する。仮想ストレージ装置106の管理者が実行ボタン4316を押すと、管理サーバ102は物理ストレージ装置120に確保資源リストの内容を送信する。   When the administrator of the virtual storage apparatus 106 selects a resource classification such as “control unit” or “cache” for each module from the menu 4311, the management server 102 displays a list of free resources existing in the module as a free resource list. Displayed at 4312. When the administrator of the virtual storage apparatus 106 selects a resource from the free resource list 4312 and presses the add button 4314, the management server 102 adds the selected resource to the reserved resource list 4313 and displays it. When the administrator of the virtual storage apparatus 106 selects a resource from the reserved resource list 4313 and presses the delete button 4315, the management server 102 deletes and displays the selected resource from the reserved resource list. When the administrator of the virtual storage apparatus 106 presses the execute button 4316, the management server 102 transmits the contents of the reserved resource list to the physical storage apparatus 120.

図44は、資源準備リストのデータ構造を示した図である。   FIG. 44 shows the data structure of the resource preparation list.

資源準備リスト4401は、資源種別4411と資源番号4412の組を要素として含む。また、資源準備リスト4401は、1つ以上のモジュールの資源(モジュール1の資源4402Aとモジュール2の資源4402B)を含んでもよい。   The resource preparation list 4401 includes a combination of a resource type 4411 and a resource number 4412 as elements. Also, the resource preparation list 4401 may include one or more module resources (module 1 resource 4402A and module 2 resource 4402B).

このようにして、物理ストレージ装置120は、仮想ストレージ装置106のリジューム時に、最初にステップ3801でモジュール情報3701を参照する。物理ストレージ装置120は、各モジュールについて、同一モジュールの資源でリジューム可能かを調べ、同一モジュール内の資源を仮想ストレージ装置106に割り当てることを優先する。これより、オーバヘッドの原因となるモジュールをまたがった資源割り当てが防止され、性能への影響が抑えられる。   In this way, the physical storage device 120 first refers to the module information 3701 in step 3801 when the virtual storage device 106 is resumed. The physical storage device 120 examines whether each module can be resumed with the resources of the same module, and gives priority to assigning the resources in the same module to the virtual storage device 106. As a result, resource allocation across modules that cause overhead is prevented, and the influence on performance is suppressed.

さらに、性能影響メッセージ4201及びマニュアル設定画面4301によって、単一モジュールのみで仮想ストレージ装置への資源の割り当てができない場合でも管理者が適切な割り当て指示を行い、モジュールをまたがった資源割り当てを抑えることができる。
(第4の実施形態)
本実施例では、物理ストレージ装置で動作していた仮想ストレージ装置をサスペンドし、別の物理ストレージ装置で前記仮想ストレージ装置をリジュームする方法について述べる。
Furthermore, even when a resource cannot be allocated to a virtual storage device using only a single module, the administrator can issue an appropriate allocation instruction by using the performance influence message 4201 and the manual setting screen 4301 to suppress resource allocation across modules. it can.
(Fourth embodiment)
In the present embodiment, a method of suspending a virtual storage device that has been operating in a physical storage device and resuming the virtual storage device in another physical storage device will be described.

以下、第4の実施形態について、第1の実施形態との差異を説明する。   Hereinafter, the difference between the fourth embodiment and the first embodiment will be described.

図45は、本発明の第4の実施形態に係る仮想ストレージシステムの物理的な構成を示す。   FIG. 45 shows a physical configuration of a virtual storage system according to the fourth embodiment of the present invention.

外部ストレージ装置129がSAN等のネットワーク119Bによって共有されている。物理ストレージ装置120Aは、仮想ストレージ装置4502Aのサスペンド時にストレージイメージデータ1601を外部ストレージ装置129に書き出す。物理ストレージ装置120Bは、仮想ストレージ装置4502Bのリジューム時に、外部ストレージ装置129に書き出したストレージイメージデータ1601を読み込む。   An external storage device 129 is shared by a network 119B such as a SAN. The physical storage device 120A writes the storage image data 1601 to the external storage device 129 when the virtual storage device 4502A is suspended. The physical storage device 120B reads the storage image data 1601 written to the external storage device 129 when the virtual storage device 4502B is resumed.

図46は、第4の実施形態におけるリジューム時のラダーチャートである。   FIG. 46 is a ladder chart during resume in the fourth embodiment.

図46は、図20と、4601、4602が異なっている。   46 differs from FIG. 20 in 4601 and 4602. FIG.

業務再開時、仮想ストレージ装置106の管理者、又はホスト103の管理者は、リジューム先の物理ストレージ装置120Bのポート128Bに外部ストレージ装置129を接続する(4601)。前記接続は、ネットワーク119Bを介してもよいし、ポート128Aから接続をはずしてポート128Bに直接接続してもよい。また、物理ストレージ装置129が、既にネットワーク119Bを介して物理ストレージ120Bに接続されている場合は、4601は省略できる。   When the business is resumed, the administrator of the virtual storage apparatus 106 or the administrator of the host 103 connects the external storage apparatus 129 to the port 128B of the physical storage apparatus 120B that is the resume destination (4601). The connection may be via the network 119B, or may be disconnected from the port 128A and directly connected to the port 128B. If the physical storage device 129 is already connected to the physical storage 120B via the network 119B, 4601 can be omitted.

次に、仮想ストレージ装置106の管理者は、管理サーバ102のGUI画面2202から、リジューム先の物理ストレージ装置120を指定する。(4602)。具体的には、仮想ストレージ装置106の管理者は、物理ストレージ装置120毎に割り当てた番号やIDを指定する。   Next, the administrator of the virtual storage apparatus 106 designates the physical storage apparatus 120 that is the resume destination from the GUI screen 2202 of the management server 102. (4602). Specifically, the administrator of the virtual storage apparatus 106 specifies a number or ID assigned to each physical storage apparatus 120.

以降の処理は実施例1と同様であるため、説明を割愛する。   Since the subsequent processing is the same as that of the first embodiment, the description thereof is omitted.

図47は、管理サーバ102のGUI画面3102を示す図である。   FIG. 47 is a diagram showing a GUI screen 3102 of the management server 102.

図46は、図31と、4701が異なっている。   FIG. 46 is different from FIG. 31 in 4701.

リジューム設定画面3113は、リジューム先の物理ストレージ装置指定項目4701を含む。仮想ストレージ装置106の管理者は、物理ストレージ装置指定項目4701で、物理ストレージ装置120毎に割り当てた番号やIDを指定する。仮想ストレージ装置106の管理者が実行ボタン3116を押すと、管理サーバ102はストレージ管理プログラム及びWWN変更プログラムにより物理ストレージ装置指定項目4701で指定した物理ストレージ装置と通信し、実施例1で説明した各種処理を実行する。   The resume setting screen 3113 includes a resume destination physical storage device designation item 4701. The administrator of the virtual storage apparatus 106 designates the number and ID assigned to each physical storage apparatus 120 in the physical storage apparatus designation item 4701. When the administrator of the virtual storage apparatus 106 presses the execute button 3116, the management server 102 communicates with the physical storage apparatus specified in the physical storage apparatus specifying item 4701 by the storage management program and the WWN change program, and performs the various types described in the first embodiment. Execute the process.

その他の管理サーバ102のGUI画面3102の設定項目は実施例1と同様であるため、説明を割愛する。   Since other setting items on the GUI screen 3102 of the management server 102 are the same as those in the first embodiment, the description thereof is omitted.

以上のようにして、ストレージイメージデータ1601を保存している外部ストレージ装置129が複数台の物理ストレージ装置(120A、120B)間でネットワーク119Bを介して共有される。そして、リジューム先の別の物理ストレージ装置がストレージイメージデータ1601を参照してリジューム処理を実行する。これより、仮想ストレージ装置106をサスペンドした物理ストレージ装置120Aと異なる物理ストレージ装置120Bで仮想ストレージ装置106をリジュームすることができる。
(第5の実施形態)
本実施例では、仮想ストレージ装置106の管理者が指定する性能要件に応じてパリティグループを再構成する方法について述べる。
As described above, the external storage device 129 storing the storage image data 1601 is shared between the plurality of physical storage devices (120A, 120B) via the network 119B. Then, another physical storage device at the resume destination refers to the storage image data 1601 and executes the resume process. Thus, the virtual storage device 106 can be resumed by a physical storage device 120B different from the physical storage device 120A in which the virtual storage device 106 is suspended.
(Fifth embodiment)
In the present embodiment, a method for reconfiguring a parity group according to performance requirements specified by the administrator of the virtual storage apparatus 106 will be described.

以下、第5の実施形態について、第1、2、3の実施形態との差異を説明する。   Hereinafter, a difference between the fifth embodiment and the first, second, and third embodiments will be described.

図48は、仮想ストレージ構成情報205の一部のデータ構造を示す図である。   FIG. 48 is a diagram showing a partial data structure of the virtual storage configuration information 205.

図48は、図8の仮想ストレージ構成情報801と、4813、4814が異なっている。   48 differs from the virtual storage configuration information 801 of FIG. 8 in 4813 and 4814.

実施例1で説明した仮想ストレージ構成情報701に、物理ディスク性能要件4813とRAIDレベル性能要件4814の項目が追加される。   Items of physical disk performance requirement 4813 and RAID level performance requirement 4814 are added to the virtual storage configuration information 701 described in the first embodiment.

仮想ストレージ装置106の管理者が管理サーバ102のGUI画面3102から性能要件を入力する。そして、管理サーバ102は、前記性能要件を物理ストレージ装置120に送信する。そして、物理ストレージ装置120の制御プロセッサ124が仮想ストレージ構成情報701に物理ディスク性能要件4813とRAIDレベル性能要件4814を入力する。   The administrator of the virtual storage apparatus 106 inputs performance requirements from the GUI screen 3102 of the management server 102. Then, the management server 102 transmits the performance requirement to the physical storage device 120. Then, the control processor 124 of the physical storage device 120 inputs the physical disk performance requirement 4813 and the RAID level performance requirement 4814 into the virtual storage configuration information 701.

制御プロセッサ124は、物理ディスク性能要件4813に、例えば“1.5krpm“等、ハードディスクの回転数を入力する。また、制御プロセッサ124は、物理ディスク性能要件4813に、“60MB/s“や“30 IOPS“等のハードディスクのアクセススピードを入力してもよい。   The control processor 124 inputs the number of rotations of the hard disk such as “1.5 krpm” into the physical disk performance requirement 4813. Further, the control processor 124 may input a hard disk access speed such as “60 MB / s” or “30 IOPS” in the physical disk performance requirement 4813.

制御プロセッサ124は、RAIDレベル性能要件4814に、“RAID1”、“RAID5”、“RAID6”等のRAIDレベルを入力する。   The control processor 124 inputs a RAID level such as “RAID1”, “RAID5”, “RAID6” or the like into the RAID level performance requirement 4814.

図49は、物理ディスク制御情報905のデータ構造を示す図である。   FIG. 49 is a diagram showing the data structure of the physical disk control information 905.

図49は、図12と、4913が異なっている。   FIG. 49 is different from FIG. 12 in 4913.

制御プロセッサ124は、物理ディスク性能4913に、例えば“1krpm”等、ハードディスクの回転数を入力する。また、制御プロセッサ124は、物理ディスク性能4913に“60MB/s“や“30 IOPS“等のハードディスクのアクセススピードを入力してもよい。   The control processor 124 inputs the number of rotations of the hard disk such as “1 krpm” into the physical disk performance 4913. Further, the control processor 124 may input a hard disk access speed such as “60 MB / s” or “30 IOPS” in the physical disk performance 4913.

制御プロセッサ124が物理ディスクの型番から物理ディスク性能4913を入力してもよいし、管理者が管理サーバ102から各物理ディスクの物理ディスク性能4913を入力してもよい。   The control processor 124 may input the physical disk performance 4913 from the physical disk model number, or the administrator may input the physical disk performance 4913 of each physical disk from the management server 102.

図50(図50(a)と図50(b))は、資源準備処理を示すフローチャートである。   FIG. 50 (FIG. 50 (a) and FIG. 50 (b)) is a flowchart showing the resource preparation process.

図50は、図38と、5001〜5006、5008〜5013が異なっている。   50 is different from FIG. 38 in 5001 to 5006 and 5008 to 5013.

資源準備処理に関わる他の処理で、実施例1、実施例2及び実施例3の説明と同等の部分については説明を割愛する。   In other processes related to the resource preparation process, the description of the same parts as those in the first embodiment, the second embodiment, and the third embodiment is omitted.

ステップ1101で求めた資源要件のうちの、1つの必要な資源について、空き資源を探索し、空き資源一覧を作成する(ステップ5001)。具体的には、制御プロセッサ124が、資源ボリューム制御情報901、資源キャッシュメモリ制御情報902、資源タスク制御情報903のなかで、必要な資源に対応する情報の使用状態を参照する。そして、制御プロセッサ124は、“未使用”の資源について、空き資源一覧を作成する。例えば、必要な資源がボリュームであった場合、制御プロセッサ124は、資源ボリューム制御情報901の使用状態1024を参照し、“未使用”の資源のリストを作成する。   A free resource is searched for one necessary resource among the resource requirements obtained in step 1101, and a free resource list is created (step 5001). Specifically, the control processor 124 refers to the usage state of information corresponding to a necessary resource among the resource volume control information 901, the resource cache memory control information 902, and the resource task control information 903. Then, the control processor 124 creates a free resource list for “unused” resources. For example, if the necessary resource is a volume, the control processor 124 refers to the usage status 1024 of the resource volume control information 901 and creates a list of “unused” resources.

次に制御プロセッサ124は、ステップ5001で作成した空き資源一覧から、空き資源がないかを調べる。空き資源がない場合(ステップ5002のN)、警告メッセージが表示される(ステップ1108)。空き資源がある場合(ステップ5002のY)、制御プロセッサ124は、空き資源一覧から性能要件が充足する資源を探す(ステップ5003)。   Next, the control processor 124 checks whether there is a free resource from the free resource list created in step 5001. If there is no free resource (N in Step 5002), a warning message is displayed (Step 1108). If there is a free resource (Y in step 5002), the control processor 124 searches the free resource list for a resource that satisfies the performance requirement (step 5003).

以下、具体的に、ステップ5003の処理を説明する。仮想ストレージ構成情報4801の物理ディスク性能要件4813の値と、空き資源一覧の各要素の資源に対応する物理ディスクの物理ディスク制御情報4901における物理ディスク性能4913の値と比較する。仮想ストレージ構成情報4801の物理ディスク性能要件4813の値が前記物理ディスク性能4913の値と同じか、上回っている場合、その資源の物理ディスク性能要件4813は満たされている。   Hereinafter, the processing of step 5003 will be specifically described. The value of the physical disk performance requirement 4813 of the virtual storage configuration information 4801 is compared with the value of the physical disk performance 4913 in the physical disk control information 4901 of the physical disk corresponding to the resource of each element of the free resource list. When the value of the physical disk performance requirement 4813 of the virtual storage configuration information 4801 is the same as or exceeds the value of the physical disk performance 4913, the physical disk performance requirement 4813 of the resource is satisfied.

また、仮想ストレージ構成情報4801のRAIDレベル性能要件4814の内容と、空き資源一覧の各要素の資源に対応するパリティグループのパリティグループ制御情報904におけるRAIDレベル1113の内容と比較する。RAIDレベル性能要件4814と空き資源一覧に対応するRAIDレベル1113の内容が同一である場合、その資源のRAIDレベル性能要件4814は満たされている。また、同一の内容の資源が空き資源一覧になかった場合は、以下のようにしてRAIDレベル性能要件4814が満たされる。他の仮想ストレージ装置106が使用していないパリティグループに属している資源が空き資源一覧にある場合のみ、前記資源の属するパリティグループのRAIDレベルを変更する。 このように、ステップ5003では、制御プロセッサ124は、ステップ5001で作成した空き資源の一覧から、物理ディスク性能要件4813、RAIDレベル性能要件4814の2つの要件について満たす資源が存在するかどうかをチェックする。   Further, the contents of the RAID level performance requirement 4814 of the virtual storage configuration information 4801 are compared with the contents of the RAID level 1113 in the parity group control information 904 of the parity group corresponding to the resource of each element of the free resource list. If the contents of the RAID level performance requirement 4814 and the RAID level 1113 corresponding to the free resource list are the same, the RAID level performance requirement 4814 of the resource is satisfied. When resources having the same contents are not in the free resource list, the RAID level performance requirement 4814 is satisfied as follows. Only when a resource belonging to a parity group not used by another virtual storage apparatus 106 is in the free resource list, the RAID level of the parity group to which the resource belongs is changed. As described above, in step 5003, the control processor 124 checks whether there is a resource that satisfies the two requirements of the physical disk performance requirement 4813 and the RAID level performance requirement 4814 from the list of free resources created in step 5001. .

以上がステップ5003の処理の説明である。   The above is the description of the processing in step 5003.

次に、制御プロセッサ124は、要件を充足する資源があるかどうかをチェックする(ステップ5004)。制御プロセッサ124が、ステップ5003で物理ディスク性能要件4813、RAIDレベル性能要件4814の2つの要件が両方とも満たされないと判断した場合(ステップ5004のN)、性能警告メッセージが管理サーバ102のGUI画面3102に表示される(ステップ5008)。性能警告メッセージの詳細については図51で説明する。   Next, the control processor 124 checks whether there are resources that satisfy the requirement (step 5004). When the control processor 124 determines in step 5003 that both of the physical disk performance requirement 4813 and the RAID level performance requirement 4814 are not satisfied (N in step 5004), the performance warning message is displayed on the GUI screen 3102 of the management server 102. (Step 5008). Details of the performance warning message will be described with reference to FIG.

制御プロセッサ124が、ステップ5003で物理ディスク性能要件4813を満たす資源が存在すると判断した場合(ステップ5004のY)、制御プロセッサ124は構成変更が必要かどうかをチェックする(ステップ5005)。制御プロセッサ124が、ステップ5003で、パリティグループ制御情報904のRAIDレベル1113の内容と比較する。同一の内容の資源が存在しなかった場合、制御プロセッサ124はステップ5005で構成変更が必要と判断し(ステップ5005のY)、パリティグループが変更可能かどうかをチェックする(ステップ5011)。   When the control processor 124 determines in step 5003 that there is a resource that satisfies the physical disk performance requirement 4813 (Y in step 5004), the control processor 124 checks whether a configuration change is necessary (step 5005). In step 5003, the control processor 124 compares the contents of the RAID level 1113 of the parity group control information 904. If resources having the same contents do not exist, the control processor 124 determines in step 5005 that a configuration change is necessary (Y in step 5005), and checks whether the parity group can be changed (step 5011).

ステップ5003で、他の仮想ストレージ装置106が使用していないパリティグループに属している資源が空き資源一覧になかった場合、制御プロセッサ124はパリティグループが変更不可(ステップ5011のN)と判断する。この場合、管理サーバ102のGUI画面3102に構成変更不可メッセージが表示される(ステップ5012)。   In step 5003, if a resource belonging to a parity group that is not used by another virtual storage device 106 is not in the free resource list, the control processor 124 determines that the parity group cannot be changed (N in step 5011). In this case, a configuration change impossible message is displayed on the GUI screen 3102 of the management server 102 (step 5012).

ステップ5012で構成変更不可メッセージが表示された後、仮想ストレージ装置106の管理者が管理サーバ102のGUI画面3102から“リジューム要”または“キャンセル”を指定する(ステップ5013)。仮想ストレージ装置106の管理者が、“リジューム要”を指定した場合(ステップ5013のY)、ステップ5004で制御プロセッサ124が、性能を満たす資源があると判断した場合はその資源を、性能を満たす資源がないと判断した場合は、空き資源一覧の任意の資源を準備資源リストに追加する(ステップ5010)。仮想ストレージ装置106の管理者が “キャンセル”を指定した場合(ステップ5013のN)、制御プロセッサ124は、資源準備処理を終了し、リジューム処理を中断する。   After the configuration change impossible message is displayed in step 5012, the administrator of the virtual storage apparatus 106 designates “resume required” or “cancel” from the GUI screen 3102 of the management server 102 (step 5013). When the administrator of the virtual storage apparatus 106 specifies “resume required” (Y in step 5013), if the control processor 124 determines in step 5004 that there is a resource that satisfies the performance, the resource satisfies the performance. If it is determined that there are no resources, an arbitrary resource in the free resource list is added to the prepared resource list (step 5010). When the administrator of the virtual storage apparatus 106 designates “Cancel” (N in Step 5013), the control processor 124 ends the resource preparation process and interrupts the resume process.

ステップ5003で、他の仮想ストレージ装置106によって使用していないパリティグループに属している資源が空き資源一覧にあった場合、パリティグループが変更可(ステップ5011のN)と判断し、前記資源について、パリティグループ変更処理5006を実行する。   In step 5003, if a resource belonging to a parity group that is not used by another virtual storage device 106 is in the free resource list, it is determined that the parity group can be changed (N in step 5011). Parity group change processing 5006 is executed.

パリティグループ変更処理5006は、資源の属するパリティグループをRAIDレベル性能要件4814のRAIDレベルに構成を変更する処理である。ステップ5003で、そのパリティグループを使っている仮想ストレージ装置106がないことが確認されているので、構成を変更しても他の仮想ストレージ装置106に影響を与えない。制御プロセッサ124は、パリティグループ変更処理5006で、前記パリティグループのRAIDレベルを変更した後、パリティグループを使用した新しい資源ボリュームを生成する。その際に、制御プロセッサ124は、パリティグループ制御情報904のRAIDレベル1113を更新する。また、制御プロセッサ124は、RAIDレベルを変更した後、パリティグループのサイズが変わる場合は、資源ボリューム制御情報901を変更する。   The parity group change process 5006 is a process for changing the configuration of the parity group to which the resource belongs to the RAID level of the RAID level performance requirement 4814. In step 5003, it is confirmed that there is no virtual storage device 106 that uses the parity group. Therefore, even if the configuration is changed, the other virtual storage devices 106 are not affected. In the parity group change processing 5006, the control processor 124 changes the RAID level of the parity group, and then generates a new resource volume using the parity group. At that time, the control processor 124 updates the RAID level 1113 of the parity group control information 904. Further, the control processor 124 changes the resource volume control information 901 when the size of the parity group changes after changing the RAID level.

また、パリティグループ変更処理5006が終了したら、前記資源ボリュームを、資源準備リストに追加する(ステップ5010)。   When the parity group change processing 5006 is completed, the resource volume is added to the resource preparation list (step 5010).

また、制御プロセッサ124が、ステップ5003で、物理ディスク性能要件を満たす空き資源があると判断した場合、ステップ5005から処理を実行する。   If the control processor 124 determines in step 5003 that there is a free resource satisfying the physical disk performance requirement, the processing is executed from step 5005.

ステップ5008で性能警告メッセージを表示した後、仮想ストレージ装置106の管理者が管理サーバ102のGUI画面3102から“リジューム要”と指定した場合(ステップ5009のY)、ステップ5005から処理が進められる。仮想ストレージ装置の管理者が管理サーバ102のGUI画面3102から“キャンセル”と指定した場合(ステップ5009のN)、制御プロセッサ124は、資源準備処理を終了し、リジューム処理を中断する。   After the performance warning message is displayed in step 5008, if the administrator of the virtual storage apparatus 106 designates “resume required” from the GUI screen 3102 of the management server 102 (Y in step 5009), the process proceeds from step 5005. When the administrator of the virtual storage apparatus designates “cancel” from the GUI screen 3102 of the management server 102 (N in Step 5009), the control processor 124 ends the resource preparation process and interrupts the resume process.

ステップ5010で準備資源リストに資源が追加されたら、ステップ1101で求めたすべての必要な資源について一連の処理(ステップ5001から5010まで)を実施していない場合は(ステップ1109のN)、次の必要な資源について空き資源の探索(ステップ5001)が行われる。また、すべての必要な資源について一連の処理が実施された場合(ステップ1109のY)、制御プロセッサ124は資源確保処理を実行し(ステップ3811)、終了する。   When resources are added to the prepared resource list in step 5010, if a series of processing (steps 5001 to 5010) has not been performed for all necessary resources obtained in step 1101 (N in step 1109), the following A search for free resources is performed for necessary resources (step 5001). If a series of processes have been performed for all necessary resources (Y in step 1109), the control processor 124 executes a resource securing process (step 3811) and ends.

図51は、管理サーバ102のGUI画面3102を表す図である。   FIG. 51 is a diagram illustrating a GUI screen 3102 of the management server 102.

図51は、図31と、5101〜5103、5111〜5116が異なっている。   51 is different from FIG. 31 in 5101 to 5103 and 5111 to 5116.

管理サーバ102のGUI画面3102は、要求性能指定画面5101を含む。仮想ストレージ装置106の管理者は、要求性能指定画面5101で、物理ディスク性能5102、及びRAIDレベル5103を指定する。   The GUI screen 3102 of the management server 102 includes a required performance designation screen 5101. The administrator of the virtual storage apparatus 106 specifies the physical disk performance 5102 and the RAID level 5103 on the required performance specification screen 5101.

仮想ストレージ装置106の管理者は、物理ディスク性能5102に、例えば“1.5krpm“等、ハードディスクの回転数を指定する。また、物理ディスク性能5102に、“60MB/s“や“30 IOPS“等のハードディスクのアクセススピードを入力してもよい。   The administrator of the virtual storage apparatus 106 designates the number of rotations of the hard disk, such as “1.5 krpm”, for the physical disk performance 5102. Further, the access speed of the hard disk such as “60 MB / s” or “30 IOPS” may be input to the physical disk performance 5102.

仮想ストレージ装置106の管理者は、RAIDレベル5103に、“RAID1”、“RAID5”、“RAID6”等のRAIDレベルを指定する。   The administrator of the virtual storage apparatus 106 designates a RAID level such as “RAID1”, “RAID5”, “RAID6” or the like as the RAID level 5103.

仮想ストレージ装置106の管理者が、要求性能指定画面5101に入力し、実行ボタン3116を押すと、管理サーバ102は物理ストレージ装置120に要求性能指定画面5101で設定した物理ディスク性能5102、及びRAIDレベル5103の設定内容を送信する。   When the administrator of the virtual storage apparatus 106 inputs the requested performance designation screen 5101 and presses the execute button 3116, the management server 102 sets the physical disk performance 5102 set in the required performance designation screen 5101 on the physical storage apparatus 120 and the RAID level. The setting content 5103 is transmitted.

物理ストレージ装置120は、ステップ5008で、仮想ストレージ装置106の管理者が指定した物理ディスク性能5102の設定内容を満たすことができない場合に、性能警告メッセージ5111を管理サーバ102に表示するよう指示を送信する。   In step 5008, the physical storage device 120 sends an instruction to display the performance warning message 5111 on the management server 102 when the setting contents of the physical disk performance 5102 specified by the administrator of the virtual storage device 106 cannot be satisfied. To do.

継続ボタン5113を押すと、管理サーバ102は物理ストレージ装置120にリジュームを継続することを伝えるメッセージを送信する。そして、物理ストレージ装置120は、ステップ5009でリジュームが必要と判断する(ステップ5009のY)。キャンセルボタン5114を押すと、管理サーバ102は物理ストレージ装置120にリジュームをキャンセルすることを伝えるメッセージを送信する。そして、物理ストレージ装置120は、ステップ5009でリジュームが不要と判断する(ステップ5009のN)。   When the continuation button 5113 is pressed, the management server 102 transmits a message informing the physical storage device 120 that resume will be continued. Then, the physical storage device 120 determines that resumption is necessary in Step 5009 (Y in Step 5009). When a cancel button 5114 is pressed, the management server 102 transmits a message notifying the physical storage device 120 that the resume is cancelled. Then, the physical storage device 120 determines in step 5009 that resuming is unnecessary (N in step 5009).

物理ストレージ装置120は、ステップ5012で、仮想ストレージ装置106の管理者が指定したRAIDレベル5103の設定内容を満たすことができない場合に、構成変更不可メッセージ5112を管理サーバ102に表示するよう指示を送信する。   In step 5012, the physical storage device 120 sends an instruction to display the configuration change impossible message 5112 on the management server 102 when the setting contents of the RAID level 5103 specified by the administrator of the virtual storage device 106 cannot be satisfied. To do.

継続ボタン5115を押すと、管理サーバ102は物理ストレージ装置120にリジュームを継続することを伝えるメッセージを送信する。そして、物理ストレージ装置120は、ステップ5013でリジュームが必要と判断する(ステップ5013のY)。キャンセルボタン5116を押すと、管理サーバ102は物理ストレージ装置120にリジュームをキャンセルすることを伝えるメッセージを送信する。そして、物理ストレージ装置120は、ステップ5013でリジュームが不要と判断する(ステップ5013のN)。   When the continuation button 5115 is pressed, the management server 102 transmits a message informing the physical storage device 120 that resume will be continued. Then, the physical storage device 120 determines that resumption is necessary in step 5013 (Y in step 5013). When a cancel button 5116 is pressed, the management server 102 transmits a message notifying the physical storage device 120 that cancellation of resume is to be performed. Then, the physical storage device 120 determines in step 5013 that resuming is unnecessary (N in step 5013).

以上のようにして、物理ストレージ120が仮想ストレージ装置106Aへサスペンド前に割り当てていた物理資源を、他の仮想ストレージ装置106Bで使用中である等の理由で仮想ストレージ装置106Aのリジューム時に割り当てられない場合においても、リジューム時にステップ5003で、前記性能要件を満たす空き資源を探すこと、及びステップ5006のパリティグループ変更処理により、要求性能を満たす資源を生成して当該資源を使用してリジュームすることにより、性能低下を回避することができる。また性能要件を満たす資源をステップ5006において生成できない場合でも、管理サーバが、性能警告メッセージ5111や構成変更不可メッセージ5112を表示することで、仮想ストレージ装置106の管理者に伝えることができ、高性能な物理ディスクを追加する等の対策を促すことができる。
(第6の実施形態)
本実施例では、仮想ストレージ装置106のサスペンド時に資源を予約しておくことで、リジューム時に資源が足りずにリジュームできないことを防ぐ方法について述べる。本実施例は、第1〜第4の実施例に適用できる。
As described above, the physical resources allocated by the physical storage 120 to the virtual storage apparatus 106A before being suspended cannot be allocated when the virtual storage apparatus 106A is resumed because the other virtual storage apparatus 106B is using the physical resource. Even in such a case, by searching for a free resource satisfying the performance requirement in step 5003 at the time of resuming, and generating a resource satisfying the required performance by the parity group change processing in step 5006 and resuming using the resource. , Performance degradation can be avoided. Even if a resource that satisfies the performance requirements cannot be generated in step 5006, the management server can notify the administrator of the virtual storage apparatus 106 by displaying the performance warning message 5111 or the configuration change impossible message 5112. Measures such as adding new physical disks can be encouraged.
(Sixth embodiment)
In this embodiment, a method for preventing a resource from being resumed due to insufficient resources during resumption by reserving resources when the virtual storage device 106 is suspended will be described. This embodiment can be applied to the first to fourth embodiments.

以下、第6の実施形態について、第1の実施形態との差異を説明する。   Hereinafter, the difference between the sixth embodiment and the first embodiment will be described.

図56は、管理サーバ102のGUI画面2202を示した図である。   FIG. 56 is a view showing a GUI screen 2202 of the management server 102.

図52は、図31と、5201〜5204が異なっている。   52 is different from FIG. 31 in 5201 to 5204.

仮想ストレージ装置106の管理者は、資源を予約する場合、サスペンド設定画面3111にある、資源予約5201を“有”に設定する。仮想ストレージ装置106の管理者は、資源を予約しない場合、資源予約5201を“無”に設定する。   When reserving a resource, the administrator of the virtual storage apparatus 106 sets the resource reservation 5201 on the suspend setting screen 3111 to “present”. The administrator of the virtual storage apparatus 106 sets the resource reservation 5201 to “none” when not reserving the resource.

管理サーバ102のGUI画面3102は、仮想ストレージ装置106のリジューム時に、資源不足でリジュームできない場合、警告メッセージ5202を表示する。警告メッセージ5202の、予約解除ボタン5203を押すと、予約指定した資源を解放する。予約指定した資源を解放する目的は、仮想ストレージ装置106が、空き資源がないためにリジュームできない場合、資源の予約を解除することで、緊急的に前記仮想ストレージ装置106をリジュームすることを可能にすることである。物理ストレージ装置側の詳細の動作については、後ほど図55で説明する。   When the virtual storage apparatus 106 is resumed, the GUI screen 3102 of the management server 102 displays a warning message 5202 if the resource cannot be resumed. When the reservation cancel button 5203 of the warning message 5202 is pressed, the resource specified for reservation is released. The purpose of releasing the reserved resource is that when the virtual storage device 106 cannot resume because there is no free resource, the virtual storage device 106 can be resumed urgently by releasing the resource reservation. It is to be. Detailed operations on the physical storage device side will be described later with reference to FIG.

図53は、資源予約情報のデータ構造を示した図である。   FIG. 53 is a diagram showing a data structure of resource reservation information.

資源予約情報5301は、資源種別5311、資源番号5312、予約の有無5313、仮想ストレージ装置番号5314、仮想資源番号5315を項目として含む。資源予約情報5301は、制御メモリ125に格納される。   The resource reservation information 5301 includes, as items, a resource type 5311, a resource number 5312, presence / absence of reservation 5313, a virtual storage device number 5314, and a virtual resource number 5315. Resource reservation information 5301 is stored in the control memory 125.

制御プロセッサ124は、資源種別5311に、“資源タスク”、“資源ボリューム”等の資源の種類を入力する。   The control processor 124 inputs a resource type such as “resource task” and “resource volume” in the resource type 5311.

制御プロセッサ124は資源番号5312に、資源番号を入力する。制御プロセッサ124は、予約の有無5313に、資源番号5312の資源について予約している場合は“有”、予約していない場合は“無”を入力する。   The control processor 124 inputs the resource number into the resource number 5312. In the presence / absence of reservation 5313, the control processor 124 inputs “Yes” if the resource with the resource number 5312 is reserved, and “No” if not reserved.

制御プロセッサ124は、予約の有無5313が“有”の場合、仮想ストレージ装置番号5314に、その予約している仮想ストレージ装置106の番号を入力する。   When the presence / absence of reservation 5313 is “present”, the control processor 124 inputs the number of the reserved virtual storage device 106 in the virtual storage device number 5314.

制御プロセッサ124は、予約の有無5313が“有”の場合、仮想資源番号5315に、その予約している仮想ストレージ装置106の、資源番号5312の資源と、サスペンド前に対応していた仮想資源番号を入力する。   When the presence / absence of reservation 5313 is “present”, the control processor 124 sets the virtual resource number 5315 to the resource with the resource number 5312 of the reserved virtual storage device 106 and the virtual resource number corresponding to before the suspension. Enter.

図54は、資源予約指定時のサスペンド処理を示したフローチャートである。   FIG. 54 is a flowchart showing a suspend process when a resource reservation is specified.

仮想ストレージ装置106の管理者が、管理サーバ102のGUI画面3102で、資源予約5201を“有”に設定して、サスペンドを指示した場合、物理ストレージ装置120は、まず資源予約情報を更新する(ステップ5401)。具体的には、サスペンド対象の仮想ストレージ装置106が使用している各資源について、制御プロセッサ124は、仮想ストレージ資源管理情報211を参照し、資源予約情報5301に、資源種別5311、資源番号5312、仮想ストレージ装置番号5314、仮想資源番号5315にそれぞれ対応する番号を入力し、予約の有無5313に“有”を入力する。   When the administrator of the virtual storage apparatus 106 sets the resource reservation 5201 to “present” on the GUI screen 3102 of the management server 102 and instructs suspension, the physical storage apparatus 120 first updates the resource reservation information ( Step 5401). Specifically, for each resource used by the virtual storage device 106 to be suspended, the control processor 124 refers to the virtual storage resource management information 211 and stores the resource type 5311, resource number 5312, Numbers corresponding to the virtual storage device number 5314 and the virtual resource number 5315 are input, and “present” is input to the reservation presence / absence 5313.

その後、サスペンド処理311を実行する(ステップ5402)。   Thereafter, a suspend process 311 is executed (step 5402).

図55は、リジューム時の資源準備処理を示したフローチャートである。   FIG. 55 is a flowchart showing the resource preparation process at the time of resuming.

図55は、図30と、5501〜5504が異なっている。ステップ3001で求めた必要な資源要件について、制御プロセッサ124は、リジューム対象の仮想ストレージ装置で、予約済みの資源が存在しているかどうかを調べる(ステップ5501)。具体的には、制御プロセッサ124は、資源予約情報5301を参照し、レジューム対象の仮想ストレージ装置106の番号で、かつ予約の有無5313が“有”の資源があるかどうかを調べる。   FIG. 55 is different from FIG. 30 in 5501-5504. Regarding the necessary resource requirements obtained in step 3001, the control processor 124 checks whether there is a reserved resource in the resume target virtual storage device (step 5501). Specifically, the control processor 124 refers to the resource reservation information 5301 and checks whether there is a resource having the number of the virtual storage apparatus 106 to be resumed and the presence / absence of reservation 5313 being “present”.

予約済みの資源が存在している場合(ステップ5501のY)、制御プロセッサ124は、その資源について、資源予約情報5301の予約の有無5313に“無”を入力する。そして、制御プロセッサ124は、前記資源を確保対象として、確保する資源に対応する仮想ストレージ資源管理情報211と物理ストレージ制御情報210を更新する(ステップ3004)。以降の処理で実施例1と同等の部分は、説明を割愛する。   If there is a reserved resource (Y in step 5501), the control processor 124 inputs “None” in the reservation presence / absence 5313 of the resource reservation information 5301 for the resource. Then, the control processor 124 updates the virtual storage resource management information 211 and the physical storage control information 210 corresponding to the resource to be secured, with the resource as a securing target (step 3004). In the subsequent processing, the description of the same parts as those in the first embodiment is omitted.

また、ステップ5501で予約済みの資源が存在しない場合(ステップ5501のN)、空き資源を探索し(ステップ3002)、ステップ3003に進む。   If there is no reserved resource in Step 5501 (N in Step 5501), a free resource is searched (Step 3002), and the process proceeds to Step 3003.

ステップ3003で、空き資源がないと判定した場合(3003のN)、警告メッセージを表示する(ステップ3008)。ステップ3008は具体的には、物理ストレージ装置120が、管理サーバ102に対して警告メッセージを表示するように命令を送信する。そして、管理サーバ102はストレージ管理プログラムによりこれを受信して、警告メッセージ5202を表示する。   If it is determined in step 3003 that there are no free resources (N in 3003), a warning message is displayed (step 3008). Specifically, in step 3008, the physical storage device 120 transmits a command to display a warning message to the management server 102. The management server 102 receives this by the storage management program and displays a warning message 5202.

仮想ストレージ装置106の管理者が警告メッセージ5202の、予約解除ボタン5203を押すと、管理サーバ102から物理ストレージ装置120に予約解除の命令が送信される。そして、物理ストレージ装置120は、予約解除を実行すると判断し(ステップ5503のY)、予約解除を実行する(ステップ5504)。具体的には、制御プロセッサ124は、ステップ5504で、資源予約情報5301の予約の有無5313をすべて“無”にする。その後、ステップ3002に戻り、再度、初めから空き資源を探索する。   When the administrator of the virtual storage apparatus 106 presses the reservation cancellation button 5203 of the warning message 5202, a reservation cancellation command is transmitted from the management server 102 to the physical storage apparatus 120. Then, the physical storage device 120 determines to cancel the reservation (Y in Step 5503), and executes the reservation cancellation (Step 5504). Specifically, in step 5504, the control processor 124 sets all the reservations 5313 in the resource reservation information 5301 to “None”. Thereafter, the process returns to step 3002 to search for a free resource from the beginning again.

仮想ストレージ装置106の管理者が警告メッセージ5202の、OKボタン5204を押すと、管理サーバ102から物理ストレージ装置120に予約解除を実行しないという命令が送信される。そして、物理ストレージ装置120は予約解除を実行しないと判断し(ステップ5505のN)、資源準備処理を終了し、リジューム処理を中断する。   When the administrator of the virtual storage apparatus 106 presses an OK button 5204 in the warning message 5202, a command not to execute reservation cancellation is transmitted from the management server 102 to the physical storage apparatus 120. Then, the physical storage device 120 determines not to cancel the reservation (N in Step 5505), ends the resource preparation process, and interrupts the resume process.

ステップ3003で、空き資源があると判定された場合(3003のN)、空き資源について、物理ストレージ装置120は、資源が予約済みかどうかをチェックする(ステップ5502)。具体的には、制御プロセッサ124は、空き資源の番号に対応する資源予約情報5301を参照し、予約の有無5313が“有”の場合は、資源が予約済みと判断する(ステップ5502のY)。そして、制御プロセッサ124は、他の空き資源を探索するため、ステップ3002に進む。また、前記の予約の有無5313が“無”の場合は、制御プロセッサ124は、資源が予約されていないと判断し(ステップ5502のN)、ステップ3004に進む。以降の処理で実施例1と同等の部分は、説明を割愛する。   If it is determined in step 3003 that there is a free resource (N in 3003), the physical storage device 120 checks whether the resource has been reserved for the free resource (step 5502). Specifically, the control processor 124 refers to the resource reservation information 5301 corresponding to the number of the free resource, and when the presence / absence of reservation 5313 is “present”, the control processor 124 determines that the resource has been reserved (Y in step 5502). . Then, the control processor 124 proceeds to Step 3002 to search for another free resource. If the reservation presence / absence 5313 is “none”, the control processor 124 determines that the resource is not reserved (N in Step 5502), and proceeds to Step 3004. In the subsequent processing, the description of the same parts as those in the first embodiment is omitted.

以上の処理をまとめる。仮想ストレージ装置1201Aの管理者が、管理サーバ102のGUI画面3102から資源予約の指定をする。そして、物理ストレージ装置120が、仮想ストレージ装置1201Aのサスペンド時に、ステップ5401で資源予約情報5301を更新する。そして、物理ストレージ装置120は、他の仮想ストレージ装置1201C(開示していない)のリジューム時に資源準備処理のステップ5502で予約の有無をチェックする。そして、物理ストレージ装置120が、予約されていない資源のみを確保する。このようにして、仮想ストレージ装置1201Aが、資源が足りずにリジューム不可になることを防げる。
(第7の実施形態)
本実施例では、仮想ストレージ装置106の管理者が、仮想ストレージ装置106のサスペンド時にボリュームデータの退避の有無を選択できるようにして、サスペンド及びリジューム処理の実行時間を短縮する方法について述べる。
The above processing is summarized. The administrator of the virtual storage apparatus 1201A designates resource reservation from the GUI screen 3102 of the management server 102. Then, the physical storage device 120 updates the resource reservation information 5301 in step 5401 when the virtual storage device 1201A is suspended. Then, the physical storage device 120 checks whether there is a reservation in step 5502 of the resource preparation process when another virtual storage device 1201C (not disclosed) resumes. Then, the physical storage device 120 secures only unreserved resources. In this way, the virtual storage apparatus 1201A can be prevented from being unable to resume due to insufficient resources.
(Seventh embodiment)
In this embodiment, a method for shortening the execution time of suspend and resume processing by allowing the administrator of the virtual storage apparatus 106 to select whether or not to save volume data when the virtual storage apparatus 106 is suspended will be described.

本実施例は、第1〜第4の実施例に適用できる。   This embodiment can be applied to the first to fourth embodiments.

以下、第7の実施形態について、第1、6の実施形態との差異を説明する。   Hereinafter, the difference between the seventh embodiment and the first and sixth embodiments will be described.

図56は、管理サーバ102の画面3101を示す図である。   FIG. 56 is a diagram showing a screen 3101 of the management server 102.

図56は、図31と、5601が異なっている。   56 differs from FIG. 31 in FIG.

仮想ストレージ装置106の管理者は、ボリュームデータ退避5601に、ボリュームデータを退避する場合は“有”を、退避しない場合は、“無”を入力する。   The administrator of the virtual storage apparatus 106 inputs “Yes” in the volume data save 5601 when saving the volume data, and “No” if not saved.

物理ストレージ装置120は、ボリュームデータを退避する場合、ボリュームデータを現在とは異なるボリューム(外部ストレージ装置129等)にコピーする。このため、ボリュームデータを退避する場合は、処理に長時間かかる。ボリュームデータを退避しない場合は、実行時間を短縮することができる。ただし、退避しない場合には、資源ボリュームにデータが残り、解放できない。このため、他の仮想ストレージ装置がその資源ボリュームを使うことができない。よって、システムの再開時間の制約等から管理者がどちらを選択するかを決める。   When saving the volume data, the physical storage device 120 copies the volume data to a volume different from the current one (such as the external storage device 129). For this reason, it takes a long time to save the volume data. If the volume data is not saved, the execution time can be shortened. However, if not saved, data remains in the resource volume and cannot be released. For this reason, other virtual storage apparatuses cannot use the resource volume. Therefore, the administrator decides which one to select because of restrictions on the restart time of the system.

図57は、ボリューム退避指定処理を示すフローチャートである。   FIG. 57 is a flowchart showing the volume saving designation process.

物理ストレージ装置120の制御プロセッサ124が、ボリューム退避指定処理を実行する。   The control processor 124 of the physical storage device 120 executes volume save designation processing.

仮想ストレージ装置106の管理者が管理サーバ102のGUI画面3102でボリュームデータ退避5601に“有”を設定した場合のみ、ボリューム退避指定処理が実行される。この際、管理サーバ102は、ストレージ管理プログラム1704によって、物理ストレージ装置120と通信し、ストレージ装置120にボリューム退避指定処理を実行するように指示する。   Only when the administrator of the virtual storage apparatus 106 sets “exist” to the volume data save 5601 on the GUI screen 3102 of the management server 102, the volume save designation process is executed. At this time, the management server 102 communicates with the physical storage device 120 by the storage management program 1704 and instructs the storage device 120 to execute the volume saving designation process.

制御プロセッサ124は、ボリューム退避指定処理を開始すると、ボリューム退避情報5802を変更し、仮想ボリュームを退避無しに指定する(ステップ5701)。具体的には、制御プロセッサ124はボリューム退避情報5802のサスペンド対象の仮想ストレージ装置106が使用している仮想ボリューム番号に対応する退避の有無6212に“無”を入力する。   When starting the volume evacuation designation process, the control processor 124 changes the volume evacuation information 5802 and designates the virtual volume without evacuation (step 5701). Specifically, the control processor 124 inputs “None” in the presence / absence of saving 6212 corresponding to the virtual volume number used by the virtual storage device 106 to be suspended in the volume saving information 5802.

次に、制御プロセッサ124は、資源予約情報5301(実施例6に関連)を変更し、仮想ボリュームを予約する(ステップ5702)。具体的には、制御プロセッサ124は、仮想ストレージ資源管理情報1521を参照し、資源予約情報5301に、資源種別5311、資源番号5312、仮想ストレージ装置番号5314、仮想資源番号5315を入力し、予約の有無5313に“有”を入力する。   Next, the control processor 124 changes the resource reservation information 5301 (related to the sixth embodiment) and reserves the virtual volume (step 5702). Specifically, the control processor 124 refers to the virtual storage resource management information 1521, inputs the resource type 5311, the resource number 5312, the virtual storage device number 5314, and the virtual resource number 5315 to the resource reservation information 5301, “Present” is entered in the presence / absence 5313.

この予約について、実施例6の説明では、ステップ5505で予約解除を実行することができると説明した。しかし、本実施例の場合、ボリュームデータは別のボリュームに退避していない。このため、別の仮想ストレージ装置106のリジューム時に予約解除を実行し、資源ボリュームを使用すると、データが破壊される可能性がある。データが破壊された場合は復元ができなくなる。そこで、ステップ5702実行中に、制御プロセッサ124は、予約解除可否情報6001にサスペンド対象の仮想ストレージ装置106の仮想ボリュームについて“否”と設定する。それによって、制御プロセッサ124は、後に説明する資源準備処理のステップ6301で予約解除可否情報6001をチェックし、前記仮想ボリュームの予約解除の実行を防ぐ。   Regarding the reservation, in the description of the sixth embodiment, it has been described that the reservation cancellation can be executed in step 5505. However, in this embodiment, the volume data is not saved to another volume. For this reason, if reservation cancellation is executed when another virtual storage device 106 is resumed and the resource volume is used, data may be destroyed. If the data is destroyed, it cannot be restored. Therefore, during execution of step 5702, the control processor 124 sets “No” for the virtual volume of the virtual storage device 106 to be suspended in the reservation cancelability information 6001. As a result, the control processor 124 checks the reservation cancellation availability information 6001 in step 6301 of the resource preparation process described later to prevent execution of the reservation cancellation of the virtual volume.

次に、サスペンド対象の仮想ストレージ装置106が使用しているすべての仮想ボリュームについて、処理が実行済みかどうかを判断する。(ステップ5703)処理が実行済みでなければ(ステップ5703のN)、次の仮想ボリュームについてステップ5701から処理を進め、実行済みであれば(ステップ5703のY)、終了する。   Next, it is determined whether or not the processing has been executed for all virtual volumes used by the virtual storage device 106 to be suspended. (Step 5703) If the process has not been executed (N in Step 5703), the process proceeds from Step 5701 for the next virtual volume. If it has been executed (Y in Step 5703), the process ends.

図58は、仮想ストレージ制御情報の保持する情報を表す図である。   FIG. 58 is a diagram illustrating information held in the virtual storage control information.

図58は、図4の仮想ストレージ制御情報201の部分と、5802、6001が異なっている。   58 differs from the virtual storage control information 201 portion of FIG. 4 in 5802 and 6001.

実施例1で説明した仮想ストレージ制御情報401に、仮想ストレージ構成情報5801とボリューム退避情報5802と予約解除可否情報6001を追加する。ボリューム退避情報5802と予約解除可否情報6001については、後説する。   Virtual storage configuration information 5801, volume save information 5802, and reservation release enable / disable information 6001 are added to the virtual storage control information 401 described in the first embodiment. The volume evacuation information 5802 and the reservation cancelability information 6001 will be described later.

図59は、ボリューム退避情報のデータ構造を示した図である。   FIG. 59 shows the data structure of volume save information.

ボリューム退避情報5802は、仮想ボリューム番号5911と退避の有無5912を項目に含む。   The volume save information 5802 includes a virtual volume number 5911 and save status 5912 as items.

仮想ボリューム番号5911に対応する仮想ボリュームが、前記仮想ボリュームの属する仮想ストレージ装置106のサスペンド時に退避を実行するかどうかを、退避の有無5912が示している。制御プロセッサ124は、ボリューム退避情報5802の退避の有無5912に、退避を実行する場合は、“有”を、実行しない場合は、“無”を入力する。   Whether or not the virtual volume corresponding to the virtual volume number 5911 executes the evacuation when the virtual storage apparatus 106 to which the virtual volume belongs is suspended is indicated by the presence / absence 5912 of the evacuation. The control processor 124 inputs “Yes” if the save is to be executed, and “No” if it is not to be executed, as the save status 5912 of the volume save information 5802.

図60は、予約解除可否情報のデータ構造を示した図である。   FIG. 60 is a diagram showing a data structure of reservation cancellation availability information.

ボリューム退避情報6001は、仮想ボリューム番号6011と予約解除可否6012を項目に含む。   The volume evacuation information 6001 includes a virtual volume number 6011 and reservation cancelability 6012 as items.

仮想ボリューム番号6011に対応する仮想ボリュームが、仮想ストレージ装置106のリジューム時に予約解除が実行されるかどうかを、予約解除可否6012が示している。制御プロセッサ124は、ボリューム退避情報6001の予約解除可否6012に、予約解除を実行する場合は、“可”を、実行しない場合は、“否”を入力する。   Whether or not reservation cancellation is executed when the virtual volume corresponding to the virtual volume number 6011 is resumed by the virtual storage apparatus 106 indicates whether or not reservation cancellation 6012 is performed. The control processor 124 inputs “permitted” in the reservation cancellation permission / inhibition 6012 of the volume evacuation information 6001 when executing the reservation cancellation, and “not permission” when not executing the reservation cancellation.

図61は、サスペンド処理の動作を示すフローチャートである。   FIG. 61 is a flowchart showing the operation of the suspend process.

図61は、図27と、6101、6102が異なっている。   FIG. 61 is different from FIG. 27 in 6101 and 6102.

ステップ2703の後、ボリュームの退避有りかを判断する(ステップ6101)。具体的には、制御プロセッサ124は、対象の資源が資源ボリュームの場合は、仮想ストレージ資源管理情報1521及びボリューム退避情報5802を参照する。そして、制御プロセッサ124は、対象の資源ボリュームに対応する仮想ボリューム番号と、仮想ボリューム番号に対応するボリューム退避情報5802の退避の有無5912が“有”かどうかを判定する。“有”の場合は(ステップ6101のY)、物理ストレージ装置120は、ボリュームデータをストレージイメージデータ保存先ボリュームに退避する(ステップ6102)。ステップ6102の終了後、ステップ2705に進む。   After step 2703, it is determined whether there is volume saving (step 6101). Specifically, the control processor 124 refers to the virtual storage resource management information 1521 and the volume save information 5802 when the target resource is a resource volume. Then, the control processor 124 determines whether or not the virtual volume number corresponding to the target resource volume and the saving status 5912 of the volume saving information 5802 corresponding to the virtual volume number are “present”. If it is “Yes” (Y in Step 6101), the physical storage device 120 saves the volume data to the storage image data storage destination volume (Step 6102). On completion of step 6102, control proceeds to step 2705.

また、前記退避の有無6212が“無”の場合は(ステップ6101のN)、ステップ2705に進む。   On the other hand, if the presence / absence of the saving 6212 is “None” (N in Step 6101), the process proceeds to Step 2705.

図62は、仮想ストレージ装置106のレジューム処理の動作を示すフローチャートである。   FIG. 62 is a flowchart showing the resume processing operation of the virtual storage apparatus 106.

図62は、図29と、6201〜6203が異なっている。   62 differs from FIG. 29 in 6201-6203.

ステップ2902の後、制御プロセッサ124は、ボリュームの退避有りかを判断する(ステップ6201)。具体的には、制御プロセッサ124は、対象の資源が資源ボリュームの場合は、仮想ストレージ資源管理情報1521及びボリューム退避情報5802を参照する。そして、制御プロセッサ124は、対象の資源ボリュームに対応する仮想ボリューム番号と、仮想ボリューム番号に対応するボリューム退避情報5802の退避の有無5912が“有”かどうかを判定する。退避の有無5912が“有”の場合は(ステップ6201のY)、ストレージイメージデータ1601からボリュームデータを回復する(ステップ6202)。そして、ステップ6202の終了後、ステップ6203に進む。   After step 2902, the control processor 124 determines whether there is volume saving (step 6201). Specifically, the control processor 124 refers to the virtual storage resource management information 1521 and the volume save information 5802 when the target resource is a resource volume. Then, the control processor 124 determines whether or not the virtual volume number corresponding to the target resource volume and the saving status 5912 of the volume saving information 5802 corresponding to the virtual volume number are “present”. If the presence / absence of saving 5912 is “present” (Y in step 6201), the volume data is recovered from the storage image data 1601 (step 6202). Then, after step 6202 ends, the process proceeds to step 6203.

また、前記退避の有無5912が“無”の場合は(ステップ6201のN)、ステップ6203に進む。   If the presence / absence of the save 5912 is “None” (N in Step 6201), the process proceeds to Step 6203.

制御プロセッサ124は、すべての資源ボリュームについて実行済みかどうかを判断し(ステップ6203)、実行済みの場合(ステップ6203のY)、ステップ2904に進む。実行済みではない場合(ステップ6203のN)、制御プロセッサ124は、次の資源ボリュームについてステップ6201から処理を進める。   The control processor 124 determines whether or not all the resource volumes have been executed (step 6203). If it has been executed (Y in step 6203), the control processor 124 proceeds to step 2904. If not executed (N in Step 6203), the control processor 124 proceeds with the process from Step 6201 for the next resource volume.

図63は、資源準備処理の動作を示すフローチャートである。   FIG. 63 is a flowchart showing the operation of the resource preparation process.

図63は、図55と、ステップ6301を追加している点で異なる。   FIG. 63 differs from FIG. 55 in that step 6301 is added.

ステップ5504で、物理ストレージ装置120の制御プロセッサ124は、警告メッセージを表示させた後、対象の仮想ボリュームは予約解除が可能かどうかを判断する(ステップ6301)。具体的には、制御プロセッサ124は対象の仮想ボリュームに対応する予約解除可否情報6001が“否”かどうかチェックし、“否”の場合は予約解除を実行せずに終了する(ステップ6301のN)。予約解除可否情報6001が“可”の場合(ステップ6301のY)、ステップ5505に進む。   In step 5504, the control processor 124 of the physical storage device 120 displays a warning message, and then determines whether the target virtual volume can be released from the reservation (step 6301). Specifically, the control processor 124 checks whether or not the reservation cancellation availability information 6001 corresponding to the target virtual volume is “No”. If “No”, the control processor 124 ends without executing the reservation cancellation (N in Step 6301). ). If the reservation cancelability information 6001 is “permitted” (Y in step 6301), the process proceeds to step 5505.

実施例7の処理をまとめる。仮想ストレージ装置106のサスペンド時に、ステップ5701でボリューム退避情報5802を変更する。仮想ストレージ装置106が使用している資源ボリュームについて、データの退避の対象外であることを指定する。ステップ6101及びステップ6201で、ボリュームデータをストレージイメージデータ1601として、別ボリュームに退避させる処理を実行するかどうかを判定する。このようにして、データの退避の対象外である場合にはデータの退避を実行しないことにより、高速にサスペンド処理及びレジューム処理を実行することができる。   The processing of Example 7 is summarized. When the virtual storage apparatus 106 is suspended, the volume save information 5802 is changed in step 5701. The resource volume used by the virtual storage apparatus 106 is designated as not being subject to data backup. In step 6101 and step 6201, it is determined whether or not to execute processing for saving volume data as storage image data 1601 to another volume. In this way, when the data is not to be saved, the suspend process and the resume process can be executed at high speed by not performing the data save.

また、予約解除可否情報6001を変更して、ステップ5702で仮想ボリュームの予約解除を無効化することができる。この場合、他の仮想ストレージ装置106のリジューム時にステップ6301により、資源ボリュームを上書きしデータを破壊することを防ぐことができる。
(第8の実施形態)
本実施例では、仮想ストレージ装置106がサスペンドした物理ストレージ装置と、リジュームする物理ストレージ装置120が異なっていた場合に、プログラムのライセンスをチェックする処理について述べる。
In addition, the reservation cancellation availability information 6001 can be changed, and the reservation cancellation of the virtual volume can be invalidated in Step 5702. In this case, when the other virtual storage apparatus 106 is resumed, it is possible to prevent overwriting the resource volume and destroying the data in step 6301.
(Eighth embodiment)
In this embodiment, a process for checking a license of a program when the physical storage device suspended by the virtual storage device 106 and the physical storage device 120 to be resumed are different will be described.

本実施例は、第4の実施例に適用される。   This embodiment is applied to the fourth embodiment.

以下、第8の実施形態について、第1、4の実施形態との差異を説明する。   Hereinafter, the difference between the eighth embodiment and the first and fourth embodiments will be described.

図64は、リジューム時にプログラムのライセンスがインストールされていないことを示す警告メッセージである。この警告メッセージは、仮想ストレージ装置106をサスペンドした物理ストレージ装置120でインストールされていたプログラムのライセンスが、リジューム先の別の物理ストレージ装置120でインストールされていない場合に、仮想ストレージ装置106の管理者に対して表示される。   FIG. 64 is a warning message indicating that the program license is not installed at the time of resumption. This warning message is displayed when the license of the program installed on the physical storage device 120 that has suspended the virtual storage device 106 is not installed on another physical storage device 120 that is the resume destination. Is displayed.

前記メッセージは、例えば、“リジューム先のストレージで以下のプログラムのライセンスがありません。プログラムをインストールしてください。”というメッセージと、インストールしていないプログラムの種別(例えば“リモートコピー”等)を表示する。   The message displays, for example, the message “There is no license for the following program in the resume storage. Please install the program.” And the type of the program that has not been installed (for example, “Remote Copy”). .

図65は、物理ストレージ制御情報の保持する情報を表す図である。   FIG. 65 is a diagram showing information held in the physical storage control information.

図65は、図9と、6601を追加している点で異なる。   65 differs from FIG. 9 in that 6601 is added.

本実施例では、実施例1で説明した物理ストレージ制御情報に、プログラムライセンス情報6601を追加する。   In this embodiment, program license information 6601 is added to the physical storage control information described in the first embodiment.

図66は、プログラムライセンス情報6601のデータ構造を示した図である。   FIG. 66 shows the data structure of program license information 6601.

制御プロセッサ124は、プログラムライセンス情報6601に、プログラム種別6611に “ローカルコピー”や“リモートコピー”等のプログラム種別を入力し、ライセンス情報6612に、プログラム種別に対応するライセンスが有効か無効かを入力する。   The control processor 124 inputs a program type such as “local copy” or “remote copy” in the program type 6611 in the program license information 6601, and inputs whether the license corresponding to the program type is valid or invalid in the license information 6612. To do.

管理サーバ102のGUI画面3102から、ライセンスのインストールを実行されると、管理サーバ102が物理ストレージと通信する。そして、制御プロセッサ124がプログラムライセンス情報の対応するプログラム種別6611のライセンス情報6612を“有効”にする。また、管理サーバ102のGUI画面3102から、ライセンスのアンインストールが実行されると、管理サーバ102が物理ストレージと通信する。そして、制御プロセッサ124がプログラムライセンス情報の対応するプログラム種別6611のライセンス情報6612を“無効”にする。   When license installation is executed from the GUI screen 3102 of the management server 102, the management server 102 communicates with the physical storage. Then, the control processor 124 sets the license information 6612 of the program type 6611 corresponding to the program license information to “valid”. When the license is uninstalled from the GUI screen 3102 of the management server 102, the management server 102 communicates with the physical storage. Then, the control processor 124 invalidates the license information 6612 of the program type 6611 corresponding to the program license information.

図67は、レジューム処理の動作を示したフローチャートである。   FIG. 67 is a flowchart showing the operation of the resume process.

図67は、図29と、6701、6702を追加している点で異なる。   67 differs from FIG. 29 in that 6701 and 6702 are added.

ステップ2901の後、制御プロセッサ124は、プログラムライセンスが有効かをチェックする(ステップ6701)。具体的には、ステップ2901の後、制御プロセッサ124が、ストレージイメージデータ1601の保存先のボリュームから制御メモリに読み込んだプログラム制御情報402について、プログラム種別714を確認する。そして、制御プロセッサ124は、プログラム種別714に存在する各プログラム種別について、プログラムライセンス情報6601の、プログラム種別6611に対応するライセンス情報6612が“有効”かどうかをチェックする。もし1つでも無効のプログラム種別があった場合(ステップ6701のN)、物理ストレージ装置120は無効のプログラム種別を管理サーバ102に送信する。そして、管理サーバ102のGUI画面3102で前記無効のプログラム種別とともに警告メッセージが表示表示され(ステップ6702)、処理が終了する。ステップ6701で無効のプログラム種別がなかった場合(ステップ6701のY)、ステップ2902に進む。   After step 2901, the control processor 124 checks whether the program license is valid (step 6701). Specifically, after step 2901, the control processor 124 confirms the program type 714 for the program control information 402 read into the control memory from the storage destination volume of the storage image data 1601. Then, the control processor 124 checks whether or not the license information 6612 corresponding to the program type 6611 of the program license information 6601 is “valid” for each program type existing in the program type 714. If there is even one invalid program type (N in step 6701), the physical storage device 120 transmits the invalid program type to the management server 102. Then, a warning message is displayed and displayed together with the invalid program type on the GUI screen 3102 of the management server 102 (step 6702), and the process ends. If there is no invalid program type in step 6701 (Y in step 6701), the process proceeds to step 2902.

以上をまとめる。制御プロセッサ124がステップ6701でプログラムのライセンスが有効かどうかをチェックすることで、プログラムをインストールしているかどうかを判断する。プログラムがインストールされていない場合、管理サーバ102のGUI画面3102によって仮想ストレージ装置106の管理者にインストールされていないプログラムが通知される。このようにして、管理者はリジューム不可の原因を迅速に知ることができる。
(第9の実施形態)
本実施例では、一定時間ホストからのホストコマンド命令が無い場合に、自動的に仮想ストレージ装置106のサスペンドを行う方法について述べる。
Summarize the above. The control processor 124 determines whether or not the program is installed by checking whether or not the license of the program is valid in step 6701. If the program is not installed, the GUI screen 3102 of the management server 102 notifies the administrator of the virtual storage apparatus 106 of the program that is not installed. In this way, the administrator can quickly know the cause of the inability to resume.
(Ninth embodiment)
In the present embodiment, a method of automatically suspending the virtual storage apparatus 106 when there is no host command command from the host for a certain period of time will be described.

本実施例は第1〜4の実施例に適用される。   This embodiment is applied to the first to fourth embodiments.

以下、第9の実施例について、第1の実施形態との差異を説明する。   Hereinafter, the difference between the ninth embodiment and the first embodiment will be described.

図68は、自動サスペンド情報6801のデータ構造を表わしている。   FIG. 68 shows the data structure of the automatic suspend information 6801.

自動サスペンド情報6801は、仮想ボリューム番号6811、最終コマンド受信時刻6812、閾値6813を含む。   The automatic suspend information 6801 includes a virtual volume number 6811, a last command reception time 6812, and a threshold 6813.

仮想ボリューム番号6811は、仮想ストレージ装置106毎にユニークに割り振られる番号である。   The virtual volume number 6811 is a number uniquely assigned to each virtual storage apparatus 106.

最終コマンド受信時刻6812は、最後に仮想ボリュームがホストコマンドを受信した時刻である。制御プロセッサ124が入力する。   The last command reception time 6812 is the last time that the virtual volume received the host command. Input by the control processor 124.

閾値6813は、最後にホストコマンドを受信してから、自動的にサスペンドが行われるまでの時間である。仮想ストレージ装置106の管理者が管理サーバ102のGUI画面3101で入力する。   The threshold value 6813 is a time from when the host command is last received until the suspension is automatically performed. The administrator of the virtual storage device 106 inputs on the GUI screen 3101 of the management server 102.

図69は、ホストコマンド処理423の動作を示したフローチャートである。   FIG. 69 is a flowchart showing the operation of the host command processing 423.

図69は、図26とステップ6901〜6903が異なる。   FIG. 69 differs from FIG. 26 in steps 6901 to 6903.

ステップ2602において、物理ストレージ装置120が、ポートに対応する仮想ストレージ装置番号を算出する。   In step 2602, the physical storage device 120 calculates a virtual storage device number corresponding to the port.

次に、物理ストレージ装置は、仮想ストレージ装置106がサスペンド状態かを判定する(ステップ6901)。仮想ストレージ装置106がサスペンド状態の場合(ステップ6901のY)、物理ストレージ装置120は仮想ストレージ装置106のリジューム処理を行う(ステップ6902)。そして、処理はステップ2603へ進む。また、仮想ストレージ装置106がサスペンド状態で無い場合(ステップ6901のN)、処理はステップ2603へ進む。   Next, the physical storage device determines whether the virtual storage device 106 is in the suspended state (step 6901). When the virtual storage device 106 is in the suspended state (Y in Step 6901), the physical storage device 120 performs the resume process of the virtual storage device 106 (Step 6902). Then, the process proceeds to step 2603. If the virtual storage apparatus 106 is not in the suspended state (N in step 6901), the process proceeds to step 2603.

次に、物理ストレージ装置120は、仮想ストレージ装置106に対応する仮想制御部からタスクを算出する(ステップ2603)。   Next, the physical storage device 120 calculates a task from the virtual control unit corresponding to the virtual storage device 106 (step 2603).

次に、物理ストレージ装置は最終コマンド受信時刻を更新する。具体的には、制御プロセッサ124が、自動サスペンド情報6801を参照する。そして、制御プロセッサ124は、ホストコマンドを受信した仮想ボリュームの仮想ボリューム番号6811に対応する、最終コマンド受信時刻6812にホストコマンドを受信した時刻を入力する。   Next, the physical storage device updates the last command reception time. Specifically, the control processor 124 refers to the automatic suspend information 6801. Then, the control processor 124 inputs the time at which the host command is received as the final command reception time 6812 corresponding to the virtual volume number 6811 of the virtual volume that has received the host command.

以下の処理は図26における処理と同様のため、説明は割愛する。   Since the following processing is the same as the processing in FIG. 26, description thereof is omitted.

図70は、一定時間ホストからのホストコマンド命令が無い場合に、自動的に仮想ストレージ装置106のサスペンドを行う場合の、フローチャートである。   FIG. 70 is a flowchart when the virtual storage apparatus 106 is automatically suspended when there is no host command command from the host for a certain period of time.

ステップ7002〜7005は周期的に実行される(ステップ7001)。一定時間経過するとステップ7002の処理が開始される。   Steps 7002 to 7005 are periodically executed (step 7001). When a certain time has elapsed, the processing in step 7002 is started.

次に、物理ストレージ装置120は、最終コマンド受信時刻6812をチェックする(ステップ7002)。具体的には、制御プロセッサ124が、自動サスペンド情報6801を参照し、最終コマンド受信時刻6812をチェックする。   Next, the physical storage device 120 checks the last command reception time 6812 (step 7002). Specifically, the control processor 124 refers to the automatic suspend information 6801 and checks the final command reception time 6812.

次に、制御プロセッサ124は、自動サスペンド情報6801を参照し、閾値6813以上時間が経過しているかを判断する(ステップ7003)。   Next, the control processor 124 refers to the automatic suspend information 6801 and determines whether or not a time period equal to or greater than the threshold value 6813 has elapsed (step 7003).

閾値6813以上時間が経過している場合(ステップ7003のY)、仮想ストレージ装置106のサスペンド処理が実行される。また、閾値6813以上時間が経過していない場合(ステップ7003のN)、処理はステップ7005へ進む。   When the time has elapsed beyond the threshold 6813 (Y in Step 7003), the suspend process of the virtual storage device 106 is executed. If the threshold time 6813 or more has not elapsed (N in Step 7003), the process proceeds to Step 7005.

すべての仮想ストレージ装置106について処理が実行された場合(ステップ7005のY)、再びステップ7001の処理が実行される。すべての仮想ストレージ装置106について処理が実行されていない場合(ステップ7005のN)、他の仮想ストレージ装置106について、ステップ7002の処理が実行される。   When the processing is executed for all the virtual storage apparatuses 106 (Y in Step 7005), the processing in Step 7001 is executed again. If the processing has not been executed for all the virtual storage devices 106 (N in Step 7005), the processing in Step 7002 is executed for the other virtual storage devices 106.

図71は、管理サーバ102のGUI画面3101である。   FIG. 71 shows a GUI screen 3101 of the management server 102.

図71は、図31と自動サスペンドの有無入力画面7101とサスペンド閾値入力画面7102が異なっている。   71 differs from FIG. 31 in an automatic suspend presence / absence input screen 7101 and a suspend threshold input screen 7102.

仮想ストレージ装置106の管理者は、自動的にサスペンド処理を行う場合は“有”を、行わない場合は“無”を入力する。   The administrator of the virtual storage apparatus 106 inputs “Yes” if the suspend process is automatically performed, and “No” if not.

また、仮想ストレージ装置106の管理者は、サスペンド閾値を入力する。   In addition, the administrator of the virtual storage apparatus 106 inputs a suspend threshold.

本発明の第1の実施形態に係る装置構成を示す図である。It is a figure which shows the apparatus structure which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る仮想ストレージ装置を示す図である。It is a figure which shows the virtual storage apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る物理資源から資源、資源から仮想ストレージへのマッピングを示す図である。It is a figure which shows the mapping from the physical resource which concerns on the 1st Embodiment of this invention to a resource, and a resource to virtual storage. 本発明の第1の実施形態に係る制御部を示す図である。It is a figure which shows the control part which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るLUNセキュリティ情報を示す図である。It is a figure which shows the LUN security information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るLUNマッピング情報を示す図である。It is a figure which shows LUN mapping information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るプログラム制御情報を示す図である。It is a figure which shows the program control information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る仮想ストレージ構成情報を示す図である。It is a figure which shows the virtual storage structure information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る物理ストレージ制御情報を示す図である。It is a figure which shows the physical storage control information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る資源ボリューム制御情報を示す図である。It is a figure which shows the resource volume control information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るパリティグループ制御情報を示す図である。It is a figure which shows the parity group control information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る物理ディスク制御情報を示す図である。It is a figure which shows the physical disk control information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る資源キャッシュメモリ制御情報を示す図である。It is a figure which shows the resource cache memory control information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る資源タスク制御情報を示す図である。It is a figure which shows the resource task control information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る仮想ストレージ資源管理情報を示す図である。It is a figure which shows the virtual storage resource management information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るストレージイメージデータを示す図である。It is a figure which shows the storage image data based on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るメモリを示す図である。It is a figure which shows the memory which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るWWN情報を示す図である。It is a figure which shows the WWN information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るホスト側の構成を示す図である。It is a figure which shows the structure by the side of the host which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る業務再開の全体を示す図である。It is a figure which shows the whole work resumption which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るホスト側の動作フローを示す図である。It is a figure which shows the operation | movement flow by the side of the host which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るWWN変更通知プログラムを示す図である。It is a figure which shows the WWN change notification program which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るWWN変更通知パケットを示す図である。It is a figure which shows the WWN change notification packet which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るWWN変更通知受信処理を示す図である。It is a figure which shows the WWN change notification reception process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るWWN変更通知情報を示す図である。It is a figure which shows the WWN change notification information which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るホストコマンド処理を示す図である。It is a figure which shows the host command process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る仮想ストレージのサスペンドを示す図である。It is a figure which shows the suspension of the virtual storage which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る資源解放処理を示す図である。It is a figure which shows the resource release process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る仮想ストレージのリジュームを示す図である。It is a figure which shows resumption of the virtual storage which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る資源準備処理を示す図である。It is a figure which shows the resource preparation process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る管理サーバのGUIを示す図である。It is a figure which shows GUI of the management server which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係るストレージ装置の電源境界を示す図である。It is a figure which shows the power supply boundary of the storage apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るパッケージ資源対応情報を示す図である。It is a figure which shows the package resource corresponding | compatible information which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る資源解放処理を示す図である。It is a figure which shows the resource release process which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る資源準備処理を示す図である。It is a figure which shows the resource preparation process which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係るモジュール型ストレージ装置を示す図である。It is a figure which shows the module type storage apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係るモジュール情報を示す図である。It is a figure which shows the module information which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る資源準備処理を示す図である。It is a figure which shows the resource preparation process which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係るモジュール内要件チェック処理を示す図である。It is a figure which shows the requirement check process in a module which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る物理ストレージ装置内要件チェック処理を示す図である。It is a figure which shows the requirement check process in a physical storage apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る資源確保処理を示す図である。It is a figure which shows the resource securing process which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る管理サーバのGUIを示す図である。It is a figure which shows GUI of the management server which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係るマニュアル設定画面を示す図である。It is a figure which shows the manual setting screen which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る準備資源リストを示す図である。It is a figure which shows the preparation resource list | wrist which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係るストレージ装置間リジュームを示す図である。It is a figure which shows the resume between storage apparatuses which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る業務再開の全体を示す図である。It is a figure which shows the whole work resumption which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る管理サーバのGUIを示す図である。It is a figure which shows GUI of the management server which concerns on the 4th Embodiment of this invention. 本発明の第5の実施形態に係る仮想ストレージ構成情報を示す図である。It is a figure which shows the virtual storage structure information which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る物理ディスク制御情報を示す図である。It is a figure which shows the physical disk control information based on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る資源準備処理を示す図である。It is a figure which shows the resource preparation process which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る資源準備処理を示す図である。It is a figure which shows the resource preparation process which concerns on the 5th Embodiment of this invention. 本発明の第5の実施形態に係る要件入力画面(GUI)を示す図である。It is a figure which shows the requirement input screen (GUI) which concerns on the 5th Embodiment of this invention. 本発明の第6の実施形態に係る管理サーバのGUIを示す図である。It is a figure which shows GUI of the management server which concerns on the 6th Embodiment of this invention. 本発明の第6の実施形態に係る資源予約情報を示す図である。It is a figure which shows the resource reservation information which concerns on the 6th Embodiment of this invention. 本発明の第6の実施形態に係る資源予約指定時のサスペンド処理を示す図である。It is a figure which shows the suspend process at the time of the resource reservation designation | designated which concerns on the 6th Embodiment of this invention. 本発明の第6の実施形態に係る資源準備処理を示す図である。It is a figure which shows the resource preparation process which concerns on the 6th Embodiment of this invention. 本発明の第7の実施形態に係る管理サーバのGUIを示す図である。It is a figure which shows GUI of the management server which concerns on the 7th Embodiment of this invention. 本発明の第7の実施形態に係るボリューム退避指定処理を示す図である。It is a figure which shows the volume evacuation designation | designated process which concerns on the 7th Embodiment of this invention. 本発明の第7の実施形態に係る仮想ストレージ制御情報を示す図である。It is a figure which shows the virtual storage control information which concerns on the 7th Embodiment of this invention. 本発明の第7の実施形態に係るボリューム退避情報を示す図である。It is a figure which shows the volume saving information which concerns on the 7th Embodiment of this invention. 本発明の第7の実施形態に係る予約解除可否情報を示す図である。It is a figure which shows the reservation cancellation | release availability information which concerns on the 7th Embodiment of this invention. 本発明の第7の実施形態に係る仮想ストレージのサスペンドを示す図である。It is a figure which shows the suspension of the virtual storage which concerns on the 7th Embodiment of this invention. 本発明の第7の実施形態に係る仮想ストレージのリジュームを示す図である。It is a figure which shows resumption of the virtual storage which concerns on the 7th Embodiment of this invention. 本発明の第7の実施形態に係る資源準備処理を示す図である。It is a figure which shows the resource preparation process which concerns on the 7th Embodiment of this invention. 本発明の第8の実施形態に係るライセンス警告画面(GUI)を示す図である。It is a figure which shows the license warning screen (GUI) which concerns on the 8th Embodiment of this invention. 本発明の第8の実施形態に係る物理ストレージ制御情報を示す図である。It is a figure which shows the physical storage control information which concerns on the 8th Embodiment of this invention. 本発明の第8の実施形態に係るプログラムライセンス情報を示す図である。It is a figure which shows the program license information which concerns on the 8th Embodiment of this invention. 本発明の第8の実施形態に係るリジューム時にプログラムライセンスをチェックする処理を示す図である。It is a figure which shows the process which checks a program license at the time of resuming which concerns on the 8th Embodiment of this invention. 本発明の第9の実施形態に係るホストコマンド処理を示す図である。It is a figure which shows the host command process which concerns on the 9th Embodiment of this invention. 本発明の第9の実施形態に係る周期的サスペンドチェック処理を示す図である。It is a figure which shows the periodic suspend check process which concerns on the 9th Embodiment of this invention. 本発明の第9の実施形態に係る自動サスペンド情報を示す図である。It is a figure which shows the automatic suspend information which concerns on the 9th Embodiment of this invention. 本発明の第9の実施形態に係る管理サーバのGUIを示す図である。It is a figure which shows GUI of the management server which concerns on the 9th Embodiment of this invention.

符号の説明Explanation of symbols

101…ホストグループ、102…管理サーバ、103…ホスト、104…ポート、105…ネットワーク、119…ネットワーク、120…物理ストレージ装置、121…管理I/F、122…ポート、123…制御部、124…制御プロセッサ、125…制御メモリ、126…キャッシュメモリ、127…物理ドライブ、128…ポート、129…物理ストレージ装置(外部接続)、130…スロット DESCRIPTION OF SYMBOLS 101 ... Host group, 102 ... Management server, 103 ... Host, 104 ... Port, 105 ... Network, 119 ... Network, 120 ... Physical storage apparatus, 121 ... Management I / F, 122 ... Port, 123 ... Control part, 124 ... Control processor, 125 ... Control memory, 126 ... Cache memory, 127 ... Physical drive, 128 ... Port, 129 ... Physical storage device (external connection), 130 ... Slot

Claims (25)

少なくとも1つの計算機と、外部ストレージ装置と、に接続されるストレージ装置であって、
データが格納される複数の記憶装置と、複数のキャッシュメモリと、前記少なくとも1つの計算機からの入出力要求を複数のタスクの少なくとも1つによって処理する複数のプロセッサと、を備え、
前記複数のプロセッサの1つは前記複数の記憶装置の少なくとも1つと、前記複数のキャッシュメモリの少なくとも1つと、前記複数のタスクの少なくとも1つを、仮想ストレージ装置に割り当て、
前記仮想ストレージ装置は、前記少なくとも1つの計算機からの入出力要求を処理し、
前記プロセッサは、計算機から、前記仮想ストレージ装置のサスペンド指示を受け、前記記憶装置と、前記キャッシュメモリと、前記タスクと、前記仮想ストレージ装置の対応関係を管理する制御情報と、前記データと、を前記外部ストレージ装置に格納し、前記記憶装置と、前記キャッシュメモリと、前記タスクと、の割り当てを解放することを特徴とするストレージ装置。
A storage device connected to at least one computer and an external storage device,
A plurality of storage devices for storing data; a plurality of cache memories; and a plurality of processors for processing input / output requests from the at least one computer by at least one of a plurality of tasks,
One of the plurality of processors allocates at least one of the plurality of storage devices, at least one of the plurality of cache memories, and at least one of the plurality of tasks to a virtual storage device,
The virtual storage device processes an input / output request from the at least one computer,
The processor receives a suspend instruction for the virtual storage device from a computer, and controls the storage device, the cache memory, the task, control information for managing the correspondence relationship of the virtual storage device, and the data. A storage apparatus that stores in the external storage apparatus and releases the allocation of the storage apparatus, the cache memory, and the task.
前記複数のプロセッサの1つは、前記データと、前記制御情報と、を前記外部ストレージ装置へ格納した後、前記外部ストレージ装置の電源を切断し、
前記記憶装置と、前記キャッシュメモリと、前記タスクと、の割り当てを解放した後、
電源を切断する対象の前記仮想ストレージ装置に割り当てられている、前記記憶装置と、前記キャッシュメモリと、前記プロセッサと、が電源を切断する対象の前記仮想ストレージ装置以外の仮想ストレージ装置に割り当てられていない場合、前記記憶装置と前記キャッシュメモリと前記プロセッサの電源を切断する、請求項1記載のストレージ装置。
One of the plurality of processors stores the data and the control information in the external storage device, and then powers off the external storage device,
After deallocating the storage device, the cache memory, and the task,
The storage device, the cache memory, and the processor that are assigned to the virtual storage device to be powered off are assigned to virtual storage devices other than the virtual storage device to be powered off. The storage apparatus according to claim 1, wherein if there is not, the storage apparatus, the cache memory, and the processor are powered off.
前記複数のプロセッサの1つは、計算機からの前記仮想ストレージ装置のリジューム指示を受け、前記外部ストレージ装置の電源が切断されている場合、前記外部ストレージ装置の電源を入れ、
前記プロセッサの電源が切断されている場合、前記プロセッサの電源を入れ、前記プロセッサは前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、
未使用の記憶装置またはキャッシュメモリの電源が切断されている場合、電源を入れ、
前記記憶装置と、前記キャッシュメモリと、前記タスクと、を前記仮想ストレージ装置に割り当てる、請求項2記載のストレージ装置。
One of the plurality of processors receives a resume instruction for the virtual storage device from a computer, and when the external storage device is powered off, turns on the external storage device,
If the processor is powered off, turn on the processor, the processor reads the data and the control information stored in the external storage device,
If an unused storage device or cache memory is turned off, turn it on,
The storage device according to claim 2, wherein the storage device, the cache memory, and the task are allocated to the virtual storage device.
前記外部ストレージ装置の電源が切断されている場合、前記外部ストレージ装置の電源を入れ、
前記プロセッサの電源が切断されている場合、前記プロセッサの電源を入れ、
前記プロセッサは前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、割り当て解放前のストレージ装置と異なるストレージ装置の記憶装置と、キャッシュメモリと、タスクと、を前記仮想ストレージ装置に割り当てる、請求項2記載のストレージ装置。
If the external storage device is powered off, turn on the external storage device,
If the processor is powered off, turn on the processor,
The processor reads the data and the control information stored in the external storage device, and allocates a storage device, a cache memory, and a task of a storage device different from the storage device before the allocation release to the virtual storage device. Item 3. The storage device according to Item 2.
前記プロセッサは前記計算機の識別情報と、前記計算機の前記識別情報の変更情報と鍵情報とを有し、前記計算機から受信した鍵情報と一致した場合に前期変更情報を更新する、請求項1記載のストレージ装置。 The processor includes identification information of the computer, change information of the identification information of the computer, and key information, and updates the previous period change information when it matches the key information received from the computer. Storage device. 前記プロセッサが前記記憶装置と、前記キャッシュメモリと、前記タスクと、を前記仮想ストレージ装置に割り当てる際、前記変更情報によって前記識別情報が変更されたかを判断し、変更された場合、前記識別情報を更新する、請求項5記載のストレージ装置。 When the processor allocates the storage device, the cache memory, and the task to the virtual storage device, the processor determines whether the identification information has been changed by the change information. The storage apparatus according to claim 5, which is updated. 前記プロセッサは前記計算機から送られた仮想ストレージ装置の性能の要求に対して、未使用の記憶装置と、キャッシュメモリと、タスクと、の中で前記要求を充足するものを探し、前記要求に応じてパリティグループを変更する、請求項1記載のストレージ装置。 In response to the performance request of the virtual storage device sent from the computer, the processor searches for an unused storage device, cache memory, and task that satisfies the request, and responds to the request. The storage apparatus according to claim 1, wherein the parity group is changed. パッケージは、前記複数の記憶装置の少なくとも1つまたは前記複数のキャッシュメモリの少なくとも1つまたは前記複数のプロセッサの少なくとも1つを含み、
前記複数の仮想ストレージ装置への前記パッケージ内の前記記憶装置または前記キャッシュメモリまたは前記複数のプロセッサの割り当てが解放された後、
電源を切断する対象の前記仮想ストレージ装置に割り当てられている前記パッケージが電源を切断する対象の前記仮想ストレージ装置以外の仮想ストレージ装置に割り当てられていない場合、前記パッケージの電源を切断する、請求項1記載のストレージ装置。
The package includes at least one of the plurality of storage devices, at least one of the plurality of cache memories, or at least one of the plurality of processors,
After the allocation of the storage device or the cache memory or the plurality of processors in the package to the plurality of virtual storage devices is released,
The power supply of the package is turned off when the package assigned to the virtual storage device to be turned off is not assigned to a virtual storage device other than the virtual storage device to be turned off. The storage device according to 1.
前記ストレージ装置は複数のモジュールを有し、前記モジュールは前記複数の記憶装置の少なくとも1つまたは前記複数のキャッシュメモリの少なくとも1つまたは前記複数のプロセッサの少なくとも1つを含むパッケージを有し、前記外部ストレージ装置の電源が切断されている場合、前記外部ストレージ装置の電源を入れ、前記プロセッサの電源が切断されている場合、前記プロセッサの電源を入れ、前記プロセッサは前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、未使用の前記記憶装置または前記キャッシュメモリまたは前記プロセッサのうち、同一のモジュール内に属する前記記憶装置と、前記キャッシュメモリと、前記タスクと、を優先的に前記仮想ストレージ装置に割り当てる、請求項2記載のストレージ装置。 The storage device includes a plurality of modules, and the module includes a package including at least one of the plurality of storage devices, at least one of the plurality of cache memories, or at least one of the plurality of processors. If the external storage device is turned off, turn on the external storage device, and if the processor is turned off, turn on the processor, and the processor stores the data in the external storage device. Data and the control information are read, and the storage device, the cache memory, and the task belonging to the same module among the unused storage device, the cache memory, or the processor are preferentially assigned to the virtual device. The strike according to claim 2, which is assigned to a storage device. Over its own device. 未使用の前記記憶装置と、前記キャッシュメモリと、前記タスクと、を前記仮想ストレージ装置に割り当てる際に、前記計算機からの指示により予約されていない前記記憶装置または前記キャッシュメモリまたは前記タスクを割り当てる、請求項5記載のストレージ装置。 When allocating the unused storage device, the cache memory, and the task to the virtual storage device, the storage device or the cache memory or the task that is not reserved by an instruction from the computer is allocated. The storage apparatus according to claim 5. 前記データを前記外部ストレージ装置に格納するか否かを、前記計算機からの指示により切り替える、請求項1記載のストレージ装置。 The storage apparatus according to claim 1, wherein whether to store the data in the external storage apparatus is switched according to an instruction from the computer. 前記プロセッサは、前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、前記制御情報から使用されているストレージ機能のライセンスが有効かどうかを判定し、有効でない場合に前記計算機に警告メッセージを表示させるよう指示する、請求項4記載のストレージ装置。 The processor reads the data and the control information stored in the external storage device, determines whether the license for the storage function used is valid from the control information, and if not, issues a warning message to the computer. The storage apparatus according to claim 4, wherein the storage apparatus is instructed to display. 少なくとも1つの計算機と外部ストレージ装置とに接続されるストレージ装置の制御方法であって、
データが格納される複数の記憶装置と、複数のキャッシュメモリと、前記少なくとも1つの計算機からの入出力要求を複数のタスクの少なくとも1つによって処理する複数のプロセッサと、を備え、
前記複数のプロセッサの1つは前記複数の記憶装置の少なくとも1つと、前記複数のキャッシュメモリの少なくとも1つと、前記複数のタスクの少なくとも1つを、仮想ストレージ装置に割り当て、
前記仮想ストレージ装置は、前記少なくとも1つの計算機からの入出力要求を処理し、
前記プロセッサは、計算機から、前記仮想ストレージ装置のサスペンド指示を受け、前記記憶装置と、前記キャッシュメモリと、前記タスクと、前記仮想ストレージ装置の対応関係を管理する制御情報と、前記データと、を前記外部ストレージ装置に格納し、前記記憶装置と、前記キャッシュメモリと、前記タスクと、の割り当てを解放することを特徴とするストレージ制御方法。
A storage device control method connected to at least one computer and an external storage device,
A plurality of storage devices for storing data; a plurality of cache memories; and a plurality of processors for processing input / output requests from the at least one computer by at least one of a plurality of tasks,
One of the plurality of processors allocates at least one of the plurality of storage devices, at least one of the plurality of cache memories, and at least one of the plurality of tasks to a virtual storage device,
The virtual storage device processes an input / output request from the at least one computer,
The processor receives a suspend instruction for the virtual storage device from a computer, and controls the storage device, the cache memory, the task, control information for managing the correspondence relationship of the virtual storage device, and the data. A storage control method comprising: storing in the external storage device; and releasing allocation of the storage device, the cache memory, and the task.
前記複数のプロセッサの1つは、前記データと、前記制御情報と、を前記外部ストレージ装置へ格納した後、前記外部ストレージ装置の電源を切断し、
前記記憶装置と、前記キャッシュメモリと、前記タスクと、の割り当てを解放した後、
電源を切断する対象の前記仮想ストレージ装置に割り当てられている、前記記憶装置と、前記キャッシュメモリと、前記プロセッサと、が電源を切断する対象の前記仮想ストレージ装置以外の仮想ストレージ装置に割り当てられていない場合、前記記憶装置と前記キャッシュメモリと前記プロセッサの電源を切断する、請求項13記載のストレージ制御方法。
One of the plurality of processors stores the data and the control information in the external storage device, and then powers off the external storage device,
After deallocating the storage device, the cache memory, and the task,
The storage device, the cache memory, and the processor that are assigned to the virtual storage device to be powered off are assigned to virtual storage devices other than the virtual storage device to be powered off. The storage control method according to claim 13, wherein when there is not, the storage device, the cache memory, and the processor are powered off.
前記複数のプロセッサの1つは、計算機からの前記仮想ストレージ装置のリジューム指示を受け、前記外部ストレージ装置の電源が切断されている場合、前記外部ストレージ装置の電源を入れ、
前記プロセッサの電源が切断されている場合、前記プロセッサの電源を入れ、前記プロセッサは前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、
未使用の記憶装置またはキャッシュメモリの電源が切断されている場合、電源を入れ、
前記記憶装置と、前記キャッシュメモリと、前記タスクと、を前記仮想ストレージ装置に割り当てる、請求項14記載のストレージ制御方法。
One of the plurality of processors receives a resume instruction for the virtual storage device from a computer, and when the external storage device is powered off, turns on the external storage device,
If the processor is powered off, turn on the processor, the processor reads the data and the control information stored in the external storage device,
If an unused storage device or cache memory is turned off, turn it on,
The storage control method according to claim 14, wherein the storage device, the cache memory, and the task are allocated to the virtual storage device.
前記外部ストレージ装置の電源が切断されている場合、前記外部ストレージ装置の電源を入れ、
前記プロセッサの電源が切断されている場合、前記プロセッサの電源を入れ、
前記プロセッサは前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、割り当て解放前のストレージ装置と異なるストレージ装置の記憶装置と、キャッシュメモリと、タスクと、を前記仮想ストレージ装置に割り当てる、請求項14記載のストレージ制御方法。
If the external storage device is powered off, turn on the external storage device,
If the processor is powered off, turn on the processor,
The processor reads the data and the control information stored in the external storage device, and allocates a storage device, a cache memory, and a task of a storage device different from the storage device before the allocation release to the virtual storage device. Item 15. The storage control method according to Item 14.
前記プロセッサは前記計算機の識別情報と、前記計算機の前記識別情報の変更情報と鍵情報とを有し、前記計算機から受信した鍵情報と一致した場合に前期変更情報を更新する、請求項13記載のストレージ制御方法。 The said processor has the identification information of the said computer, the change information of the said identification information of the said computer, and key information, and when it corresponds with the key information received from the said computer, the previous period change information is updated. Storage control method. 前記プロセッサが前記記憶装置と、前記キャッシュメモリと、前記タスクと、を前記仮想ストレージ装置に割り当てる際、前記変更情報によって前記識別情報が変更されたかを判断し、変更された場合、前記識別情報を更新する、請求項17記載のストレージ制御方法。 When the processor allocates the storage device, the cache memory, and the task to the virtual storage device, the processor determines whether the identification information has been changed by the change information. The storage control method according to claim 17, wherein the storage control method is updated. 前記プロセッサは前記計算機から送られた仮想ストレージ装置の性能の要求に対して、未使用の記憶装置と、キャッシュメモリと、タスクと、の中で前記要求を充足するものを探し、前記要求に応じてパリティグループを変更する、請求項13記載のストレージ制御方法。 In response to the performance request of the virtual storage device sent from the computer, the processor searches for an unused storage device, cache memory, and task that satisfies the request, and responds to the request. 14. The storage control method according to claim 13, wherein the parity group is changed. パッケージは、前記複数の記憶装置の少なくとも1つまたは前記複数のキャッシュメモリの少なくとも1つまたは前記複数のプロセッサの少なくとも1つを含み、
前記複数の仮想ストレージ装置への前記パッケージ内の前記記憶装置または前記キャッシュメモリまたは前記複数のプロセッサの割り当てが解放された後、
電源を切断する対象の前記仮想ストレージ装置に割り当てられている前記パッケージが電源を切断する対象の前記仮想ストレージ装置以外の仮想ストレージ装置に割り当てられていない場合、前記パッケージの電源を切断する、請求項13記載のストレージ装置。
The package includes at least one of the plurality of storage devices, at least one of the plurality of cache memories, or at least one of the plurality of processors,
After the allocation of the storage device or the cache memory or the plurality of processors in the package to the plurality of virtual storage devices is released,
The power supply of the package is turned off when the package assigned to the virtual storage device to be turned off is not assigned to a virtual storage device other than the virtual storage device to be turned off. 13. The storage device according to 13.
前記ストレージ装置は複数のモジュールを有し、前記モジュールは前記複数の記憶装置の少なくとも1つまたは前記複数のキャッシュメモリの少なくとも1つまたは前記複数のプロセッサの少なくとも1つを含むパッケージを有し、前記外部ストレージ装置の電源が切断されている場合、前記外部ストレージ装置の電源を入れ、前記プロセッサの電源が切断されている場合、前記プロセッサの電源を入れ、前記プロセッサは前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、未使用の前記記憶装置または前記キャッシュメモリまたは前記プロセッサのうち、同一のモジュール内に属する前記記憶装置と、前記キャッシュメモリと、前記タスクと、を優先的に前記仮想ストレージ装置に割り当てる、請求項14記載のストレージ制御方法。 The storage device includes a plurality of modules, and the module includes a package including at least one of the plurality of storage devices, at least one of the plurality of cache memories, or at least one of the plurality of processors. If the external storage device is turned off, turn on the external storage device, and if the processor is turned off, turn on the processor, and the processor stores the data in the external storage device. Data and the control information are read, and the storage device, the cache memory, and the task belonging to the same module among the unused storage device, the cache memory, or the processor are preferentially assigned to the virtual device. 15. The storage device according to claim 14, which is assigned to a storage device. Storage control method. 未使用の前記記憶装置と、前記キャッシュメモリと、前記タスクと、を前記仮想ストレージ装置に割り当てる際に、前記計算機からの指示により予約されていない前記記憶装置または前記キャッシュメモリまたは前記タスクを割り当てる、請求項17記載のストレージ制御方法。 When allocating the unused storage device, the cache memory, and the task to the virtual storage device, the storage device or the cache memory or the task that is not reserved by an instruction from the computer is allocated. The storage control method according to claim 17. 前記データを前記外部ストレージ装置に格納するか否かを、前記計算機からの指示により切り替える、請求項13記載のストレージ制御方法。 The storage control method according to claim 13, wherein whether to store the data in the external storage device is switched according to an instruction from the computer. 前記プロセッサは、前記外部ストレージ装置に保存した前記データと前記制御情報を読み出し、前記制御情報から使用されているストレージ機能のライセンスが有効かどうかを判定し、有効でない場合に前記計算機に警告メッセージを表示させるよう指示する、請求項16記載のストレージ制御方法。 The processor reads the data and the control information stored in the external storage device, determines whether the license for the storage function used is valid from the control information, and if not, issues a warning message to the computer. The storage control method according to claim 16, wherein an instruction is given to display. 少なくとも1つの計算機と外部ストレージ装置とに接続されるストレージ装置であって、
データが格納される複数の記憶装置と、複数のキャッシュメモリと、前記少なくとも1つの計算機からの入出力要求を複数のタスクの少なくとも1つによって処理する複数のプロセッサとを備え、
前記プロセッサは前記記憶装置と前記キャッシュメモリと複数の前記タスクの少なくとも1つを仮想ストレージ装置に割り当て、
前記仮想ストレージ装置は少なくとも1つの前記計算機からの入出力要求を処理し、
前記プロセッサはサスペンド処理手段とリジューム処理手段を有し、
前記計算機からの指示によってサスペンド処理手段が実行されると、前記プロセッサは、前記計算機からのストレージ装置への入出力要求を受け付けず、キャッシュメモリ上にあるデータを前記記憶装置に移行し、前記制御情報と前記データを前記外部ストレージ装置へ格納し、前記記憶装置と前記キャッシュメモリと前記タスクを解放し、前記前記記憶装置と前記キャッシュメモリと前記プロセッサの電源を切断し、
計算機からの指示によってリジューム処理手段が実行されると、
前記プロセッサは、前記外部ストレージ装置から前記制御情報を読み込み、前記制御情報から必要な未使用の前記記憶装置または前記キャッシュメモリまたは前記プロセッサを探索し、未使用の前記記憶装置または前記キャッシュメモリまたは前記プロセッサの電源が切断されている場合、電源を入れ、未使用の前記記憶装置または前記キャッシュメモリまたは前記プロセッサを前記仮想ストレージ装置に割り当て、前記外部ストレージ装置から前記データを未使用の前記記憶装置に移行すること
特徴とするストレージ装置。
A storage device connected to at least one computer and an external storage device,
A plurality of storage devices for storing data; a plurality of cache memories; and a plurality of processors for processing input / output requests from the at least one computer by at least one of a plurality of tasks;
The processor allocates at least one of the storage device, the cache memory, and the plurality of tasks to a virtual storage device;
The virtual storage apparatus processes an input / output request from at least one of the computers,
The processor has a suspend processing means and a resume processing means,
When the suspend processing means is executed in accordance with an instruction from the computer, the processor does not accept an input / output request to the storage device from the computer, migrates the data on the cache memory to the storage device, and performs the control. Storing the information and the data in the external storage device, releasing the storage device, the cache memory, and the task, turning off the power of the storage device, the cache memory, and the processor;
When the resume processing means is executed according to an instruction from the computer,
The processor reads the control information from the external storage device, searches for the unused storage device or the cache memory or the processor required from the control information, and uses the unused storage device or the cache memory or the processor. When the power of the processor is turned off, the power is turned on, the unused storage device or the cache memory or the processor is assigned to the virtual storage device, and the data from the external storage device is assigned to the unused storage device A storage device to be migrated.
JP2008230415A 2008-09-09 2008-09-09 Storage device and storage device control method Expired - Fee Related JP5026375B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008230415A JP5026375B2 (en) 2008-09-09 2008-09-09 Storage device and storage device control method
US12/272,124 US8510517B2 (en) 2008-09-09 2008-11-17 Storage device and control method for managing resources of a storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008230415A JP5026375B2 (en) 2008-09-09 2008-09-09 Storage device and storage device control method

Publications (2)

Publication Number Publication Date
JP2010066842A JP2010066842A (en) 2010-03-25
JP5026375B2 true JP5026375B2 (en) 2012-09-12

Family

ID=41800261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008230415A Expired - Fee Related JP5026375B2 (en) 2008-09-09 2008-09-09 Storage device and storage device control method

Country Status (2)

Country Link
US (1) US8510517B2 (en)
JP (1) JP5026375B2 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5448032B2 (en) * 2008-12-25 2014-03-19 インターナショナル・ビジネス・マシーンズ・コーポレーション Resource management apparatus, resource management program, and resource management method
US8806220B2 (en) * 2009-01-07 2014-08-12 Microsoft Corporation Device side host integrity validation
TW201039130A (en) * 2009-04-30 2010-11-01 Inventec Corp Hard drive access method
US10496608B2 (en) * 2009-10-28 2019-12-03 Sandisk Il Ltd. Synchronizing changes in a file system which are initiated by a storage device and a host device
US8849758B1 (en) * 2010-12-28 2014-09-30 Amazon Technologies, Inc. Dynamic data set replica management
JP2013114624A (en) * 2011-11-30 2013-06-10 Hitachi Ltd Storage system and control method for pool capacity reduction
WO2014106872A1 (en) * 2013-01-07 2014-07-10 Hitachi, Ltd. Data storage system and control method for data storage system
KR101864831B1 (en) * 2013-06-28 2018-06-05 세종대학교산학협력단 Memory including virtual cache and management method thereof
US11016820B2 (en) 2013-08-26 2021-05-25 Vmware, Inc. Load balancing of resources
US9887924B2 (en) 2013-08-26 2018-02-06 Vmware, Inc. Distributed policy-based provisioning and enforcement for quality of service
US9811531B2 (en) 2013-08-26 2017-11-07 Vmware, Inc. Scalable distributed storage architecture
US10747475B2 (en) 2013-08-26 2020-08-18 Vmware, Inc. Virtual disk blueprints for a virtualized storage area network, wherein virtual disk objects are created from local physical storage of host computers that are running multiple virtual machines
WO2015132973A1 (en) * 2014-03-07 2015-09-11 株式会社日立製作所 Computer system
CN107528871B (en) * 2016-06-22 2020-05-26 伊姆西Ip控股有限责任公司 Data analysis in storage systems

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381682B2 (en) * 1998-06-10 2002-04-30 Compaq Information Technologies Group, L.P. Method and apparatus for dynamically sharing memory in a multiprocessor system
US6098119A (en) * 1998-01-21 2000-08-01 Mylex Corporation Apparatus and method that automatically scans for and configures previously non-configured disk drives in accordance with a particular raid level based on the needed raid level
US6260120B1 (en) * 1998-06-29 2001-07-10 Emc Corporation Storage mapping and partitioning among multiple host processors in the presence of login state changes and host controller replacement
JP2001256066A (en) * 2000-02-29 2001-09-21 Internatl Business Mach Corp <Ibm> Computer system, switching system of operating system, mounting method of operating system, switching method of operating system, storage medium and program transmitter
US6996582B2 (en) * 2002-10-03 2006-02-07 Hewlett-Packard Development Company, L.P. Virtual storage systems and virtual storage system operational methods
JP4606711B2 (en) 2002-11-25 2011-01-05 株式会社日立製作所 Virtualization control device and data migration control method
US7263593B2 (en) 2002-11-25 2007-08-28 Hitachi, Ltd. Virtualization controller and data transfer control method
JP4437650B2 (en) * 2003-08-25 2010-03-24 株式会社日立製作所 Storage system
JP2005115506A (en) 2003-10-06 2005-04-28 Hitachi Ltd Storage system
JP2005190057A (en) * 2003-12-25 2005-07-14 Hitachi Ltd Disk array device and remote copy control method for disk array device
JP4227035B2 (en) * 2004-02-03 2009-02-18 株式会社日立製作所 Computer system, management device, storage device, and computer device
JP4476683B2 (en) 2004-04-28 2010-06-09 株式会社日立製作所 Data processing system
JP2006059110A (en) * 2004-08-19 2006-03-02 Fujitsu Ltd Library control method, library control system, and library control program
US20060248132A1 (en) * 2005-03-24 2006-11-02 Seiko Epson Corporation Information processing apparatus, and method of storing data executed by the same
JP2006285464A (en) * 2005-03-31 2006-10-19 Hitachi Ltd Computer system, storage, and device control method
JP4659526B2 (en) * 2005-06-17 2011-03-30 株式会社日立製作所 Management computer, computer system and control method for managing license of program installed in storage system
JP4852298B2 (en) 2005-10-28 2012-01-11 株式会社日立製作所 Method for taking over information for identifying virtual volume and storage system using the method
JP4847272B2 (en) * 2006-10-18 2011-12-28 株式会社日立製作所 Computer system for managing power supply for each logical partition, storage device, and control method thereof

Also Published As

Publication number Publication date
JP2010066842A (en) 2010-03-25
US8510517B2 (en) 2013-08-13
US20100064292A1 (en) 2010-03-11

Similar Documents

Publication Publication Date Title
JP5026375B2 (en) Storage device and storage device control method
JP3837953B2 (en) Computer system
US8607230B2 (en) Virtual computer system and migration method of virtual computer
US8918615B2 (en) Information storage system including a plurality of storage systems that is managed using system and volume identification information and storage system management method for same
JP4896500B2 (en) Virtual volume control method with device stop
US8024603B2 (en) Data migration satisfying migration-destination requirements
US9201779B2 (en) Management system and management method
US9189635B2 (en) Computer system and its control method
US8578121B2 (en) Computer system and control method of the same
US9311012B2 (en) Storage system and method for migrating the same
JP6121527B2 (en) Computer system and resource management method
US9253014B2 (en) Computer system and application program execution environment migration method
JP2008065525A (en) Computer system, data management method and management computer
JP2007310861A (en) Storage system and control method for the same
JP2009043030A (en) Storage system
JP2007280319A (en) Method of dynamically allocating storage area
US8543701B2 (en) Computer system and its control method
GB2539829A (en) Storage system
JP2007304794A (en) Storage system and storage control method in storage system
JP2010257274A (en) Storage management system and storage management method in virtualization environment
US9081509B2 (en) System and method for managing a physical storage system and determining a resource migration destination of a physical storage system based on migration groups
JP2006221451A (en) Disk array device
US8275958B2 (en) Storage system with remote copy controllers
US8799573B2 (en) Storage system and its logical unit management method
JP2009271666A (en) Storage system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120426

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120620

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

Free format text: PAYMENT UNTIL: 20150629

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees