WO2016166867A1 - 計算機システム、及び、リソース制御方法 - Google Patents

計算機システム、及び、リソース制御方法 Download PDF

Info

Publication number
WO2016166867A1
WO2016166867A1 PCT/JP2015/061714 JP2015061714W WO2016166867A1 WO 2016166867 A1 WO2016166867 A1 WO 2016166867A1 JP 2015061714 W JP2015061714 W JP 2015061714W WO 2016166867 A1 WO2016166867 A1 WO 2016166867A1
Authority
WO
WIPO (PCT)
Prior art keywords
logical
lpar
command
logical partition
partition
Prior art date
Application number
PCT/JP2015/061714
Other languages
English (en)
French (fr)
Inventor
直子 池ヶ谷
晋広 牧
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2015/061714 priority Critical patent/WO2016166867A1/ja
Publication of WO2016166867A1 publication Critical patent/WO2016166867A1/ja

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

Definitions

  • the present invention generally relates to a computer system and a resource control method.
  • a technology is known in which resources of a storage device are divided into a plurality of LPARs (Logical Partitions) and each LPAR is shown to a host computer like a single storage device.
  • LPARs Logical Partitions
  • an upper limit of resources that can be used for each LPAR is set, and control is performed so that the LPAR does not use resources beyond the upper limit (Patent Document 1).
  • Patent Document 2 a technique is known in which when a high-load LPAR is detected, the processor in charge of the I / O (Input / Output) processing of the detected LPAR is changed to another processor having processing capability
  • Patent Document 1 has a problem that the utilization efficiency of the entire resources of the storage apparatus is low when the LPAR load is low. Further, in Patent Document 2, since the responsibility for I / O processing for the LPAR is changed to another processor after a high load is generated in the LPAR, the performance of the LPAR is deteriorated before changing to another processor. Has a problem.
  • an object of the present invention is to increase the utilization efficiency of the entire resources of the storage apparatus. Another object of the present invention is to suppress LPAR performance degradation.
  • a computer system includes a host computer that transmits a command and a storage device that receives a command from the host computer.
  • the storage apparatus includes a logical volume, a logical partition including a logical resource for processing a command designated for the logical volume, a logical partition responsible for the logical volume, and a resource allocated to the logical partition.
  • Logical partition control information including quantity information. Based on the contents of the command received from the host computer, the storage apparatus determines whether or not to change the resource amount allocated to the logical partition in charge of the logical volume designated from the command, and based on the determination result Change the logical partition control information.
  • the utilization efficiency of the entire resources of the storage device can be increased. Further, according to the present invention, it is possible to suppress the performance degradation of LPAR.
  • Example 1 The operation
  • the structural example of a computer system is shown.
  • An example of resource information is shown.
  • An example of LPAR information is shown.
  • An example of resource allocation information is shown.
  • An example of logical VOL information is shown.
  • An example of load status information is shown.
  • An example of load threshold information is shown.
  • An example of importance level status information is shown. It is a flowchart which shows the example of an I / O command process. It is a flowchart which shows the example of a resource change determination process. It is a flowchart which shows the example of a resource change execution process. It is a flowchart which shows the example of a VOL priority change process. 10 shows a configuration example of a host computer according to a second embodiment.
  • An example of LPAR management information is shown.
  • An example of business management information is shown.
  • An example of an LPAR management command is shown. It is a flowchart which shows the example of a LPAR information acquisition process. It is a flowchart which shows the example of a monitoring setting process. It is a flowchart which shows the example of a performance requirement setting process.
  • ID is used as element identification information, but other types of identification information may be used instead or in addition.
  • a common number in the reference number is used, and when a description is made by distinguishing the same type of element, the reference number of the element may be used. is there.
  • logical VOL logical volume
  • logical VOL 280 when an individual VOL is distinguished and explained, as in “logical VOL 280a”. May be described.
  • the process may be described using “program” as a subject.
  • the program is executed by a processor (for example, a CPU (Central Processing Unit)), so that a predetermined process is appropriately performed. Since the processing is performed using a storage resource (for example, a memory) and / or an interface device (for example, a communication port), the subject of processing may be a processor.
  • the processing described with the program as the subject may be processing performed by a processor or an apparatus or system having the processor.
  • the processor may include a hardware circuit that performs a part or all of the processing.
  • the program may be installed in a computer-like device from a program source.
  • the program source may be, for example, a storage medium that can be read by a program distribution server or a computer.
  • the program distribution server may include a processor (for example, a CPU) and a storage resource, and the storage resource may further store a distribution program and a program to be distributed. Then, the processor of the program distribution server executes the distribution program, so that the processor of the program distribution server may distribute the distribution target program to other computers.
  • a processor for example, a CPU
  • the storage resource may further store a distribution program and a program to be distributed. Then, the processor of the program distribution server executes the distribution program, so that the processor of the program distribution server may distribute the distribution target program to other computers.
  • two or more programs may be realized as one program, or one program may be realized as two or more programs.
  • the LPAR in the following embodiments can increase or decrease the resources allocated to the LPAR. Therefore, the LPAR in the following embodiments may be referred to as an “extended LPAR”.
  • FIG. 1 shows an outline of the operation of the computer system 1 according to the first embodiment.
  • the computer system 1 includes a host computer 2-1 and a storage device 4.
  • the host computer 2-1 is connected to the storage apparatus 4 via a network or a cable so as to be capable of bidirectional communication.
  • the host computer 2-1 may be a mainframe or a server.
  • the host computer 2-1 executes a plurality of business processes 10a and 10b which are examples of host processes.
  • the business processes 10a and 10b issue I / O commands to logical volumes (hereinafter referred to as “logical VOL”) 280a and 280b, which are logical storage volumes of the storage apparatus 4, respectively.
  • logical VOL logical volumes
  • each business process of a plurality of host computers may be able to issue an I / O command to a logical VOL of the same storage device.
  • the storage device 4 has a plurality of LPARs 18a and 18b.
  • the LPAR 18 is configured by allocating various types of resources that the storage apparatus 4 has.
  • the resource types of the storage device 4 may include a processor resource 21, a memory resource 22, an interface resource 23, and a storage resource 24.
  • the allocation of the processor resource 21 to the LPAR 18 is to allocate a part of the total computing capability of the processor of the storage apparatus 4, to assign some processors among a plurality of processors, or to the processor May be assigned several cores of the plurality of cores included in.
  • the LPAR 18 has a computing capacity allocated from the processor resource 21.
  • the resource amount of the processor allocated to the LPAR 18 may be a value indicating the computing capacity for the amount allocated to the LPAR 18.
  • Allocating the memory resource 22 may be allocating a part of the total memory capacity of the storage device 4.
  • the LPAR 18 has a memory capacity allocated from the memory resource 22.
  • the memory resource amount allocated to the LPAR 18 may be a value indicating the memory capacity allocated to the LPAR 18.
  • the allocation of the interface resource 23 is to allocate a part of the total data transfer capability (total bandwidth) of the interface of the storage apparatus 4 or to allocate some of the plurality of interfaces. It can be assigned.
  • the LPAR 18 has a data transfer capability that is allocated from the resource 23 of the interface.
  • the resource amount of the interface allocated to the LPAR 18 may be a value indicating the data transfer capability for the amount allocated to the LPAR 18.
  • the allocation of the storage resource 24 may be a partial capacity allocation of the total storage capacity of the storage apparatus 4.
  • the LPAR 18 has a storage capacity allocated from the storage resource 24.
  • the storage resource amount allocated to the LPAR 18 may be a value indicating the storage capacity corresponding to the LPAR 18.
  • the logical VOL 280 may have a storage capacity allocated to the LPAR 18.
  • the logical VOL 280a may be the storage capacity allocated to the LPAR 18a
  • the logical VOL 280b may be the storage capacity allocated to the LPAR 18b.
  • the I / O processing for the logical VOL 280a is processed by the LPAR 18a
  • the I / O processing for the logical VOL 280b is processed by the LPAR 18b.
  • the number of I / Os (data write and read, etc.) for the logical VOL 280 of the business process 10 can vary depending on time and circumstances. Based on the content of the command issued from the business process 10 to the logical VOL 280, the LPAR control unit 20 predicts the subsequent fluctuation in the number of I / Os for the logical VOL 280. When the LPAR control unit 20 receives a prescribed command, the LPAR control unit 20 may predict that the number of I / Os will increase (or decrease) thereafter. The LPAR control unit 20 may predict that the number of subsequent I / Os will increase (or decrease) when the number of I / O commands received per predetermined time is increasing (or decreasing).
  • the LPAR control unit 20 increases the resource allocation amount to the LPAR 18 having the logical VOL 280. As a result, even if the number of I / Os for the logical VOL 280 subsequently increases, the LPAR 18 can process these I / Os quickly. Note that when the LPAR control unit 20 predicts that the number of I / Os for the logical VOL 280 will decrease, the LPAR control unit 20 may reduce the resource allocation amount to the LPAR 18 having the logical VOL 280.
  • FIG. 2 shows a configuration example of the computer system 1.
  • the computer system 1 includes a host computer 2-1, a storage device 4, and a switch 290. There may be a plurality of host computers 2-1, storage devices 4, and switches 290.
  • the host computer 2-1 is connected to the storage apparatus 4 via the switch 290 so as to be capable of bidirectional communication.
  • the mainframe which is an example of the host computer 2-1, may transmit / receive channel commands or transfer data to / from the storage apparatus 4.
  • the storage device 4 includes a disk device group 240 and a storage controller 200 that controls the disk device group 240.
  • the disk device group 240 is connected to the storage controller 200 via a cable 242 (or network) so as to be capable of bidirectional communication.
  • the storage controller 200 includes a processor 210, a memory 220, a BE (BackEnd) I / F 230, and an FE (Front End) I / F 250. These elements 210, 220, 230, 250 are connected via an internal bus 212 so as to be capable of bidirectional communication.
  • the storage controller 200 can send and receive data to and from the host computer 2-1 via the FE I / F 250 and the switch 290.
  • the storage controller 200 may be able to send and receive data to and from other storage devices via the FE I / F 250 and the switch 290.
  • the storage controller 200 may be able to send and receive data to and from the disk device group 240 via the BE I / F 230 and the cable 242.
  • the storage controller 200 When the storage controller 200 receives a write command from the host computer 2-1, the storage controller 200 stores the write data in the disk device group 240. When the storage controller 200 receives a read command from the host computer 2-1, it reads data from the disk device group 240 and returns it to the host computer 2. The storage controller 200 returns a write completion response to the host computer 2-1 at the timing when the write data is stored in the cache area configured as a part of the memory 220, and then sends the write data in the cache area to the disk device group 240. It may be stored. When read data exists in the cache area, the storage controller 200 may read data from the cache area and return it to the host computer 2-1. As a result, the response time of the storage apparatus 4 to the host computer 2-1 is shortened.
  • the memory 220 stores programs and information for realizing various functions of the storage apparatus 4.
  • the processor 210 implements various functions of the storage apparatus 4 by executing a program stored in the memory 220.
  • the memory 220 stores an LPAR control program 221, resource information 300, LPAR information 400, resource allocation information 500, logical VOL information 600, load status information 700, load threshold information 800, and importance level status information 900.
  • Each piece of information 300, 400, 500, 600, 700, 800, 900 may be collectively referred to as LPAR control information.
  • the LPAR control program 221 which is an example of the LPAR control unit 20 controls the LPAR 18 using the LPAR control information.
  • the disk device group 240 includes a plurality of disk devices 270 having storage media capable of writing, reading, and erasing data.
  • the storage areas of the plurality of disk devices 270 are logically divided to configure a logical VOL 280.
  • the logical VOL 280 may be a RAID (Redundant Arrays of Inexpensive Disks) volume.
  • Examples of the disk device 270 are an HDD (Hard Disk Drive), an SSD (Solid State Drive), a flash drive, and the like.
  • the host computer 2-1 includes a host processor 110, a host memory 120, and a channel I / F 130. These elements 110, 120, and 130 are connected to each other through the internal bus 112 so that bidirectional communication is possible.
  • the host memory 120 stores programs and information for realizing various functions of the host computer 2-1.
  • the host processor 110 implements various functions of the host computer 2-1 by executing a program stored in the host memory 120.
  • the host memory 120 stores a business processing program, a logical path generation program, and the like.
  • the business process program as an example of the business process 10 issues an I / O command to the logical VOL 280 through the channel I / F 130 and the switch 290 in the process, or the issued I / O command. Or receive a response to The execution load of the business processing program can vary depending on time and circumstances. Examples of the business processing program are a WEB server program, a batch processing program, a database program, and the like.
  • the logical path generation program generates one or more logical paths between the business processing program and the logical VOL 280.
  • the logical path generation program may increase or decrease the number of logical paths. For example, the logical path generation program may increase the number of logical paths when the execution load of the business processing program is scheduled to increase.
  • the logical path generation program may reduce the number of logical paths when the execution load of the business processing program is to be reduced.
  • FIG. 3 shows an example of the resource information 300.
  • the resource information 300 includes information about resources that the storage apparatus 4 has.
  • the resource information 300 includes a resource type 310, a resource ID 320, a maximum resource amount 330, and a remaining resource amount 340 as field values.
  • Resource type 310 is a value indicating the type of resource. Examples of the resource type 310 are a processor, a memory, an interface, a storage, and the like.
  • Resource ID 320 is a resource identifier.
  • the maximum resource amount 330 is a value indicating the maximum amount of the resource with the resource ID 320.
  • the unit of the maximum resource amount 330 differs depending on the resource type 310.
  • the unit of the maximum resource amount 330 may be “MIPS (Million Instructions Per Second)”.
  • the unit of the maximum resource amount 330 may be “byte”.
  • the resource type 310 is “interface”, the unit of the maximum resource amount 330 may be “bps (bit per second)”.
  • the resource type 310 is “storage”, the unit of the maximum resource amount 330 may be “byte”.
  • the remaining resource amount 340 is a value indicating a resource amount not allocated to the LPAR (that is, an available resource amount) out of the maximum resource amount 330.
  • the remaining resource amount 340 may be a value indicating the ratio of the available (remaining) resource amount to the maximum resource amount 330.
  • the resource ID 320 “core 1” record of the resource type 310 “processor” has a maximum resource amount 330 of “core 1” of “5220MIPS”, and the remaining resource amount 340 Indicates “30%”.
  • FIG. 4 shows an example of LPAR information 400.
  • the LPAR information 400 includes information on the LPAR 18 that the storage apparatus 4 has.
  • the LPAR information 400 includes an LPAR ID 410, a performance requirement 420, and a change flag 430 as field values.
  • the LPAR ID 410 is an identifier of the LPAR 18.
  • the performance requirement 420 is a value indicating the performance requirement for the LPAR 18 with the LPAR ID 410. In the present embodiment, it is assumed that a larger performance requirement 420 represents higher performance.
  • the initial value of the performance requirement 420 may be set in advance.
  • the performance requirement 420 may be changed by the LPAR control program 221.
  • the change flag 430 is a value indicating whether or not change of the resource allocation amount is permitted for the LPAR with the LPAR ID 410.
  • the LPAR ID 410 with the change flag 430 “ON” is allowed to change the resource allocation amount
  • the LPAR ID 410 with the change flag 430 “OFF” is not allowed to change.
  • the LPAR control program 221 sets the LPAR 18 whose change flag 430 is “ON” as a load fluctuation monitoring target.
  • the LPAR control program 221 may exclude the LPAR 18 whose change flag 430 is “OFF” from the load fluctuation monitoring target.
  • the change flag 430 may be changed by the LPAR control program 221.
  • the performance requirement 420 for the LPAR 18 of the “L1” is “5” in the record of the LPAR ID 410 “L1”, and the LPAR 18 of the “L1” is allowed to change the resource allocation amount. (Change flag 430 “ON”).
  • FIG. 5 shows an example of the resource allocation information 500.
  • the resource allocation information 500 includes information on resources allocated to the LPAR 18.
  • the resource allocation information 500 includes LPAR ID 510, resource type 520, resource ID 530, resource allocation amount 540, and adjustment amount 550 as field values.
  • LPAR ID 510, resource type 520, and resource ID 530 are the same as LPAR ID 410, resource type 310, and resource ID 320, respectively.
  • the resource allocation amount 540 is a value indicating the resource amount allocated to the LPAR 18 with the LPAR ID 510 out of the maximum resource amount 330 that the resource with the resource ID 530 has.
  • the unit of the resource allocation amount 540 may be the same unit as the maximum resource amount 330 or a unit indicating the ratio of the allocated resource amount.
  • the adjustment amount 550 is a value obtained by adjusting the resource allocation amount 540 for the load fluctuation of the LPAR 18.
  • the adjustment amount 550 is “+ n% (n is a positive number)”.
  • the adjustment amount 550 is “ ⁇ n%”.
  • the adjustment amount 550 is “0”.
  • the LPAR 18 with the LPAR ID 510 “L1” has a resource allocation amount 540 “30%” of the maximum resource amount of the resource ID 530 “core 1” of the resource type 520 “processor”. , The adjustment amount 550 “+ 10%” for the load increase is allocated.
  • FIG. 6 shows an example of the logical VOL information 600.
  • the logical VOL information 600 includes information related to the logical VOL 280 that the LPAR 18 has.
  • the logical VOL information 600 has a logical VOL ID 610 and an LPAR ID 620 as field values.
  • the logical VOL ID 610 is an identifier of the logical VOL 280.
  • the logical VOL ID 610 may be composed of a set of a logical control unit number (CU number) and a device number (DEV number).
  • LPAR ID 620 is the same value as LPAR ID 410 described above.
  • the logical VOL information 600 shown in FIG. 6 includes a logical VOL 280 having a CU number “1” and a DEV number “0 to 255”, a CU number “2”, and a DEV number “0 to 127”. Having a logical VOL of 280.
  • FIG. 7 shows an example of the load status information 700.
  • the load status information 700 includes information used for predicting the load fluctuation of the LPAR 18.
  • the load status information 700 includes LPAR ID 710, logical path increase / decrease number 720, sequential I / O number 730, high importance I / O number 740, and resource allocation update time 750 as field values.
  • LPAR ID 710 is the same value as LPAR ID 410 described above.
  • the logical path increase / decrease number 720 is a value indicating the increase / decrease number of the logical path for the logical VOL 280 included in the LPAR 18 with the LPAR ID 710.
  • the business processing program adds a logical path when the number of I / Os for the logical VOL 280 increases. Therefore, when the number of logical paths for the logical VOL 280 that the LPAR 18 has is relatively large, the LPAR control program 221 may predict that the load on the LPAR 18 will increase in the future.
  • the logical path may be added or deleted based on a logical path setting command which is a kind of I / O command transmitted from the host computer 2-1.
  • the logical path setting command may include the number of logical paths added to or deleted from the logical VOL 280.
  • the logical path setting command may be a “Set Path Group ID” command.
  • the “Set Path Group ID” command may include a “0xAF” command code and a 12-byte operand.
  • the operand may include a value indicating either setting or cancellation of the logical path, an identifier of the target logical VOL 280, and an identifier of the host computer 2-1.
  • the sequential I / O number 730 is a value indicating the number of sequential I / O commands issued to the logical VOL 280 included in the LPAR 18 with the LPAR ID 710 within a certain period.
  • the business processing program sequentially acquires data from the logical VOL 280 at the start of execution.
  • the number of accesses to the disk device group 240 increases, so the processing load on the LPAR 18 also increases. Therefore, when the number of sequential I / Os 730 for the logical VOL 280 included in the LPAR 18 tends to increase, the LPAR control program 221 may predict that the load on the LPAR 18 will increase in the future.
  • the sequential I / O command may be a “Define Extent” command.
  • the “Define Extent” command may include a command code of “0x63” and a 16-byte operand.
  • the operand may include a value indicating whether sequential access is performed.
  • the LPAR control program 221 may determine whether the I / O command issued from the host computer 2-1 corresponds to a sequential I / O command. For example, when a series of I / O commands are to access a continuous block of the logical VOL 280, the LPAR control program 221 may determine that it corresponds to a sequential I / O command.
  • the high importance I / O count 740 is a value indicating the number of high importance I / O commands issued to the logical VOL 280 included in the LPAR 18 with the LPAR ID 710 within a certain period.
  • the LPAR 18 may process an I / O command having a high importance level with priority over a normal I / O command. For example, when performing a process that needs to be completed within a certain period, the business process program issues an I / O command having a high importance level to the logical VOL 280. Therefore, the LPAR control program 221 may predict that the processing load of the LPAR 18 will increase in the future when the number of I / O commands including the importance “high” for the logical VOL 280 of the LPAR 18 tends to increase.
  • the resource allocation change time 750 is a value indicating the time when the resource allocation amount for the LPAR 18 with the LPAR ID 710 is changed.
  • the field values 720, 730, and 740 may be measured only for the LPAR 18 in which the change flag 430 of the LPAR information 400 is “ON”. “NULL” may be stored in the field values 720, 730, and 740 corresponding to the LPAR 18 whose change flag 430 is “OFF”.
  • a logical path of “+16” (720) is added to the logical VOL 280 included in the LPAR 18 of the LPAR ID 710 “L1”, and “100” (730) sequential within a certain period. This indicates that an I / O command has been issued, and an I / O command of importance “high” of “10” (740) has been issued within a certain period.
  • the LPAR 18 of “L1” indicates that the resource allocation amount has been changed to “December 24, 10:00:00” (750).
  • FIG. 8 shows an example of the load threshold information 800.
  • the load threshold information 800 includes threshold information used for determining whether to increase or decrease the resource allocation amount for the LPAR 18.
  • the load threshold information 800 includes, as field values, a threshold type 810, a logical path increase / decrease number threshold 820, a sequential I / O count threshold 830, a high importance I / O count threshold 840, and a VOL priority threshold 850. .
  • the threshold type 810 is a value indicating whether the field values 820, 830, 840, and 850 are “upper limit threshold” or “lower limit threshold”.
  • the logical path increase / decrease threshold 820 is a threshold for the logical path increase / decrease 720.
  • the LPAR control program 221 may determine to increase the resource allocation amount for the LPAR 18 of the LPAR ID 710.
  • the LPAR control program 221 may determine that the resource allocation amount for the LPAR 18 of the LPAR ID 710 is reduced.
  • the sequential I / O count threshold 830 is a threshold for the sequential I / O count 730.
  • the LPAR control program 221 may determine that the resource allocation amount for the LPAR 18 of the LPAR ID 710 is increased when the sequential I / O number 730 exceeds the upper limit threshold value 830 of the sequential I / O number.
  • the LPAR control program 221 may determine to reduce the resource allocation amount for the LPAR 18 of the LPAR ID 710 when the sequential I / O count 730 becomes less than the lower limit threshold value 830 of the sequential I / O count.
  • the threshold 840 for the high importance I / O count is a threshold for the high importance I / O count 740.
  • the LPAR control program 221 may determine to increase the resource allocation amount for the LPAR 18 of the LPAR ID 710 when the high importance I / O count 740 exceeds the upper threshold 840 for the high importance I / O count.
  • the LPAR control program 221 may determine that the resource allocation amount for the LPAR 18 with the LPAR ID 710 is reduced when the high importance I / O count 740 is less than the lower threshold 840 of the high importance I / O count.
  • the VOL priority threshold 850 is a threshold used when determining the VOL priority 950 shown in FIG. Details will be described later.
  • FIG. 9 shows an example of the importance level status information 900.
  • the importance level status information 900 includes information on the priority of each logical VOL 280.
  • the importance level status information 900 includes LPAR ID 910, logical VOL ID 920, low importance I / O count 930, high importance I / O count 940, and VOL priority 950 as field values.
  • LPAR ID 910 and logical VOL ID 920 are the same values as LPAR ID 410 and logical VOL ID 610, respectively.
  • the low importance I / O number 930 is a value indicating the number of I / O commands including the low importance level issued to the logical VOL 280 of the logical VOL ID 920.
  • the high importance I / O number 940 is a value indicating the number of I / O commands including the importance “high” issued to the logical VOL 280 of the logical VOL ID 920.
  • the VOL priority 950 is a value indicating the priority of the logical VOL 280 of the logical VOL ID 920.
  • an I / O for a logical VOL 280 with a VOL priority 950 “low” is processed with a higher priority than an I / O for a logical VOL 280 with a VOL priority 950 “low”.
  • the LPAR control program 221 sets the VOL priority 950 of the logical VOL 280 in which the high importance I / O number 940 is “0” and the low importance I / O number 930 exceeds the upper limit threshold value 850 of the VOL priority. Is “low”.
  • the LPAR control program 221 may change the responsibility of the logical VOL 280 having the VOL priority 950 “low” to the LPAR 18 having a relatively small performance requirement 420.
  • FIG. 10 is a flowchart showing an example of command processing.
  • the command processing may be executed by the LPAR control program 211 of the storage controller 200.
  • the LPAR control program 221 When the LPAR control program 221 receives a command from the host computer 2-1, it executes the following processing.
  • the LPAR control program 221 refers to the logical VOL information 600 and identifies the LPAR 18 having the logical VOL 280 specified by the command (step S1010). 10 to 13, the specified LPAR is referred to as “specific LPAR”.
  • the LPAR control program 221 refers to the LPAR information 400 and determines whether or not the change flag 430 of the specific LPAR is “ON” (step S1020).
  • step S1020 If the determination result in step S1020 is negative (step S1020: NO), the LPAR control program 221 executes normal I / O processing (step S1080), and ends this processing.
  • step S1020 determines whether or not the command predicts load fluctuation (step S1030).
  • the command for predicting the load fluctuation may be a logical path setting command, a sequential I / O command, an I / O command having a high importance level, or the like.
  • step S1030 If the determination result in step S1030 is negative (step S1030: NO), the LPAR control program 221 executes normal I / O processing (step S1080), and ends this processing.
  • step S1030 If the determination result in step S1030 is positive (step S1030: YES), the LPAR control program 221 updates the load status information 700 (step S1040). For example, when a logical path setting command for adding a logical path “1” is received, the LPAR control program 221 adds “1” to the logical path increase / decrease number 720. When the sequential I / O command is received, the LPAR control program 221 adds “1” to the sequential I / O number 730. When an I / O command with a high importance level is received, the LPAR control program 221 adds “1” to the high importance I / O count 740.
  • the LPAR control program 221 executes resource change determination processing (step S1050).
  • the resource change determination process determines whether or not the resource allocation amount for the specific LPAR needs to be changed based on the load status information 700 and the load threshold information 800. Details of the resource change determination process will be described later (see FIG. 11).
  • step S1050 determines in the determination result in step S1050 that the resource allocation amount does not need to be changed (step S1060: NO)
  • step S1080 executes normal I / O processing (step S1080), and ends this processing. .
  • step S1070 When the LPAR control program 221 determines that the resource allocation amount needs to be changed in the determination result in step S1050 (step S1060: YES), the LPAR control program 221 executes a resource change execution process (step S1070).
  • the resource change execution process actually changes the resource allocation amount for the specific LPAR. Details of the resource change execution process will be described later (see FIG. 12).
  • the LPAR control program 221 executes normal I / O processing (step S1080). At this time, if the VOL priority 950 corresponding to the logical VOL 280 targeted for I / O processing is “low” in the importance level status information 900, the LPAR control program 221 takes charge of this logical VOL 280 as the performance requirement 420. You may switch to relatively low LPAR18. Then, the LPAR control program 221 ends this process.
  • the LPAR control program 221 can predict a future load increase of the business processing program based on the received command, and can increase the resource allocation amount for the LPAR 18 in advance. Thereby, it is possible to suppress the deterioration of the response time of the storage apparatus 4 that may occur when a large amount of I / O commands are issued from the business processing program to the logical VOL 280.
  • FIG. 11 is a flowchart showing an example of the resource change determination process.
  • FIG. 11 shows details of step S1050 in FIG.
  • the LPAR control program 221 refers to the load status information 700 and acquires the logical path increase / decrease number 720 corresponding to the specific LPAR (step S1110).
  • the LPAR control program 221 determines whether or not the acquired logical path increase / decrease number 720 exceeds the upper limit threshold 820 of the logical path increase / decrease number (step S1120).
  • step S1120 determines that the resource allocation amount for the specific LPAR needs to be increased (step S1125), and returns to the process of FIG.
  • step S1120 determines whether the acquired logical path increase / decrease number 720 is less than the lower limit threshold 820 of the logical path increase / decrease number. (Step S1130).
  • step S1130 determines that the resource allocation amount for the specific LPAR needs to be reduced (step S1135), and returns to the processing of FIG.
  • step S1130 determines whether or not a certain count period of the number of I / Os 730, 740, 930, and 940 corresponding to the specific LPAR has elapsed. Is determined (step S1140).
  • step S1140 If the determination result in step S1140 is affirmative (step S1140: YES), the LPAR control program 221 initializes the I / O counts 730, 740, 930, 940 and the count period (step S1145), and proceeds to step S1180. .
  • step S1140 When the determination result in step S1140 is negative (step S1140: NO), the LPAR control program 221 refers to the load status information 700 and acquires the sequential I / O count 730 and the high importance I / O count 740 ( Step S1150). This is for determining whether or not the number of I / Os related to load fluctuation tends to increase or decrease rapidly.
  • the LPAR control program 221 determines that the acquired sequential I / O number 730 exceeds the upper limit threshold value 830 of the sequential I / O number, or the acquired high importance I / O number 740 is the high importance I It is determined whether or not the upper limit threshold value 840 of / O number is exceeded (step S1160).
  • step S1160 determines that the resource allocation amount for the specific LPAR needs to be increased (step S1165), and returns to the process of FIG.
  • step S1160 determines that the acquired sequential I / O number 730 is less than the lower limit threshold value 830 of the sequential I / O number, or It is determined whether the acquired high importance I / O count 740 is less than the lower threshold 840 of the high importance I / O count (step S1170).
  • step S1170 determines that the resource allocation amount for the specific LPAR needs to be reduced (step S1175), and returns to the process of FIG.
  • step S1170 determines that the resource allocation amount for the specific LPAR need not be changed (step S1180), and returns to the process of FIG.
  • FIG. 12 is a flowchart showing an example of resource change execution processing.
  • FIG. 12 shows details of step S1070 of FIG.
  • the LPAR control program 221 acquires the determination result of the resource change determination process in step S1050 (step S1210).
  • the LPAR control program 221 determines whether or not the acquired determination result needs to increase the resource allocation amount (step S1220).
  • step S1220 determines whether the determination result in step S1220 is negative (step S1220: NO), that is, if the determination result obtained in step S1210 requires a reduction in resource allocation.
  • the LPAR control program 221 sets the resource allocation for a specific LPAR.
  • the reduction process is executed (step S1270). For example, the LPAR control program 221 decreases the adjustment amount 550 corresponding to the specific LPAR of the resource allocation information 500 and increases the remaining resource amount 340 of the resource information 300. As a result, the amount of resources that the specific LPAR can use for the I / O processing of the logical VOL 280 decreases, but the remaining resource amount 340 increases accordingly. Then, the LPAR control program 221 proceeds to step S1280.
  • step S1220 determines the resource amount to be additionally allocated to the specific LPAR (step S1230).
  • the LPAR control program 221 determines whether or not the additional resource amount to be allocated can be secured (step S1240). For example, the LPAR control program 221 refers to the resource information 300 and determines whether or not the remaining resource amount 340 is larger than the additionally allocated resource amount.
  • step S1240 If the determination result in step S1240 is positive (step S1240: YES), the LPAR control program 221 allocates the additional resource amount to the specific LPAR (step S1260). For example, the LPAR control program 221 increases the adjustment amount 550 corresponding to the specific LPAR in the resource allocation information 500 and decreases the remaining resource amount 340 of the resource information 300. This increases the amount of resources that the specific LPAR can use for I / O processing.
  • step S1240 determines whether the determination result in step S1240 is negative (step S1240: NO).
  • the VOL priority change process is a process for securing the additional resource amount by changing the I / O process responsible for the logical VOL with the VOL priority 950 “low” to a relatively low LPAR with the performance requirement 420. is there. Details of the VOL priority change processing will be described later (see FIG. 13). Then, the LPAR control program 221 proceeds to step S1280.
  • step S1280 the LPAR control program 221 updates the resource allocation change time 750 of the load status information 700 to the current time (step S1280), and returns to the processing of FIG.
  • the resource amount allocated to the LPAR 18 can be changed.
  • FIG. 13 is a flowchart showing an example of VOL priority change processing.
  • FIG. 13 shows details of step S1250 of FIG.
  • the LPAR control program 221 selects the logical VOL 280 that has received the I / O command with the importance “low” from the logical VOLs 280 included in the specific LPAR (step S1310). That is, the LPAR control program 221 refers to the importance level status information 900, and selects a record whose LPAR ID 910 is a specific LPAR and whose low importance I / O count 930 is “1 or more”. Then, the LPAR control program 221 acquires the logical VOL ID 920 of the specified record.
  • the LPAR control program 221 determines whether or not the I / O command with the designated importance “high” of the logical VOL 280 selected in step S1310 has also been received (step S1320). That is, the LPAR control program 221 refers to the importance level status information 900 and acquires the high importance level I / O number 940 of the record selected above. Then, the LPAR control program 221 determines whether or not the acquired high importance I / O count 940 is “1 or more”.
  • step S1320 determines whether the LPAR control program 221 is affirmative (step S1320: YES). If the determination result of step S1320 is affirmative (step S1320: YES), the LPAR control program 221 proceeds to step S1350. In other words, when the high importance I / O number 940 is “1 or more”, the charge of the selected logical VOL 280 remains the specific LPAR. In this case, the process returns from step S1350 to step S1310, and the determination in step S1320 is performed for the logical VOL 280 that has received another I / O command with a low importance level.
  • step S1320 If the determination result in step S1320 is negative (step S1320: NO), the LPAR control program 221 indicates that the low importance I / O count 930 of the selected record is the VOL priority upper limit threshold value 850 of the load threshold information 800. Is determined (step S1330).
  • step S1330 If the determination result of step S1330 is negative (step S1330: NO), the LPAR control program 221 proceeds to step S1350.
  • step S1330 If the determination result of step S1330 is affirmative (step S1330: YES), the LPAR control program 221 changes the responsibility of the selected logical VOL 280 to the LPAR 18 having a relatively low performance requirement 420 (step S1340).
  • the LPAR 18 having the relatively low performance requirement 420 may be the LPAR 18 in which the change flag 430 is “ON” and the performance requirement 420 is the lowest in the LPAR information 400.
  • the LPAR control program 221 changes the LPAR ID 910 to the LPAR 18 after the change in the logical VOL record selected by the logical VOL ID 920 of the importance level status information 900, and changes the priority 950 to “low”. Good. Then, the LPAR control program 221 proceeds to step S1350.
  • step S1350 the LPAR control program 221 determines whether there is another logical VOL 280 that has received an I / O command with a low importance level (step S1350).
  • step S1350 NO
  • the LPAR control program 221 returns to the process of FIG.
  • step S1350 If the determination result of step S1350 is affirmative (step S1350: YES), the LPAR control program 221 returns to step S1310 and repeats the process for another logical VOL 280.
  • the LPAR control program 221 finds a plurality of logical VOLs 280 that have received an I / O command having a low importance level in step S1310 described above, the LPAR control program 221 selects the most frequently used I / O command having a low importance level. A received logical VOL 280 may be selected. Further, if the process of step S1340 is executed, the LPAR control program 221 may return to the process of FIG. 12 without returning to step S1310 even if there is an unprocessed logical VOL in step S1350. Also, if the LPAR control program 221 can secure the resource amount allocated by adding step S1240 in FIG. 12 when the process of step S1340 is executed, there is a case where there is an unprocessed logical VOL in step S1350. Alternatively, the process may return to the process of FIG. 12 without returning to step S1310.
  • the LPAR control program 221 can cause the logical VOL 280 having a low priority among the logical VOLs 280 handled by the specific LPAR to be assigned to another LPAR 18 having a relatively low performance requirement 420. Thereby, the LPAR control program 221 can increase the remaining resource amount 340 of the specific LPAR 20. Therefore, the LPAR control program 221 can allocate a larger amount of resources to the LPAR 18 in charge of the logical VOL 280 having a relatively high I / O processing load.
  • the LPAR control program 221 predicts the future load fluctuation of the business process program based on the I / O command issued from the host computer 2-1, and the logical VOL 280 accessed from the business process program. It is possible to appropriately change the resource amount allocated to the LPAR 18 having. That is, the LPAR control program 221 can reduce the resource amount allocated to the LPAR 18 that is predicted to have a low processing load, and increase the resource amount allocated to the LPAR 18 that is predicted to have a high processing load. Thereby, the finite resources possessed by the storage apparatus 4 are efficiently utilized.
  • the first embodiment is an example in which the storage apparatus 4 manages the LPAR 18.
  • the second embodiment is an example in which the LPAR 18 of the storage apparatus 4 is managed on the host computer 2-2 side.
  • the same referential mark may be attached
  • FIG. 14 shows a configuration example of the host computer 2-2 according to the second embodiment.
  • the host memory 120 stores an LPAR management program 121, LPAR management information 1500, and business management information 1600.
  • the LPAR management information 1500 is information for managing the LPAR 18 that the storage apparatus 4 has.
  • the LPAR management program 121 is a program for managing the LPAR 18 of the storage apparatus 4 using the LPAR management information 1500.
  • the host computer 2-2 may have a business control program.
  • the business control program may manage the amount of work or data for each business processing program for each hour, the priority for each business processing program for each time, and the like.
  • FIG. 15 shows an example of LPAR management information 1500.
  • the LPAR management information 1500 includes information on the LPAR 18 that the storage apparatus has.
  • the LPAR management information 1500 includes an LPAR ID 1510, a storage device ID 1520, a performance requirement 1530, and a change flag 1540 as field values.
  • the LPAR ID 1510, the performance requirement 1530, and the load change flag 1540 are the same values as the LPAR ID 410, the performance requirement 420, and the load management 430 in FIG.
  • Storage device ID 1520 is an identifier of the storage device 4.
  • the LPAR 18 with the LPAR ID 1510 “L1” exists in the storage device 4 with the storage device ID 1520 “100”, and the performance requirement 1530 of the LPAR 18 is “ 5 ”, indicating that the resource allocation amount for the LPAR 18 can be changed (change flag 1540“ ON ”).
  • the LPAR management program 121 acquires the value of the LPAR information 400 of the storage apparatus 4 using the LPAR management command (see FIG. 17), and stores the acquired value in the LPAR management information 1500.
  • FIG. 16 shows an example of business management information 1600.
  • the business management information 1600 includes information on the LPAR 18 having the logical VOL 280 that is accessed by the business processing 10.
  • the business management information 1600 has a business ID 1610 and an LPAR ID 1620 as field values.
  • the business ID 1610 is an identifier of the business processing 10.
  • LPAR ID 1620 is an identifier of LPAR18.
  • the record of the business ID 1610 “H1” in the business management information 1600 illustrated in FIG. 16 indicates that the business process 10 with the business ID 1610 “H1” accesses the logical VOL 280 included in the LPAR 18 with the LPAR ID 1620 “L1”.
  • FIG. 17 shows an example of an LPAR management command.
  • the LPAR management command is a command for the host computer 2-2 to manage the LPAR 18 of the storage apparatus 4.
  • Examples of the LPAR management command are an LPAR information acquisition command 1701, a load management setting command 1702, and a performance requirement setting command 1703.
  • the LPAR information acquisition command 1701 is a command for acquiring the LPAR information 400.
  • the LPAR information acquisition command 1701 has, as field values, an ID 1710 indicating the command 1701, an ID 1740 of the target LPAR of the command 1701, and an address value 1750 of the host memory where the LPAR information 400 acquired by the command 1701 is stored.
  • the storage apparatus 4 that has received the LPAR information acquisition command 1701 specifies the record having the LPAR ID 410 that matches the LPAR ID 1740 from the LPAR information 400, and sets the performance requirement 420 and the change flag 430 of the specified record to the host computer 2- Return to 2.
  • the monitoring setting command 1702 is a command for setting the monitoring target LPAR 18 such as a load.
  • the monitor setting command 1702 has, as field values, an ID 1720 indicating the command 1702, an ID 1742 of the target LPAR of the command 1702, and a setting value 1760 (ON or OFF) of the change flag 430 of the LPAR ID 1742.
  • the storage apparatus 4 that has received the monitoring setting command 1702 specifies a record having the LPAR ID 410 that matches the LPAR ID 1742 from the LPAR information 400, and changes the change flag 430 of the specified record to the setting value 1760.
  • the performance requirement setting command 1703 is a command for setting LPAR performance requirements.
  • the performance requirement setting command 1703 has, as field values, an ID indicating the command 1703, an ID 1744 of the target LPAR of the command 1703, and a setting value 1770 of the performance requirement 420.
  • the storage apparatus 4 that has received the performance requirement setting command 1703 identifies the record having the LPAR 410 that matches the LPAR ID 1744 from the LPAR information 400, and changes the performance requirement 420 of the identified record to the setting value 1770.
  • FIG. 18 is a flowchart showing an example of LPAR information acquisition processing.
  • the LPAR management program 121 of the host computer 2-2 transmits an LPAR information acquisition command 1701 to the storage apparatus 4 (step S1810).
  • the LPAR information acquisition command 1701 may be transmitted periodically, or may be transmitted at a timing instructed by a user or a predetermined program.
  • the LPAR control program 221 of the storage apparatus 4 receives the LPAR information acquisition command 1701 transmitted from the host computer 2-2 (step S1820). Then, the LPAR control program 221 refers to the LPAR information 400 and collects information on the LPAR 18 corresponding to the LPAR ID 1740 of the LPAR information acquisition command 1701 (step S1830). Then, the LPAR control program 221 transmits the collected LPAR 18 information to the host computer 2-2 (step S1840).
  • the LPAR management program 121 of the host computer 2-2 receives the information of the LPAR 18 transmitted from the storage apparatus 4 (step S1850).
  • the LPAR management program 121 of the host computer 2-2 updates the performance requirement 1530, the change flag 1540, etc. of the LPAR management information 1500 based on the received information of the LPAR 18 (step S1860), and ends this processing. That is, the LPAR management program 121 of the host computer 2-2 stores the received information of the LPAR 18 in the area of the address value 1750 of the host memory 120.
  • the host computer 2-2 can acquire the information of the LPAR 18 that the storage apparatus 4 has.
  • FIG. 19 is a flowchart showing an example of the monitoring setting process.
  • the LPAR management program 121 of the host computer 2-2 determines to change the change flag 430 of the LPAR 18 (step S1910), the following processing is performed. For example, if the host computer 2-2 does not want to change the resource allocation amount of the LPAR 18 to the storage device 4 without permission, the host computer 2-2 determines to set the change flag 430 of the LPAR 18 to “OFF”.
  • the LPAR management program 121 of the host computer 2-2 transmits a monitoring setting command 1702 to the storage apparatus 4 (step S1920).
  • the LPAR control program 221 of the storage apparatus 4 receives the monitoring setting command 1702 transmitted from the host computer 2-2 (step S1930). Then, the LPAR control program 221 changes the change flag 430 of the LPAR information 400 to the setting value 1760 of the monitoring setting command 1720 (step S1940). Then, the LPAR control program 221 transmits the execution result to the host computer 2-2 (step S1950). This execution result includes a change flag 430 after the change.
  • the LPAR management program 121 of the host computer 2-2 receives the execution result transmitted from the storage apparatus 4 (step S1960). Then, the LPAR management program 121 reflects the received execution result in the LPAR management information 1500 (step S1970), and ends this processing.
  • the host computer 2-2 can change the change flag 430 for the LPAR 18 of the storage apparatus 4.
  • FIG. 20 is a flowchart showing an example of performance requirement setting processing.
  • the LPAR management program 121 of the host computer 2-2 identifies the business process 10 for which the load change is scheduled (step S2010), the following process is performed. For example, the LPAR management program 121 identifies the business process 10 for which a load increase is scheduled in a predetermined time period.
  • the LPAR management program 121 of the host computer 2-2 transmits a performance requirement setting command 1703 to the storage apparatus 4 (step S2020).
  • the LPAR ID 1740 of the performance requirement setting command 1703 may store the ID of the LPAR 18 having the logical VOL 280 that is accessed by the business process 10 specified in step S2010.
  • the LPAR management program 121 can identify the LPAR ID corresponding to the business process 10 by referring to the business management information 1600.
  • the setting value 1770 of the performance requirement setting command 1703 has a higher performance requirement when the load of the business process 10 is scheduled to be lower, and lower when a load decrease of the business process 10 is scheduled. Performance requirements may be stored.
  • the LPAR control program 221 of the storage apparatus 4 receives the performance requirement setting command 1703 transmitted from the host computer 2-2 (step S2030). Then, the LPAR control program 221 changes the performance requirement 420 of the LPAR information 400 to the setting value 1770 of the performance requirement setting command 1703 (step S2040). Then, the LPAR control program 221 changes the resource allocation amount for the LPAR 18 so as to conform to the changed performance requirement 420 (step S2050). This change of the resource allocation amount may be performed by the process shown in FIG. Then, the LPAR control program 221 transmits the execution result to the host computer 2-2 (step S2060).
  • the LPAR management program 121 of the host computer 2-2 receives the execution result transmitted from the storage apparatus 4 (step S2070). Then, the LPAR management program 121 reflects the received execution result in the LPAR management information 1500 (step S2080), and ends this processing. For example, when the execution result is “success”, the performance requirement 1530 of the LPAR management information 1500 is updated to the setting value 1770.
  • the host computer 2-2 can change the performance requirement 420 for the LPAR 18 of the storage apparatus 4.
  • the host computer 2-2 can acquire information on the LPAR 18 of the storage apparatus 4. Further, the host computer 2-2 can change the setting related to the LPAR 18 of the storage apparatus 4. That is, the LPAR 18 of the storage apparatus 4 can be controlled from the host computer 2-2.
  • the above-described storage device 4 may have a virtual private storage (VPS) function.
  • the VPS function is a function for defining a virtual dedicated storage device for the upper application and preventing performance interference between the virtual devices. That is, the storage apparatus 4 may be able to provide the host computer 2 with a logical VOL 280 (corresponding to a VPS) that is guaranteed at least the performance requirement 420 using the VPS function.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

 計算機システムは、ホスト計算機とストレージ装置を有する。ストレージ装置は、論理ボリュームと、論理ボリュームの指定されたコマンドを処理するための論理的なリソースを含む論理区画と、論理ボリュームを担当する論理区画及びその論理区画に対して割り当てられたリソース量の情報を含む論理区画制御情報とを有する。ストレージ装置は、ホスト計算機から受領したコマンドの内容に基づき、そのコマンドから指定された論理ボリュームを担当する論理区画に割り当てるリソース量を変更するか否かを判定し、その判定の結果に基づいて、論理区画制御情報を変更する。

Description

計算機システム、及び、リソース制御方法
 本発明は、概して、計算機システム、及び、リソース制御方法の技術に関する。
 ストレージ装置が有するリソースを複数のLPAR(Logical Partition)に分割し、それぞれのLPARを1つのストレージ装置のように、ホスト計算機に見せる技術が知られている。また、LPAR毎に使用可能なリソースの上限を設定し、LPARにその上限を越えてリソースを使用させないように制御する技術が知られている(特許文献1)。また、高負荷のLPARが検出された場合、その検出されたLPARのI/O(Input/Output)処理を担当するプロセッサを、処理能力を有する別のプロセッサに変更する技術が知られている(特許文献2)。
US2006/0224854 US2008/0263190
 しかし、特許文献1は、LPARの負荷が低い状態において、ストレージ装置の有するリソース全体の利用効率が低いという課題を有する。また、特許文献2は、LPARに高負荷が発生した後でそのLPARに対するI/O処理の担当を別のプロセッサに変更するため、別のプロセッサに変更される前においてLPARの性能が低下するという課題を有する。
 そこで、本発明の目的は、ストレージ装置の有するリソース全体の利用効率を高めることにある。また、本発明の他の目的は、LPARの性能低下を抑制することにある。
 本発明の一実施例に係る計算機システムは、コマンドを送信するホスト計算機と、そのホスト計算機からコマンドを受領するストレージ装置とを備える。ストレージ装置は、論理ボリュームと、論理ボリュームの指定されたコマンドを処理するための論理的なリソースを含む論理区画と、論理ボリュームを担当する論理区画、及び、その論理区画に対して割り当てられたリソース量の情報を含む論理区画制御情報とを有する。そして、ストレージ装置は、ホスト計算機から受領したコマンドの内容に基づき、そのコマンドから指定された論理ボリュームを担当する論理区画に割り当てるリソース量を変更するか否かを判定し、その判定の結果に基づいて、論理区画制御情報を変更する。
 本発明によれば、ストレージ装置の有するリソース全体の利用効率を高めることができる。また、本発明によれば、LPARの性能低下を抑制することができる。
実施例1に係る計算機システムの動作概要を示す。 計算機システムの構成例を示す。 リソース情報の例を示す。 LPAR情報の例を示す。 リソース割当情報の例を示す。 論理VOL情報の例を示す。 負荷状況情報の例を示す。 負荷閾値情報の例を示す。 重要度状況情報の例を示す。 I/Oコマンド処理の例を示すフローチャートである。 リソース変更判定処理の例を示すフローチャートである。 リソース変更実行処理の例を示すフローチャートである。 VOL優先度変更処理の例を示すフローチャートである。 実施例2に係るホスト計算機の構成例を示す。 LPAR管理情報の例を示す。 業務管理情報の例を示す。 LPAR管理コマンドの例を示す。 LPAR情報取得処理の例を示すフローチャートである。 監視設定処理の例を示すフローチャートである。 性能要件設定処理の例を示すフローチャートである。
 以下、図面を参照しながら本発明の実施例を説明する。
 以下の説明では、要素の識別情報として、IDが使用されるが、それに代えて又は加えて他種の識別情報が使用されてもよい。また、以下の説明では、同種の要素を区別しないで説明する場合には、参照符号における共通番号を使用し、同種の要素を区別して説明する場合は、その要素の参照符号を使用することがある。例えば、論理ボリューム(以下「論理VOL」という)を特に区別しないで説明する場合には、「論理VOL280」と記載し、個々のVOLを区別して説明する場合には、「論理VOL280a」のように記載することがある。
 また、以下の説明では、「プログラム」を主語として処理を説明する場合があるが、プログラムは、プロセッサ(例えばCPU(Central Processing Unit))によって実行されることで、定められた処理を、適宜に記憶資源(例えばメモリ)及び/又はインタフェースデバイス(例えば通信ポート)等を用いながら行うため、処理の主語がプロセッサとされてもよい。プログラムを主語として説明された処理は、プロセッサあるいはそのプロセッサを有する装置又はシステムが行う処理としてもよい。また、プロセッサは、処理の一部または全部を行うハードウェア回路を含んでもよい。プログラムは、プログラムソースから計算機のような装置にインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバまたは計算機が読み取り可能な記憶メディアであってもよい。プログラムソースがプログラム配布サーバの場合、プログラム配布サーバはプロセッサ(例えばCPU)と記憶資源を含み、記憶資源はさらに配布プログラムと配布対象であるプログラムとを記憶してよい。そして、プログラム配布サーバのプロセッサが配布プログラムを実行することで、プログラム配布サーバのプロセッサは配布対象のプログラムを他の計算機に配布してよい。また、以下の説明において、2以上のプログラムが1つのプログラムとして実現されてもよいし、1つのプログラムが2以上のプログラムとして実現されてもよい。
 また、以下の実施例におけるLPARは、従来のLPARとは異なり、LPARに割り当てられるリソースを増減可能である。よって、以下の実施例におけるLPARは、「拡張LPAR」と呼ばれてもよい。
 図1は、実施例1に係る計算機システム1の動作概要を示す。
 計算機システム1は、ホスト計算機2-1、ストレージ装置4を備える。ホスト計算機2―1は、ネットワーク又はケーブルを介して、ストレージ装置4と双方向通信可能に接続されている。ホスト計算機2-1及びストレージ装置4は複数であってよい。ホスト計算機2-1は、メインフレーム又はサーバなどであってよい。
 ホスト計算機2-1は、ホスト処理の例である複数の業務処理10a、10bを実行する。業務処理10a、10bは、それぞれ、ストレージ装置4の有する論理的な記憶ボリュームである論理ボリューム(以下「論理VOL」という)280a、280bに対してI/Oコマンドを発行する。なお、複数のホスト計算機のそれぞれの業務処理が、同一のストレージ装置の論理VOLに対してI/Oコマンドを発行できてもよい。
 ストレージ装置4は、複数のLPAR18a、18bを有する。LPAR18は、ストレージ装置4が有する様々な種別のリソースが割り当てられて構成される。ストレージ装置4が有するリソースの種別には、プロセッサのリソース21、メモリのリソース22、インタフェースのリソース23、ストレージのリソース24が含まれてよい。
 プロセッサのリソース21をLPAR18に割り当てることは、ストレージ装置4の有するプロセッサの全演算能力の内の一部の演算能力を割り当てること、複数のプロセッサの内の幾つかのプロセッサを割り当てること、又は、プロセッサに含まれる複数のコアの内の幾つかのコアを割り当てることであってよい。LPAR18は、プロセッサのリソース21から割り当てられた分の演算能力を有する。LPAR18に割り当てられたプロセッサのリソース量は、そのLPAR18に割り当てられた分の演算能力を示す値であってよい。
 メモリのリソース22を割り当てることは、ストレージ装置4の有するメモリの全容量の内の一部の容量を割り当てることであってよい。LPAR18は、メモリのリソース22から割り当てられた分のメモリ容量を有する。LPAR18に割り当てられたメモリのリソース量は、そのLPAR18に割り当てられた分のメモリ容量を示す値であってよい。
 インタフェースのリソース23を割り当てることは、ストレージ装置4の有するインタフェースの全データ転送能力(全帯域)の内の一部のデータ転送能力を割り当てること、又は、複数のインタフェースの内の幾つかのインタフェースを割り当てることであってよい。LPAR18は、インタフェースのリソース23から割り当てられた分のデータ転送能力を有する。LPAR18に割り当てられたインタフェースのリソース量は、そのLPAR18に割り当てられた分のデータ転送能力を示す値であってよい。
 ストレージのリソース24を割り当てることは、ストレージ装置4の有するストレージの全容量の内の一部の容量を割り当てることであってよい。LPAR18は、ストレージのリソース24から割り当てられた分のストレージ容量を有する。LPAR18に割り当てられたストレージのリソース量は、そのLPAR18に割り当てられた分のストレージ容量を示す値であってよい。
 論理VOL280は、LPAR18に割り当てられた分のストレージ容量であってよい。例えば、論理VOL280aが、LPAR18aに割り当てられた分のストレージ容量であり、論理VOL280bが、LPAR18bに割り当てられた分のストレージ容量であってよい。この場合、論理VOL280aに対するI/O処理は、LPAR18aが処理し、論理VOL280bに対するI/O処理は、LPAR18bが処理する。
 業務処理10の論理VOL280に対するI/O(データのライト及びリードなど)の数は、時間や状況によって変動し得る。LPAR制御部20は、業務処理10から論理VOL280に対して発行されたコマンドの内容に基づき、その論理VOL280に対するその後のI/O数の変動を予測する。LPAR制御部20は、規定のコマンドを受領した場合、その後にI/O数が増加(又は減少)すると予測してもよい。LPAR制御部20は、所定時間当たりのI/Oコマンドの受領数が増加傾向(又は減少傾向)にある場合、その後のI/O数が増加(又は減少)すると予測してもよい。
 LPAR制御部20は、論理VOL280に対するI/O数が増加すると予測した場合、その論理VOL280を有するLPAR18へのリソース割当量を増やす。これにより、その後に論理VOL280に対するI/O数が増加しても、LPAR18は、それらのI/Oを迅速に処理できる。なお、LPAR制御部20は、論理VOL280に対するI/O数が減少すると予測した場合、その論理VOL280を有するLPAR18へのリソース割当量を減らしてもよい。
 図2は、計算機システム1の構成例を示す。
 計算機システム1は、ホスト計算機2-1、ストレージ装置4、スイッチ290を備える。ホスト計算機2-1、ストレージ装置4、スイッチ290は、それぞれ、複数であってもよい。
 ホスト計算機2-1は、スイッチ290を介して、ストレージ装置4と双方向通信可能に接続される。ホスト計算機2-1の例であるメインフレームは、ストレージ装置4との間で、チャネルコマンド又は転送データ等を送受信してよい。
 ストレージ装置4は、ディスク装置群240と、ディスク装置群240をコントロールするストレージコントローラ200とを備える。ディスク装置群240は、ケーブル242(又はネットワーク)を介して、ストレージコントローラ200と双方向通信可能に接続される。
 ストレージコントローラ200は、プロセッサ210、メモリ220、BE(BackEnd) I/F230、FE(FrontEnd) I/F250を備える。これらの要素210、220、230、250は、内部バス212を介して双方向通信可能に接続される。ストレージコントローラ200は、FE I/F250及びスイッチ290を介して、ホスト計算機2-1との間で、データを送受信できる。ストレージコントローラ200は、FE I/F250及びスイッチ290を介して、他のストレージ装置との間で、データを送受信できてよい。ストレージコントローラ200は、BE I/F230及びケーブル242を介して、ディスク装置群240との間で、データを送受信できてよい。
 ストレージコントローラ200は、ホスト計算機2-1からライトコマンドを受信すると、ライトデータをディスク装置群240に格納する。ストレージコントローラ200は、ホスト計算機2-1からリードコマンドを受信すると、ディスク装置群240からデータをリードして、ホスト計算機2に返す。ストレージコントローラ200は、メモリ220の一部に構成されたキャッシュ領域にライトデータを格納したタイミングで、ホスト計算機2-1にライト完了応答を返し、その後、キャッシュ領域のライトデータをディスク装置群240に格納してもよい。ストレージコントローラ200は、キャッシュ領域にリードデータが存在する場合、キャッシュ領域からデータをリードして、ホスト計算機2-1に返してよい。これにより、ストレージ装置4のホスト計算機2-1に対する応答時間が短縮される。
 メモリ220には、ストレージ装置4の有する各種機能を実現するためのプログラム及び情報が格納される。プロセッサ210は、メモリ220に格納されたプログラムを実行することにより、ストレージ装置4の有する各種機能を実現する。メモリ220には、LPAR制御プログラム221、リソース情報300、LPAR情報400、リソース割当情報500、論理VOL情報600、負荷状況情報700、負荷閾値情報800、重要度状況情報900が格納される。各情報300、400、500、600、700、800、900は、まとめてLPAR制御情報と呼んでもよい。LPAR制御部20の例であるLPAR制御プログラム221は、LPAR制御情報を用いて、LPAR18を制御する。
 ディスク装置群240は、データのライト、リード及び消去等が可能な記憶媒体を有する複数のディスク装置270で構成される。複数のディスク装置270の記憶領域が論理的に分割されて、論理VOL280が構成される。論理VOL280は、RAID(Redundant Arrays of Inexpensive Disks)ボリュームであってもよい。ディスク装置270の例は、HDD(Hard Disk Drive)、SSD(Solid State Drive)、フラッシュドライブ等である。
 ホスト計算機2-1は、ホストプロセッサ110、ホストメモリ120、チャネルI/F130を備える。これらの要素110、120、130は、内部バス112を通じて双方向通信可能に接続される。
 ホストメモリ120には、ホスト計算機2-1の有する各種機能を実現するためのプログラム及び情報が格納される。ホストプロセッサ110は、ホストメモリ120に格納されたプログラムを実行することにより、ホスト計算機2-1の有する各種機能を実現する。例えば、ホストメモリ120には、業務処理プログラム、論理パス生成プログラムなどが格納される。
 業務処理10の例である業務処理プログラムは、その処理の中で、チャネルI/F130及びスイッチ290を介して、論理VOL280に対してI/Oコマンドを発行したり、その発行したI/Oコマンドに対する応答を受領したりする。業務処理プログラムの実行負荷は、時間や状況によって変動し得る。業務処理プログラムの例は、WEBサーバプログラム、バッチ処理プログラム、データベースプログラム等である。
 論理パス生成プログラムは、業務処理プログラムと論理VOL280との間に、1以上の論理パスを生成する。論理パス生成プログラムは、論理パスの数を増減させてよい。例えば、論理パス生成プログラムは、業務処理プログラムの実行負荷が上昇する予定の場合、論理パス数を増やしてよい。論理パス生成プログラムは、業務処理プログラムの実行負荷が低下する予定の場合、論理パス数を減らしてよい。
 図3は、リソース情報300の例を示す。
 リソース情報300は、ストレージ装置4の有するリソースに関する情報を含む。リソース情報300は、フィールド値として、リソース種別310、リソースID320、最大リソース量330、残りリソース量340を有する。
 リソース種別310は、リソースの種別を示す値である。リソース種別310の例は、プロセッサ、メモリ、インタフェース、ストレージ等である。
 リソースID320は、リソースの識別子である。
 最大リソース量330は、リソースID320のリソースの最大量を示す値である。最大リソース量330の単位は、リソース種別310によって異なる。リソース種別310が「プロセッサ」の場合、最大リソース量330の単位は「MIPS(Million Instructions Per Second)」であってよい。リソース種別310が「メモリ」の場合、最大リソース量330の単位は「バイト」であってよい。リソース種別310が「インタフェース」の場合、最大リソース量330の単位は「bps(bit per second)」であってよい。リソース種別310が「ストレージ」の場合、最大リソース量330の単位は「byte」であってよい。
 残りリソース量340は、最大リソース量330の内、LPARに未割当てのリソース量(つまり、利用可能なリソース量)を示す値である。残りリソース量340は、最大リソース量330に対する利用可能な(残りの)リソース量の割合を示す値であってもよい。
 図3に示すリソース情報300において、リソース種別310「プロセッサ」のリソースID320「コア1」のレコードは、その「コア1」の最大リソース量330が「5220MIPS」であり、その内の残りリソース量340が「30%」であることを示す。
 図4は、LPAR情報400の例を示す。
 LPAR情報400は、ストレージ装置4の有するLPAR18に関する情報を含む。LPAR情報400は、フィールド値として、LPAR ID410、性能要件420、変更フラグ430を有する。
 LPAR ID410は、LPAR18の識別子である。
 性能要件420は、LPAR ID410のLPAR18に対する性能の要件を示す値である。本実施例では、大きい性能要件420ほど、高い性能を表すとする。性能要件420の初期値は、予め設定されてよい。性能要件420は、LPAR制御プログラム221によって変更されてよい。
 変更フラグ430は、LPAR ID410のLPARについて、リソース割当量の変更を許可するか否かを示す値である。本実施例では、変更フラグ430が「ON」のLPAR ID410のLPARはリソース割当量の変更を許可されており、変更フラグ430が「OFF」のLPAR ID410のLPARは変更を許可されていない。LPAR制御プログラム221は、変更フラグ430が「ON」のLPAR18を、負荷変動の監視対象とする。LPAR制御プログラム221は、変更フラグ430が「OFF」のLPAR18を、負荷変動の監視対象から外してもよい。変更フラグ430は、LPAR制御プログラム221によって変更されてよい。
 図4に示すLPAR情報400において、LPAR ID410「L1」のレコードは、その「L1」のLPAR18に対する性能要件420が「5」であり、その「L1」のLPAR18は、リソース割当量の変更を許可されている(変更フラグ430「ON」)ことを示す。
 図5は、リソース割当情報500の例を示す。
 リソース割当情報500は、LPAR18に割り当てられているリソースに関する情報を含む。リソース割当情報500は、フィールド値として、LPAR ID510、リソース種別520、リソースID530、リソース割当量540、調整量550を有する。
 LPAR ID510、リソース種別520、リソースID530は、それぞれ、上記のLPAR ID410、リソース種別310、リソースID320と同様のものである。
 リソース割当量540は、リソースID530のリソースが有する最大リソース量330の内、LPAR ID510のLPAR18に割り当てられたリソース量を示す値である。リソース割当量540の単位は、最大リソース量330と同じ単位であってもよいし、割り当てられたリソース量の割合を示す単位であってもよい。
 調整量550は、LPAR18の負荷変動のためにリソース割当量540を調整した値である。LPAR18の負荷増加に対応するためにリソース割当量を増やす場合、調整量550は、「+n%(nは正数)」となる。LPAR18の負荷減少に対応するためにリソース割当量を減らす場合、調整量550は、「-n%」となる。リソース割当量に変更が無い場合、調整量550は「0」となる。
 図5に示すリソース割当情報500において、LPAR ID510「L1」のLPAR18には、リソース種別520「プロセッサ」のリソースID530「コア1」の有する最大リソース量の内のリソース割当量540「30%」と、負荷増加に対応するための調整量550「+10%」とが割り当てられていることを示す。
 図6は、論理VOL情報600の例を示す。
 論理VOL情報600は、LPAR18が有する論理VOL280に関する情報を含む。論理VOL情報600は、フィールド値として、論理VOL ID610、LPAR ID620を有する。
 論理VOL ID610は、論理VOL280の識別子である。論理VOL ID610は、論理コントロールユニット番号(CU番号)と装置番号(DEV番号)の組で構成されてよい。
 LPAR ID620は、上記のLPAR ID410と同様の値である。
 図6に示す論理VOL情報600は、LPAR ID620「L1」のLPAR18が、CU番号「1」及びDEV番号「0~255」の論理VOL280と、CU番号「2」及びDEV番号「0~127」の論理VOL280とを有することを示す。
 図7は、負荷状況情報700の例を示す。
 負荷状況情報700は、LPAR18の負荷変動の予測に用いられる情報を含む。負荷状況情報700は、フィールド値として、LPAR ID710、論理パス増減数720、シーケンシャルI/O数730、重要度高I/O数740、リソース割当更新時刻750を有する。
 LPAR ID710は、上記のLPAR ID410と同様の値である。
 論理パス増減数720は、LPAR ID710のLPAR18が有する論理VOL280に対する論理パスの増減数を示す値である。業務処理プログラムは、論理VOL280に対するI/O数が増える場合に論理パスを追加する。よって、LPAR制御プログラム221は、LPAR18の有する論理VOL280に対する論理パス数が比較的多い場合、そのLPAR18の負荷が今後高くなると予測してよい。
 論理パスは、ホスト計算機2-1から送信されるI/Oコマンドの一種である論理パス設定コマンドに基づいて、追加又は削除されてよい。論理パス設定コマンドには、論理VOL280に対する論理パスの追加数又は削除数が含まれてもよい。ホスト計算機2-1がメインフレームの場合、論理パス設定コマンドは、「Set Path Group ID」コマンドであってよい。「Set Path Group ID」コマンドには、「0xAF」のコマンドコード及び12バイトのオペランドが含まれてよい。オペランドには、論理パスの設定又は解除の何れかを示す値、対象論理VOL280の識別子、ホスト計算機2―1の識別子が含まれてよい。
 シーケンシャルI/O数730は、一定期間内に、LPAR ID710のLPAR18が有する論理VOL280に対して発行された、シーケンシャルI/Oコマンドの数を示す値である。業務処理プログラムは、例えば、実行開始時、論理VOL280からデータをシーケンシャルに取得する。また、シーケンシャルI/Oの処理ではディスク装置群240へのアクセス数が増えるため、LPAR18の処理負荷も高くなる。よって、LPAR制御プログラム221は、LPAR18の有する論理VOL280に対するシーケンシャルI/O数730が増加傾向にある場合、そのLPAR18の負荷が今後高くなると予測してよい。
 ホスト計算機2-1がメインフレームの場合、シーケンシャルI/Oコマンドは、「Define Extent」コマンドであってよい。「Define Extent」コマンドには、「0x63」のコマンドコード及び16バイトのオペランドが含まれてよい。オペランドには、シーケンシャルアクセスであるか否かを示す値が含まれてよい。又は、LPAR制御プログラム221は、ホスト計算機2-1から発行されたI/Oコマンドが、シーケンシャルI/Oコマンドに相当するか否かを判定してもよい。例えば、一連のI/Oコマンドが、論理VOL280の連続的なブロックにアクセスするものである場合、LPAR制御プログラム221は、シーケンシャルI/Oコマンドに相当すると判定してもよい。
 重要度高I/O数740は、一定期間内に、LPAR ID710のLPAR18が有する論理VOL280に対して発行された、重要度「高」のI/Oコマンドの数を示す値である。LPAR18は、重要度「高」のI/Oコマンドを、通常のI/Oコマンドよりも優先的に処理してよい。業務処理プログラムは、例えば、一定期間内に完了を要する処理を行う場合、論理VOL280に重要度「高」のI/Oコマンドを発行する。よって、LPAR制御プログラム221は、LPAR18の有する論理VOL280に対する重要度「高」を含むI/Oコマンド数が増加傾向にある場合、そのLPAR18の処理負荷が今後高くなると予測してよい。
 リソース割当変更時刻750は、LPAR ID710のLPAR18に対するリソース割当量が変更されたときの時刻を示す値である。
 LPAR情報400の変更フラグ430が「ON」のLPAR18のみ、フィールド値720、730、740が測定されてよい。変更フラグ430が「OFF」のLPAR18に対応するフィールド値720、730、740には、「NULL」が格納されてよい。
 図7に示す負荷状況情報700は、LPAR ID710「L1」のLPAR18が有する論理VOL280に対して、「+16」(720)の論理パスが追加され、一定期間内に「100」(730)のシーケンシャルI/Oコマンドが発行され、一定期間内に「10」(740)の重要度「高」のI/Oコマンドが発行されたことを示す。また、「L1」のLPAR18が、「12月24日10時00分00秒」(750)にリソース割当量が変更されたことを示す。
 図8は、負荷閾値情報800の例を示す。
 負荷閾値情報800は、LPAR18に対するリソース割当量の増減判定に用いられる閾値の情報を含む。負荷閾値情報800は、フィールド値として、閾値の種別810、論理パス増減数の閾値820、シーケンシャルI/O数の閾値830、重要度高I/O数の閾値840、VOL優先度閾値850を有する。
 閾値の種別810は、フィールド値820、830、840、850が、「上限閾値」又は「下限閾値」の何れであるかを示す値である。
 論理パス増減数の閾値820は、論理パス増減数720に対する閾値である。LPAR制御プログラム221は、論理パス増減数720が、論理パス増減数の上限閾値820を超えた場合、LPAR ID710のLPAR18に対するリソース割当量を増やすと判定してもよい。LPAR制御プログラム221は、論理パス増減数720が、論理パス増減数の下限閾値820未満となった場合、LPAR ID710のLPAR18に対するリソース割当量を減らすと判定してもよい。
 シーケンシャルI/O数の閾値830は、シーケンシャルI/O数730に対する閾値である。LPAR制御プログラム221は、シーケンシャルI/O数730が、シーケンシャルI/O数の上限閾値830を超えた場合、LPAR ID710のLPAR18に対するリソース割当量を増やすと判定してもよい。LPAR制御プログラム221は、シーケンシャルI/O数730が、シーケンシャルI/O数の下限閾値830未満となった場合、LPAR ID710のLPAR18に対するリソース割当量を減らす判定してもよい。
 重要度高I/O数の閾値840は、重要度高I/O数740に対する閾値である。LPAR制御プログラム221は、重要度高I/O数740が、重要度高I/O数の上限閾値840を超えた場合、LPAR ID710のLPAR18に対するリソース割当量を増やすと判定してもよい。LPAR制御プログラム221は、重要度高I/O数740が、重要度高I/O数の下限閾値840未満となった場合、LPAR ID710のLPAR18に対するリソース割当量を減らすと判定してもよい。
 VOL優先度の閾値850は、図9に示すVOL優先度950を決定する際に用いられる閾値である。詳細については後述する。
 図9は、重要度状況情報900の例を示す。
 重要度状況情報900は、各論理VOL280の優先度に関する情報を含む。重要度状況情報900は、フィールド値として、LPAR ID910、論理VOL ID920、重要度低I/O数930、重要度高I/O数940、VOL優先度950を有する。
 LPAR ID910、論理VOL ID920は、それぞれ、上記のLPAR ID410、論理VOL ID610と同様の値である。
 重要度低I/O数930は、論理VOL ID920の論理VOL280に対して発行された、重要度「低」を含むI/Oコマンドの数を示す値である。
 重要度高I/O数940は、論理VOL ID920の論理VOL280に対して発行された、重要度「高」を含むI/Oコマンドの数を示す値である。
 VOL優先度950は、論理VOL ID920の論理VOL280の優先度を示す値である。例えば、ストレージ装置4において、VOL優先度950「中」の論理VOL280に対するI/Oは、VOL優先度950「低」の論理VOL280に対するI/Oよりも優先的に処理される。例えば、LPAR制御プログラム221は、重要度高I/O数940が「0」、かつ、重要度低I/O数930がVOL優先度の上限閾値850を超えている論理VOL280のVOL優先度950を「低」とする。LPAR制御プログラム221は、VOL優先度950「低」の論理VOL280の担当を、性能要件420の比較的小さいLPAR18に変更してよい。
 図10は、コマンド処理の例を示すフローチャートである。コマンド処理は、ストレージコントローラ200のLPAR制御プログラム211によって実行されてよい。
 LPAR制御プログラム221は、ホスト計算機2-1からコマンドを受領すると、以下の処理を実行する。
 LPAR制御プログラム221は、論理VOL情報600を参照し、コマンドが指定すう論理VOL280を有するLPAR18を特定する(ステップS1010)。図10~図13において、この特定されたLPARを「特定LPAR」という。
 LPAR制御プログラム221は、LPAR情報400を参照し、特定LPARの変更フラグ430が「ON」であるか否かを判定する(ステップS1020)。
 ステップS1020の判定結果が否定的な場合(ステップS1020:NO)、LPAR制御プログラム221は、通常のI/O処理を実行し(ステップS1080)、本処理を終了する。
 ステップS1020の判定結果が肯定的な場合(ステップS1020:YES)、LPAR制御プログラム221は、コマンドが負荷変動を予測させるものであるか否かを判定する(ステップS1030)。負荷変動を予測させるコマンドは、上述のとおり、論理パス設定コマンド、シーケンシャルI/Oコマンド、重要度「高」のI/Oコマンドなどであってよい。
 ステップS1030の判定結果が否定的な場合(ステップS1030:NO)、LPAR制御プログラム221は、通常のI/O処理を実行し(ステップS1080)、本処理を終了する。
 ステップS1030の判定結果が肯定的な場合(ステップS1030:YES)、LPAR制御プログラム221は、負荷状況情報700を更新する(ステップS1040)。例えば、論理パスを「1」追加する旨の論理パス設定コマンドを受領した場合、LPAR制御プログラム221は、論理パス増減数720に「1」を加算する。シーケンシャルI/Oコマンドを受領した場合、LPAR制御プログラム221は、シーケンシャルI/O数730に「1」を加算する。重要度「高」のI/Oコマンドを受領した場合、LPAR制御プログラム221は、重要度高I/O数740に「1」を加算する。
 LPAR制御プログラム221は、リソース変更判定処理を実行する(ステップS1050)。リソース変更判定処理は、負荷状況情報700及び負荷閾値情報800に基づいて、特定LPARに対するリソース割当量を変更する必要があるか否かを判定する。リソース変更判定処理の詳細については、後述する(図11参照)。
 LPAR制御プログラム221は、ステップS1050の判定結果において、リソース割当量の変更が不要と判定した場合(ステップS1060:NO)、通常のI/O処理を実行し(ステップS1080)、本処理を終了する。
 LPAR制御プログラム221は、ステップS1050の判定結果において、リソース割当量の変更が必要と判定した場合(ステップS1060:YES)、リソース変更実行処理を実行する(ステップS1070)。リソース変更実行処理は、特定LPARに対するリソース割当量を実際に変更する。リソース変更実行処理の詳細については、後述する(図12参照)。
 そして、LPAR制御プログラム221は、通常のI/O処理を実行する(ステップS1080)。このとき、重要度状況情報900において、I/O処理の対象の論理VOL280に対応するVOL優先度950が「低」の場合、LPAR制御プログラム221は、この論理VOL280の担当を、性能要件420の比較的低いLPAR18に切り替えてもよい。そして、LPAR制御プログラム221は、本処理を終了する。
 以上の処理によれば、LPAR制御プログラム221は、受領したコマンドに基づいて業務処理プログラムの今後の負荷増加を予測し、前もってLPAR18に対するリソース割当量を増加させておくことができる。これにより、業務処理プログラムから論理VOL280に対して大量のI/Oコマンドが発行された場合に発生し得る、ストレージ装置4のレスポンスタイムの悪化を抑制できる。
 図11は、リソース変更判定処理の例を示すフローチャートである。図11は、図10のステップS1050の詳細である。
 LPAR制御プログラム221は、負荷状況情報700を参照し、特定LPARに対応する論理パス増減数720を取得する(ステップS1110)。
 LPAR制御プログラム221は、その取得した論理パス増減数720が、論理パス増減数の上限閾値820を超えているか否かを判定する(ステップS1120)。
 ステップS1120の判定結果が肯定的な場合(ステップS1120:YES)、LPAR制御プログラム221は、特定LPARに対するリソース割当量を増加必要と判定し(ステップS1125)、図10の処理に戻る。
 ステップS1120の判定結果が否定的な場合(ステップS1120:NO)、LPAR制御プログラム221は、その取得した論理パス増減数720が、論理パス増減数の下限閾値820未満であるか否かを判定する(ステップS1130)。
 ステップS1130の判定結果が肯定的な場合(ステップS1130:YES)、LPAR制御プログラム221は、特定LPARに対するリソース割当量を減少必要と判定し(ステップS1135)、図10の処理に戻る。
 ステップS1130の判定結果が否定的な場合(ステップS1130:NO)、LPAR制御プログラム221は、特定LPARに対応するI/O数730、740、930、940の一定のカウント期間が経過したか否かを判定する(ステップS1140)。
 ステップS1140の判定結果が肯定的な場合(ステップS1140:YES)、LPAR制御プログラム221は、I/O数730、740、930、940、及びカウント期間を初期化し(ステップS1145)、ステップS1180へ進む。
 ステップS1140の判定結果が否定的な場合(ステップS1140:NO)、LPAR制御プログラム221は、負荷状況情報700を参照し、シーケンシャルI/O数730、重要度高I/O数740を取得する(ステップS1150)。負荷変動に関するI/O数が急激な増加又は減少の傾向にあるか否かを判定するためである。
 そして、LPAR制御プログラム221は、その取得したシーケンシャルI/O数730がシーケンシャルI/O数の上限閾値830を超えているか、又は、その取得した重要度高I/O数740が重要度高I/O数の上限閾値840を超えているか、を判定する(ステップS1160)。
 ステップS1160の判定結果が肯定的な場合(ステップS1160:YES)、LPAR制御プログラム221は、特定LPARに対するリソース割当量を増加必要と判定し(ステップS1165)、図10の処理に戻る。
 ステップS1160の判定結果が否定的な場合(ステップS1160:NO)、LPAR制御プログラム221は、その取得したシーケンシャルI/O数730がシーケンシャルI/O数の下限閾値830未満であるか、又は、その取得した重要度高I/O数740が重要度高I/O数の下限閾値840未満であるか、を判定する(ステップS1170)。
 ステップS1170の判定結果が肯定的な場合(ステップS1170:YES)、LPAR制御プログラム221は、特定LPARに対するリソース割当量を減少必要と判定し(ステップS1175)、図10の処理に戻る。
 ステップS1170の判定結果が否定的な場合(ステップS1170:NO)、LPAR制御プログラム221は、特定LPARに対するリソース割当量を変更不要と判定し(ステップS1180)、図10の処理へ戻る。
 以上の処理によれば、リソース割当量の変更が必要なLPAR18を決定することができる。
 図12は、リソース変更実行処理の例を示すフローチャートである。図12は、図10のステップS1070の詳細である。
 LPAR制御プログラム221は、ステップS1050のリソース変更判定処理の判定結果を取得する(ステップS1210)。
 LPAR制御プログラム221は、その取得した判定結果が、リソース割当量の増加必要であるか否かを判定する(ステップS1220)。
 ステップS1220の判定結果が否定的な場合(ステップS1220:NO)、つまり、ステップS1210で取得した判定結果がリソース割当量の減少必要である場合、LPAR制御プログラム221は、特定LPARに対するリソース割当量を減らす処理を実行する(ステップS1270)。例えば、LPAR制御プログラム221は、リソース割当情報500の特定LPARに対応する調整量550を小さくし、リソース情報300の残りリソース量340を大きくする。これにより、特定LPARが論理VOL280のI/O処理に利用可能なリソース量は減るが、その分、残りリソース量340は増えることになる。そして、LPAR制御プログラム221は、ステップS1280へ進む。
 ステップS1220の判定結果が肯定的な場合(ステップS1220:YES)、LPAR制御プログラム221は、特定LPARに追加で割り当てるリソース量を決定する(ステップS1230)。
 そして、LPAR制御プログラム221は、その追加で割り当てるリソース量を確保可能か否か判定する(ステップS1240)。例えば、LPAR制御プログラム221は、リソース情報300を参照し、残りリソース量340が、追加で割り当てるリソース量よりも大きいか否かを判定する。
 ステップS1240の判定結果が肯定的な場合(ステップS1240:YES)、LPAR制御プログラム221は、特定LPARに対して、その追加分のリソース量を割り当てる(ステップS1260)。例えば、LPAR制御プログラム221は、リソース割当情報500の特定LPARに対応する調整量550を大きくし、リソース情報300の残りリソース量340を小さくする。これにより、特定LPARがI/O処理に利用可能なリソース量は増える。
 ステップS1240の判定結果が否定的な場合(ステップS1240:NO)、LPAR制御プログラム221は、VOL優先度変更処理を実行する(ステップS1250)。VOL優先度変更処理は、VOL優先度950「低」の論理VOLに対するI/O処理の担当を、性能要件420の比較的低いLPARに変更することにより、追加分のリソース量を確保する処理である。VOL優先度変更処理の詳細については後述する(図13参照)。そして、LPAR制御プログラム221は、ステップS1280へ進む。
 ステップS1280において、LPAR制御プログラム221は、負荷状況情報700のリソース割当変更時刻750を現在時刻に更新し(ステップS1280)、図10の処理に戻る。
 以上の処理によれば、LPAR18に割り当てるリソース量を変更することができる。
 図13は、VOL優先度変更処理の例を示すフローチャートである。図13は、図12のステップS1250の詳細である。
 LPAR制御プログラム221は、特定LPARが有する論理VOL280の内、重要度「低」のI/Oコマンドを受領した論理VOL280を選択する(ステップS1310)。すなわち、LPAR制御プログラム221は、重要度状況情報900を参照し、LPAR ID910が特定LPARであり、かつ、重要度低I/O数930が「1以上」であるレコードを選択する。そして、LPAR制御プログラム221は、その特定したレコードの論理VOL ID920を取得する。
 LPAR制御プログラム221は、ステップS1310で選択した論理VOL280の指定された重要度「高」のI/Oコマンドも受領しているか否かを判定する(ステップS1320)。すなわち、LPAR制御プログラム221は、重要度状況情報900を参照し、上記で選択したレコードの重要度高I/O数940を取得する。そして、LPAR制御プログラム221は、その取得した重要度高I/O数940が「1以上」であるか否かを判定する。
 ステップS1320の判定結果が肯定的な場合(ステップS1320:YES)、LPAR制御プログラム221は、ステップS1350へ進む。すなわち、重要度高I/O数940が「1以上」の場合は、その選択した論理VOL280の担当を特定LPARのままとする。この場合、ステップS1350からステップS1310へ戻り、他の重要度「低」のI/Oコマンドを受領した論理VOL280について、ステップS1320の判定を行う。
 ステップS1320の判定結果が否定的な場合(ステップS1320:NO)、LPAR制御プログラム221は、その選択したレコードの重要度低I/O数930が、負荷閾値情報800のVOL優先度の上限閾値850を超えているか否か判定する(ステップS1330)。
 ステップS1330の判定結果が否定的な場合(ステップS1330:NO)、LPAR制御プログラム221は、ステップS1350へ進む。
 ステップS1330の判定結果が肯定的な場合(ステップS1330:YES)、LPAR制御プログラム221は、その選択した論理VOL280の担当を、性能要件420の比較的低いLPAR18に変更する(ステップS1340)。性能要件420の比較的低いLPAR18とは、LPAR情報400において、変更フラグ430が「ON」であり、かつ、性能要件420が最も低いLPAR18であってよい。また、LPAR制御プログラム221は、重要度状況情報900の論理VOL ID920がその選択した論理VOLのレコードにおいて、LPAR ID910をその変更後のLPAR18に変更し、優先度950を「低」に変更してよい。そして、LPAR制御プログラム221は、ステップS1350へ進む。
 ステップS1350として、LPAR制御プログラム221は、他に重要度「低」のI/Oコマンドを受領した論理VOL280が存在するか否か判定する(ステップS1350)。
 ステップS1350の判定結果が否定的な場合(ステップS1350:NO)、LPAR制御プログラム221は、図12の処理に戻る。
 ステップS1350の判定結果が肯定的な場合(ステップS1350:YES)、LPAR制御プログラム221は、ステップS1310に戻り、別の論理VOL280について処理を繰り返す。
 なお、LPAR制御プログラム221は、上述のステップS1310において、重要度「低」のI/Oコマンドを受領している論理VOL280を複数発見した場合、最も多く重要度「低」のI/Oコマンドを受領している論理VOL280を選択してよい。また、LPAR制御プログラム221は、ステップS1340の処理を実行したならば、ステップS1350において未処理の論理VOLが有る場合であっても、ステップS1310に戻らず、図12の処理に戻ってもよい。また、LPAR制御プログラム221は、ステップS1340の処理を実行したときに、図12のステップS1240の追加で割り当てるリソース量分を確保可能ならば、ステップS1350において未処理の論理VOLが有る場合であっても、ステップS1310に戻らず、図12の処理に戻ってもよい。
 以上の処理によれば、LPAR制御プログラム221は、特定LPARが担当する論理VOL280の内、優先度の低い論理VOL280を、性能要件420の比較的低い他のLPAR18に担当させることができる。これにより、LPAR制御プログラム221は、特定LPAR20の残りリソース量340を増やすことができる。よって、LPAR制御プログラム221は、I/O処理負荷の比較的高い論理VOL280を担当するLPAR18に、より多くのリソース量を割り当てることができる。
 実施例1によれば、LPAR制御プログラム221は、ホスト計算機2-1から発行されたI/Oコマンドに基づいて業務処理プログラムの今後の負荷変動を予測し、業務処理プログラムからアクセスされる論理VOL280を有するLPAR18に割り当てるリソース量を適切に変更することができる。すなわち、LPAR制御プログラム221は、処理負荷が低くなると予測されるLPAR18に割り当てるリソース量を減らし、処理負荷が高くなると予測されるLPAR18に割り当てるリソース量を増やすことができる。これにより、ストレージ装置4の保有する有限のリソースが効率的に活用される。
 実施例1は、ストレージ装置4がLPAR18を管理する例である。これに対して、実施例2は、ストレージ装置4の有するLPAR18を、ホスト計算機2-2の側で管理する例である。なお、実施例1と同じ要素については、同じ参照符号を付して説明を省略する場合がある。
 図14は、実施例2に係るホスト計算機2-2の構成例を示す。
 ホストメモリ120には、LPAR管理プログラム121、LPAR管理情報1500、業務管理情報1600が格納される。
 LPAR管理情報1500は、ストレージ装置4の有するLPAR18を管理するための情報である。
 LPAR管理プログラム121は、LPAR管理情報1500を利用して、ストレージ装置4のLPAR18を管理するためのプログラムである。また、ホスト計算機2-2は、業務制御プログラムを有してよい。業務制御プログラムは、各業務処理プログラムの時間毎の仕事量又はデータ量、各業務処理プログラムの時間毎の優先順位などを管理してよい。
 図15は、LPAR管理情報1500の例を示す。
 LPAR管理情報1500は、ストレージ装置が有するLPAR18の情報を含む。LPAR管理情報1500は、フィールド値として、LPAR ID1510、ストレージ装置ID1520、性能要件1530、変更フラグ1540を有する。
 LPAR ID1510、性能要件1530、負荷変更フラグ1540は、それぞれ、図4のLPAR ID410、性能要件420、負荷管理430と同様の値である。
 ストレージ装置ID1520は、ストレージ装置4の識別子である。
 図15に示すLPAR管理情報1500のLPAR ID1510「L1」のレコードは、LPAR ID1510「L1」のLPAR18がストレージ装置ID1520「100」のストレージ装置4に存在しており、そのLPAR18の性能要件1530が「5」であり、そのLPAR18に対するリソース割当量は変更可能(変更フラグ1540「ON」)であることを示す。
 LPAR管理プログラム121は、LPAR管理コマンド(図17参照)を用いてストレージ装置4の有するLPAR情報400の値を取得し、その取得した値をLPAR管理情報1500に格納する。
 図16は、業務管理情報1600の例を示す。
 業務管理情報1600は、業務処理10がアクセスする論理VOL280を有するLPAR18の情報を含む。業務管理情報1600は、フィールド値として、業務ID1610、LPAR ID1620を有する。
 業務ID1610は、業務処理10の識別子である。
 LPAR ID1620は、LPAR18の識別子である。
 図16に示す業務管理情報1600の業務ID1610「H1」のレコードは、業務ID1610「H1」の業務処理10が、LPAR ID1620「L1」のLPAR18の有する論理VOL280にアクセスすることを示す。
 図17は、LPAR管理コマンドの例を示す。
 LPAR管理コマンドは、ホスト計算機2-2がストレージ装置4のLPAR18を管理するためのコマンドである。
 LPAR管理コマンドの例は、LPAR情報取得コマンド1701、負荷管理設定コマンド1702、性能要件設定コマンド1703である。
 LPAR情報取得コマンド1701は、LPAR情報400を取得するためのコマンドである。LPAR情報取得コマンド1701は、フィールド値として、当該コマンド1701を示すID1710、当該コマンド1701の対象のLPARのID1740、当該コマンド1701によって取得したLPAR情報400の格納先のホストメモリのアドレス値1750を有する。LPAR情報取得コマンド1701を受領したストレージ装置4は、LPAR情報400から、LPAR ID1740と一致するLPAR ID410を有するレコードを特定し、その特定したレコードの性能要件420及び変更フラグ430を、ホスト計算機2-2へ返す。
 監視設定コマンド1702は、負荷等の監視対象のLPAR18を設定するためのコマンドである。監視設定コマンド1702は、フィールド値として、当該コマンド1702を示すID1720、当該コマンド1702の対象のLPARのID1742、LPAR ID1742の変更フラグ430の設定値1760(ON又はOFF)を有する。監視設定コマンド1702を受領したストレージ装置4は、LPAR情報400から、LPAR ID1742と一致するLPAR ID410を有するレコードを特定し、その特定したレコードの変更フラグ430を、設定値1760に変更する。
 性能要件設定コマンド1703は、LPARの性能要件を設定するためのコマンドである。性能要件設定コマンド1703は、フィールド値として、当該コマンド1703を示すID、当該コマンド1703の対象のLPARのID1744、性能要件420の設定値1770を有する。性能要件設定コマンド1703を受領したストレージ装置4は、LPAR情報400から、LPAR ID1744と一致するLPAR410を有するレコードを特定し、その特定したレコードの性能要件420を、設定値1770に変更する。
 図18は、LPAR情報取得処理の例を示すフローチャートである。
 ホスト計算機2-2のLPAR管理プログラム121は、ストレージ装置4に対して、LPAR情報取得コマンド1701を送信する(ステップS1810)。LPAR情報取得コマンド1701は、定期的に送信されてもよいし、ユーザや所定のプログラムなどから指示されたタイミングで送信されてもよい。
 ストレージ装置4のLPAR制御プログラム221は、ホスト計算機2-2から送信されたLPAR情報取得コマンド1701を受領する(ステップS1820)。そして、LPAR制御プログラム221は、LPAR情報400を参照し、LPAR情報取得コマンド1701のLPAR ID1740に対応するLPAR18の情報を収集する(ステップS1830)。そして、LPAR制御プログラム221は、その収集したLPAR18の情報を、ホスト計算機2-2に送信する(ステップS1840)。
 ホスト計算機2-2のLPAR管理プログラム121は、ストレージ装置4から送信されたLPAR18の情報を受領する(ステップS1850)。
 ホスト計算機2-2のLPAR管理プログラム121は、その受領したLPAR18の情報に基づいて、LPAR管理情報1500の性能要件1530、変更フラグ1540等を更新し(ステップS1860)、本処理を終了する。すなわち、ホスト計算機2-2のLPAR管理プログラム121は、ホストメモリ120のアドレス値1750の領域に、その受領したLPAR18の情報を格納する。
 以上の処理によれば、ホスト計算機2-2が、ストレージ装置4の有するLPAR18の情報を取得することができる。
 図19は、監視設定処理の例を示すフローチャートである。
 ホスト計算機2-2のLPAR管理プログラム121は、LPAR18の変更フラグ430を変更すると決定した場合(ステップS1910)、以下の処理を行う。例えば、ホスト計算機2-2は、LPAR18のリソース割当量をストレージ装置4に勝手に変更されたくない場合、このLPAR18の変更フラグ430を「OFF」にすると決定する。
 ホスト計算機2-2のLPAR管理プログラム121は、ストレージ装置4に対して、監視設定コマンド1702を送信する(ステップS1920)。
 ストレージ装置4のLPAR制御プログラム221は、ホスト計算機2-2から送信された監視設定コマンド1702を受領する(ステップS1930)。そして、LPAR制御プログラム221は、LPAR情報400の変更フラグ430を、監視設定コマンド1720の設定値1760に変更する(ステップS1940)。そして、LPAR制御プログラム221は、実行結果を、ホスト計算機2-2に送信する(ステップS1950)。この実行結果には、変更後の変更フラグ430が含まれる。
 ホスト計算機2-2のLPAR管理プログラム121は、ストレージ装置4から送信された実行結果を受領する(ステップS1960)。そして、LPAR管理プログラム121は、その受領した実行結果を、LPAR管理情報1500に反映し(ステップS1970)、本処理を終了する。
 以上の処理によれば、ホスト計算機2-2が、ストレージ装置4のLPAR18に対する変更フラグ430を変更することができる。
 図20は、性能要件設定処理の例を示すフローチャートである。
 ホスト計算機2-2のLPAR管理プログラム121は、負荷変動が予定されている業務処理10を特定した場合(ステップS2010)、以下の処理を行う。例えば、LPAR管理プログラム121は、所定の時間帯において負荷増加が予定されている業務処理10を特定する。
 ホスト計算機2-2のLPAR管理プログラム121は、ストレージ装置4に対して、性能要件設定コマンド1703を送信する(ステップS2020)。性能要件設定コマンド1703のLPAR ID1740には、ステップS2010で特定した業務処理10がアクセスする論理VOL280を有するLPAR18のIDが格納されてよい。LPAR管理プログラム121は、業務管理情報1600を参照することにより、業務処理10に対応するLPAR IDを特定することができる。また、性能要件設定コマンド1703の設定値1770には、業務処理10の負荷増加が予定されている場合にはより高い性能要件が、業務処理10の負荷減少が予定されている場合にはより低い性能要件が格納されてよい。
 ストレージ装置4のLPAR制御プログラム221は、ホスト計算機2-2から送信された性能要件設定コマンド1703を受領する(ステップS2030)。そして、LPAR制御プログラム221は、LPAR情報400の性能要件420を、性能要件設定コマンド1703の設定値1770に変更する(ステップS2040)。そして、LPAR制御プログラム221は、変更後の性能要件420に適合するように、LPAR18に対するリソース割当量を変更する(ステップS2050)。このリソース割当量の変更は、図12に示す処理によって行われてよい。そして、LPAR制御プログラム221は、実行結果を、ホスト計算機2-2に送信する(ステップS2060)。
 ホスト計算機2-2のLPAR管理プログラム121は、ストレージ装置4から送信された実行結果を受領する(ステップS2070)。そして、LPAR管理プログラム121は、その受領した実行結果を、LPAR管理情報1500に反映し(ステップS2080)、本処理を終了する。例えば、実行結果が「成功」の場合、LPAR管理情報1500の性能要件1530を、設定値1770に更新する。
 以上の処理によれば、ホスト計算機2-2が、ストレージ装置4のLPAR18に対する性能要件420を変更することができる。
 実施例2によれば、ホスト計算機2-2は、ストレージ装置4のLPAR18の情報を取得することができる。また、ホスト計算機2-2は、ストレージ装置4のLPAR18に関する設定を変更することができる。すなわち、ホスト計算機2-2から、ストレージ装置4のLPAR18を制御することができる。
 上述のストレージ装置4は、仮想プライベートストレージ(VPS)機能を有してもよい。VPS機能は、上位アプリケーションに対して、仮想的に専用の専用のストレージ装置を定義し、その仮想装置間での性能の干渉を防止する機能である。すなわち、ストレージ装置4は、VPS機能を用いて、少なくとも性能要件420が保証されている論理VOL280(VPSに相当)を、ホスト計算機2に提供できてよい。
 以上、幾つかの実施例を説明したが、これらは本発明の説明のための例示であって、本発明の範囲をこれらの実施例にのみ限定する趣旨ではない。本発明は、他の種々の形態でも実行することが可能である。
 
 1:計算機システム 2-1、2-2:ホスト計算機 4:ストレージ装置 18:論理区画 200:ストレージコントローラ 280:論理ボリューム
 

 

Claims (15)

  1.  コマンドを送信するホスト計算機と、前記ホスト計算機からコマンドを受領するストレージ装置とを備え、
     前記ストレージ装置は、
      論理ボリュームと、
      前記論理ボリュームの指定されたコマンドを処理するための論理的なリソースを含む論理区画と、
      前記論理ボリュームを担当する論理区画、及び、その論理区画に対して割り当てられたリソース量の情報を含む論理区画制御情報と、を有し、
     前記ストレージ装置は、前記ホスト計算機から受領した前記コマンドの内容に基づき、前記コマンドから指定された前記論理ボリュームを担当する論理区画に割り当てるリソース量を変更するか否かを判定し、その判定の結果に基づいて、前記論理区画制御情報を変更する
    計算機システム。
  2.  前記ストレージ装置は、前記コマンドの内容が、前記ホスト計算機で実行されるホスト処理と前記論理ボリュームとの間の論理パス数を変更するコマンドである場合、前記ホスト処理と前記論理ボリュームとの間に生成された論理パス数に応じて、前記論理ボリュームを担当する論理区画に割り当てるリソース量を変更するか否かを判定する
    請求項1に記載の計算機システム。
  3.  前記ストレージ装置は、
      前記コマンドの内容が、前記論理パス数を増加させるコマンドであり、前記ホスト処理と前記論理ボリュームとの間の論理パスの増加数が上限閾値よりも大きい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を増加させると判定し、
      前記コマンドの内容が、前記論理パス数を減少させるコマンドであり、前記ホスト処理と前記論理ボリュームとの間の論理パスの減少数が下限閾値よりも小さい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を減少させると判定する
    請求項2に記載の計算機システム。
  4.  前記ストレージ装置は、前記コマンドの内容が、前記論理ボリュームを指定するシーケンシャルI/Oのコマンドである場合、そのシーケンシャルI/Oのコマンドの受領数に応じて、前記論理ボリュームを担当する論理区画に割り当てるリソース量を変更するか否かを判定する
    請求項1に記載の計算機システム。
  5.  前記ストレージ装置は、
      一定期間における前記シーケンシャルI/Oのコマンドの受領数が上限閾値よりも大きい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を増加させると判定し、
      前記受領数が下限閾値よりも小さい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を減少させると判定する
    請求項4に記載の計算機システム。
  6.  前記ストレージ装置は、前記コマンドの内容が、前記論理ボリュームを指定し、重要度を含むI/Oコマンドである場合、基準値以上の重要度を含むI/Oコマンドの受領数に応じて、前記論理ボリュームを担当する論理区画に割り当てるリソース量を変更するか否かを判定する
    請求項1に記載の計算機システム。
  7.  前記ストレージ装置は、
      一定期間における前記基準値以上の重要度を含むI/Oコマンドの受領数が上限閾値よりも大きい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を増加させると判定し、
      前記受領数が下限閾値よりも小さい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を減少させると判定する
    請求項6に記載の計算機システム。
  8.  前記ストレージ装置は、前記論理ボリュームを担当する論理区画に割り当てるリソース量を増加させると判定したが、その増加分のリソース量を確保できない場合、前記論理区画が担当中の前記論理ボリュームとは別の論理ボリュームを、前記論理区画とは別の論理区画の担当に切り替える
    請求項7に記載の計算機システム。
  9.  前記別の論理ボリュームは、前記一定期間において、前記基準値未満の重要度を含むI/Oコマンドによって指定された論理ボリュームである
    請求項8に記載の計算機システム。
  10.  前記論理区画制御情報は、前記論理区画に割り当てるリソース量の指標である性能要件の情報をさらに含み、
     前記別の論理区画は、前記論理ボリュームを担当中の論理区画よりも低い性能要件の論理区画である
    請求項9に記載の計算機システム。
  11.  前記論理区画制御情報は、前記論理区画に割り当てるリソース量の指標である性能要件の情報をさらに含み、
     前記ホスト計算機は、
      前記ホスト処理からアクセス可能な論理ボリュームを担当している論理区画の情報を含む管理情報を有し、
      前記ホスト処理の負荷変動の予測に基づいて、前記管理情報において前記ホスト処理に対応付けられている論理区画の性能要件を変更するか否かを判定し、
      前記論理区画の性能要件を変更すると判定した場合、前記論理区画の変更後の性能要件を含む第1のコマンドを前記ストレージ装置へ送信し、
     前記ストレージ装置は、
      前記第1のコマンドを受領した場合、前記論理区画制御情報に含まれる、前記第1のコマンドの指定する論理区画の性能要件を変更し、
      その変更後の性能要件に基づいて、前記論理区画に割り当てるリソース量を変更する
    請求項1に記載の計算機システム。
  12.  前記ホスト計算機は、
      前記ホスト処理の負荷が増加すると予測した場合、前記ホスト処理に対応付けられている論理区画の性能要件を高くすると判定し、
      前記ホスト処理の負荷が減少すると予測した場合、前記ホスト処理に対応付けられている論理区画の性能要件を低くすると判定する
    請求項11に記載の計算機システム。
  13.  前記ホスト計算機は、
      前記ホスト処理の負荷変動の予測、及び、前記ホスト処理に対応付けられている論理区画の性能要件の変更、に関する処理を行う場合、前記論理区画に割り当てるリソース量を前記ストレージ装置が変更することを禁止する旨を含む第2のコマンドを前記ストレージ装置へ送信し、
     前記ストレージ装置は、
      前記第2のコマンドを受領した場合、前記第2のコマンドの指定する論理区画を、前記論理区画に割り当てるリソース量を変更するか否かの判定対象から除外する
    請求項11に記載の計算機システム。
  14.  計算機の有するリソースを制御するリソース制御方法であって、
      前記論理ボリュームが指定されたコマンドを処理するための論理的なリソースを含む論理区画を生成し、
      前記論理ボリュームを担当する論理区画、及び、その論理区画に対して割り当てられたリソース量の情報を含む論理区画制御情報を生成し、
      前記コマンドを受領した場合、前記コマンドの内容に基づき、前記コマンドから指定された前記論理ボリュームを担当する論理区画に割り当てるリソース量を変更するか否かを判定し、
      その判定の結果に基づいて、前記論理区画制御情報を変更する
    リソース制御方法。
  15.  コマンドを送信するホスト計算機と、前記ホスト計算機からコマンドを受領するストレージ装置とを備え、
     前記ストレージ装置は、
      論理ボリュームと、
      前記論理ボリュームの指定されたコマンドを処理するための論理的なリソースを含む論理区画と、
      前記論理ボリュームを担当する論理区画、その論理区画に対して割り当てられたリソース量、及び、その論理区画に割り当てるリソース量の指標である性能要件、の情報を含む論理区画制御情報と
    を有し、
     前記ストレージ装置は、
      前記ホスト計算機で実行されるホスト処理と前記論理ボリュームとの間の論理パスの増加数又は減少数を取得し、
      前記取得した論理パスの増加数が第1の上限閾値よりも大きい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を増加させると判定し、
      前記取得した論理パスの減少数が第1の下限閾値よりも小さい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を減少させると判定し、
      何れの判定にも該当しない場合、一定期間における前記シーケンシャルI/Oのコマンドの受領数、及び、前記一定期間における基準値以上の重要度を含むI/Oコマンドの受領数を取得し、
      前記取得したシーケンシャルI/Oのコマンドの受領数が第2の上限閾値よりも大きい、又は、前記取得した基準値以上の重要度を含むI/Oコマンドの受領数が第3の上限閾値よりも大きい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を増加させると判定し、
      前記取得したシーケンシャルI/Oのコマンドの受領数が第2の下限閾値よりも小さい、又は、前記取得した基準値以上の重要度を含むI/Oコマンドの受領数が第3の下限閾値よりも小さい場合、前記論理ボリュームを担当する論理区画に割り当てるリソース量を減少させると判定し、
      前記論理ボリュームを担当する論理区画に割り当てるリソース量を増加させると判定したが、その増加分のリソース量を確保できない場合、前記一定期間において前記基準値未満の重要度を含むI/Oコマンドによって指定された別の論理ボリュームを特定し、前記論理ボリュームを担当中の論理区画よりも低い性能要件である別の論理区画を特定し、前記特定した別の論理ボリュームを、前記特定した別の論理区画の担当に切り替え、
      前記判定の結果に基づいて、前記論理区画制御情報における、前記論理ボリュームを担当する論理区画に割り当てられているリソース量を変更する
    計算機システム。
     

     
PCT/JP2015/061714 2015-04-16 2015-04-16 計算機システム、及び、リソース制御方法 WO2016166867A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/061714 WO2016166867A1 (ja) 2015-04-16 2015-04-16 計算機システム、及び、リソース制御方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/061714 WO2016166867A1 (ja) 2015-04-16 2015-04-16 計算機システム、及び、リソース制御方法

Publications (1)

Publication Number Publication Date
WO2016166867A1 true WO2016166867A1 (ja) 2016-10-20

Family

ID=57125984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/061714 WO2016166867A1 (ja) 2015-04-16 2015-04-16 計算機システム、及び、リソース制御方法

Country Status (1)

Country Link
WO (1) WO2016166867A1 (ja)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310861A (ja) * 2006-04-18 2007-11-29 Hitachi Ltd ストレージシステム及びその制御方法
JP2008517358A (ja) * 2004-10-12 2008-05-22 インターナショナル・ビジネス・マシーンズ・コーポレーション ストレージ管理を容易にするための装置、システム、および方法
JP2010020694A (ja) * 2008-07-14 2010-01-28 Fujitsu Ltd ストレージ装置および制御装置
JP2010102458A (ja) * 2008-10-22 2010-05-06 Hitachi Ltd コマンドの起動を制御するストレージシステム及び方法
WO2010106574A1 (ja) * 2009-03-18 2010-09-23 株式会社日立製作所 記憶制御装置及び仮想ボリュームの制御方法
JP2011511353A (ja) * 2008-01-30 2011-04-07 インターナショナル・ビジネス・マシーンズ・コーポレーション 論理パス・リソースを動的に管理する方法、装置、システム、及びコンピュータ・プログラム
JP2012531653A (ja) * 2009-10-09 2012-12-10 株式会社日立製作所 記憶制御装置及び仮想ボリュームの制御方法
JP2013003691A (ja) * 2011-06-14 2013-01-07 Hitachi Ltd 計算機システムおよびその計算機システムにおけるディスク共有方法
JP2013222457A (ja) * 2012-04-18 2013-10-28 Hitachi Ltd データ位置の管理方法および装置
WO2014087544A1 (ja) * 2012-12-07 2014-06-12 株式会社日立製作所 計算機システム、管理計算機及び管理方法

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008517358A (ja) * 2004-10-12 2008-05-22 インターナショナル・ビジネス・マシーンズ・コーポレーション ストレージ管理を容易にするための装置、システム、および方法
JP2007310861A (ja) * 2006-04-18 2007-11-29 Hitachi Ltd ストレージシステム及びその制御方法
JP2011511353A (ja) * 2008-01-30 2011-04-07 インターナショナル・ビジネス・マシーンズ・コーポレーション 論理パス・リソースを動的に管理する方法、装置、システム、及びコンピュータ・プログラム
JP2010020694A (ja) * 2008-07-14 2010-01-28 Fujitsu Ltd ストレージ装置および制御装置
JP2010102458A (ja) * 2008-10-22 2010-05-06 Hitachi Ltd コマンドの起動を制御するストレージシステム及び方法
WO2010106574A1 (ja) * 2009-03-18 2010-09-23 株式会社日立製作所 記憶制御装置及び仮想ボリュームの制御方法
JP2012531653A (ja) * 2009-10-09 2012-12-10 株式会社日立製作所 記憶制御装置及び仮想ボリュームの制御方法
JP2013003691A (ja) * 2011-06-14 2013-01-07 Hitachi Ltd 計算機システムおよびその計算機システムにおけるディスク共有方法
JP2013222457A (ja) * 2012-04-18 2013-10-28 Hitachi Ltd データ位置の管理方法および装置
WO2014087544A1 (ja) * 2012-12-07 2014-06-12 株式会社日立製作所 計算機システム、管理計算機及び管理方法

Similar Documents

Publication Publication Date Title
US8984221B2 (en) Method for assigning storage area and computer system using the same
JP6517684B2 (ja) メモリシステムおよび制御方法
US10409508B2 (en) Updating of pinned storage in flash based on changes to flash-to-disk capacity ratio
US11861196B2 (en) Resource allocation method, storage device, and storage system
US20190235792A1 (en) Storage system and control method thereof
WO2015087449A1 (ja) 計算機システムおよび計算機システムの制御方法
US10210338B2 (en) Reducing decryption latency for encryption processing
WO2016067388A1 (ja) ストレージ装置およびストレージシステム
JP6261716B2 (ja) 計算機システム
US9984091B2 (en) Reducing decompression latency in a compression storage system
US9201598B2 (en) Apparatus and method for sharing resources between storage devices
JP6232936B2 (ja) 情報処理装置、記憶装置制御回路及び記憶装置の制御方法
WO2015078193A1 (zh) 存储空间的管理方法和存储管理装置
US11989455B2 (en) Storage system, path management method, and recording medium
US11593182B2 (en) Storage system
WO2016166867A1 (ja) 計算機システム、及び、リソース制御方法
JP7348056B2 (ja) ストレージシステム
US10783096B2 (en) Storage system and method of controlling I/O processing
WO2016006072A1 (ja) 管理計算機およびストレージシステム
JP2018041162A (ja) ストレージシステム
WO2017163322A1 (ja) 管理計算機、および計算機システムの管理方法
JP2021189884A (ja) ストレージ制御装置およびプログラム
CN117827757A (zh) 一种分布式文件系统
CN116774926A (zh) 一种存储空间分配方法及存储设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15889205

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15889205

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP