WO2016006072A1 - Management computer and storage system - Google Patents

Management computer and storage system Download PDF

Info

Publication number
WO2016006072A1
WO2016006072A1 PCT/JP2014/068345 JP2014068345W WO2016006072A1 WO 2016006072 A1 WO2016006072 A1 WO 2016006072A1 JP 2014068345 W JP2014068345 W JP 2014068345W WO 2016006072 A1 WO2016006072 A1 WO 2016006072A1
Authority
WO
WIPO (PCT)
Prior art keywords
logical partition
resource
computer
computer resource
determined
Prior art date
Application number
PCT/JP2014/068345
Other languages
French (fr)
Japanese (ja)
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/JP2014/068345 priority Critical patent/WO2016006072A1/en
Publication of WO2016006072A1 publication Critical patent/WO2016006072A1/en

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Definitions

  • the present invention relates to a management computer and a storage system.
  • a management computer includes a memory and a processor connected to the memory and connected to a storage device.
  • the processor issues an allocation instruction for instructing allocation of a plurality of computer resources in the storage apparatus to a plurality of logical partitions, to the storage apparatus.
  • an I / O instruction is issued from the host computer to the storage apparatus, the storage apparatus selects a logical partition for processing the I / O instruction from the plurality of logical partitions, and the I / O instruction is Processing is performed using computer resources allocated to the selected logical partition.
  • the memory stores a change condition that is a condition for causing the second logical partition to use the first computer resource allocated to the first logical partition.
  • the processor acquires the usage status of the plurality of computer resources from the storage device, and determines whether or not the usage amount of the computer resources by the second logical partition needs to be increased based on the usage status. When it is determined that it is necessary to increase the usage amount of the computer resource by the second logical partition, it is determined whether the first computer resource satisfies the change condition, and the first computer resource is changed. If it is determined that the condition is satisfied, a change instruction that instructs the second logical partition to use the first computer resource is issued to the storage apparatus.
  • FIG. 1 shows a configuration of a computer system according to an embodiment of the present invention.
  • 2 shows a configuration of a physical storage device 1200.
  • a resource management table is shown.
  • a logical partition management table is shown.
  • a resource allocation management table is shown.
  • a resource change management table is shown.
  • a resource lending status management table is shown. Indicates resource accommodation processing.
  • the storage management process by the management server 1400 is shown.
  • the I / O processing by the physical storage device 1200 is shown.
  • 10 illustrates a logical partition management table according to the second embodiment. 10 shows a resource lending status management table according to the second embodiment.
  • the resource interchange process of Example 2 is shown.
  • the resource allocation recovery time management table is shown.
  • 10 shows a logical partition management table of Embodiment 3. Indicates resource setting processing.
  • the resource interchange process of Example 3 is shown. Indicates failure handling.
  • the following description should not be interpreted as being limited to this.
  • the components of one embodiment can be added to or replaced with the components of another embodiment without departing from the scope of the technical idea of the present invention.
  • the embodiment of the present invention may be implemented by software running on a general-purpose computer, or may be implemented by dedicated hardware or a combination of software and hardware.
  • information used in the present embodiment is mainly described in the “table” format.
  • the information does not necessarily have to be represented by a data structure of a table, such as a list, DB, and queue. It may be expressed as a data structure or other.
  • processing disclosed with the program as the subject may be processing performed by a computer such as a management server or a storage device.
  • a computer such as a management server or a storage device.
  • Part or all of the program may be realized by dedicated hardware or may be modularized.
  • Non-volatile semiconductor memory HDD (Hard Disk Drive), storage device such as SSD (Solid State Drive), IC (Integrated Circuit) card, flash memory card , CD (Compact Disc), DVD (Digital Versatile Disc), etc.
  • HDD Hard Disk Drive
  • SSD Solid State Drive
  • IC Integrated Circuit
  • flash memory card CD (Compact Disc), DVD (Digital Versatile Disc), etc.
  • CD Compact Disc
  • DVD Digital Versatile Disc
  • FIG. 1 shows an outline of an embodiment of the present invention.
  • resources allocated to the other logical partition are allocated to the other logical partition. Use when there is no impact on performance. This eliminates the need for excessive resource allocation in preparation for a temporary load increase. As a result, it becomes possible to install more logical partitions in a single storage, and it is possible to improve the utilization efficiency of the storage.
  • the resource includes, for example, a disk, a memory, a processor, an FC (Fibre Channel) port, and the like.
  • the resource allocated to the logical partition may be a physical resource unit or a unit obtained by logically dividing the physical resource.
  • the logical partition control function of the physical storage apparatus controls to allocate a specific resource to a specific logical partition and process an I / O instruction for the specific logical partition using the specific resource.
  • the physical storage device is managed by management software on a management server (management computer) connected via a communication network.
  • the management software manages the lending conditions (change conditions) for selecting resources to be lent to other logical partitions from among the resources while guaranteeing the use of the resources allocated to the logical partitions for each resource type.
  • lending conditions define the usage status of resources before lending, the method of returning resources after lending, and the like.
  • the management software periodically monitors the load on each logical partition (S1).
  • the management software sets the logical partition B to the logical partition B.
  • the lending condition is, for example, that the logical partition of the lending source can immediately lend the memory to the lending destination, and the lending destination can return the memory immediately when the lending source needs the memory.
  • Such lending conditions define, for example, that the lending source uses the memory as a read cache before lending, and that the lending destination uses the memory as a read cache after lending.
  • the fact that the lending source uses the memory as a read cache indicates that the data stored in the memory is also stored in the disk and can be discarded.
  • the use of the memory as a read cache by the lending destination means that when the lending source needs the memory, the data can be immediately discarded and returned to the lending source.
  • the management software issues an instruction to temporarily lend the memory in the logical partition A to the logical partition B to the physical storage device (S4). .
  • resources can be interchanged between logical partitions while guaranteeing the use of resources allocated to the rented logical partition.
  • the use efficiency of the resources in the storage apparatus is improved by using the resources that are allocated to the logical partition and are not used by other logical partitions.
  • FIG. 2 shows the configuration of the computer system according to the embodiment of the present invention.
  • the computer system includes a host computer 1000, an FC switch 1100, a physical storage device 1200, an IP switch 1300, and a management server 1400.
  • the host computer 1000 may be a general server or a server having a virtualization function.
  • an OS Operating System
  • an application DB, file system, etc.
  • the host computer 1000 stores data in a storage area provided by the physical storage device 1200.
  • this virtualization function or an application on a VM (Virtual Machine) provided by the virtualization function is stored in a storage area provided by the physical storage device 1200. Input / output data.
  • VM Virtual Machine
  • the host computer 1000 and the physical storage device 1200 are connected via an FC cable. Using this connection, the host computer 1000 or the VM running on the host computer 1000 inputs / outputs data to / from the storage area provided by the physical storage device 1200.
  • the host computer 1000 and the physical storage device 1200 may be directly connected, but a plurality of host computers 1000 and a plurality of physical storage devices 1200 may be connected via the FC switch 1100. More host computers 1000 and physical storage devices 1200 may be connected by connecting the FC switches 1100 to each other.
  • the host computer 1000 and the physical storage device 1200 are connected by an FC cable, but when using a protocol such as iSCSI (Internet Small Computer System Interface), they are connected by an IP (Internet Protocol) cable. Alternatively, they may be connected by other connection methods available for data input / output. In that case, instead of the FC switch 1100, an IP switch or a device having a switching function suitable for other connection methods is introduced.
  • the management server 1400 is connected to the physical storage device 1200 via an IP cable and is a server for managing the physical storage device 1200.
  • the management server 1400 and the physical storage device 1200 may be directly connected, but a plurality of management servers 1400 and a plurality of physical storage devices 1200 may be connected via the IP switch 1300.
  • the IP switch 1300 By connecting the IP switches 1300 to each other, more management servers 1400 and physical storage devices 1200 can be connected.
  • the management server 1400 and the physical storage device 1200 are connected by an IP cable, but may be connected by other connection methods capable of transmitting and receiving management data. In that case, instead of the IP switch 1300, a device having a switching function suitable for other connection methods is introduced.
  • the physical storage device 1200 may be further connected to another physical storage device 1200.
  • the physical storage device 1200 of this embodiment is divided into a plurality of logical partitions 1500 and managed by the management server 1400.
  • the internal configuration of the physical storage device 1200 will be described later.
  • the management server 1400 includes an input device 1410, an output device 1420, a CPU 1430, a memory 1440, and a NIC (Network Interface Card) 1450.
  • the input device 1410 is a keyboard, a mouse, a tablet, a touch pen, or the like.
  • the output device 1420 is a display, a printer, a speaker, or the like.
  • the CPU 1430 executes processing according to various programs stored in the memory 1440.
  • the memory 1440 is a data storage area such as a RAM (Random Access Memory), and stores various programs, data, temporary data, and the like. Particularly in this embodiment, a logical partition setting program 1441 and logical partition setting management information 1442 are stored.
  • a NIC (Network Interface Card) 1450 is an I / F (Interface) card for connecting an IP cable. When the management network is other than the IP network, the NIC 1450 is an I / F card suitable for the network.
  • the number of the host computer 1000, the FC switch 1100, the physical storage device 1200, the IP switch 1300, and the management server 1400 is not limited to the number shown in the figure, and may be any number as long as it is one or more. Further, the management server 1400 may be provided in the physical storage device 1200.
  • FIG. 3 shows the configuration of the physical storage device 1200.
  • the physical storage device 1200 includes an FEPK (Front-End Package) 1210, a CMPK (Cache Memory Package) 1220, an MPPK (Microprocessor Package) 1230, a BEPK (Back-End Package) 1240, a disk 1250, and an internal switch 1260.
  • FEPK Front-End Package
  • CMPK Cache Memory Package
  • MPPK Microprocessor Package
  • BEPK Back-End Package
  • FEPK1210, CMPK1220, MPPK1230, and BEPK1240 are connected to each other by a high-speed internal bus or the like. This connection may be made via an internal switch 1260.
  • the FEPK 1210 includes at least one FEIF (Front-End Interface) 1211 that is an interface for data input / output, and is connected to the host computer 1000, another physical storage device 1200, and the FC switch 1100 through the FEIF.
  • FEIF Front-End Interface
  • FC port When data input / output is performed by communication via an FC cable, an FC port is used.
  • I / F suitable for the mode is used.
  • the CMPK 1220 includes one or more cache memories 1221 that are high-speed accessible storage areas such as RAM and SSD.
  • the cache memory 1221 stores temporary data when performing input / output with the host computer 1000, setting information for the physical storage device 1200 to operate various functions, configuration information of the physical storage device 1200, and the like.
  • the MPPK 1230 includes a NIC 1231, an MP (Microprocessor) 1232, and an LM (Local Memory) 1233.
  • the NIC 1231 is a management interface and is connected to the management server 1400 and the IP switch 1300.
  • an IP port is used, but when it is performed in a communication mode other than that, an I / F suitable for the mode is used.
  • the LM 1233 is a high-speed accessible storage area such as a RAM, and stores a program for performing input / output with the host computer 1000, a control program 1234 that is a program for various functions of the physical storage device 1200, and management information 1235 thereof. To do.
  • the LM 1233 of this embodiment stores logical partition information 1236 for controlling input / output processing and various functions of the physical storage device 1200 according to the set logical partition.
  • the MP1232 is a processor that executes processing according to a program stored in the LM1233.
  • the MP 1232 may be a core.
  • NIC1231, MP1232, and LM1233 is not limited to the number described in this figure, and may be any number as long as it is one or more.
  • the BEPK 1240 includes a BEIF (Back-End Interface) 1241 that is an interface for connecting to the disk 1250.
  • This connection form is generally SCSI (Small Computer System Interface), SATA (Serial Advanced Technology Attachment), SAS (Serial Attached SCSI), etc., but other connection forms may be used.
  • the disk 1250 is a storage device such as an HDD, SSD, CD drive, or DVD drive.
  • FEPK1210, CMPK1220, MPPK1230, BEPK1240, disk 1250, and internal switch 1260 is not limited to the number shown in this figure, and may be any number as long as it is one or more.
  • the control program 1234 includes a data input / output processing program held by a general physical storage device.
  • the control program 1234 configures a RAID (Redundant Arrays of Inexpensive Disks) group 1270 using a plurality of disks 1250, divides this into logical volumes 1271, which are one or more logical storage areas, and creates a logical volume 1271. It can be provided to the host computer.
  • the data input / output processing includes processing for converting input / output to / from the logical volume 1271 into input / output to the disk 1250. In this embodiment, it is assumed that data input / output to the logical volume 1271 is performed.
  • this input / output processing is controlled so that processing is performed using only the resources to which each logical partition 1500 is allocated in order to avoid the influence on the performance of other logical partitions 1500.
  • the processing capacity of the MP1232 is used when the logical partition 1500 performs input / output.
  • the control program 1234 monitors this usage rate, and when the usage rate reaches the threshold value, the control program 1234 sleeps and processes the other logical partition 1500. Control to give up MP1232 for processing.
  • the control program 1234 monitors this usage rate, and when the usage rate reaches a threshold, it is used in the logical partition. A part of the cache memory 1221 is released by destage or the like, and after a free area is created, control such as processing is performed.
  • control program 1234 may have a remote copy function for copying data between two physical storage devices 1200.
  • the MP 1232 of the copy source physical storage device 1200 reads the data of the copy source logical volume 1271 and transmits the read data to the copy destination physical storage device 1200 via the FEIF 1211.
  • the MP 1232 of the copy destination physical storage device 1200 receives this data via the FEIF 1211 and writes the received data to the copy destination logical volume 1271. In this way, all the data of the copy source logical volume is copied to the copy destination logical volume.
  • the copy source physical storage apparatus 1200 transfers the write command from the host computer 1000 to the copy destination physical storage apparatus 1200.
  • the write speed may exceed the transfer speed.
  • the copy source physical storage device 1200 uses the area of the cache memory 1221 as a buffer.
  • the write from the host computer 1000 to the uncopied area is performed only on the copy source logical volume.
  • the logical partition setting management information 1442 includes a resource management table, a logical partition management table, a resource allocation management table, a resource lending return management table, and a resource lending status management table.
  • FIG. 4 shows a resource management table
  • the resource management table includes an entry for each resource.
  • An entry corresponding to one resource includes a storage apparatus ID 3000, a resource type 3010, a resource ID 3020, and a performance / capacity 3030.
  • the storage device ID 3000 is an ID (identifier) indicating the physical storage device 1200 including the resource.
  • the resource type 3010 indicates the type of the resource.
  • the resource ID 3020 is an ID indicating the entity of the resource.
  • the performance / capacity 3030 indicates the maximum performance or the maximum capacity of the resource.
  • the value of the resource type 3010 is, for example, “MP_Core” indicating the MP core that is the core of the MP1232, “cache memory” indicating the cache memory 1221, “FEIF” indicating the FEIF 1211, “BEIF” indicating the BEIF 1241, and “ HDD ".
  • the value of the performance / capacity 3030 is, for example, one of the MP1232 core processing speed (MIPS), the capacity of the cache memory 1221 and the disk 1250 (GB), and the performance of the FEIF 1211 and BEIF1241 (Gbps) according to the resource type 3010. is there.
  • the resource management table may manage resources that are not allocated to logical partitions as unallocated resources.
  • the logical partition setting program 1441 sets the resource management table based on information input from the administrator and information collected from the physical storage device 1200.
  • FIG. 5 shows a logical partition management table
  • the logical partition management table includes an entry for each logical partition.
  • An entry corresponding to one logical partition 1500 includes a storage device ID 4000, a logical partition ID 4010, a performance requirement 4020, and a load following performance 4030.
  • the storage device ID 4000 is an ID indicating the physical storage device 1200 including the logical partition.
  • the logical partition ID 4010 is an ID indicating the logical partition.
  • the performance requirement 4020 indicates the performance required for the logical partition, and is represented by IOPS (Input / Output Per Second), for example.
  • the load following performance 4030 indicates a time until a resource other than the resource allocated to the logical partition can be used when the load of the logical partition increases. In the load following performance 4030, other resources may be available immediately, or other resources may be available by a set time.
  • the logical partition setting program 1441 sets the logical partition management table based on a contract with the user of the logical partition 1500 when the administrator creates the logical partition 1500.
  • FIG. 6 shows a resource allocation management table
  • the resource allocation management table includes entries corresponding to combinations of the logical partition 1500 and resources allocated to the logical partition.
  • An entry corresponding to one logical partition 1500 and a combination of resources includes a storage device ID 5000, a logical partition ID 5010, a resource type 5020, a resource ID 5030, an allocation status 5040, and a usage status 5050.
  • the storage device ID 5000 is an ID indicating the physical storage device 1200 including the logical partition.
  • the logical partition ID 5010 is an ID indicating the logical partition.
  • the resource type 5020 indicates the type of the resource.
  • the value of the resource type 5020 is the same as that of the resource type 3010.
  • the resource ID 5030 is an ID indicating the resource assigned to the logical partition.
  • Allocation status 5040 indicates the status of allocation to the logical partition among the resources, and indicates a value corresponding to the resource type.
  • the allocation status 5040 indicates an allocation rate that is a ratio that can be used by the logical partition with respect to the maximum performance of the resource.
  • the cache memory 1221 is managed in units of 4 KB (4096 bytes) blocks. All blocks allocated to the logical partition are registered in the resource allocation management table as resources.
  • the allocation status 5040 indicates the head address of the block that is the resource.
  • the resource type 5020 indicates a disk, it indicates the capacity that can be used by the logical partition in the resource.
  • the usage status 5050 indicates the actual usage status of the logical partition among the resources, and indicates a value corresponding to the resource type.
  • the usage status 5050 indicates a usage rate that is a ratio used by the logical partition with respect to the maximum performance or capacity of the resource.
  • the usage status 5050 indicates the usage (role) of the block. This use indicates what data is stored in the block.
  • the cache memory usage status 5050 is a write cache that stores data before being written to the disk 1250 based on a write command from the host computer 1000 as a cache, or a read that stores data read from the disk 1250 as a cache. Indicates cache etc.
  • the cache memory may be used as a remote copy buffer for storing write data generated during remote copy.
  • the cache memory usage status 5050 includes a pre-transfer remote copy buffer (pre-transfer RC buffer) storing write data before transfer, and a transferred remote copy buffer storing write data that has been transferred. (Transferred RC Buffer) etc.
  • pre-transfer RC buffer pre-transfer remote copy buffer
  • Transferred RC Buffer Transferred RC Buffer
  • the cache memory is lent out, the cache memory is lent out in units of blocks, so the usage status 5050 indicates the usage of the block at the lent destination.
  • the value of the usage status 5050 is “ ⁇ ” indicating that it is unused.
  • the resource amount (allocation amount) indicated by the resource allocation state may be an absolute amount such as the MP core processing performance, the FEIF or BEIF bandwidth, the number or size of the cache memory blocks, or the disk capacity. It may be the presence or absence of allocation, or the ratio of the resource amount allocated to the logical partition to the resource amount of the physical resource.
  • the resource amount (usage amount) indicated by the use status may be an absolute amount, may or may not be used, may be an application, and is allocated to a logical partition. It may be a ratio of the resource amount used for the logical partition to the resource amount.
  • the logical partition setting program 1441 sets the resource allocation management table based on information input from the administrator and information collected from the physical storage device 1200 when the administrator creates the logical partition 1500. At this time, the logical partition setting program 1441 issues an allocation instruction for instructing allocation of resources to the logical partition to the physical storage device 1200. Further, the logical partition setting program 1441 updates the usage status 5050 by regular monitoring.
  • FIG. 7 shows a resource change management table
  • Each of the resource lending process and the return process between two logical partitions may be referred to as a change process that changes the logical partition that uses the resource.
  • This table is a table for determining a preparation process that is a pre-process for a change process.
  • the resource change management table includes an entry for each condition.
  • An entry corresponding to one condition includes a storage apparatus ID 6000, a resource type 6010, a state condition 6020, a preparation process 6030, a processing time 6040, and a necessary resource 6050.
  • Storage device ID 6000 is an ID indicating the physical storage device 1200.
  • the resource type 6010 indicates the type of resource that can be changed.
  • the state condition 6020 indicates a resource state condition for determining the necessity of the preparation process. For example, the state condition 6020 when the resource type 6010 indicates a cache memory is “when the block before the change process is used as a write cache”.
  • the preparation process 6030 indicates a preparation process performed on the resource when the resource satisfies the condition. When the preparation process is unnecessary, the preparation process 6030 indicates “ ⁇ ”.
  • the processing time 6040 indicates a unit processing time for processing the unit of the preparation process for the time required for the preparation process.
  • the processing time 6040 is, for example, “5 sec / 100 MB” indicating that it takes 5 seconds for the destage processing of 100 MB data. is there.
  • the processing time 6040 is “immediate”, for example.
  • the necessary resource 6050 indicates a resource used for the preparation process.
  • the value of the necessary resource 6050 is, for example, “MP_Core: 5%”.
  • the data stored in the block can be discarded, so that the preparation process is unnecessary.
  • a certain block of the cache memory 1221 is used as a remote copy buffer and the data stored in the buffer has been transferred, the data can be discarded and no preparation process is required.
  • the data stored in the buffer is before the transfer, a preparation process for transferring the data to the physical storage device 1200 of the transfer destination is required.
  • the logical partition that uses the resource before the change process is called the logical partition before the change process
  • the logical partition that is used after the change process is called the logical partition after the change process.
  • the MP core used by the logical partition of the change source is set as the person in charge of I / O processing of a certain logical volume.
  • the remaining allocation rate which is the remaining amount obtained by subtracting the allocation rate for the change from the allocation rate of the MP core for the change source logical partition, becomes 0%, the change source logical partition cannot access the logical volume. It is necessary to change the responsibility of the logical volume from the MP core to another MP core.
  • the change source Since the logical partition cannot access the logical volume, it is necessary to delete the path.
  • the physical storage device may define a new path to the logical volume using another FEIF.
  • the logical partition setting program 1441 sets a resource change management table in advance based on information input from the administrator or information collected from the physical storage device 1200.
  • Resource change management table may be used as load information.
  • FIG. 8 shows a resource lending status management table.
  • the resource lending status management table includes an entry for each lent resource.
  • the entry corresponding to one resource includes a storage apparatus ID 7000, a lending source logical partition 7010, a lending resource 7020, a lending destination logical partition 7040, a usage constraint 7050, and a usage status 7060.
  • Storage device ID 7000 is an ID indicating the physical storage device 1200 including the resource.
  • the lending source logical partition 7010 is an ID indicating the logical partition 1500 that lends the resource.
  • the lending resource 7020 is an ID indicating the resource that is being lent.
  • the lending status 7030 indicates the usage rate that is lent out of the resource and the start address of the block of the resource.
  • the lending destination logical partition 7040 is an ID indicating the logical partition 1500 that borrows the resource.
  • the usage constraint 7050 indicates the usage (specific usage) of the resource by the borrower.
  • the usage constraint 7050 is a borrower constraint that allows the borrower to return the resource immediately or within a specified time when the borrower needs the resource.
  • the usage status 7060 indicates how the borrower is using the resource.
  • the usage status 7060 indicates the usage rate of the resource by the borrower. If the resource is a cache memory, the usage status 7060 stores the type of data stored in the cache memory.
  • the logical partition setting program 1441 sets the resource lending status management table when lending and borrowing resources and when returning resources. Further, the logical partition setting program 1441 updates the usage status 7060 by regular monitoring.
  • the value of the usage status 5050 is the amount used in the logical partition, and the loan from the logical partition to another logical partition. It is the sum with the amount that is. For example, when the resource is an MP core, the logical partition to which the MP core is allocated uses 10%, and lends 5% to other logical partitions, the usage status 5050 is 15 %. The same applies to the usage status 5050 of the FEIF 1211, the BEIF 1241, and the disk 1250. When the resource is lent out in the block of the cache memory 1221, the usage status 5050 indicates the usage of the block by the lent destination.
  • the usage status 7060 indicates the usage status of the resource by the logical partition. If the logical partition is assigned the resource and borrows the resource from another logical partition, the amount of the resource assigned to the logical partition and the amount of the resource borrowed from the other logical partition Is the total usage status, the value of the usage status 5050 is equal to the value of the allocation status 5040, and the value of the usage status 7060 is a value obtained by subtracting the value of the allocation status 5040 from the total usage status value. . For example, it is assumed that the logical partition is allocated 30% of the MP core, and further 10% of the same MP core is borrowed from another logical partition.
  • the usage status 5050 value is 30% and the usage status 7060 value is 5%.
  • the value of the usage status 7060 is the usage rate of the resource by the logical partition.
  • FIG. 9 shows resource accommodation processing.
  • the logical partition setting program 1441 starts resource interchange processing periodically by the scheduler.
  • the CPU 1430 acquires the usage status of each resource by each logical partition 1500 from the physical storage device 1200, and based on the acquired usage status, the usage status 5050 of the resource allocation management table and the resource lending status management
  • the table usage status 7060 is updated (S1000).
  • the CPU 1430 determines whether there is a logical partition that requires the addition of the resource amount (S1010). In this process, the CPU 1430 sequentially selects the selected logical partition and the selected resource type from the physical storage device 1200, and the selected logical partition borrows the resource of the selected resource type from another logical partition based on the resource lending status management table. It is determined whether or not.
  • the CPU 1430 determines that the usage rate of the usage status 5050 of all the resources of the selected resource type allocated to the selected logical partition is It is determined whether or not the usage rate threshold (upper limit usage amount) has been reached.
  • the usage rate threshold upper limit usage amount
  • the CPU 1430 calculates the ratio of the number of used blocks (the block whose usage status 5050 is not unused) to the number of blocks allocated to the selected logical partition as the usage rate. Further, for example, the CPU 1430 calculates, as the usage rate threshold value, a value obtained by subtracting a predetermined margin from the allocation rate of the allocation status 5040 for each resource.
  • that the usage rate has reached the usage rate threshold indicates that the usage rate has approached the allocation rate.
  • the CPU 1430 adds the resource amount of the selected resource type to the selected logical partition. Determine that it is necessary.
  • the CPU 1430 determines whether or not the usage rate of the usage status 7060 has reached the usage rate threshold. When it is determined that the usage rate of all resources of the selected resource type borrowed by the selected logical partition has reached the usage rate threshold, the CPU 1430 needs to add the resource amount of the selected resource type to the selected logical partition. (It is necessary to increase the usage amount of the selected resource type by the selected logical partition).
  • the CPU 1430 determines the selected logical partition and the selected resource type that are determined to require addition of the resource amount.
  • the additional resource amount which is specified as the target logical partition and the target resource type, and is the resource amount of the target resource type to be added to the target logical partition is calculated (S1020).
  • the additional resource amount is represented by, for example, a usage rate.
  • a lending unit amount is predetermined for each resource type.
  • the CPU 1430 calculates a value obtained by multiplying the unit amount of the target resource type as the additional resource amount.
  • the additional resource amount may be a fixed value. Further, the CPU 1430 may calculate the additional resource amount by analyzing the resource usage tendency of each logical partition 1500.
  • the CPU 1430 determines whether there is a rented resource that is a resource of the target resource type that is lent out from the target logical partition to another logical partition based on the resource rent status management table (S1030). If it is determined that there is no rented resource (No), the CPU 1430 advances the process to S1060. On the other hand, if it is determined that there is a lent resource (Yes), the CPU 1430 performs a return process because there is a possibility that a resource shortage can be avoided by returning the lent resource to the lent destination (S1040).
  • the CPU 1430 issues a preparation process instruction for instructing a lending destination a preparation process (re-change preparation process) for a lent resource if a preparation process is required, based on the resource change management table.
  • a return instruction (re-change instruction) for instructing the return of the middle resource is issued, and the result is reflected in the resource allocation management table and the resource lending status management table.
  • the CPU 1430 determines whether or not the additional resource amount has been secured by the return process (S1050). In this processing, the CPU 1430 determines that the additional resource amount has been secured when the resource amount of the target resource type increased by the return processing is equal to or greater than the additional resource amount. If it is determined that the additional resource amount is secured, the CPU 1430 ends this flow. If it is determined that the additional resource amount cannot be secured, the CPU 1430 advances the process to step S1060.
  • the CPU 1430 detects the amount of candidate resources that are candidates for lending among resources of the target resource type allocated to other logical partitions. In this process, first, the CPU 1430 refers to the resource lending status management table, and if another logical partition borrows a resource of the target resource type from another logical partition, is the borrowed resource unused? Determine whether or not. When it is determined that the borrowed resource is in an unused state, the CPU 1430 reflects the result in the resource allocation management table and the resource lending status management table by performing a return process of the resource. As a result, the resource becomes unused. Thereafter, the CPU 1430 refers to the resource allocation management table and calculates the candidate resource amount of each target resource type of the other logical partition.
  • the candidate resource amount of a certain logical partition is obtained by, for example, subtracting the current usage rate from the resource usage threshold value of the target resource type allocated to the logical partition. Value.
  • the target resource type is a cache memory, it is the total ratio of the number of blocks serving as candidate resources to the total number of blocks allocated to a certain logical partition.
  • the blocks that are candidate resources include blocks that are not used and blocks that conform to the state condition 6020 of the resource change management table.
  • the CPU 1430 determines whether or not a lending resource that is a resource satisfying the lending condition is detected from the candidate resources (S1070). In this process, the CPU 1430 selects a logical partition whose candidate resource amount is not 0 as a candidate logical partition, and from the candidate logical partitions, the unused state resource and the preparation process 6030 in the resource change management table preparation process are unnecessary. The indicated resource is detected as a candidate resource, and it is determined whether there is a candidate resource. When it is determined that there is no candidate resource, the CPU 1430 determines that there is no rental resource.
  • the CPU 1430 calculates a return preparation processing time, which is a time required for the preparation processing when the candidate resource is returned, and the load preparation performance 4030 (upper limit) of the logical partition management table is calculated. Determine whether there is a candidate resource that is less than (time). If there is no candidate resource whose return preparation processing time is less than or equal to the load following performance 4030, the CPU 1430 determines that there is no rental resource. If there is a candidate resource whose return preparation processing time is equal to or less than the load following performance 4030, the CPU 1430 determines that the candidate resource whose return preparation processing time is equal to or less than the load following performance 4030 satisfies the lending condition (change condition). Determine the resource as a lending resource.
  • the CPU 1430 sets the usage of the resource by the lending destination as a use constraint, and performs lending processing for lending the lending resource from the lending logical partition to the target logical partition (S1080). ), This flow is finished.
  • the CPU 1430 performs lending processing by selecting one lending resource from the plurality of lending resources.
  • the CPU 1430 issues a lending instruction (change instruction) instructing to lend a lending resource from the lending source to the target logical partition to the MP 1232 of the lending source and the target logical partition, information indicating the lending resource, and the determined use constraint Are reflected in the resource lending status management table.
  • the lending source MP 1232 lends a lending resource by performing a preparation process (change preparation process) if necessary, and adjusting the usage rate and usage of the resource. Based on the lending instruction, the lending destination MP 1232 borrows the lending resource by adjusting the usage rate and usage of the resource, and uses the lending resource according to the usage constraint. Further, the CPU 1430 may select the lending resource until the lending resource amount becomes the additional resource amount.
  • the lending destination uses the lending resource according to the usage constraint, so that the lending destination can return the lending resource at the timing when the lending source needs the lending resource. For example, if the lending resource is a cache memory, the lending destination returns the lending resource immediately when the lending source needs the lending resource by the CPU 1430 setting the lending resource usage constraint in the read cache. Can do.
  • the usage status of a resource of a specific resource type is shown as a usage rate.
  • the CPU 1430 may manage the usage status of a resource of a specific resource type not by the usage rate but by an absolute value of performance.
  • the CPU 1430 determines that a resource that requires the preparation process cannot be lent, but if the preparation process satisfies the condition, the CPU 1430 may determine the resource as a rented resource. For example, if the block of the cache memory of the logical partition of the lending source is used for the write cache indicated in the state condition 6020, the lending source uses the data indicated in the preparation process 6030 as a preparation process for lending the block. A stage is necessary. For such resources, the CPU 1430 calculates a margin for the usage rate with respect to the allocation rate of the MP core of the rented logical partition, and the margin is indicated in the necessary resource 6050 for the preparation process corresponding to the resource.
  • the resource may be determined as a lending resource. Further, the CPU 1430 calculates the required time for the preparation process based on the resource amount and the processing time 6040, and whether or not the required time is equal to or less than the time predetermined by the load following performance 4030 of the target logical partition of the lending destination. If it is determined that the time required for the preparation process is equal to or less than a predetermined time, the CPU 1430 may determine the resource as a lending resource.
  • the CPU 1430 determines that the resource needs to be added to the logical partition when the resource usage rate by the logical partition reaches the usage threshold.
  • the CPU 1430 monitors the performance of the logical partition, and when the resource usage rate by the logical partition reaches the usage rate threshold in S1010, the performance of the logical partition is equal to or higher than the performance requirement 4020 (lower limit performance). If the performance of the logical partition falls below the performance requirement 4020, it is determined that it is necessary to add a resource to the logical partition, and the performance of the logical partition satisfies the performance requirement 4020. If it is, it may be determined that it is not necessary to add a resource to the logical partition. As a result, even if the resource usage rate by a certain logical partition reaches the usage threshold, if the performance of the logical partition is equal to or higher than the performance requirement 4020, it is possible to prevent unnecessary resource lending.
  • the management server 1400 when the management server 1400 detects a target logical partition that lacks resources, the management server 1400 performs the performance of the lending source logical partition from among the resources allocated to other logical partitions. It is possible to detect a resource satisfying a predetermined condition for the influence on the resource and to allow the resource to be accommodated from the lending logical partition to the target logical partition.
  • the lending source can use the resources within a predetermined time by returning the lending resources.
  • resources that are allocated to the lending logical partition and are not used are determined as resources that satisfy the lending condition, so that the lending resource can be targeted without affecting the performance of the lending logical partition.
  • resources that do not require preparation processing associated with lending are determined as resources that satisfy the lending condition, so that lending resources are used in the target logical partition without affecting the performance of the lending logical partition. Can be used effectively.
  • resources that do not require the preparation process associated with the lending process are determined as resources that satisfy the lending condition, so that the lending resource is used in the target logical partition without affecting the performance of the lending logical partition. be able to.
  • the target resource type is cache memory
  • the cache memory that stores the discardable data such as read cache and transferred remote copy buffer
  • the cache memory that satisfies the lending condition is determined as the cache memory that satisfies the lending condition.
  • the preparation process associated with the process is not necessary. Even if a resource that requires lending preparation processing is used, if the load margin of the logical partition of the lending source is equal to or greater than the resource 6050 required for the resource preparation processing, the resource is determined as a resource that satisfies the lending condition. By doing so, the lending resource can be used by the target logical partition without causing a shortage of resources of the lending logical partition.
  • the load-following performance 4030 is obtained when the logical partition of the lending source needs to add a resource. Lending resources can be used within the time indicated in.
  • FIG. 10 shows storage management processing by the management server 1400.
  • the management server 1400 When the management server 1400 receives a management operation from the administrator, the logical partition setting program 1441 starts storage management processing.
  • the CPU 1430 receives a management operation from the administrator (S2000). Thereafter, the CPU 1430 determines whether or not the management operation conforms to the lending resource usage constraint 7050 (S2010).
  • the CPU 1430 When it is determined that the management operation conforms to the usage constraint 7050 (Yes), the CPU 1430 notifies the MP 1232 of a management instruction for executing the management operation (S2020), and this flow is ended. On the other hand, if it is determined that the management operation does not conform to the usage constraint 7050 (No), the CPU 1430 does not execute the management operation and displays a warning indicating that the management operation violates the usage constraint (S2020). End the flow.
  • the management operation received by the management server 1400 can be determined, so that the usage constraint on the lending resource can be observed.
  • the lending destination logical partition can immediately return the lending resource to the lending source logical partition without any preparation process during the return process.
  • FIG. 11 shows the I / O processing by the physical storage device 1200.
  • the MP 1232 of the physical storage device 1200 When the MP 1232 of the physical storage device 1200 receives an I / O command from the host computer 1000, the I / O processing is started.
  • the MP1232 receives an I / O command (S3000). Thereafter, when it is necessary to use the lending resource by the processing based on the I / O command, the MP 1232 determines whether the usage of the lending resource by the processing meets the usage constraint 7050 (S3010). When the usage meets the usage constraint (Yes), the MP 1232 processes the I / O command using the lending resource (S3020), and ends this flow. On the other hand, if the usage does not conform to the usage constraint (No), the I / O command is processed without using the lending resource (S3030), and this flow ends.
  • the MP 1232 when the MP 1232 receives a write command from the host computer 1000, it is determined whether or not the rental resource usage constraint 7050 is allowed to be used as a write cache, and the usage constraint 7050 is not allowed to be used as a write cache. For example, a process of using another cache memory as a write cache or a process of writing write data to a disk without using the cache memory is performed.
  • the MP 1232 can process the I / O command according to the usage constraint on the lending resource. Thereby, the lending destination logical partition can immediately return the lending resource to the lending source logical partition without any preparation process during the return process.
  • resource accommodation processing is performed in response to monitoring by the logical partition setting program 1441, but this processing may also be performed by the physical storage device 1200.
  • the trigger for the resource accommodation process may be an instruction from an administrator instead of monitoring, or may be a stage at which an I / O command is received.
  • the management server 1400 allocates unallocated resources preferentially to the logical partition in which the resource has become insufficient, and at the time when there are no unallocated resources, the management server 1400 allocates resources between the logical partitions. Also good.
  • the present embodiment it is possible to effectively use the resources of the lending source while guaranteeing the lending source performance by determining whether or not to lend in consideration of the performance of the logical partition of the lending source. Can do.
  • the logical partition can be processed by borrowing resources from other logical partitions in response to a temporary increase in load, it is not necessary to allocate excessive resources to the logical partition in advance, and as a result, the physical storage device The operating rate of 1200 resources can be improved.
  • the timing at which the lending source logical partition needs the resource (timing to return) is unknown, the resource does not affect the performance of the lending source logical partition.
  • the method of returning is shown.
  • a case where a timing at which the lending source logical partition needs the resource is set in advance is shown.
  • Example 1 since a present Example becomes the same as Example 1 in many parts, only the difference with Example 1 is shown below.
  • FIG. 12 shows a logical partition management table of the second embodiment.
  • each entry of the logical partition management table of the present embodiment includes a rentable period 8010 and a lentable resource amount 8020 instead of the load following performance 4030.
  • the lending available period 8010 indicates a period during which a resource allocated to the logical partition indicated by the logical partition ID 4010 is permitted to be lent to another logical partition.
  • the rentable resource amount 8020 indicates the amount of resources that can be lent during this period.
  • the logical partition setting program 1441 sets the logical partition management table based on the input by the administrator when creating the logical partition.
  • FIG. 13 shows a resource lending status management table of the second embodiment.
  • each entry of the resource lending status management table of the present embodiment further includes a return timing 9010.
  • the return timing 9010 indicates a time at which the lending resource return process is started, and is set so that the return process is completed within the lending available period 8010.
  • the logical partition setting program 1441 sets a resource lending status management table at the time of lending a resource by resource accommodation processing and when returning the resource.
  • FIG. 14 shows resource accommodation processing according to the second embodiment.
  • the CPU 1430 performs S1000-S1050 similar to the resource accommodation process of the first embodiment.
  • the CPU 1430 advances the process to S4010.
  • the CPU 1430 based on the logical partition management table, the CPU 1430 identifies a logical partition whose rentable period 8010 includes the current time as a candidate logical partition, rentable resource amount 8020 of the candidate logical partition, and a resource rent status management table.
  • a candidate resource amount that is a resource amount that can be lent by the target resource type in the candidate logical partition is detected. Thereafter, the CPU 1430 determines whether or not a lending resource is detected from the candidate resources (S4020). In this process, as in S1070, the CPU 1430 detects, as candidate resources, resources that are not used and resources that are indicated as not requiring the preparation process in the preparation process 6030 of the resource change management table from the candidate logical partitions. The candidate resource is determined as the lending resource without performing the determination by the load following performance 4030.
  • the CPU 1430 sets a return timer for starting the return process at the return timing 9010 (S4030), and ends this flow.
  • the CPU 1430 calculates the required time for the return process from the processing time 6040 corresponding to the lent resource in the resource change management table and the amount of the lent resource, and subtracts the required time from the end time of the rentable period 8010.
  • the return timing 9010 that is the firing time of the return timer is calculated. Since the return process started by firing of the return timer is the same as the content described in S1040, the description is omitted.
  • the lending resource can be returned before the lending source logical partition actually needs the lending resource. Therefore, the lending source can lend regardless of the lending resource usage at the lending destination. Lending resources can be used later. For this reason, operation becomes possible without the concept like the load follow-up performance 4030 of the first embodiment.
  • This embodiment is particularly effective when a time zone during which an application on a certain logical partition is operated is determined in advance.
  • the management server 1400 reserves resources for when a failure occurs in the logical partition. During normal operation, the reserved resources are leased to other logical partitions.
  • the management server 1400 reserves resources for when a failure occurs in the logical partition. During normal operation, the reserved resources are leased to other logical partitions.
  • Example 1 since a present Example becomes the same as Example 1 in many parts, only the difference with Example 1 is shown below.
  • the logical partition setting management information 1442 of the present embodiment further includes a resource allocation recovery time management table.
  • FIG. 15 shows a resource allocation recovery time management table.
  • the resource allocation recovery time management table includes an entry for each physical storage device 1200.
  • An entry corresponding to one physical storage device 1200 includes a storage device ID 10000 and a failure resource recovery processing time 10010.
  • the storage device ID 10000 is an ID indicating the physical storage device.
  • the failure resource recovery processing time 10010 indicates a target value of time for restoring the resource allocation state to the state before the failure at the time of failure. Since it is difficult to predict in advance the occurrence site of the failure in the physical storage device 1200, it is difficult to guarantee that the lent resource is returned to the lending source at the time of failure. For this reason, it is difficult to guarantee the time for restoring the resource allocation status by exchanging resources in units of logical partitions. Therefore, the management server 1400 looks at the entire physical storage device 1200 and adjusts resources between logical partitions.
  • the failure resource recovery processing time 10010 is a target value of the time for this adjustment.
  • the logical partition setting management information 1442 further includes a reserved resource allocation management table for managing resources reserved for failure in the same manner as the resource allocation management table.
  • FIG. 16 shows a logical partition management table of the third embodiment.
  • each entry of the logical partition management table of the present embodiment includes a resource guarantee level 11010 at the time of failure instead of the load following performance 4030.
  • the resource guarantee level 11010 at the time of failure is Indicates the ratio of the amount of fault guaranteed resources. For example, when the resource guarantee level 11010 at the time of failure of a certain logical partition is 100%, the resource of the normal guaranteed resource amount is reserved for the logical partition, and the resource of the normal guaranteed resource amount is guaranteed at the time of failure.
  • the resource guarantee level 11010 at the time of failure of a certain logical partition is 50%
  • the amount of the guaranteed resource is less than the normal guaranteed resource amount
  • 50% of the normal guaranteed resource amount is guaranteed at the time of failure.
  • the resource guarantee level 11010 at the time of failure of a certain logical partition is lower than 100%, even if there is no resource reserved for the logical partition, by suppressing the resource usage rate during normal operation, The amount of resources that can be used at the time of a failure may be prevented from decreasing compared to the amount of resources that were used during normal operation.
  • FIG. 17 shows the resource setting process.
  • the logical partition setting program 1441 starts the resource setting process.
  • the CPU 1430 receives from the administrator the target logical partition that is the target logical partition of the management operation and the resource amount to be allocated to the target logical partition (S5000).
  • the CPU 1430 may directly accept the normal guaranteed resource amount, which is the resource amount guaranteed during normal operation, and the failure resource guarantee level for the target logical partition.
  • the CPU 1430 may receive the performance requirement at the normal time and the performance requirement at the time of failure for the target logical partition, and calculate the resource amount satisfying each performance requirement.
  • the CPU 1430 allocates normal resources (third computer resources) corresponding to the normal guaranteed resource amount to the target logical partition, and reflects information indicating the normal resources in the resource allocation management table (S5010).
  • the CPU 1430 similarly allocates a reserve resource (first computer resource) required in the event of a failure to the target logical partition, and reflects information indicating the reserve resource in the reserve resource allocation management table (S5020). .
  • the CPU 1430 does not have to allocate a reserve resource to the target logical partition when the resource guarantee level at the time of failure of the target logical partition is lower than 100%.
  • the CPU 1430 sets the normal resource and reserve resources in the physical storage device 1200 (S5030), and ends this flow.
  • the normal resource and the reserve resource can be allocated to each logical partition in accordance with an instruction from the administrator.
  • FIG. 18 illustrates resource accommodation processing according to the third embodiment.
  • the CPU 1430 performs S1000 to S1020 similar to the resource accommodation process of the first embodiment. After S1020, the CPU 1430 searches for a reserve candidate resource that is a reserve resource of the target resource type from the reserve resource allocation information management table and the resource lending status management table (S6010). Thereafter, the CPU 1430 determines whether or not a lending resource is detected from the reserve candidate resources (S6020). For example, the CPU 1430 calculates the required time for the reserve candidate resource return process, and if the required time is within the failure resource recovery process time 10010 in the resource allocation recovery time management table, the reserve candidate resource is lent. Determine as.
  • the CPU 1430 When it is determined that there is no rental resource (No), the CPU 1430 issues a warning indicating that there is no rental resource (S1090), and ends this flow. On the other hand, when it is determined that there is a lending resource (Yes), the CPU 1430 performs a lending process similar to that in the first embodiment (S1080), and ends this flow.
  • the resources for reservation of other logical partitions can be lent to the logical partition.
  • the lending source does not use the reserve resource, so the reserve resource can be effectively used without affecting the performance of the lender.
  • the lending resource can be returned to the lending source within a predetermined time from the occurrence of the failure.
  • FIG. 19 shows failure processing
  • the logical partition setting program 1441 When the logical partition setting program 1441 detects a failure, the logical partition setting program 1441 executes failure processing. Note that the logical partition setting program 1441 may activate the failure processing according to an explicit instruction from the administrator.
  • the CPU 1430 performs a lending resource return process for each logical partition that borrows the lending resource (S8000).
  • the CPU 1430 calculates the total of normal normal resources and borrowed lending resources based on the allocation status of normal resources in the resource allocation management table and the resource guarantee level 11010 at the time of failure, and from the total Calculate the return resource amount by reducing the reserve resource amount.
  • the CPU 1430 issues a return instruction (recovery instruction) for returning the resources corresponding to the return resource amount from the lending destination to the lending source, and manages the returned resources as unallocated resources.
  • the CPU 1430 allocates unallocated resources to the logical partitions so as to satisfy the resource guarantee level at the time of failure for each logical partition (S8010), and ends this flow.
  • the reserve resource in order to ensure the reliability of the logical partition, when the reserve resource is secured for the logical partition, the reserve resource is utilized by other logical partitions during normal operation.
  • the operating rate of the entire physical storage device 1200 can be improved.
  • the computer system of this embodiment may be a combination of the above-described plurality of examples.

Abstract

The present invention improves the usage efficiency of computer resources in a storage device. A memory stores a change condition for the use of a first computer resource allocated to a first logical partition by a second logical partition. A processor obtains the usage status of multiple computer resources from the storage device and determines, on the basis of the usage status, whether there is a need to increase the amount of computer resources used by the second logical partition. If it is determined that there is a need to increase the amount of computer resources used by the second logical partition, the processor determines whether the first computer resource satisfies the change condition. If it is determined that the first computer resource satisfies the change condition, the processor issues, to the storage device, a change instruction for instructing that the first computer resource is to be used by the second logical partition.

Description

管理計算機およびストレージシステムManagement computer and storage system
 本発明は、管理計算機およびストレージシステムに関する。 The present invention relates to a management computer and a storage system.
 現在、業務ごとや部署ごと、あるいはサーバごとなどの単位で個別に用意されていたストレージ装置を、大規模なストレージ装置に統合する、ストレージ装置のコンソリデーションが一般的になっている。このコンソリデーションにより、従来、各ストレージ装置にバッファとして用意されていた未使用領域の一元化が可能となるなど、ストレージ装置利用の効率的な利用が可能になる。また、従来、ストレージ装置ごとに必要であった管理が一元化できるため、無駄な作業が不要となるなど管理の容易化も可能になる。 Currently, storage device consolidation, in which storage devices prepared individually for each business, department, or server, is integrated into a large-scale storage device, has become common. By this consolidation, it is possible to efficiently use the storage apparatus such as unification of unused areas that have been conventionally prepared as buffers in each storage apparatus. In addition, since management that has conventionally been required for each storage apparatus can be unified, it is possible to simplify management such that unnecessary work is unnecessary.
 ストレージ装置のコンソリデーションが一般化されたことにより、新規業務を稼働させる際に、初めから大規模なストレージ装置から記憶領域を割り当てることも一般的に行われるようになっている。この結果、データセンタなどでは複数の会社や複数の部署などが単一のストレージ装置を共有して使用するマルチテナンシ型の使用形態が珍しくなくなった。 Since the consolidation of storage devices is generalized, when a new business is operated, a storage area is generally allocated from a large-scale storage device from the beginning. As a result, in a data center or the like, a multi-tenancy usage pattern in which a plurality of companies, a plurality of departments, etc. share and use a single storage device is not uncommon.
 ストレージ装置のコンソリデーションは、ストレージ装置利用の効率化や、管理の容易化などのメリットがある一方で、本来、独立したストレージ装置を用いて稼働していた業務が単一のストレージ装置を共用することになるため、このストレージ装置への負荷のかかり方によっては、各業務間でデータの入出力性能に影響を与えてしまい、不当に業務の処理性能の劣化を引き起こしてしまうリスクがある。このような状況に対し、一つのストレージ装置を複数の論理区画に分割し、論理区画毎に個別に管理可能にする技術が知られている(特許文献1)。この文献には、論理区画毎にリソース(計算機資源)の使用上限を設定して、この上限を越えてリソースを使用させないように制御する技術が開示されている。 Consolidation of storage devices has advantages such as efficient use of storage devices and easy management, while business that was originally operated using independent storage devices shares a single storage device. Therefore, depending on how the load is applied to the storage device, there is a risk that the data input / output performance will be affected between each business, and the business processing performance will be unduly deteriorated. For such a situation, a technology is known in which one storage device is divided into a plurality of logical partitions and can be managed individually for each logical partition (Patent Document 1). This document discloses a technique for setting a use upper limit of a resource (computer resource) for each logical partition and performing control so as not to use the resource exceeding the upper limit.
米国特許出願公開第2006/0224854号明細書US Patent Application Publication No. 2006/0224854
 近年のクラウドと呼ばれるマルチテナンシ型のストレージ装置の利用形態では、多種多様な業務でストレージ装置が利用される。このため、各論理区画の負荷を予め把握できない場合がある。また、各業務によるストレージ装置への負荷も各時間帯で一様ではなく、上下するのが一般的である。 In recent usage forms of multi-tenancy storage devices called clouds, storage devices are used for a wide variety of tasks. For this reason, the load of each logical partition may not be grasped in advance. Also, the load on the storage device due to each job is not uniform in each time zone, and generally increases and decreases.
 特許文献1で開示される技術では、各業務の負荷に合わせてリソースを割り当てる必要があるが、負荷を予め把握できない業務へ論理区画を割り当てるためには、負荷の上昇を見越して過剰なリソースを論理区画に割り当てる必要がある。また、時間帯により負荷の上下が存在する業務では、ある時間帯では、割り当てられてはいるものの使用はされないリソースが多く発生する可能性がある。結果として、ストレージ装置のリソースの利用効率が低くなる。 In the technique disclosed in Patent Document 1, it is necessary to allocate resources according to the load of each business. However, in order to allocate a logical partition to a business in which the load cannot be grasped in advance, excess resources are allocated in anticipation of an increase in the load. Must be assigned to a logical partition. Further, in a business where the load fluctuates depending on the time zone, there is a possibility that many resources that are allocated but not used are generated in a certain time zone. As a result, the resource utilization efficiency of the storage apparatus is lowered.
 上記課題を解決するために、本発明の一態様である管理計算機は、メモリと、前記メモリに接続され、ストレージ装置に接続されるプロセッサと、を備える。前記プロセッサは、前記ストレージ装置内の複数の計算機資源を複数の論理区画に夫々割り当てることを指示する割当指示を、前記ストレージ装置へ発行する。ホスト計算機から前記ストレージ装置へI/O命令が発行された場合、前記ストレージ装置により、前記複数の論理区画から前記I/O命令を処理する論理区画が選択され、前記I/O命令が、前記選択された論理区画に割り当てられた計算機資源を用いて処理される。前記メモリは、第1論理区画に割り当てられた第1計算機資源を、第2論理区画に使用させる条件である変更条件を記憶する。前記プロセッサは、前記複数の計算機資源の使用状況を前記ストレージ装置から取得し、前記使用状況に基づいて、前記第2論理区画による計算機資源の使用量を増加させる必要があるか否かを判定し、前記第2論理区画による計算機資源の使用量を増加させる必要があると判定された場合、前記第1計算機資源が前記変更条件を満たすか否かを判定し、前記第1計算機資源が前記変更条件を満たすと判定された場合、前記第1計算機資源を前記第2論理区画に使用させることを指示する変更指示を、前記ストレージ装置へ発行する。 In order to solve the above problems, a management computer according to an aspect of the present invention includes a memory and a processor connected to the memory and connected to a storage device. The processor issues an allocation instruction for instructing allocation of a plurality of computer resources in the storage apparatus to a plurality of logical partitions, to the storage apparatus. When an I / O instruction is issued from the host computer to the storage apparatus, the storage apparatus selects a logical partition for processing the I / O instruction from the plurality of logical partitions, and the I / O instruction is Processing is performed using computer resources allocated to the selected logical partition. The memory stores a change condition that is a condition for causing the second logical partition to use the first computer resource allocated to the first logical partition. The processor acquires the usage status of the plurality of computer resources from the storage device, and determines whether or not the usage amount of the computer resources by the second logical partition needs to be increased based on the usage status. When it is determined that it is necessary to increase the usage amount of the computer resource by the second logical partition, it is determined whether the first computer resource satisfies the change condition, and the first computer resource is changed. If it is determined that the condition is satisfied, a change instruction that instructs the second logical partition to use the first computer resource is issued to the storage apparatus.
本発明の実施形態の概要を示す。The outline | summary of embodiment of this invention is shown. 本発明の実施例の計算機システムの構成を示す。1 shows a configuration of a computer system according to an embodiment of the present invention. 物理ストレージ装置1200の構成を示す。2 shows a configuration of a physical storage device 1200. リソース管理テーブルを示す。A resource management table is shown. 論理区画管理テーブルを示す。A logical partition management table is shown. リソース割当管理テーブルを示す。A resource allocation management table is shown. リソース変更管理テーブルを示す。A resource change management table is shown. リソース貸出状況管理テーブルを示す。A resource lending status management table is shown. リソース融通処理を示す。Indicates resource accommodation processing. 管理サーバ1400によるストレージ管理処理を示す。The storage management process by the management server 1400 is shown. 物理ストレージ装置1200によるI/O処理を示す。The I / O processing by the physical storage device 1200 is shown. 実施例2の論理区画管理テーブルを示す。10 illustrates a logical partition management table according to the second embodiment. 実施例2のリソース貸出状況管理テーブルを示す。10 shows a resource lending status management table according to the second embodiment. 実施例2のリソース融通処理を示す。The resource interchange process of Example 2 is shown. リソース割当復旧時間管理テーブルを示す。The resource allocation recovery time management table is shown. 実施例3の論理区画管理テーブルを示す。10 shows a logical partition management table of Embodiment 3. リソース設定処理を示す。Indicates resource setting processing. 実施例3のリソース融通処理を示す。The resource interchange process of Example 3 is shown. 障害処理を示す。Indicates failure handling.
 以下、本発明の実施形態を、図面を用いて説明する。なお、本実施形態は、本発明の特徴を説明するものであって、本発明を限定するものではない。本実施形態では、当業者が本発明を実施するのに十分詳細にその説明がなされているが、他の実装・形態も可能で、本発明の技術的思想の範囲と精神を逸脱することなく構成・構造の変更や多様な要素の置き換えが可能であることを理解する必要がある。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, this embodiment demonstrates the characteristic of this invention, Comprising: This invention is not limited. This embodiment has been described in sufficient detail for those skilled in the art to practice the present invention, but other implementations and configurations are possible without departing from the scope and spirit of the technical idea of the present invention. It is necessary to understand that the configuration and structure can be changed and various elements can be replaced.
 従って、以降の記述をこれに限定して解釈してはならない。ある実施例の構成要素は、本発明の技術的思想の範囲を逸脱しない範囲で、他の実施例に追加又は他の実施例の構成要素と代替可能である。本発明の実施形態は、後述されるように、汎用コンピュータ上で稼動するソフトウェアで実装してもよいし専用ハードウェア又はソフトウェアとハードウェアの組み合わせで実装してもよい。 Therefore, the following description should not be interpreted as being limited to this. The components of one embodiment can be added to or replaced with the components of another embodiment without departing from the scope of the technical idea of the present invention. As will be described later, the embodiment of the present invention may be implemented by software running on a general-purpose computer, or may be implemented by dedicated hardware or a combination of software and hardware.
 なお、以後の説明では、主に「テーブル」形式によって本実施形態で利用される情報について説明するが、情報は必ずしもテーブルによるデータ構造で表現されていなくても良く、リスト、DB、キュー等のデータ構造やそれ以外で表現されていてもよい。 In the following description, information used in the present embodiment is mainly described in the “table” format. However, the information does not necessarily have to be represented by a data structure of a table, such as a list, DB, and queue. It may be expressed as a data structure or other.
 以下では「プログラム」を主語(動作主体)として本発明の実施形態における各処理について説明を行う場合、プログラムはプロセッサによって実行されることで定められた処理をメモリ及び通信ポート(通信制御装置)を用いながら行うものである。このため、プロセッサを主語とした説明としてもよい。 In the following, when each process in the embodiment of the present invention is described with “program” as the subject (operation subject), the program is executed by the processor and the process determined by the memory and the communication port (communication control device) is performed. It is done while using it. For this reason, the description may be made with the processor as the subject.
 また、プログラムを主語として開示された処理は、管理サーバ等の計算機又はストレージ装置が行う処理としてもよい。プログラムの一部又は全ては専用ハードウェアで実現されてもよく、また、モジュール化されていてもよい。 Also, the processing disclosed with the program as the subject may be processing performed by a computer such as a management server or a storage device. Part or all of the program may be realized by dedicated hardware or may be modularized.
 各機能を実現するプログラム、テーブル、ファイル等の情報は、不揮発性半導体メモリ、HDD(Hard Disk Drive)、SSD(Solid State Drive)等の記憶デバイス、または、IC(Integrated Circuit)カード、フラッシュメモリカード、CD(Compact Disc)、DVD(Digital Versatile Disc)等の計算機読み取り可能な非一時的データ記憶媒体に格納することができ、プログラム配布サーバや非一時的記憶媒体によって計算機や計算システムにインストールすることができる。 Information such as programs, tables, and files that realize each function can be stored in non-volatile semiconductor memory, HDD (Hard Disk Drive), storage device such as SSD (Solid State Drive), IC (Integrated Circuit) card, flash memory card , CD (Compact Disc), DVD (Digital Versatile Disc), etc., can be stored in computer-readable non-transitory data storage media, and installed on computers and computer systems using program distribution servers and non-temporary storage media Can do.
 以下、本実施形態の概要を説明する。 Hereinafter, an outline of the present embodiment will be described.
 図1は、本発明の実施形態の概要を示す。 FIG. 1 shows an outline of an embodiment of the present invention.
 本実施形態では、前述の課題を解決するために、ある論理区画に割り当てられたリソースでは処理しきれない負荷の上昇に対して、他の論理区画に割り当てられたリソースを、当該他の論理区画の性能に影響を与えない場合に使用する。これにより、一時的な負荷の上昇などに備えた過剰なリソース割り当てを行う必要がなくなる。結果として、より多くの論理区画を単一のストレージに設置することが可能になり、ストレージの利用効率を向上させることが可能となる。 In the present embodiment, in order to solve the above-described problem, in response to an increase in load that cannot be processed by resources allocated to a certain logical partition, resources allocated to the other logical partition are allocated to the other logical partition. Use when there is no impact on performance. This eliminates the need for excessive resource allocation in preparation for a temporary load increase. As a result, it becomes possible to install more logical partitions in a single storage, and it is possible to improve the utilization efficiency of the storage.
 本実施形態は、物理ストレージ装置のリソースを論理区画に分割して利用する構成を前提とする。リソースには例えば、ディスク、メモリ、プロセッサ、FC(Fibre Channel)ポート、などが含まれる。論理区画に割り当てられるリソースは、物理的なリソースの単位であっても、物理的なリソースが論理的に分割された単位であってもよい。物理ストレージ装置の論理区画制御機能は、特定の論理区画に特定のリソースを割り当て、特定の論理区画に対するI/O命令を、特定のリソースを用いて処理するように制御する。また、物理ストレージ装置は、通信ネットワークを介して接続された管理サーバ(管理計算機)上の管理ソフトウェアにより管理される。管理ソフトウェアは、リソース種別毎に、論理区画に割り当てられたリソースの利用を保証しつつ、そのリソースの中から他の論理区画へ貸し出すリソースを選択するための貸出条件(変更条件)を管理する。この貸出条件は、貸出前のリソースの使用状況や貸出後のリソースの返却の方法などを定義する。 This embodiment is premised on a configuration in which physical storage device resources are divided into logical partitions for use. The resource includes, for example, a disk, a memory, a processor, an FC (Fibre Channel) port, and the like. The resource allocated to the logical partition may be a physical resource unit or a unit obtained by logically dividing the physical resource. The logical partition control function of the physical storage apparatus controls to allocate a specific resource to a specific logical partition and process an I / O instruction for the specific logical partition using the specific resource. The physical storage device is managed by management software on a management server (management computer) connected via a communication network. The management software manages the lending conditions (change conditions) for selecting resources to be lent to other logical partitions from among the resources while guaranteeing the use of the resources allocated to the logical partitions for each resource type. These lending conditions define the usage status of resources before lending, the method of returning resources after lending, and the like.
 例えば、管理ソフトウェアは、定期的に各論理区画の負荷をモニタリングする(S1)。ここで、論理区画Bに割り当てられたメモリの使用率が一定の閾値を越えることにより、論理区画Bのメモリが不足していると判定された場合(S2)、管理ソフトウェアは、各論理区画のメモリ使用状況に基づいて、管理ソフトウェアが管理している貸出条件に合致するメモリが存在するかを確認する(S3)。貸出条件は例えば、貸出元の論理区画が即座にメモリを貸出先へ貸し出すことができ、且つ貸出元がそのメモリを必要とするときに貸出先が即座にそのメモリを返却できることである。このような貸出条件は例えば、貸出前に貸出元がメモリをリードキャッシュとして用いており、且つ貸出後に貸出先がそのメモリをリードキャッシュとして使用することを、定義する。ここで、貸出元がそのメモリをリードキャッシュとして用いていることは、そのメモリに格納されたデータがディスクにも格納されており廃棄可能であることを示す。貸出先がそのメモリをリードキャッシュとして使用することは、貸出元がそのメモリを必要とする場合に即座にデータを廃棄して貸出元へ返却できることを示す。この貸出条件に合致するメモリが、論理区画Aに存在すると判定された場合、管理ソフトウェアは、論理区画Aの当該メモリを論理区画Bに一時貸出する指示を、物理ストレージ装置へ発行する(S4)。 For example, the management software periodically monitors the load on each logical partition (S1). Here, when it is determined that the memory of the logical partition B is insufficient because the usage rate of the memory allocated to the logical partition B exceeds a certain threshold value (S2), the management software sets the logical partition B to the logical partition B. Based on the memory usage status, it is confirmed whether there is a memory that matches the lending conditions managed by the management software (S3). The lending condition is, for example, that the logical partition of the lending source can immediately lend the memory to the lending destination, and the lending destination can return the memory immediately when the lending source needs the memory. Such lending conditions define, for example, that the lending source uses the memory as a read cache before lending, and that the lending destination uses the memory as a read cache after lending. Here, the fact that the lending source uses the memory as a read cache indicates that the data stored in the memory is also stored in the disk and can be discarded. The use of the memory as a read cache by the lending destination means that when the lending source needs the memory, the data can be immediately discarded and returned to the lending source. When it is determined that the memory that matches the lending condition exists in the logical partition A, the management software issues an instruction to temporarily lend the memory in the logical partition A to the logical partition B to the physical storage device (S4). .
 なお、貸出元がリードキャッシュであるメモリに格納されていたデータを廃棄し、そのメモリを貸し出すことにより、そのデータに対するキャッシュミスが発生し、ディスクのリードが発生する場合があるが、キャッシュミスを考慮して貸出元の性能要件が設定されている場合、貸出により貸出元の性能が性能要件を下回ることなく、貸出元の性能要件を保証できる。 Note that discarding the data stored in the memory whose lending source is the read cache and lending the memory may cause a cache miss for the data and cause a disk read. When the performance requirement of the lender is set in consideration, the performance requirement of the lender can be guaranteed without lending the performance of the lender less than the performance requirement.
 このように本実施形態によれば、貸出元の論理区画に割り当てられたリソースの利用を保証しつつ、リソースを論理区画間で融通することができる。論理区画に割り当てられ使用されていないリソースを他の論理区画が使用することにより、ストレージ装置内のリソースの利用効率を向上させる。 As described above, according to the present embodiment, resources can be interchanged between logical partitions while guaranteeing the use of resources allocated to the rented logical partition. The use efficiency of the resources in the storage apparatus is improved by using the resources that are allocated to the logical partition and are not used by other logical partitions.
 以下、本発明の実施例について説明する。 Hereinafter, examples of the present invention will be described.
 図2は、本発明の実施例の計算機システムの構成を示す。 FIG. 2 shows the configuration of the computer system according to the embodiment of the present invention.
 当該計算機システムは、ホスト計算機1000、FCスイッチ1100、物理ストレージ装置1200、IPスイッチ1300、管理サーバ1400を含む。 The computer system includes a host computer 1000, an FC switch 1100, a physical storage device 1200, an IP switch 1300, and a management server 1400.
 ホスト計算機1000は、一般的なサーバであってもよいし、仮想化機能を有するサーバであってもよい。ホスト計算機1000が一般的なサーバである場合、ホスト計算機1000上で稼働するOS(Operating System)やアプリケーション(DBやファイルシステムなど)が、物理ストレージ装置1200により提供される記憶領域に対してデータの入出力を行う。また、ホスト計算機1000が仮想化機能を有するサーバである場合、この仮想化機能あるいは、仮想化機能により提供されるVM(Virtual Machine)上のアプリケーションが、物理ストレージ装置1200により提供される記憶領域に対してデータの入出力を行う。 The host computer 1000 may be a general server or a server having a virtualization function. When the host computer 1000 is a general server, an OS (Operating System) or an application (DB, file system, etc.) running on the host computer 1000 stores data in a storage area provided by the physical storage device 1200. Perform input / output. Further, when the host computer 1000 is a server having a virtualization function, this virtualization function or an application on a VM (Virtual Machine) provided by the virtualization function is stored in a storage area provided by the physical storage device 1200. Input / output data.
 ホスト計算機1000と物理ストレージ装置1200は、FCケーブルを介して接続されている。この接続を用いて、ホスト計算機1000、あるいはホスト計算機1000上で稼働するVMは、物理ストレージ装置1200により提供される記憶領域に対してデータの入出力を行う。ホスト計算機1000と物理ストレージ装置1200が直接接続されてもよいが、複数のホスト計算機1000や複数の物理ストレージ装置1200がFCスイッチ1100を介して接続されてもよい。FCスイッチ1100同士を接続する事で、さらに多くのホスト計算機1000と物理ストレージ装置1200が接続されてもよい。本実施例では、ホスト計算機1000と物理ストレージ装置1200は、FCケーブルにより接続されているが、iSCSI(Internet Small Computer System Interface)などのプロトコルを使用する場合はIP(Internet Protocol)ケーブルにより接続されてもよいし、その他のデータ入出力用に利用可能な接続方式で接続されてもよい。その場合、FCスイッチ1100の代わりにIPスイッチや、その他の接続方式に適したスイッチング機能を持つ機器が導入される。 The host computer 1000 and the physical storage device 1200 are connected via an FC cable. Using this connection, the host computer 1000 or the VM running on the host computer 1000 inputs / outputs data to / from the storage area provided by the physical storage device 1200. The host computer 1000 and the physical storage device 1200 may be directly connected, but a plurality of host computers 1000 and a plurality of physical storage devices 1200 may be connected via the FC switch 1100. More host computers 1000 and physical storage devices 1200 may be connected by connecting the FC switches 1100 to each other. In this embodiment, the host computer 1000 and the physical storage device 1200 are connected by an FC cable, but when using a protocol such as iSCSI (Internet Small Computer System Interface), they are connected by an IP (Internet Protocol) cable. Alternatively, they may be connected by other connection methods available for data input / output. In that case, instead of the FC switch 1100, an IP switch or a device having a switching function suitable for other connection methods is introduced.
 管理サーバ1400は、IPケーブルにより物理ストレージ装置1200と接続され、物理ストレージ装置1200を管理するためのサーバである。管理サーバ1400と物理ストレージ装置1200が直接接続されてもよいが、複数の管理サーバ1400や複数の物理ストレージ装置1200がIPスイッチ1300を介して接続されてもよい。IPスイッチ1300同士を接続する事で、さらに多くの管理サーバ1400と物理ストレージ装置1200を接続する事が出来る。本実施例では、管理サーバ1400と物理ストレージ装置1200はIPケーブルにより接続されているが、そのほかの管理用のデータ送受信が可能な接続方式で接続されてもよい。その場合、IPスイッチ1300の代わりに、その他の接続方式に適したスイッチング機能を持つ機器が導入される。 The management server 1400 is connected to the physical storage device 1200 via an IP cable and is a server for managing the physical storage device 1200. The management server 1400 and the physical storage device 1200 may be directly connected, but a plurality of management servers 1400 and a plurality of physical storage devices 1200 may be connected via the IP switch 1300. By connecting the IP switches 1300 to each other, more management servers 1400 and physical storage devices 1200 can be connected. In this embodiment, the management server 1400 and the physical storage device 1200 are connected by an IP cable, but may be connected by other connection methods capable of transmitting and receiving management data. In that case, instead of the IP switch 1300, a device having a switching function suitable for other connection methods is introduced.
 物理ストレージ装置1200は更に、他の物理ストレージ装置1200に接続されてもよい。 The physical storage device 1200 may be further connected to another physical storage device 1200.
 本実施例の物理ストレージ装置1200は、管理サーバ1400により、複数の論理区画1500に分割されて管理される。物理ストレージ装置1200の内部構成については後述する。 The physical storage device 1200 of this embodiment is divided into a plurality of logical partitions 1500 and managed by the management server 1400. The internal configuration of the physical storage device 1200 will be described later.
 管理サーバ1400は、入力装置1410、出力装置1420、CPU1430、メモリ1440、NIC(Network Interface Card)1450を含む。入力装置1410は、キーボード、マウス、タブレット、タッチペンなどである。出力装置1420は、ディスプレイやプリンタ、スピーカなどである。CPU1430は、メモリ1440に格納された各種プログラムに従って処理を実行する。メモリ1440は、RAM(Random Access Memory)などのデータ格納領域であり、各種プログラムやデータ、一時データなどを格納する。特に本実施例では、論理区画設定プログラム1441と、論理区画設定管理情報1442を格納する。NIC(Network Interface Card)1450はIPケーブルを接続するI/F(Interface)カードである。管理用のネットワークがIPネットワーク以外のものである場合、NIC1450はそのネットワークに適したI/Fカードである。 The management server 1400 includes an input device 1410, an output device 1420, a CPU 1430, a memory 1440, and a NIC (Network Interface Card) 1450. The input device 1410 is a keyboard, a mouse, a tablet, a touch pen, or the like. The output device 1420 is a display, a printer, a speaker, or the like. The CPU 1430 executes processing according to various programs stored in the memory 1440. The memory 1440 is a data storage area such as a RAM (Random Access Memory), and stores various programs, data, temporary data, and the like. Particularly in this embodiment, a logical partition setting program 1441 and logical partition setting management information 1442 are stored. A NIC (Network Interface Card) 1450 is an I / F (Interface) card for connecting an IP cable. When the management network is other than the IP network, the NIC 1450 is an I / F card suitable for the network.
 論理区画設定プログラム1441によるCPU1430の動作については後述する。 The operation of the CPU 1430 by the logical partition setting program 1441 will be described later.
 ホスト計算機1000、FCスイッチ1100、物理ストレージ装置1200、IPスイッチ1300、管理サーバ1400の数は、本図に記載の数に限られず、1つ以上であればいくつであってもよい。また、管理サーバ1400は物理ストレージ装置1200内に設けられていてもよい。 The number of the host computer 1000, the FC switch 1100, the physical storage device 1200, the IP switch 1300, and the management server 1400 is not limited to the number shown in the figure, and may be any number as long as it is one or more. Further, the management server 1400 may be provided in the physical storage device 1200.
 図3は、物理ストレージ装置1200の構成を示す。 FIG. 3 shows the configuration of the physical storage device 1200.
 物理ストレージ装置1200は、FEPK(Front-End Package)1210、CMPK(Cache Memory Package)1220、MPPK(Microprocessor Package)1230、BEPK(Back-End Package)1240、ディスク1250、内部スイッチ1260を含む。 The physical storage device 1200 includes an FEPK (Front-End Package) 1210, a CMPK (Cache Memory Package) 1220, an MPPK (Microprocessor Package) 1230, a BEPK (Back-End Package) 1240, a disk 1250, and an internal switch 1260.
 FEPK1210、CMPK1220、MPPK1230、BEPK1240は、高速な内部バスなどで互いに接続されている。この接続は、内部スイッチ1260を介して行われてもよい。 FEPK1210, CMPK1220, MPPK1230, and BEPK1240 are connected to each other by a high-speed internal bus or the like. This connection may be made via an internal switch 1260.
 FEPK1210は、データ入出力用のインタフェースであるFEIF(Front-End Interface)1211を一つ以上含み、これを介してホスト計算機1000や他の物理ストレージ装置1200やFCスイッチ1100と接続される。データ入出力がFCケーブルを介した通信により行われる場合はFCポートが用いられるが、それ以外の通信形態で行われる場合はその形態に適したI/Fが用いられる。 The FEPK 1210 includes at least one FEIF (Front-End Interface) 1211 that is an interface for data input / output, and is connected to the host computer 1000, another physical storage device 1200, and the FC switch 1100 through the FEIF. When data input / output is performed by communication via an FC cable, an FC port is used. When data input / output is performed by another communication mode, an I / F suitable for the mode is used.
 CMPK1220は、RAMやSSDなどの高速アクセスが可能な記憶領域であるキャッシュメモリ1221を一つ以上備えている。キャッシュメモリ1221はホスト計算機1000との入出力を行う際の一時データや、物理ストレージ装置1200が各種機能を動作させるための設定情報や物理ストレージ装置1200の構成情報などが格納される。 The CMPK 1220 includes one or more cache memories 1221 that are high-speed accessible storage areas such as RAM and SSD. The cache memory 1221 stores temporary data when performing input / output with the host computer 1000, setting information for the physical storage device 1200 to operate various functions, configuration information of the physical storage device 1200, and the like.
 MPPK1230は、NIC1231、MP(Microprocessor)1232、LM(Local Memory)1233を含む。 The MPPK 1230 includes a NIC 1231, an MP (Microprocessor) 1232, and an LM (Local Memory) 1233.
 NIC1231は、管理用のインタフェースであり、管理サーバ1400やIPスイッチ1300に接続される。物理ストレージ装置1200の管理がIPケーブルを介した通信により行われる場合はIPポートが用いられるが、それ以外の通信形態で行われる場合はその形態に適したI/Fが用いられる。 The NIC 1231 is a management interface and is connected to the management server 1400 and the IP switch 1300. When the management of the physical storage device 1200 is performed by communication via an IP cable, an IP port is used, but when it is performed in a communication mode other than that, an I / F suitable for the mode is used.
 LM1233は、RAMなどの高速アクセス可能な記憶領域であり、ホスト計算機1000との入出力を行うためのプログラム、物理ストレージ装置1200の各種機能のプログラムである制御プログラム1234、それらの管理情報1235を格納する。特に本実施例のLM1233は、設定された論理区画に応じて入出力処理や物理ストレージ装置1200の各種機能を制御するための論理区画情報1236を格納する。 The LM 1233 is a high-speed accessible storage area such as a RAM, and stores a program for performing input / output with the host computer 1000, a control program 1234 that is a program for various functions of the physical storage device 1200, and management information 1235 thereof. To do. In particular, the LM 1233 of this embodiment stores logical partition information 1236 for controlling input / output processing and various functions of the physical storage device 1200 according to the set logical partition.
 MP1232は、LM1233に格納されたプログラムに従って処理を実行するプロセッサである。LM1233に格納されたプログラムに基づく処理を実行するプロセッサが複数のコアを含む場合、MP1232はコアであってもよい。 The MP1232 is a processor that executes processing according to a program stored in the LM1233. When a processor that executes processing based on a program stored in the LM 1233 includes a plurality of cores, the MP 1232 may be a core.
 NIC1231、MP1232、LM1233の数は、本図に記載の数に限られず、1つ以上であればいくつであってもよい。 The number of NIC1231, MP1232, and LM1233 is not limited to the number described in this figure, and may be any number as long as it is one or more.
 BEPK1240は、ディスク1250と接続するためのインタフェースであるBEIF(Back-End Interface)1241を備える。この接続形態は、SCSI(Small Computer System Interface)、SATA(Serial Advanced Technology Attachment)、SAS(Serial Attached SCSI)などが一般的であるが、その他の接続形態でもよい。 The BEPK 1240 includes a BEIF (Back-End Interface) 1241 that is an interface for connecting to the disk 1250. This connection form is generally SCSI (Small Computer System Interface), SATA (Serial Advanced Technology Attachment), SAS (Serial Attached SCSI), etc., but other connection forms may be used.
 ディスク1250は、HDD、SSD、CDドライブ、DVDドライブなどの記憶装置である。 The disk 1250 is a storage device such as an HDD, SSD, CD drive, or DVD drive.
 FEPK1210、CMPK1220、MPPK1230、BEPK1240、ディスク1250、内部スイッチ1260の数は、本図に記載の数に限られず、1つ以上であればいくつであってもよい。 The number of FEPK1210, CMPK1220, MPPK1230, BEPK1240, disk 1250, and internal switch 1260 is not limited to the number shown in this figure, and may be any number as long as it is one or more.
 ここで、制御プログラム1234の機能を説明する。 Here, the function of the control program 1234 will be described.
 制御プログラム1234は、一般的な物理ストレージ装置が保有するデータ入出力の処理プログラムを含んでいる。 The control program 1234 includes a data input / output processing program held by a general physical storage device.
 制御プログラム1234は、複数のディスク1250を用いてRAID(Redundant Arrays of Inexpensive Disks)グループ1270を構成し、これを一つ以上の論理的な記憶領域である論理ボリューム1271に分割し、論理ボリューム1271をホスト計算機に提供することができる。この場合、データ入出力の処理は、この論理ボリューム1271に対する入出力をディスク1250への入出力に変換する処理を含む。本実施例ではこの論理ボリューム1271へのデータ入出力を行うことを前提とする。 The control program 1234 configures a RAID (Redundant Arrays of Inexpensive Disks) group 1270 using a plurality of disks 1250, divides this into logical volumes 1271, which are one or more logical storage areas, and creates a logical volume 1271. It can be provided to the host computer. In this case, the data input / output processing includes processing for converting input / output to / from the logical volume 1271 into input / output to the disk 1250. In this embodiment, it is assumed that data input / output to the logical volume 1271 is performed.
 また、この入出力の処理は、他の論理区画1500の性能への影響を回避するために、各論理区画1500が割り当てられたリソースだけを使って処理を行うように制御する。例えば、論理区画1500が入出力を行う際にMP1232の処理能力を使う。MP1232の使用率で50%が論理区画1500に割り当てられている場合、制御プログラム1234は、この使用率をモニタリングし、使用率が閾値に達した場合、処理をスリープして他の論理区画1500の処理のためにMP1232を明け渡すように制御する。あるいは、キャッシュメモリ1221の使用量で50%が論理区画1500に割り当てられている場合、制御プログラム1234は、この使用率をモニタリングし、使用率が閾値に達した場合、当該論理区画で使用しているキャッシュメモリ1221の一部をデステージなどにより解放し、空き領域を作った後に、処理を進めるなどの制御を行う。 Also, this input / output processing is controlled so that processing is performed using only the resources to which each logical partition 1500 is allocated in order to avoid the influence on the performance of other logical partitions 1500. For example, the processing capacity of the MP1232 is used when the logical partition 1500 performs input / output. When 50% of the usage rate of the MP1232 is allocated to the logical partition 1500, the control program 1234 monitors this usage rate, and when the usage rate reaches the threshold value, the control program 1234 sleeps and processes the other logical partition 1500. Control to give up MP1232 for processing. Alternatively, when 50% of the usage amount of the cache memory 1221 is allocated to the logical partition 1500, the control program 1234 monitors this usage rate, and when the usage rate reaches a threshold, it is used in the logical partition. A part of the cache memory 1221 is released by destage or the like, and after a free area is created, control such as processing is performed.
 このように論理区画1500が割り当てられたリソースのみを使って処理を行う方法はいくつか考え得るが、本実施例でどのような方法で行われるかは特定しない。本制御により、各論理区画1500の処理は、他の論理区画1500からの影響を受けずに、割り当てられた分のリソースを使用して進められる。 There are several methods for performing processing using only resources to which the logical partition 1500 is assigned in this way, but it is not specified what method is used in this embodiment. With this control, the processing of each logical partition 1500 is advanced using the allocated resources without being affected by the other logical partitions 1500.
 また、制御プログラム1234は、二つの物理ストレージ装置1200間でデータをコピーするリモートコピー機能を有してもよい。本機能により、コピー元の物理ストレージ装置1200のMP1232は、コピー元の論理ボリューム1271のデータを読み出し、読み出されたデータを、FEIF1211を介してコピー先の物理ストレージ装置1200へ送信する。コピー先の物理ストレージ装置1200のMP1232は、このデータを、FEIF1211を介して受信し、受信されたデータをコピー先の論理ボリューム1271に書き込む。このようにしてコピー元論理ボリュームのデータを全てコピー先論理ボリュームにコピーする。 Further, the control program 1234 may have a remote copy function for copying data between two physical storage devices 1200. With this function, the MP 1232 of the copy source physical storage device 1200 reads the data of the copy source logical volume 1271 and transmits the read data to the copy destination physical storage device 1200 via the FEIF 1211. The MP 1232 of the copy destination physical storage device 1200 receives this data via the FEIF 1211 and writes the received data to the copy destination logical volume 1271. In this way, all the data of the copy source logical volume is copied to the copy destination logical volume.
 また、ホスト計算機1000からコピー中のコピー済領域へのライトは、コピー元論理ボリュームとコピー先論理ボリュームの両方に実施する必要がある。このため、コピー元の物理ストレージ装置1200は、ホスト計算機1000からのライト命令を、コピー先の物理ストレージ装置1200へ転送する。このとき、ライトの速度が転送の速度を上回ることがある。この場合、コピー元の物理ストレージ装置1200は、キャッシュメモリ1221の領域をバッファとして使用する。 Also, it is necessary to write from the host computer 1000 to the copied area being copied to both the copy source logical volume and the copy destination logical volume. For this reason, the copy source physical storage apparatus 1200 transfers the write command from the host computer 1000 to the copy destination physical storage apparatus 1200. At this time, the write speed may exceed the transfer speed. In this case, the copy source physical storage device 1200 uses the area of the cache memory 1221 as a buffer.
 ホスト計算機1000からコピーが済んでいない領域へのライトは、コピー元論理ボリュームのみに実施される。 The write from the host computer 1000 to the uncopied area is performed only on the copy source logical volume.
 これらの物理ストレージ装置1200の機能は、さまざまな高機能化や簡略化が可能であるが、本発明はその本質を変えることなくそれらの機能へ適用可能であるため、本実施例では、上述の機能を前提として説明を行う。 The functions of these physical storage devices 1200 can be variously enhanced and simplified, but the present invention can be applied to these functions without changing the essence thereof. The explanation is based on the premise of the function.
 以下、管理サーバ1400に格納される論理区画設定管理情報1442について説明する。 Hereinafter, the logical partition setting management information 1442 stored in the management server 1400 will be described.
 論理区画設定管理情報1442は、リソース管理テーブル、論理区画管理テーブル、リソース割当管理テーブル、リソース貸出返却管理テーブル、リソース貸出状況管理テーブルを含む。 The logical partition setting management information 1442 includes a resource management table, a logical partition management table, a resource allocation management table, a resource lending return management table, and a resource lending status management table.
 図4は、リソース管理テーブルを示す。 FIG. 4 shows a resource management table.
 リソース管理テーブルは、リソース毎のエントリを含む。一つのリソースに対応するエントリは、ストレージ装置ID3000、リソース種別3010、リソースID3020、性能・容量3030を含む。ストレージ装置ID3000は、当該リソースを含む物理ストレージ装置1200を示すID(識別子)である。リソース種別3010は、当該リソースの種別を示す。リソースID3020は、当該リソースの実体を指し示すIDである。性能・容量3030は、当該リソースの最大性能又は最大容量を示す。 The resource management table includes an entry for each resource. An entry corresponding to one resource includes a storage apparatus ID 3000, a resource type 3010, a resource ID 3020, and a performance / capacity 3030. The storage device ID 3000 is an ID (identifier) indicating the physical storage device 1200 including the resource. The resource type 3010 indicates the type of the resource. The resource ID 3020 is an ID indicating the entity of the resource. The performance / capacity 3030 indicates the maximum performance or the maximum capacity of the resource.
 リソース種別3010の値は例えば、MP1232のコアであるMPコアを示す「MP_Core」、キャッシュメモリ1221を示す「キャッシュメモリ」、FEIF1211を示す「FEIF」、BEIF1241を示す「BEIF」、ディスク1250を示す「HDD」の何れかである。性能・容量3030の値は例えば、リソース種別3010に応じて、MP1232のコアの処理速度(MIPS)、キャッシュメモリ1221やディスク1250の容量(GB)、FEIF1211やBEIF1241の性能(Gbps)の何れかである。 The value of the resource type 3010 is, for example, “MP_Core” indicating the MP core that is the core of the MP1232, “cache memory” indicating the cache memory 1221, “FEIF” indicating the FEIF 1211, “BEIF” indicating the BEIF 1241, and “ HDD ". The value of the performance / capacity 3030 is, for example, one of the MP1232 core processing speed (MIPS), the capacity of the cache memory 1221 and the disk 1250 (GB), and the performance of the FEIF 1211 and BEIF1241 (Gbps) according to the resource type 3010. is there.
 なお、リソース管理テーブルは、論理区画に割り当てられていないリソースを未割当リソースとして管理してもよい。 Note that the resource management table may manage resources that are not allocated to logical partitions as unallocated resources.
 論理区画設定プログラム1441は、管理者からの入力や物理ストレージ装置1200から収集した情報を基に、リソース管理テーブルを設定する。 The logical partition setting program 1441 sets the resource management table based on information input from the administrator and information collected from the physical storage device 1200.
 図5は、論理区画管理テーブルを示す。 FIG. 5 shows a logical partition management table.
 論理区画管理テーブルは、論理区画毎のエントリを含む。一つの論理区画1500に対応するエントリは、ストレージ装置ID4000、論理区画ID4010、性能要件4020、負荷追従性能4030を含む。ストレージ装置ID4000は、当該論理区画を含む物理ストレージ装置1200を示すIDである。論理区画ID4010は、当該論理区画を示すIDである。性能要件4020は、当該論理区画に要求される性能を示し、例えばIOPS(Input/Output Per Second)で表される。負荷追従性能4030は、当該論理区画の負荷が上昇した際に、論理区画へ割り当てられたリソース以外のリソースを使用できるようになるまでの時間を示す。負荷追従性能4030は、即時に他のリソースが使用可能になる場合や、設定された時間までに他のリソースが使用可能になる場合がある。 The logical partition management table includes an entry for each logical partition. An entry corresponding to one logical partition 1500 includes a storage device ID 4000, a logical partition ID 4010, a performance requirement 4020, and a load following performance 4030. The storage device ID 4000 is an ID indicating the physical storage device 1200 including the logical partition. The logical partition ID 4010 is an ID indicating the logical partition. The performance requirement 4020 indicates the performance required for the logical partition, and is represented by IOPS (Input / Output Per Second), for example. The load following performance 4030 indicates a time until a resource other than the resource allocated to the logical partition can be used when the load of the logical partition increases. In the load following performance 4030, other resources may be available immediately, or other resources may be available by a set time.
 論理区画設定プログラム1441は、管理者が論理区画1500を作成するときに、論理区画1500のユーザとの契約等に基づいて、論理区画管理テーブルを設定する。 The logical partition setting program 1441 sets the logical partition management table based on a contract with the user of the logical partition 1500 when the administrator creates the logical partition 1500.
 図6は、リソース割当管理テーブルを示す。 FIG. 6 shows a resource allocation management table.
 リソース割当管理テーブルは、論理区画1500とその論理区画に割り当てられているリソースとの組み合わせに対応するエントリを含む。一つの論理区画1500及びリソースの組み合わせに対応するエントリは、ストレージ装置ID5000、論理区画ID5010、リソース種別5020、リソースID5030、割当状況5040、使用状況5050を含む。 The resource allocation management table includes entries corresponding to combinations of the logical partition 1500 and resources allocated to the logical partition. An entry corresponding to one logical partition 1500 and a combination of resources includes a storage device ID 5000, a logical partition ID 5010, a resource type 5020, a resource ID 5030, an allocation status 5040, and a usage status 5050.
 ストレージ装置ID5000は、当該論理区画を含む物理ストレージ装置1200を示すIDである。論理区画ID5010は、当該論理区画を示すIDである。リソース種別5020は、当該リソースの種別を示す。リソース種別5020の値は、リソース種別3010と同様である。リソースID5030は、当該論理区画に割り当てられている当該リソースを示すIDである。 The storage device ID 5000 is an ID indicating the physical storage device 1200 including the logical partition. The logical partition ID 5010 is an ID indicating the logical partition. The resource type 5020 indicates the type of the resource. The value of the resource type 5020 is the same as that of the resource type 3010. The resource ID 5030 is an ID indicating the resource assigned to the logical partition.
 割当状況5040は、当該リソースのうち、当該論理区画への割当の状況を示し、リソース種別に応じた値を示す。リソース種別5020が、MPコアや、FEIF、BEIFを示す場合、割当状況5040は、当該リソースの最大性能に対して、当該論理区画により使用可能な割合である割当率を示す。本実施例では、キャッシュメモリ1221は、4KB(4096Byte)のブロックを単位として管理されている。当該論理区画に割り当てられた全てのブロックがリソースとして、リソース割当管理テーブルへ登録される。リソース種別5020が、キャッシュメモリを示す場合、割当状況5040は、当該リソースであるブロックの先頭アドレスを示す。リソース種別5020が、ディスクを示す場合、当該リソースのうち、当該論理区画により使用可能な容量を示す。 Allocation status 5040 indicates the status of allocation to the logical partition among the resources, and indicates a value corresponding to the resource type. When the resource type 5020 indicates MP core, FEIF, or BEIF, the allocation status 5040 indicates an allocation rate that is a ratio that can be used by the logical partition with respect to the maximum performance of the resource. In this embodiment, the cache memory 1221 is managed in units of 4 KB (4096 bytes) blocks. All blocks allocated to the logical partition are registered in the resource allocation management table as resources. When the resource type 5020 indicates a cache memory, the allocation status 5040 indicates the head address of the block that is the resource. When the resource type 5020 indicates a disk, it indicates the capacity that can be used by the logical partition in the resource.
 使用状況5050は、当該リソースのうち、当該論理区画による実際の使用状況を示し、リソース種別に応じた値を示す。リソース種別5020が、MPコアや、FEIF、BEIF、ディスクを示す場合、使用状況5050は、当該リソースの最大性能又は容量に対して、当該論理区画により使用されている割合である使用率を示す。リソース種別5020が、キャッシュメモリを示す場合、使用状況5050は、当該ブロックの用途(役割)を示す。この用途は、当該ブロックがどのようなデータを格納しているかを示す。例えば、キャッシュメモリの使用状況5050は、ホスト計算機1000からのライト命令に基づきディスク1250へ書き込まれる前のデータをキャッシュとして格納するライトキャッシュや、ディスク1250から読み出されたデータをキャッシュとして格納するリードキャッシュ等を示す。また、キャッシュメモリは、リモートコピー中に発生するライトデータを格納するリモートコピーバッファとして用いられる場合がある。このときのキャッシュメモリの使用状況5050は、転送前のライトデータを格納している転送前リモートコピーバッファ(転送前RC Buffer)や、転送が完了したライトデータを格納している転送済リモートコピーバッファ(転送済RC Buffer)等を示す。当該リソースが他の論理区画1500に貸し出されている場合、使用状況5050は、当該論理区画により使用されている使用率に、貸し出している使用率を加えた使用率を示す。例えば、貸出元の論理区画1500が或るMPコアを10%分使っており、同一のMPコアを他の論理区画1500に10%分貸し出している場合、使用状況5050の値は、20%である。FEIF、BEIF、ディスクの使用状況5050についても同様である。キャッシュメモリが貸し出されている場合、キャッシュメモリはブロック単位で貸し出されるため、使用状況5050は、貸出先での当該ブロックの用途を示す。当該リソースが未使用である場合、使用状況5050の値は、未使用を示す「-」である。 The usage status 5050 indicates the actual usage status of the logical partition among the resources, and indicates a value corresponding to the resource type. When the resource type 5020 indicates an MP core, FEIF, BEIF, or disk, the usage status 5050 indicates a usage rate that is a ratio used by the logical partition with respect to the maximum performance or capacity of the resource. When the resource type 5020 indicates a cache memory, the usage status 5050 indicates the usage (role) of the block. This use indicates what data is stored in the block. For example, the cache memory usage status 5050 is a write cache that stores data before being written to the disk 1250 based on a write command from the host computer 1000 as a cache, or a read that stores data read from the disk 1250 as a cache. Indicates cache etc. The cache memory may be used as a remote copy buffer for storing write data generated during remote copy. At this time, the cache memory usage status 5050 includes a pre-transfer remote copy buffer (pre-transfer RC buffer) storing write data before transfer, and a transferred remote copy buffer storing write data that has been transferred. (Transferred RC Buffer) etc. When the resource is lent to another logical partition 1500, the usage status 5050 indicates a usage rate obtained by adding the rented usage rate to the usage rate used by the logical partition. For example, when the lending logical partition 1500 uses a certain MP core for 10% and the same MP core is lent to another logical partition 1500 for 10%, the usage status 5050 value is 20%. is there. The same applies to the FEIF, BEIF, and disk usage status 5050. When the cache memory is lent out, the cache memory is lent out in units of blocks, so the usage status 5050 indicates the usage of the block at the lent destination. When the resource is unused, the value of the usage status 5050 is “−” indicating that it is unused.
 このように、リソースの割当状況により示されるリソース量(割当量)は、MPコアの処理性能、FEIFやBEIFの帯域、キャッシュメモリのブロック数やサイズ、ディスクの容量等の絶対量であっても良いし、割当の有無であってもよいし、物理リソースのリソース量に対し論理区画に割り当てられているリソース量の割合であってもよい。同様に、使用状況により示されるリソース量(使用量)は、絶対量であっても良いし、使用の有無であっても良いし、用途であってもよいし、論理区画に割り当てられているリソース量に対しその論理区画に使用されているリソース量の割合であってもよい。 As described above, the resource amount (allocation amount) indicated by the resource allocation state may be an absolute amount such as the MP core processing performance, the FEIF or BEIF bandwidth, the number or size of the cache memory blocks, or the disk capacity. It may be the presence or absence of allocation, or the ratio of the resource amount allocated to the logical partition to the resource amount of the physical resource. Similarly, the resource amount (usage amount) indicated by the use status may be an absolute amount, may or may not be used, may be an application, and is allocated to a logical partition. It may be a ratio of the resource amount used for the logical partition to the resource amount.
 論理区画設定プログラム1441は、管理者が論理区画1500を作成するときに、管理者からの入力や物理ストレージ装置1200から収集した情報を基に、リソース割当管理テーブルを設定する。このとき、論理区画設定プログラム1441は、論理区画にリソースを割り当てることを指示する割当指示を、物理ストレージ装置1200へ発行する。また、論理区画設定プログラム1441は、定期的なモニタリングにより使用状況5050を更新する。 The logical partition setting program 1441 sets the resource allocation management table based on information input from the administrator and information collected from the physical storage device 1200 when the administrator creates the logical partition 1500. At this time, the logical partition setting program 1441 issues an allocation instruction for instructing allocation of resources to the logical partition to the physical storage device 1200. Further, the logical partition setting program 1441 updates the usage status 5050 by regular monitoring.
 図7は、リソース変更管理テーブルを示す。 FIG. 7 shows a resource change management table.
 二つの論理区画の間のリソースの貸出処理及び返却処理の夫々を、そのリソースを使用する論理区画を変更する変更処理と呼ぶことがある。本テーブルは、変更処理のための前処理である準備処理を決定するためのテーブルである。 Each of the resource lending process and the return process between two logical partitions may be referred to as a change process that changes the logical partition that uses the resource. This table is a table for determining a preparation process that is a pre-process for a change process.
 リソース変更管理テーブルは、条件毎のエントリを含む。一つの条件に対応するエントリは、ストレージ装置ID6000、リソース種別6010、状態条件6020、準備処理6030、処理時間6040、必要リソース6050を含む。 The resource change management table includes an entry for each condition. An entry corresponding to one condition includes a storage apparatus ID 6000, a resource type 6010, a state condition 6020, a preparation process 6030, a processing time 6040, and a necessary resource 6050.
 ストレージ装置ID6000は、物理ストレージ装置1200を示すIDである。リソース種別6010は、変更処理が可能なリソースの種別を示す。状態条件6020は、準備処理の必要性を判定するためのリソースの状態の条件を示す。例えば、リソース種別6010がキャッシュメモリを示す場合の状態条件6020は、「変更処理前のブロックがライトキャッシュとして使用されている場合」である。準備処理6030は、当該リソースが当該条件に当てはまる場合に当該リソースに対して行われる準備処理を示す。準備処理が不要である場合、準備処理6030は「-」を示す。処理時間6040は、当該準備処理に必要な時間について、当該準備処理の単位を処理する単位処理時間を示す。例えば、変更処理前のブロックの状態が状態条件6020のうち、ライトキャッシュであると判定された場合、準備処理としてライトキャッシュに格納されたデータをデステージすることが必要になる。準備処理6030がデステージを示す場合、デステージされるデータ量により処理時間が変わるので、処理時間6040は例えば、100MBのデータのデステージの処理につき5秒掛かることを示す「5sec/100MB」である。当該準備処理が不要である場合、すぐに当該リソースを貸出及び返却することができるため、処理時間6040の値は例えば、「即時」である。必要リソース6050は、当該準備処理に用いられるリソースを示す。準備処理6030がデステージを示し、当該デステージがMPコアの使用率5%を使用する場合、必要リソース6050の値は例えば、「MP_Core:5%」である。 Storage device ID 6000 is an ID indicating the physical storage device 1200. The resource type 6010 indicates the type of resource that can be changed. The state condition 6020 indicates a resource state condition for determining the necessity of the preparation process. For example, the state condition 6020 when the resource type 6010 indicates a cache memory is “when the block before the change process is used as a write cache”. The preparation process 6030 indicates a preparation process performed on the resource when the resource satisfies the condition. When the preparation process is unnecessary, the preparation process 6030 indicates “−”. The processing time 6040 indicates a unit processing time for processing the unit of the preparation process for the time required for the preparation process. For example, when the state of the block before the change process is determined to be a write cache in the state condition 6020, it is necessary to destage the data stored in the write cache as a preparation process. When the preparation process 6030 indicates destaging, the processing time varies depending on the amount of data to be destaged. Therefore, the processing time 6040 is, for example, “5 sec / 100 MB” indicating that it takes 5 seconds for the destage processing of 100 MB data. is there. When the preparation process is unnecessary, the resource can be rented and returned immediately, so the value of the processing time 6040 is “immediate”, for example. The necessary resource 6050 indicates a resource used for the preparation process. When the preparation process 6030 indicates destage and the destage uses the MP core usage rate of 5%, the value of the necessary resource 6050 is, for example, “MP_Core: 5%”.
 ここでは、キャッシュメモリ1221の或るブロックがライトキャッシュとして使用されている例を説明した。この考え方は、キャッシュメモリ1221が別の用途で使用されている場合にも適用できるし、その他のリソース種別についても適用できる。以下、別の例についても説明しておく。 Here, an example in which a certain block of the cache memory 1221 is used as a write cache has been described. This concept can be applied when the cache memory 1221 is used for another purpose, and can also be applied to other resource types. Another example will be described below.
 キャッシュメモリ1221の或るブロックがリードキャッシュとして使用されている場合、そのブロックに格納されているデータは廃棄可能であるため、準備処理は不要である。キャッシュメモリ1221の或るブロックがリモートコピーのバッファとして使用されている場合で、バッファに格納されているデータが転送済である場合、そのデータは廃棄可能であり、準備処理が不要である。一方、バッファに格納されているデータが転送前である場合、そのデータを転送先の物理ストレージ装置1200へ転送する準備処理が必要となる。 When a certain block of the cache memory 1221 is used as a read cache, the data stored in the block can be discarded, so that the preparation process is unnecessary. When a certain block of the cache memory 1221 is used as a remote copy buffer and the data stored in the buffer has been transferred, the data can be discarded and no preparation process is required. On the other hand, when the data stored in the buffer is before the transfer, a preparation process for transferring the data to the physical storage device 1200 of the transfer destination is required.
 ここで、変更処理前にリソースを使用している論理区画を変更前の論理区画と呼び、変更処理後に使用している論理区画を変更後の論理区画と呼ぶ。変更元の論理区画により使用されているMPコアが、或る論理ボリュームのI/O処理の担当として設定されている場合について説明する。変更元の論理区画に対する当該MPコアの割当率から変更分の割当率を減じた残りである残存割当率が0%になる場合、変更元の論理区画は、当該論理ボリュームにアクセスできなくなるため、当該論理ボリュームの担当を、当該MPコアから他のMPコアに変更する必要がある。これを示す状態条件6020の値は例えば、「残存割当率=0%」であり、準備処理6030の値は例えば、「論理VOL担当変更」である。更に、準備処理の所要時間は、当該MPコアに担当されている論理ボリューム数に依存するため、処理時間6040は例えば、1個の論理ボリュームの担当の変更の処理につき1秒掛かることを示す「1sec/1論理VOL」である。 Here, the logical partition that uses the resource before the change process is called the logical partition before the change process, and the logical partition that is used after the change process is called the logical partition after the change process. A case will be described in which the MP core used by the logical partition of the change source is set as the person in charge of I / O processing of a certain logical volume. When the remaining allocation rate, which is the remaining amount obtained by subtracting the allocation rate for the change from the allocation rate of the MP core for the change source logical partition, becomes 0%, the change source logical partition cannot access the logical volume. It is necessary to change the responsibility of the logical volume from the MP core to another MP core. The value of the state condition 6020 indicating this is, for example, “remaining allocation rate = 0%”, and the value of the preparation process 6030 is, for example, “change logical VOL charge”. Furthermore, since the time required for the preparation process depends on the number of logical volumes in charge of the MP core, the processing time 6040 indicates that, for example, it takes 1 second for the change processing in charge of one logical volume. 1 sec / 1 logical VOL ".
 変更元の論理区画により使用されているFEIFに、或る論理ボリュームへのパスが設定されている場合で、変更元の論理区画に対する当該FEIFの残存割当率が0%になる場合、変更元の論理区画は、当該論理ボリュームにアクセスできなくなるため、当該パスを削除する必要がある。これを示す状態条件6020の値は例えば、「残存割当率=0%」であり、準備処理6030の値は例えば、「パス削除」である。その後、物理ストレージ装置は、別のFEIFを用いて当該論理ボリュームへの新たなパスを定義してもよい。 When a path to a certain logical volume is set in the FEIF used by the change source logical partition and the remaining allocation rate of the FEIF for the change source logical partition becomes 0%, the change source Since the logical partition cannot access the logical volume, it is necessary to delete the path. The value of the state condition 6020 indicating this is “remaining allocation rate = 0%”, for example, and the value of the preparation process 6030 is “path deletion”, for example. Thereafter, the physical storage device may define a new path to the logical volume using another FEIF.
 論理区画設定プログラム1441は、管理者からの入力や物理ストレージ装置1200から収集した情報を基に、予めリソース変更管理テーブルを設定する。 The logical partition setting program 1441 sets a resource change management table in advance based on information input from the administrator or information collected from the physical storage device 1200.
 負荷情報として、リソース変更管理テーブルが用いられてもよい。 Resource change management table may be used as load information.
 図8は、リソース貸出状況管理テーブルを示す。 FIG. 8 shows a resource lending status management table.
 リソース貸出状況管理テーブルは、貸し出されているリソース毎のエントリを含む。一つのリソースに対応するエントリは、ストレージ装置ID7000、貸出元論理区画7010、貸出リソース7020、貸出先論理区画7040、使用制約7050、使用状況7060を含む。 The resource lending status management table includes an entry for each lent resource. The entry corresponding to one resource includes a storage apparatus ID 7000, a lending source logical partition 7010, a lending resource 7020, a lending destination logical partition 7040, a usage constraint 7050, and a usage status 7060.
 ストレージ装置ID7000は、当該リソースを含む物理ストレージ装置1200を示すIDである。貸出元論理区画7010は、当該リソースを貸し出している論理区画1500を示すIDである。貸出リソース7020は、貸出中の当該リソースを示すIDである。貸出状況7030は、当該リソースのうち貸し出している使用率や、当該リソースのブロックの先頭アドレスを示す。貸出先論理区画7040は、当該リソースを借りている論理区画1500を示すIDである。使用制約7050は、貸出先による当該リソースの用途(特定用途)を示す。例えば、使用制約7050は、貸出元が当該リソースを必要とする際に、貸出先が即座に又は指定された時間内に当該リソースを返却ができるような、貸出先の制約である。使用状況7060は、貸出先が当該リソースをどのように利用しているかを示す。例えば、当該リソースが、MPコア、FEIF、BEIF、ディスクの何れかであれば、使用状況7060は貸出先による当該リソースの使用率を示す。当該リソースがキャッシュメモリであれば、使用状況7060は、当該キャッシュメモリに格納されているデータの種別が格納される。 Storage device ID 7000 is an ID indicating the physical storage device 1200 including the resource. The lending source logical partition 7010 is an ID indicating the logical partition 1500 that lends the resource. The lending resource 7020 is an ID indicating the resource that is being lent. The lending status 7030 indicates the usage rate that is lent out of the resource and the start address of the block of the resource. The lending destination logical partition 7040 is an ID indicating the logical partition 1500 that borrows the resource. The usage constraint 7050 indicates the usage (specific usage) of the resource by the borrower. For example, the usage constraint 7050 is a borrower constraint that allows the borrower to return the resource immediately or within a specified time when the borrower needs the resource. The usage status 7060 indicates how the borrower is using the resource. For example, if the resource is an MP core, FEIF, BEIF, or disk, the usage status 7060 indicates the usage rate of the resource by the borrower. If the resource is a cache memory, the usage status 7060 stores the type of data stored in the cache memory.
 論理区画設定プログラム1441は、リソースの貸し借りを行う際とリソースの返却を行う際に、リソース貸出状況管理テーブルを設定する。また、論理区画設定プログラム1441は、定期的なモニタリングにより使用状況7060を更新する。 The logical partition setting program 1441 sets the resource lending status management table when lending and borrowing resources and when returning resources. Further, the logical partition setting program 1441 updates the usage status 7060 by regular monitoring.
 或る論理区画に割り当てられた或るリソースの使用状況5050が使用率を示す場合、使用状況5050の値は、当該論理区画で使用している量と、当該論理区画から他の論理区画へ貸し出している量との合計である。例えば、当該リソースがMPコアであり、当該MPコアを割り当てられている当該論理区画が、10%分を使っており、他の論理区画へ5%分を貸し出している場合、使用状況5050は15%となる。FEIF1211、BEIF1241、ディスク1250の使用状況5050についても同様である。当該リソースがキャッシュメモリ1221のブロックで貸出中である場合、使用状況5050は、貸出先による当該ブロックの用途を示す。 When the usage status 5050 of a certain resource allocated to a logical partition indicates the usage rate, the value of the usage status 5050 is the amount used in the logical partition, and the loan from the logical partition to another logical partition. It is the sum with the amount that is. For example, when the resource is an MP core, the logical partition to which the MP core is allocated uses 10%, and lends 5% to other logical partitions, the usage status 5050 is 15 %. The same applies to the usage status 5050 of the FEIF 1211, the BEIF 1241, and the disk 1250. When the resource is lent out in the block of the cache memory 1221, the usage status 5050 indicates the usage of the block by the lent destination.
 また、当該論理区画が他の論理区画から当該リソースを借りている場合、使用状況7060は、当該論理区画による当該リソースの使用状況を示す。当該論理区画が当該リソースを割り当てられ、且つ当該リソースを他の論理区画から借りている場合、当該論理区画に割り当てられている当該リソースの量と、他の論理区画から借りている当該リソースの量との合計を合計使用状況とすると、使用状況5050の値は、割当状況5040の値に等しくなり、使用状況7060の値は、合計使用状況の値から割当状況5040の値を減じた値になる。例えば、当該論理区画がMPコアの30%分を割り当てられており、更に同一のMPコアの10%分を他の論理区画から借りているとする。当該論理区画による当該MPコアの合計使用状況の値が35%である場合、使用状況5050の値は30%になり、使用状況7060の値は5%になる。当該論理区画が当該リソースを割り当てられておらず、且つ当該リソースを他の論理区画から借りている場合、使用状況7060の値は、当該論理区画による当該リソースの使用率になる。 When the logical partition borrows the resource from another logical partition, the usage status 7060 indicates the usage status of the resource by the logical partition. If the logical partition is assigned the resource and borrows the resource from another logical partition, the amount of the resource assigned to the logical partition and the amount of the resource borrowed from the other logical partition Is the total usage status, the value of the usage status 5050 is equal to the value of the allocation status 5040, and the value of the usage status 7060 is a value obtained by subtracting the value of the allocation status 5040 from the total usage status value. . For example, it is assumed that the logical partition is allocated 30% of the MP core, and further 10% of the same MP core is borrowed from another logical partition. When the total usage status value of the MP core by the logical partition is 35%, the usage status 5050 value is 30% and the usage status 7060 value is 5%. When the logical partition is not assigned the resource and the resource is borrowed from another logical partition, the value of the usage status 7060 is the usage rate of the resource by the logical partition.
 以下、管理サーバ1400の動作について説明する。 Hereinafter, the operation of the management server 1400 will be described.
 図9は、リソース融通処理を示す。 FIG. 9 shows resource accommodation processing.
 論理区画設定プログラム1441は、スケジューラにより定期的にリソース融通処理を起動する。起動されると、CPU1430は、各論理区画1500による各リソースの使用状況を物理ストレージ装置1200から取得し、取得された使用状況に基づいて、リソース割当管理テーブルの使用状況5050と、リソース貸出状況管理テーブルの使用状況7060とを更新する(S1000)。 The logical partition setting program 1441 starts resource interchange processing periodically by the scheduler. When activated, the CPU 1430 acquires the usage status of each resource by each logical partition 1500 from the physical storage device 1200, and based on the acquired usage status, the usage status 5050 of the resource allocation management table and the resource lending status management The table usage status 7060 is updated (S1000).
 次に、CPU1430は、リソース量の追加を必要とする論理区画があるか否かを判定する(S1010)。この処理においてCPU1430は、物理ストレージ装置1200の中から選択論理区画及び選択リソース種別を順次選択し、リソース貸出状況管理テーブルに基づいて、選択論理区画が選択リソース種別のリソースを他の論理区画から借りているか否かを判定する。 Next, the CPU 1430 determines whether there is a logical partition that requires the addition of the resource amount (S1010). In this process, the CPU 1430 sequentially selects the selected logical partition and the selected resource type from the physical storage device 1200, and the selected logical partition borrows the resource of the selected resource type from another logical partition based on the resource lending status management table. It is determined whether or not.
 選択論理区画が選択リソース種別のリソースを他の論理区画から借りていないと判定された場合、CPU1430は、選択論理区画に割り当てられている選択リソース種別の全てのリソースの使用状況5050の使用率が使用率閾値(上限使用量)に達しているか否かを判定する。選択リソース種別がキャッシュメモリである場合、CPU1430は、選択論理区画に割り当てられているブロック数に対する、使用中のブロック(使用状況5050が未使用でないブロック)数の割合を使用率として算出する。また、CPU1430は例えば、各リソースに対し、割当状況5040の割当率から、予め定められたマージンを減じた値を使用率閾値として算出する。言い換えれば、使用率が使用率閾値に達したことは、使用率が割当率に近づいたことを示す。選択論理区画に割り当てられている選択リソース種別の全てのリソースの使用率が使用率閾値に達していると判定された場合、CPU1430は、選択論理区画に対して選択リソース種別のリソース量の追加が必要であると判定する。 When it is determined that the selected logical partition has not borrowed the resource of the selected resource type from another logical partition, the CPU 1430 determines that the usage rate of the usage status 5050 of all the resources of the selected resource type allocated to the selected logical partition is It is determined whether or not the usage rate threshold (upper limit usage amount) has been reached. When the selected resource type is cache memory, the CPU 1430 calculates the ratio of the number of used blocks (the block whose usage status 5050 is not unused) to the number of blocks allocated to the selected logical partition as the usage rate. Further, for example, the CPU 1430 calculates, as the usage rate threshold value, a value obtained by subtracting a predetermined margin from the allocation rate of the allocation status 5040 for each resource. In other words, that the usage rate has reached the usage rate threshold indicates that the usage rate has approached the allocation rate. When it is determined that the usage rate of all resources of the selected resource type assigned to the selected logical partition has reached the usage rate threshold, the CPU 1430 adds the resource amount of the selected resource type to the selected logical partition. Determine that it is necessary.
 選択論理区画が選択リソース種別のリソースを他の論理区画から借りていると判定された場合、CPU1430は、使用状況7060の使用率が使用率閾値に達しているか否かを判定する。選択論理区画が借りている選択リソース種別の全てのリソースの使用率が使用率閾値に達していると判定された場合、CPU1430は、選択論理区画に対して選択リソース種別のリソース量の追加が必要である(選択論理区画による選択リソース種別の使用量を増加させる必要がある)と判定する。 When it is determined that the selected logical partition has borrowed the resource of the selected resource type from another logical partition, the CPU 1430 determines whether or not the usage rate of the usage status 7060 has reached the usage rate threshold. When it is determined that the usage rate of all resources of the selected resource type borrowed by the selected logical partition has reached the usage rate threshold, the CPU 1430 needs to add the resource amount of the selected resource type to the selected logical partition. (It is necessary to increase the usage amount of the selected resource type by the selected logical partition).
 S1010の結果、リソース量の追加を必要とする論理区画がないと判断された場合(No)、CPU1430はこのフローを終了する。一方、S1010の結果、リソース量の追加を必要とする論理区画があると判断された場合(Yes)、CPU1430は、リソース量の追加が必要であると判定された選択論理区画及び選択リソース種別を夫々対象論理区画及び対象リソース種別として特定し、対象論理区画に追加すべき対象リソース種別のリソース量である追加リソース量を算出する(S1020)。追加リソース量は例えば、使用率で表される。リソース種別毎に貸出の単位量が予め定められている。CPU1430は、対象リソース種別の単位量に乗じた値を追加リソース量として算出する。なお、追加リソース量は、固定の値でもよい。また、CPU1430が、各論理区画1500のリソース使用傾向の分析により追加リソース量を算出してもよい。 If it is determined as a result of S1010 that there is no logical partition that requires the addition of the resource amount (No), the CPU 1430 ends this flow. On the other hand, if it is determined in step S1010 that there is a logical partition that requires addition of the resource amount (Yes), the CPU 1430 determines the selected logical partition and the selected resource type that are determined to require addition of the resource amount. The additional resource amount, which is specified as the target logical partition and the target resource type, and is the resource amount of the target resource type to be added to the target logical partition is calculated (S1020). The additional resource amount is represented by, for example, a usage rate. A lending unit amount is predetermined for each resource type. The CPU 1430 calculates a value obtained by multiplying the unit amount of the target resource type as the additional resource amount. Note that the additional resource amount may be a fixed value. Further, the CPU 1430 may calculate the additional resource amount by analyzing the resource usage tendency of each logical partition 1500.
 その後、CPU1430は、リソース貸出状況管理テーブルに基づいて、対象論理区画から他の論理区画へ貸し出している対象リソース種別のリソースである貸出中リソースがあるか否かを判定する(S1030)。貸出中リソースがないと判定された場合(No)、CPU1430は、処理をS1060へ進める。一方、貸出中リソースがあると判定された場合(Yes)、CPU1430は、貸出先に貸出中リソースを返却させることで、リソース不足を回避できる可能性があるため、返却処理を行う(S1040)。この返却処理においてCPU1430は、リソース変更管理テーブルに基づいて、貸出先に対し、準備処理が必要であれば貸出中リソースの準備処理(再変更準備処理)を指示する準備処理指示を発行し、貸出中リソースの返却を指示する返却指示(再変更指示)を発行し、その結果をリソース割当管理テーブル及びリソース貸出状況管理テーブルに反映する。 After that, the CPU 1430 determines whether there is a rented resource that is a resource of the target resource type that is lent out from the target logical partition to another logical partition based on the resource rent status management table (S1030). If it is determined that there is no rented resource (No), the CPU 1430 advances the process to S1060. On the other hand, if it is determined that there is a lent resource (Yes), the CPU 1430 performs a return process because there is a possibility that a resource shortage can be avoided by returning the lent resource to the lent destination (S1040). In this return process, the CPU 1430 issues a preparation process instruction for instructing a lending destination a preparation process (re-change preparation process) for a lent resource if a preparation process is required, based on the resource change management table. A return instruction (re-change instruction) for instructing the return of the middle resource is issued, and the result is reflected in the resource allocation management table and the resource lending status management table.
 その後、CPU1430は、返却処理により追加リソース量を確保したか否かを判定する(S1050)。この処理においてCPU1430は、返却処理により増加した対象リソース種別のリソース量が追加リソース量以上である場合、追加リソース量を確保したと判定する。追加リソース量を確保したと判定された場合、CPU1430は、このフローを終了する。追加リソース量を確保できなかったと判定された場合、CPU1430は、処理をS1060に進める。 Thereafter, the CPU 1430 determines whether or not the additional resource amount has been secured by the return process (S1050). In this processing, the CPU 1430 determines that the additional resource amount has been secured when the resource amount of the target resource type increased by the return processing is equal to or greater than the additional resource amount. If it is determined that the additional resource amount is secured, the CPU 1430 ends this flow. If it is determined that the additional resource amount cannot be secured, the CPU 1430 advances the process to step S1060.
 S1060においてCPU1430は、他の論理区画に割り当てられた対象リソース種別のリソースのうち、貸出の候補のリソースである候補リソースの量を検出する。この処理において、まず、CPU1430は、リソース貸出状況管理テーブルを参照し、他の論理区画が別の論理区画から対象リソース種別のリソースを借りている場合、借りているリソースが未使用状態であるか否かを判定する。借りているリソースが未使用状態であると判定された場合、CPU1430は、そのリソースの返却処理を行うことにより、その結果をリソース割当管理テーブル及びリソース貸出状況管理テーブルに反映する。これにより、そのリソースは未使用状態になる。その後、CPU1430は、リソース割当管理テーブルを参照し、他の論理区画の夫々の対象リソース種別の候補リソース量を算出する。対象リソース種別がMPコア、FEIF、BEIF、ディスクである場合、或る論理区画の候補リソース量は例えば、その論理区画に割り当てられた対象リソース種別のリソースの使用率閾値から現時点の使用率を引いた値である。対象リソース種別がキャッシュメモリである場合、或る論理区画に割り当てられた全ブロック数に対する、候補リソースとなるブロック数との合計の割合である。ここで、候補リソースとなるブロックは、未使用状態のブロックと、リソース変更管理テーブルの状態条件6020に適合するブロックとを含む。 In S1060, the CPU 1430 detects the amount of candidate resources that are candidates for lending among resources of the target resource type allocated to other logical partitions. In this process, first, the CPU 1430 refers to the resource lending status management table, and if another logical partition borrows a resource of the target resource type from another logical partition, is the borrowed resource unused? Determine whether or not. When it is determined that the borrowed resource is in an unused state, the CPU 1430 reflects the result in the resource allocation management table and the resource lending status management table by performing a return process of the resource. As a result, the resource becomes unused. Thereafter, the CPU 1430 refers to the resource allocation management table and calculates the candidate resource amount of each target resource type of the other logical partition. When the target resource type is MP core, FEIF, BEIF, or disk, the candidate resource amount of a certain logical partition is obtained by, for example, subtracting the current usage rate from the resource usage threshold value of the target resource type allocated to the logical partition. Value. When the target resource type is a cache memory, it is the total ratio of the number of blocks serving as candidate resources to the total number of blocks allocated to a certain logical partition. Here, the blocks that are candidate resources include blocks that are not used and blocks that conform to the state condition 6020 of the resource change management table.
 次に、CPU1430は、候補リソースの中から、貸出条件を満たすリソースである貸出リソースを検出したか否かを判定する(S1070)。この処理においてCPU1430は、候補リソース量が0でない論理区画を候補論理区画として選択し、候補論理区画の中から、未使用状態のリソースと、リソース変更管理テーブルの準備処理6030において準備処理が不要と示されているリソースとを候補リソースとして検出し、候補リソースがあるか否かを判定する。候補リソースがないと判定された場合、CPU1430は、貸出リソースがないと判定する。候補リソースがあると判定された場合、CPU1430は、候補リソースの返却時の準備処理の所要時間である返却準備処理時間を算出し、返却準備処理時間が論理区画管理テーブルの負荷追従性能4030(上限時間)以下となる候補リソースがあるか否かを判定する。返却準備処理時間が負荷追従性能4030以下となる候補リソースがない場合、CPU1430は、貸出リソースがないと判定する。返却準備処理時間が負荷追従性能4030以下となる候補リソースがある場合、CPU1430は、返却準備処理時間が負荷追従性能4030以下となる候補リソースが貸出条件(変更条件)を満たすと判定し、その候補リソースを貸出リソースとして決定する。 Next, the CPU 1430 determines whether or not a lending resource that is a resource satisfying the lending condition is detected from the candidate resources (S1070). In this process, the CPU 1430 selects a logical partition whose candidate resource amount is not 0 as a candidate logical partition, and from the candidate logical partitions, the unused state resource and the preparation process 6030 in the resource change management table preparation process are unnecessary. The indicated resource is detected as a candidate resource, and it is determined whether there is a candidate resource. When it is determined that there is no candidate resource, the CPU 1430 determines that there is no rental resource. If it is determined that there is a candidate resource, the CPU 1430 calculates a return preparation processing time, which is a time required for the preparation processing when the candidate resource is returned, and the load preparation performance 4030 (upper limit) of the logical partition management table is calculated. Determine whether there is a candidate resource that is less than (time). If there is no candidate resource whose return preparation processing time is less than or equal to the load following performance 4030, the CPU 1430 determines that there is no rental resource. If there is a candidate resource whose return preparation processing time is equal to or less than the load following performance 4030, the CPU 1430 determines that the candidate resource whose return preparation processing time is equal to or less than the load following performance 4030 satisfies the lending condition (change condition). Determine the resource as a lending resource.
 S1070の結果、貸出リソースがないと判定された場合、CPU1430は、対象論理区画へのリソースの追加が不可能であることを示す警告を管理者へ発行し(S1090)、このフローを終了する。 As a result of S1070, when it is determined that there is no lending resource, the CPU 1430 issues a warning to the administrator indicating that the resource cannot be added to the target logical partition (S1090), and ends this flow.
 S1070の結果、貸出リソースがあると判定された場合、CPU1430は、貸出先によるリソースの用途を使用制約として設定し、貸出リソースを貸出元の論理区画から対象論理区画へ貸し出す貸出処理を行い(S1080)、このフローを終了する。この処理において複数の貸出リソースが検出された場合、CPU1430は、複数の貸出リソースから一つの貸出リソースを選択して貸出処理を行う。CPU1430は、貸出元から対象論理区画へ貸出リソースを貸し出すことを指示する貸出指示(変更指示)を、貸出元及び対象論理区画のMP1232へ発行し、貸出リソースを示す情報と、決定された使用制約とをリソース貸出状況管理テーブルに反映する。貸出元のMP1232は、この貸出指示に基づいて、必要であれば準備処理(変更準備処理)を行い、リソースの使用率、用途を調整することにより貸出リソースを貸し出す。貸出先のMP1232は、この貸出指示に基づいて、リソースの使用率、用途を調整することにより、貸出リソースを借用し、使用制約に従って貸出リソースを使用する。また、CPU1430は、貸出リソース量が追加リソース量になるまで、貸出リソースを選択してもよい。 As a result of S1070, when it is determined that there is a lending resource, the CPU 1430 sets the usage of the resource by the lending destination as a use constraint, and performs lending processing for lending the lending resource from the lending logical partition to the target logical partition (S1080). ), This flow is finished. When a plurality of lending resources are detected in this process, the CPU 1430 performs lending processing by selecting one lending resource from the plurality of lending resources. The CPU 1430 issues a lending instruction (change instruction) instructing to lend a lending resource from the lending source to the target logical partition to the MP 1232 of the lending source and the target logical partition, information indicating the lending resource, and the determined use constraint Are reflected in the resource lending status management table. Based on this lending instruction, the lending source MP 1232 lends a lending resource by performing a preparation process (change preparation process) if necessary, and adjusting the usage rate and usage of the resource. Based on the lending instruction, the lending destination MP 1232 borrows the lending resource by adjusting the usage rate and usage of the resource, and uses the lending resource according to the usage constraint. Further, the CPU 1430 may select the lending resource until the lending resource amount becomes the additional resource amount.
 貸出先が使用制約に従って貸出リソースを使用することにより、貸出元が貸出リソースを必要とするタイミングで、貸出先が貸出リソースを返却することができる。例えば、貸出リソースがキャッシュメモリである場合、CPU1430が貸出リソースの使用制約をリードキャッシュに設定することにより、貸出元が貸出リソースを必要とする場合、貸出先は即座にその貸出リソースを返却することができる。 The lending destination uses the lending resource according to the usage constraint, so that the lending destination can return the lending resource at the timing when the lending source needs the lending resource. For example, if the lending resource is a cache memory, the lending destination returns the lending resource immediately when the lending source needs the lending resource by the CPU 1430 setting the lending resource usage constraint in the read cache. Can do.
 なお、本実施例では、特定のリソース種別のリソースの使用状況を使用率で示したが、特定のリソース種別において、最大性能の異なるリソースが存在する場合は、性能の絶対値で管理する方が望ましい場合がある。この場合、CPU1430は、特定のリソース種別のリソースの使用状況を、使用率ではなく、性能の絶対値で管理してもよい。 In this example, the usage status of a resource of a specific resource type is shown as a usage rate. However, if there are resources with different maximum performance in a specific resource type, it is better to manage with the absolute value of the performance. It may be desirable. In this case, the CPU 1430 may manage the usage status of a resource of a specific resource type not by the usage rate but by an absolute value of performance.
 前述のS1070においてCPU1430は、準備処理が必要なリソースを貸出不可と判定したが、準備処理が条件を満たす場合、当該リソースを貸出リソースとして決定してもよい。例えば、貸出元の論理区画のキャッシュメモリのブロックが、状態条件6020に示されたライトキャッシュに使用されている場合、貸出元は当該ブロックを貸し出すために準備処理として準備処理6030に示されたデステージが必要である。CPU1430は、このようなリソースに対し、貸出元の論理区画のMPコアの割当率に対して使用率の余裕を算出し、その余裕が、そのリソースに対応する準備処理の必要リソース6050に示された使用率以上であるか否かを判定し、余裕が必要リソース6050以上である場合、当該リソースを貸出リソースとして決定してもよい。更に、CPU1430は、リソース量と処理時間6040を元に準備処理の所要時間を算出し、所要時間が貸出先の対象論理区画の負荷追従性能4030等で予め定められた時間以下であるか否かを判定し、準備処理の所要時間が予め定められた時間以下であると判定された場合、CPU1430は、当該リソースを貸出リソースとして決定してもよい。 In S1070 described above, the CPU 1430 determines that a resource that requires the preparation process cannot be lent, but if the preparation process satisfies the condition, the CPU 1430 may determine the resource as a rented resource. For example, if the block of the cache memory of the logical partition of the lending source is used for the write cache indicated in the state condition 6020, the lending source uses the data indicated in the preparation process 6030 as a preparation process for lending the block. A stage is necessary. For such resources, the CPU 1430 calculates a margin for the usage rate with respect to the allocation rate of the MP core of the rented logical partition, and the margin is indicated in the necessary resource 6050 for the preparation process corresponding to the resource. It is determined whether or not the usage rate is equal to or greater than the usage rate. If the margin is equal to or greater than the required resource 6050, the resource may be determined as a lending resource. Further, the CPU 1430 calculates the required time for the preparation process based on the resource amount and the processing time 6040, and whether or not the required time is equal to or less than the time predetermined by the load following performance 4030 of the target logical partition of the lending destination. If it is determined that the time required for the preparation process is equal to or less than a predetermined time, the CPU 1430 may determine the resource as a lending resource.
 前述のS1010においてCPU1430は、論理区画によるリソースの使用率が使用率閾値に達した場合に、当該論理区画へのリソースの追加が必要であると判定した。変形例として、CPU1430は、論理区画の性能をモニタリングし、S1010において、論理区画によるリソースの使用率が使用率閾値に達した場合に、当該論理区画の性能が性能要件4020(下限性能)以上であるか否かを判定し、当該論理区画の性能が性能要件4020を下回る場合に、当該論理区画へのリソースの追加が必要であると判定し、当該論理区画の性能が性能要件4020を満たしている場合に、当該論理区画へのリソースの追加が必要でないと判定してもよい。これにより、或る論理区画によるリソースの使用率が使用率閾値に達していても、その論理区画の性能が性能要件4020以上であれば、不要なリソースの貸出を防ぐことができる。 In S1010 described above, the CPU 1430 determines that the resource needs to be added to the logical partition when the resource usage rate by the logical partition reaches the usage threshold. As a modified example, the CPU 1430 monitors the performance of the logical partition, and when the resource usage rate by the logical partition reaches the usage rate threshold in S1010, the performance of the logical partition is equal to or higher than the performance requirement 4020 (lower limit performance). If the performance of the logical partition falls below the performance requirement 4020, it is determined that it is necessary to add a resource to the logical partition, and the performance of the logical partition satisfies the performance requirement 4020. If it is, it may be determined that it is not necessary to add a resource to the logical partition. As a result, even if the resource usage rate by a certain logical partition reaches the usage threshold, if the performance of the logical partition is equal to or higher than the performance requirement 4020, it is possible to prevent unnecessary resource lending.
 以上のリソース融通処理によれば、管理サーバ1400は、リソースが不足している対象論理区画を検出した場合に、他の論理区画に割り当てられているリソースの中から、貸出元の論理区画の性能に与える影響が予め定められた条件を満たすリソースを検出し、そのリソースを貸出元の論理区画から対象論理区画へ融通することができる。リソースの貸出中に貸出元の論理区画のリソースが不足する場合、貸出中のリソースを返却させることにより、貸出元は予め定められた時間内にそのリソースを使用することができる。また、貸出元の論理区画に割り当てられ且つ使用されていないリソースを、貸出条件を満たすリソースと判定されることにより、貸出元の論理区画の性能に影響を与えることなく、貸出リソースを対象論理区画に使用させることができ、貸出リソースを有効に活用することができる。また、貸出に伴う準備処理が不要であるリソースが、貸出条件を満たすリソースとして判定されることにより、貸出元の論理区画の性能に影響を与えることなく、貸出リソースを対象論理区画に使用させることができ、そのリソースを有効に活用することができる。また、貸出処理に伴う準備処理が不要であるリソースが、貸出条件を満たすリソースとして判定されることにより、貸出元の論理区画の性能に影響を与えることなく、貸出リソースを対象論理区画に使用させることができる。状態条件6020を用いてリソースの使用状況を判定することにより、貸出処理に伴う準備処理が不要であるリソースを選択することができる。例えば、対象リソース種別がキャッシュメモリである場合、リードキャッシュや転送済のリモートコピーバッファなど、廃棄可能なデータを格納しているキャッシュメモリが、貸出条件を満たすキャッシュメモリとして判定されることにより、貸出処理に伴う準備処理が不要となる。また、貸出の準備処理が必要なリソースであっても、貸出元の論理区画の負荷の余裕が、そのリソースの準備処理の必要リソース6050以上である場合、そのリソースが貸出条件を満たすリソースとして判定されることにより、貸出元の論理区画のリソースの不足を招くことなく、貸出リソースを対象論理区画に使用させることができる。また、返却準備処理時間が負荷追従性能4030以下となるリソースが、貸出条件を満たすリソースとして判定されることにより、貸出元の論理区画は、リソースの追加が必要となった場合、負荷追従性能4030に示された時間以内に貸出リソースを使用することができる。 According to the resource accommodation process described above, when the management server 1400 detects a target logical partition that lacks resources, the management server 1400 performs the performance of the lending source logical partition from among the resources allocated to other logical partitions. It is possible to detect a resource satisfying a predetermined condition for the influence on the resource and to allow the resource to be accommodated from the lending logical partition to the target logical partition. When resources in the logical partition of the lending source are insufficient during the lending of resources, the lending source can use the resources within a predetermined time by returning the lending resources. In addition, resources that are allocated to the lending logical partition and are not used are determined as resources that satisfy the lending condition, so that the lending resource can be targeted without affecting the performance of the lending logical partition. It is possible to use the lending resources effectively. In addition, resources that do not require preparation processing associated with lending are determined as resources that satisfy the lending condition, so that lending resources are used in the target logical partition without affecting the performance of the lending logical partition. Can be used effectively. In addition, resources that do not require the preparation process associated with the lending process are determined as resources that satisfy the lending condition, so that the lending resource is used in the target logical partition without affecting the performance of the lending logical partition. be able to. By determining the resource usage status using the state condition 6020, it is possible to select a resource that does not require the preparation process associated with the lending process. For example, if the target resource type is cache memory, the cache memory that stores the discardable data, such as read cache and transferred remote copy buffer, is determined as the cache memory that satisfies the lending condition. The preparation process associated with the process is not necessary. Even if a resource that requires lending preparation processing is used, if the load margin of the logical partition of the lending source is equal to or greater than the resource 6050 required for the resource preparation processing, the resource is determined as a resource that satisfies the lending condition. By doing so, the lending resource can be used by the target logical partition without causing a shortage of resources of the lending logical partition. Further, when a resource whose return preparation processing time is equal to or less than the load follow-up performance 4030 is determined as a resource that satisfies the lending condition, the load-following performance 4030 is obtained when the logical partition of the lending source needs to add a resource. Lending resources can be used within the time indicated in.
 図10は、管理サーバ1400によるストレージ管理処理を示す。 FIG. 10 shows storage management processing by the management server 1400.
 管理サーバ1400が管理者から管理操作を受けると、論理区画設定プログラム1441は、ストレージ管理処理を起動する。 When the management server 1400 receives a management operation from the administrator, the logical partition setting program 1441 starts storage management processing.
 まず、CPU1430は、管理者より管理操作を受け付ける(S2000)。その後、CPU1430は、その管理操作が貸出リソースの使用制約7050に適合するか否かを判定する(S2010)。 First, the CPU 1430 receives a management operation from the administrator (S2000). Thereafter, the CPU 1430 determines whether or not the management operation conforms to the lending resource usage constraint 7050 (S2010).
 管理操作が使用制約7050に適合すると判定された場合(Yes)、CPU1430は、その管理操作を実行するための管理指示をMP1232へ通知し(S2020)、このフローを終了する。一方、管理操作が使用制約7050に適合しないと判定された場合(No)、CPU1430は、管理操作を実行せず、その管理操作が使用制約に反することを示す警告を表示し(S2020)、このフローを終了する。 When it is determined that the management operation conforms to the usage constraint 7050 (Yes), the CPU 1430 notifies the MP 1232 of a management instruction for executing the management operation (S2020), and this flow is ended. On the other hand, if it is determined that the management operation does not conform to the usage constraint 7050 (No), the CPU 1430 does not execute the management operation and displays a warning indicating that the management operation violates the usage constraint (S2020). End the flow.
 以上のストレージ管理処理によれば、管理サーバ1400が受け付けた管理操作を判定することにより、貸出リソースの使用制約を守ることができる。これにより、貸出先の論理区画は、返却処理時に準備処理を伴うことなく、即座に貸出元の論理区画へ貸出リソースを返却することができる。 According to the above storage management process, the management operation received by the management server 1400 can be determined, so that the usage constraint on the lending resource can be observed. Thereby, the lending destination logical partition can immediately return the lending resource to the lending source logical partition without any preparation process during the return process.
 図11は、物理ストレージ装置1200によるI/O処理を示す。 FIG. 11 shows the I / O processing by the physical storage device 1200.
 物理ストレージ装置1200のMP1232が、ホスト計算機1000からのI/O命令を受け付けると、I/O処理を起動する。 When the MP 1232 of the physical storage device 1200 receives an I / O command from the host computer 1000, the I / O processing is started.
 まず、MP1232は、I/O命令を受け付ける(S3000)。その後、MP1232は、そのI/O命令に基づく処理により貸出リソースを使用する必要がある場合、その処理による貸出リソースの用途が使用制約7050に適合するかを判定する(S3010)。用途が使用制約に適合する場合(Yes)、MP1232は、貸出リソースを使用してI/O命令を処理し(S3020)、このフローを終了する。一方、用途が使用制約に適合しない場合(No)、貸出リソースを用いずにI/O命令を処理し(S3030)、このフローを終了する。 First, the MP1232 receives an I / O command (S3000). Thereafter, when it is necessary to use the lending resource by the processing based on the I / O command, the MP 1232 determines whether the usage of the lending resource by the processing meets the usage constraint 7050 (S3010). When the usage meets the usage constraint (Yes), the MP 1232 processes the I / O command using the lending resource (S3020), and ends this flow. On the other hand, if the usage does not conform to the usage constraint (No), the I / O command is processed without using the lending resource (S3030), and this flow ends.
 例えば、MP1232がホスト計算機1000からライト命令を受けた場合、貸出リソースの使用制約7050がライトキャッシュとして使用することを許すか否かを判定し、使用制約7050がライトキャッシュとして使用することを許さなければ、他のキャッシュメモリをライトキャッシュとして使う処理や、キャッシュメモリを使わずにライトデータをディスクへ書き込む処理等を行う。 For example, when the MP 1232 receives a write command from the host computer 1000, it is determined whether or not the rental resource usage constraint 7050 is allowed to be used as a write cache, and the usage constraint 7050 is not allowed to be used as a write cache. For example, a process of using another cache memory as a write cache or a process of writing write data to a disk without using the cache memory is performed.
 以上のI/O処理によれば、MP1232は、貸出リソースの使用制約に従ってI/O命令を処理することができる。これにより、貸出先の論理区画は、返却処理時に準備処理を伴うことなく、即座に貸出元の論理区画へ貸出リソースを返却することができる。 According to the above I / O processing, the MP 1232 can process the I / O command according to the usage constraint on the lending resource. Thereby, the lending destination logical partition can immediately return the lending resource to the lending source logical partition without any preparation process during the return process.
 なお、本実施例では、論理区画設定プログラム1441によるモニタリングを契機にリソース融通処理を実施する例を示したが、この処理が物理ストレージ装置1200により行われてもよい。また、リソース融通処理の契機がモニタリングではなく、管理者の指示であってもよいし、I/O命令を受け付けた段階であってもよい。 In the present embodiment, an example is shown in which resource accommodation processing is performed in response to monitoring by the logical partition setting program 1441, but this processing may also be performed by the physical storage device 1200. Further, the trigger for the resource accommodation process may be an instruction from an administrator instead of monitoring, or may be a stage at which an I / O command is received.
 また、本実施例では、物理ストレージ装置1200内に、何れの論理区画にも割り当てられていないリソースである未割当リソースがない場合を想定している。未割当リソースが存在する場合、管理サーバ1400は、リソース不足に陥った論理区画に対し、優先的に未割当リソースを割り当て、未割当リソースが無くなった時点で、論理区画間でリソースを融通してもよい。 In this embodiment, it is assumed that there is no unallocated resource that is a resource that is not allocated to any logical partition in the physical storage device 1200. When there are unallocated resources, the management server 1400 allocates unallocated resources preferentially to the logical partition in which the resource has become insufficient, and at the time when there are no unallocated resources, the management server 1400 allocates resources between the logical partitions. Also good.
 本実施例によれば、貸出元の論理区画の性能を考慮して、貸出を行うか否かを判定することにより、貸出元の性能を保証しつつ、貸出元のリソースを有効に利用することができる。また、論理区画は、一時的な負荷の上昇に対し、他の論理区画からリソースを借りて処理ができるようになるため、論理区画に予め過剰なリソースを割り当てる必要が無くなり、結果として物理ストレージ装置1200のリソースの稼働率を向上させることができる。 According to the present embodiment, it is possible to effectively use the resources of the lending source while guaranteeing the lending source performance by determining whether or not to lend in consideration of the performance of the logical partition of the lending source. Can do. In addition, since the logical partition can be processed by borrowing resources from other logical partitions in response to a temporary increase in load, it is not necessary to allocate excessive resources to the logical partition in advance, and as a result, the physical storage device The operating rate of 1200 resources can be improved.
 実施例1では、リソースの貸出時において、貸出元論理区画が当該リソースを必要とするタイミング(返却すべきタイミング)が不明である場合に、貸出元論理区画の性能に影響を与えることなく当該リソースを返却する方式を示した。本実施例では、貸出元論理区画が当該リソースを必要とするタイミングが予め設定されている場合について示す。なお、本実施例は、多くの部分で実施例1と同様になるため、以下では実施例1との差分のみ示す。 In the first embodiment, at the time of lending a resource, if the timing at which the lending source logical partition needs the resource (timing to return) is unknown, the resource does not affect the performance of the lending source logical partition. The method of returning is shown. In the present embodiment, a case where a timing at which the lending source logical partition needs the resource is set in advance is shown. In addition, since a present Example becomes the same as Example 1 in many parts, only the difference with Example 1 is shown below.
 図12は、実施例2の論理区画管理テーブルを示す。 FIG. 12 shows a logical partition management table of the second embodiment.
 実施例1の論理区画管理テーブルと比較すると、本実施例の論理区画管理テーブルの各エントリは、負荷追従性能4030に代えて、貸出可能期間8010及び貸出可能リソース量8020を含む。貸出可能期間8010は、論理区画ID4010で示された論理区画に割り当てられたリソースを他の論理区画へ貸し出すことを許可する期間を示す。貸出可能リソース量8020は、この期間に貸出可能なリソースの量を示す。 Compared with the logical partition management table of the first embodiment, each entry of the logical partition management table of the present embodiment includes a rentable period 8010 and a lentable resource amount 8020 instead of the load following performance 4030. The lending available period 8010 indicates a period during which a resource allocated to the logical partition indicated by the logical partition ID 4010 is permitted to be lent to another logical partition. The rentable resource amount 8020 indicates the amount of resources that can be lent during this period.
 論理区画設定プログラム1441は、論理区画作成時の管理者による入力に基づいて、論理区画管理テーブルを設定する。 The logical partition setting program 1441 sets the logical partition management table based on the input by the administrator when creating the logical partition.
 図13は、実施例2のリソース貸出状況管理テーブルを示す。 FIG. 13 shows a resource lending status management table of the second embodiment.
 実施例1のリソース貸出状況管理テーブルと比較すると、本実施例のリソース貸出状況管理テーブルの各エントリは更に、返却タイミング9010を含む。返却タイミング9010は、貸出リソースの返却処理を開始する時刻を示し、その返却処理が貸出可能期間8010内に完了するように設定される。 Compared with the resource lending status management table of the first embodiment, each entry of the resource lending status management table of the present embodiment further includes a return timing 9010. The return timing 9010 indicates a time at which the lending resource return process is started, and is set so that the return process is completed within the lending available period 8010.
 論理区画設定プログラム1441は、リソース融通処理によるリソースの貸出時、及びそのリソースの返却時に、リソース貸出状況管理テーブルを設定する。 The logical partition setting program 1441 sets a resource lending status management table at the time of lending a resource by resource accommodation processing and when returning the resource.
 図14は、実施例2のリソース融通処理を示す。 FIG. 14 shows resource accommodation processing according to the second embodiment.
 本実施例のリソース融通処理において、CPU1430は、実施例1のリソース融通処理と同様のS1000-S1050を行う。S1030の結果、貸出中リソースがないと判定された場合(No)、又はS1050の結果、返却処理により追加リソース量を確保できなかったと判定された場合(No)、CPU1430は、処理をS4010に進める。S4010においてCPU1430は、論理区画管理テーブルに基づいて、貸出可能期間8010が現在時刻を含んでいる論理区画を候補論理区画として特定し、候補論理区画の貸出可能リソース量8020と、リソース貸出状況管理テーブルの候補論理区画の情報とに基づいて、候補論理区画内の対象リソース種別で貸出可能なリソース量である候補リソース量を検出する。その後、CPU1430は、候補リソースの中から、貸出リソースを検出したか否かを判定する(S4020)。この処理においてCPU1430は、S1070と同様、候補論理区画の中から、未使用状態のリソースと、リソース変更管理テーブルの準備処理6030において準備処理が不要と示されているリソースとを候補リソースとして検出し、負荷追従性能4030による判定を行わずに、候補リソースを貸出リソースとして決定する。 In the resource accommodation process of the present embodiment, the CPU 1430 performs S1000-S1050 similar to the resource accommodation process of the first embodiment. As a result of S1030, when it is determined that there is no rented resource (No), or when it is determined as a result of S1050 that an additional resource amount cannot be secured by the return process (No), the CPU 1430 advances the process to S4010. . In S4010, based on the logical partition management table, the CPU 1430 identifies a logical partition whose rentable period 8010 includes the current time as a candidate logical partition, rentable resource amount 8020 of the candidate logical partition, and a resource rent status management table. Based on the information of the candidate logical partition, a candidate resource amount that is a resource amount that can be lent by the target resource type in the candidate logical partition is detected. Thereafter, the CPU 1430 determines whether or not a lending resource is detected from the candidate resources (S4020). In this process, as in S1070, the CPU 1430 detects, as candidate resources, resources that are not used and resources that are indicated as not requiring the preparation process in the preparation process 6030 of the resource change management table from the candidate logical partitions. The candidate resource is determined as the lending resource without performing the determination by the load following performance 4030.
 S4020の結果、貸出リソースがあると判定された場合(Yes)、CPU1430は、処理をS1080に進める。S4020の結果、貸出リソースがないと判定された場合(No)、CPU1430は、処理をS1090に進める。S1080の処理とS1090の処理は、実施例1と同様であるため説明を省略する。 As a result of S4020, when it is determined that there is a lending resource (Yes), the CPU 1430 advances the process to S1080. As a result of S4020, when it is determined that there is no rental resource (No), the CPU 1430 advances the process to S1090. Since the processing in S1080 and the processing in S1090 are the same as those in the first embodiment, description thereof is omitted.
 S1080の後、CPU1430は、返却タイミング9010において返却処理を開始させるための返却タイマを設定し(S4030)、このフローを終了する。この処理においてCPU1430は、リソース変更管理テーブルにおいて貸出リソースに対応する処理時間6040と、貸出リソースの量とから、返却処理の所要時間を算出し、貸出可能期間8010の終了時刻から所要時間を減ずることにより、返却タイマの発火時刻である返却タイミング9010を算出する。返却タイマの発火により開始される返却処理については、S1040で説明した内容と同じであるため省略する。 After S1080, the CPU 1430 sets a return timer for starting the return process at the return timing 9010 (S4030), and ends this flow. In this process, the CPU 1430 calculates the required time for the return process from the processing time 6040 corresponding to the lent resource in the resource change management table and the amount of the lent resource, and subtracts the required time from the end time of the rentable period 8010. Thus, the return timing 9010 that is the firing time of the return timer is calculated. Since the return process started by firing of the return timer is the same as the content described in S1040, the description is omitted.
 以上のリソース融通処理によれば、貸出リソースの貸出時に返却処理の開始タイミングを決定することにより、貸出リソースを確実に貸出可能期間8010内に返却することができる。 According to the above resource accommodation processing, it is possible to reliably return the lending resource within the lending available period 8010 by determining the return processing start timing when lending the lending resource.
 本実施例によれば、貸出元の論理区画が実際に貸出リソースを必要とする前に貸出リソースを返却する事が出来るため、貸出先における貸出リソースの用途によらず、貸出元は貸出可能期間後に貸出リソースを使用する事ができる。このため、実施例1の負荷追従性能4030のような概念なく運用が可能となる。本実施例は特に、或る論理区画上のアプリケーションが稼働する時間帯が予め決められている場合に、有効である。 According to the present embodiment, the lending resource can be returned before the lending source logical partition actually needs the lending resource. Therefore, the lending source can lend regardless of the lending resource usage at the lending destination. Lending resources can be used later. For this reason, operation becomes possible without the concept like the load follow-up performance 4030 of the first embodiment. This embodiment is particularly effective when a time zone during which an application on a certain logical partition is operated is determined in advance.
 本実施例において、管理サーバ1400は、論理区画に対し、障害発生時のためのリソースをリザーブする。通常運用時、リザーブされたリソースを他の論理区画へ貸し出す。なお、本実施例は、多くの部分で実施例1と同様になるため、以下では実施例1との差分のみ示す。 In this embodiment, the management server 1400 reserves resources for when a failure occurs in the logical partition. During normal operation, the reserved resources are leased to other logical partitions. In addition, since a present Example becomes the same as Example 1 in many parts, only the difference with Example 1 is shown below.
 実施例1の論理区画設定管理情報1442と比較すると、本実施例の論理区画設定管理情報1442は更に、リソース割当復旧時間管理テーブルを含む。 Compared with the logical partition setting management information 1442 of the first embodiment, the logical partition setting management information 1442 of the present embodiment further includes a resource allocation recovery time management table.
 図15は、リソース割当復旧時間管理テーブルを示す。 FIG. 15 shows a resource allocation recovery time management table.
 リソース割当復旧時間管理テーブルは、物理ストレージ装置1200毎のエントリを含む。一つの物理ストレージ装置1200に対応するエントリは、ストレージ装置ID10000と、障害時リソース回復処理時間10010とを含む。ストレージ装置ID10000は、当該物理ストレージ装置を示すIDである。障害時リソース回復処理時間10010は、障害時にリソースの割当状況を障害前の状況へ復旧させる時間の目標値を示す。物理ストレージ装置1200の障害の発生部位を前もって予想する事は困難であるため、貸し出しているリソースを障害時に貸出元へ返すことを保証することは困難である。このため、論理区画単位のリソースのやり取りでリソース割当状況を復旧する時間を保証することは困難である。そこで、管理サーバ1400は、物理ストレージ装置1200全体を見渡して論理区画間のリソース調整を行う。障害時リソース回復処理時間10010は、この調整の時間の目標値である。 The resource allocation recovery time management table includes an entry for each physical storage device 1200. An entry corresponding to one physical storage device 1200 includes a storage device ID 10000 and a failure resource recovery processing time 10010. The storage device ID 10000 is an ID indicating the physical storage device. The failure resource recovery processing time 10010 indicates a target value of time for restoring the resource allocation state to the state before the failure at the time of failure. Since it is difficult to predict in advance the occurrence site of the failure in the physical storage device 1200, it is difficult to guarantee that the lent resource is returned to the lending source at the time of failure. For this reason, it is difficult to guarantee the time for restoring the resource allocation status by exchanging resources in units of logical partitions. Therefore, the management server 1400 looks at the entire physical storage device 1200 and adjusts resources between logical partitions. The failure resource recovery processing time 10010 is a target value of the time for this adjustment.
 本実施例の論理区画設定管理情報1442は更に、リソース割当管理テーブルと同様にして、障害時のためにリザーブされたリソースを管理するリザーブ用リソース割当管理テーブルを含む。 The logical partition setting management information 1442 according to the present embodiment further includes a reserved resource allocation management table for managing resources reserved for failure in the same manner as the resource allocation management table.
 図16は、実施例3の論理区画管理テーブルを示す。 FIG. 16 shows a logical partition management table of the third embodiment.
 実施例1の論理区画管理テーブルと比較すると、本実施例の論理区画管理テーブルの各エントリは、負荷追従性能4030に代えて、障害時リソース保証レベル11010を含む。或る論理区画に対し、通常運用時に割り当てられているリソースを通常保証リソース量とし、障害時に保証するリソース量を障害保証リソース量とするとき、障害時リソース保証レベル11010は、通常保証リソース量に対する障害保証リソース量の割合を示す。例えば、或る論理区画の障害時リソース保証レベル11010が100%である場合、当該論理区画に対し、通常保証リソース量のリソースがリザーブされ、障害時には通常保証リソース量のリソースが保証される。或る論理区画の障害時リソース保証レベル11010が50%である場合、障害保証リソース量は通常保証リソース量より少なくなり、障害時には通常保証リソース量の50%のリソースが保証される。また、或る論理区画の障害時リソース保証レベル11010が100%より低い場合で、その論理区画に対してリザーブされたリソースがなくても、通常運用時のリソースの使用率を低く抑えることにより、障害時に使用できるリソース量が、通常運用時に使用していたリソース量に比べて低下することを防いでもよい。 Compared with the logical partition management table of the first embodiment, each entry of the logical partition management table of the present embodiment includes a resource guarantee level 11010 at the time of failure instead of the load following performance 4030. When a resource allocated to a certain logical partition during normal operation is a normal guaranteed resource amount, and a resource amount guaranteed at the time of a failure is a fault guaranteed resource amount, the resource guarantee level 11010 at the time of failure is Indicates the ratio of the amount of fault guaranteed resources. For example, when the resource guarantee level 11010 at the time of failure of a certain logical partition is 100%, the resource of the normal guaranteed resource amount is reserved for the logical partition, and the resource of the normal guaranteed resource amount is guaranteed at the time of failure. When the resource guarantee level 11010 at the time of failure of a certain logical partition is 50%, the amount of the guaranteed resource is less than the normal guaranteed resource amount, and 50% of the normal guaranteed resource amount is guaranteed at the time of failure. In addition, when the resource guarantee level 11010 at the time of failure of a certain logical partition is lower than 100%, even if there is no resource reserved for the logical partition, by suppressing the resource usage rate during normal operation, The amount of resources that can be used at the time of a failure may be prevented from decreasing compared to the amount of resources that were used during normal operation.
 図17は、リソース設定処理を示す。 FIG. 17 shows the resource setting process.
 管理者が、論理区画にリソースを割り当てる管理操作を管理サーバ1400へ入力することより、論理区画設定プログラム1441は、リソース設定処理を起動する。 When the administrator inputs a management operation for allocating resources to the logical partition to the management server 1400, the logical partition setting program 1441 starts the resource setting process.
 まず、CPU1430は、管理操作の対象の論理区画である対象論理区画と、対象論理区画に割り当てるリソース量とを管理者から受け付ける(S5000)。この処理においてCPU1430は例えば、対象論理区画に対し、通常運用時に保証するリソース量である通常保証リソース量と、障害時リソース保証レベルとを直接受け付けてもよい。また、CPU1430は例えば、対象論理区画に対し、通常時の性能要件と障害発生時の性能要件とを受け付け、それぞれの性能要件を満たすリソース量を算出してもよい。 First, the CPU 1430 receives from the administrator the target logical partition that is the target logical partition of the management operation and the resource amount to be allocated to the target logical partition (S5000). In this processing, for example, the CPU 1430 may directly accept the normal guaranteed resource amount, which is the resource amount guaranteed during normal operation, and the failure resource guarantee level for the target logical partition. Further, for example, the CPU 1430 may receive the performance requirement at the normal time and the performance requirement at the time of failure for the target logical partition, and calculate the resource amount satisfying each performance requirement.
 次に、CPU1430は、通常保証リソース量分の通常用リソース(第3計算機資源)を対象論理区画に割り当て、通常用リソースを示す情報をリソース割当管理テーブルに反映する(S5010)。次に、CPU1430は、同様にして、障害時に必要となるリザーブ用リソース(第1計算機資源)を対象論理区画に割り当て、リザーブ用リソースを示す情報をリザーブ用リソース割当管理テーブルに反映する(S5020)。この処理においてCPU1430は、対象論理区画の障害時リソース保証レベルが100%より小さい場合、対象論理区画にリザーブ用リソースを割り当てなくてもよい。そして、CPU1430は、通常用リソース及びリザーブ用リソースの設定を物理ストレージ装置1200に設定し(S5030)、このフローを終了する。 Next, the CPU 1430 allocates normal resources (third computer resources) corresponding to the normal guaranteed resource amount to the target logical partition, and reflects information indicating the normal resources in the resource allocation management table (S5010). Next, the CPU 1430 similarly allocates a reserve resource (first computer resource) required in the event of a failure to the target logical partition, and reflects information indicating the reserve resource in the reserve resource allocation management table (S5020). . In this process, the CPU 1430 does not have to allocate a reserve resource to the target logical partition when the resource guarantee level at the time of failure of the target logical partition is lower than 100%. Then, the CPU 1430 sets the normal resource and reserve resources in the physical storage device 1200 (S5030), and ends this flow.
 以上のリソース設定処理によれば、管理者からの指示に応じて、各論理区画に対し、通常用リソースとリザーブ用リソースを割り当てることができる。 According to the above resource setting process, the normal resource and the reserve resource can be allocated to each logical partition in accordance with an instruction from the administrator.
 図18は、実施例3のリソース融通処理を示す。 FIG. 18 illustrates resource accommodation processing according to the third embodiment.
 本実施例のリソース融通処理において、CPU1430は、実施例1のリソース融通処理と同様のS1000-S1020を行う。S1020の後、CPU1430は、リザーブ用リソース割当情報管理テーブルとリソース貸出状況管理テーブルとから、対象リソース種別のリザーブ用リソースであるリザーブ用候補リソースを検索する(S6010)。その後、CPU1430は、リザーブ用候補リソースの中から、貸出リソースを検出したか否かを判定する(S6020)。例えば、CPU1430は、リザーブ用候補リソースの返却処理の所要時間を算出し、その所要時間がリソース割当復旧時間管理テーブルの障害時リソース回復処理時間10010以内である場合、そのリザーブ用候補リソースを貸出リソースとして決定する。 In the resource accommodation process of the present embodiment, the CPU 1430 performs S1000 to S1020 similar to the resource accommodation process of the first embodiment. After S1020, the CPU 1430 searches for a reserve candidate resource that is a reserve resource of the target resource type from the reserve resource allocation information management table and the resource lending status management table (S6010). Thereafter, the CPU 1430 determines whether or not a lending resource is detected from the reserve candidate resources (S6020). For example, the CPU 1430 calculates the required time for the reserve candidate resource return process, and if the required time is within the failure resource recovery process time 10010 in the resource allocation recovery time management table, the reserve candidate resource is lent. Determine as.
 貸出リソースがないと判定された場合(No)、CPU1430は、貸出リソースがないことを示す警告を発行し(S1090)、このフローを終了する。一方、貸出リソースがあると判定された場合(Yes)、CPU1430は、実施例1と同様の貸出処理を行い(S1080)、このフローを終了する。 When it is determined that there is no rental resource (No), the CPU 1430 issues a warning indicating that there is no rental resource (S1090), and ends this flow. On the other hand, when it is determined that there is a lending resource (Yes), the CPU 1430 performs a lending process similar to that in the first embodiment (S1080), and ends this flow.
 以上のリソース融通処理によれば、或る論理区画にリソースの追加が必要であると判定された場合、その論理区画に他の論理区画のリザーブ用リソースを貸し出すことができる。通常運用時、貸出元はリザーブ用リソースを使用しないため、貸出元の性能に影響を与えることなく、リザーブ用リソースを有効に活用することができる。貸出時に返却処理の所要時間を判定することにより、障害発生から予め定められた時間以内に貸出リソースを貸出元へ返却することができる。 According to the above resource accommodation processing, if it is determined that a resource needs to be added to a certain logical partition, the resources for reservation of other logical partitions can be lent to the logical partition. During normal operation, the lending source does not use the reserve resource, so the reserve resource can be effectively used without affecting the performance of the lender. By determining the time required for the return process at the time of lending, the lending resource can be returned to the lending source within a predetermined time from the occurrence of the failure.
 図19は、障害処理を示す。 FIG. 19 shows failure processing.
 論理区画設定プログラム1441は、障害発生を検知すると、障害処理を実行する。なお、論理区画設定プログラム1441は、管理者による明示的な指示により障害処理を起動してもよい。 When the logical partition setting program 1441 detects a failure, the logical partition setting program 1441 executes failure processing. Note that the logical partition setting program 1441 may activate the failure processing according to an explicit instruction from the administrator.
 まず、本処理が起動されると、CPU1430は、貸出リソースを借用している論理区画毎に、貸出リソースの返却処理を行う(S8000)。この処理においてCPU1430は、リソース割当管理テーブルにおける通常用リソースの割当状況と、障害時リソース保証レベル11010に基づいて、正常な通常用リソースと借用している貸出リソースの合計を算出し、その合計からリザーブ用リソース量を減ずることにより返却リソース量を算出する。その後、CPU1430は、返却リソース量分のリソースを貸出先から貸出元へ返却する返却指示(復旧指示)を物理ストレージ装置1200へ発行し、返却されたリソースを未割当リソースとして管理する。 First, when this process is activated, the CPU 1430 performs a lending resource return process for each logical partition that borrows the lending resource (S8000). In this process, the CPU 1430 calculates the total of normal normal resources and borrowed lending resources based on the allocation status of normal resources in the resource allocation management table and the resource guarantee level 11010 at the time of failure, and from the total Calculate the return resource amount by reducing the reserve resource amount. Thereafter, the CPU 1430 issues a return instruction (recovery instruction) for returning the resources corresponding to the return resource amount from the lending destination to the lending source, and manages the returned resources as unallocated resources.
 全ての論理区画の返却処理が完了すると、CPU1430は、各論理区画に対し、障害時リソース保証レベルを満たすように、未割当リソースを論理区画に割り当て(S8010)、このフローを終了する。 When the return processing of all the logical partitions is completed, the CPU 1430 allocates unallocated resources to the logical partitions so as to satisfy the resource guarantee level at the time of failure for each logical partition (S8010), and ends this flow.
 以上の障害処理によれば、障害発生時、障害時リソース保証レベルに応じてリソースを再割当することにより、障害時リソース保証レベルのリソースを保証する事が可能になる。 According to the above fault processing, when a fault occurs, it is possible to guarantee resources at the fault resource guarantee level by reallocating resources according to the fault resource guarantee level.
 本実施例によれば、論理区画の信頼性を確保するために、その論理区画に対しリザーブ用リソースが確保されている場合、通常運用時にリザーブ用リソースを他の論理区画が活用することで、物理ストレージ装置1200全体の稼働率を向上させることができる。 According to the present embodiment, in order to ensure the reliability of the logical partition, when the reserve resource is secured for the logical partition, the reserve resource is utilized by other logical partitions during normal operation. The operating rate of the entire physical storage device 1200 can be improved.
 本実施形態の計算機システムは、以上の複数の実施例の組み合わせであってもよい。 The computer system of this embodiment may be a combination of the above-described plurality of examples.
 本発明は、以上の実施例に限定されるものでなく、その趣旨から逸脱しない範囲で、他の様々な形に変更することができる。 The present invention is not limited to the above embodiments, and can be modified in various other forms without departing from the spirit of the present invention.
 1000…ホスト計算機 1200…物理ストレージ装置 1210…FEPK 1220…CMPK 1230…MPPK 1240…BEPK 1250…ディスク 1260…内部スイッチ 1400…管理サーバ 1430…CPU 1440…メモリ 1500…論理区画
 
DESCRIPTION OF SYMBOLS 1000 ... Host computer 1200 ... Physical storage apparatus 1210 ... FEPK 1220 ... CMPK 1230 ... MPPK 1240 ... BEPK 1250 ... Disk 1260 ... Internal switch 1400 ... Management server 1430 ... CPU 1440 ... Memory 1500 ... Logical partition

Claims (13)

  1.  メモリと、
     前記メモリに接続され、ストレージ装置に接続されるプロセッサと、
    を備え、
     前記プロセッサは、前記ストレージ装置内の複数の計算機資源を複数の論理区画に夫々割り当てることを指示する割当指示を、前記ストレージ装置へ発行し、
     ホスト計算機から前記ストレージ装置へI/O命令が発行された場合、前記ストレージ装置により、前記複数の論理区画から前記I/O命令を処理する論理区画が選択され、前記I/O命令が、前記選択された論理区画に割り当てられた計算機資源を用いて処理され、
     前記メモリは、第1論理区画に割り当てられた第1計算機資源を、第2論理区画に使用させる条件である、変更条件を記憶し、
     前記プロセッサは、前記複数の計算機資源の使用状況を前記ストレージ装置から取得し、前記使用状況に基づいて、前記第2論理区画による計算機資源の使用量を増加させる必要があるか否かを判定し、前記第2論理区画による計算機資源の使用量を増加させる必要があると判定された場合、前記第1計算機資源が前記変更条件を満たすか否かを判定し、前記第1計算機資源が前記変更条件を満たすと判定された場合、前記第1計算機資源を前記第2論理区画に使用させることを指示する変更指示を、前記ストレージ装置へ発行する、
    管理計算機。
    Memory,
    A processor connected to the memory and connected to a storage device;
    With
    The processor issues an allocation instruction to the storage apparatus to instruct to allocate a plurality of computer resources in the storage apparatus to a plurality of logical partitions;
    When an I / O instruction is issued from the host computer to the storage apparatus, the storage apparatus selects a logical partition for processing the I / O instruction from the plurality of logical partitions, and the I / O instruction is Processed using the computer resources assigned to the selected logical partition;
    The memory stores a change condition, which is a condition for causing the second logical partition to use the first computer resource allocated to the first logical partition.
    The processor acquires the usage status of the plurality of computer resources from the storage device, and determines whether or not the usage amount of the computer resources by the second logical partition needs to be increased based on the usage status. When it is determined that it is necessary to increase the usage amount of the computer resource by the second logical partition, it is determined whether the first computer resource satisfies the change condition, and the first computer resource is changed. When it is determined that the condition is satisfied, a change instruction that instructs the second logical partition to use the first computer resource is issued to the storage apparatus.
    Management computer.
  2.  前記プロセッサは、前記使用状況に基づいて、前記第1論理区画による計算機資源の使用量を増加させる必要があるか否かを判定し、前記第1論理区画による計算機資源の使用量を増加させる必要があると判定された場合、前記第1計算機資源が前記第2論理区画により使用されているか否かを判定し、前記第1計算機資源が前記第2論理区画により使用されていると判定された場合、前記第1計算機資源を前記第1論理区画に使用させる再変更指示を、前記ストレージ装置へ発行する、
    請求項1に記載の管理計算機。
    The processor determines whether it is necessary to increase the usage amount of the computer resource by the first logical partition based on the usage state, and needs to increase the usage amount of the computer resource by the first logical partition. If it is determined that the first computer resource is used by the second logical partition, it is determined that the first computer resource is used by the second logical partition. In this case, a re-change instruction for causing the first logical partition to use the first computer resource is issued to the storage device.
    The management computer according to claim 1.
  3.  前記プロセッサは、前記使用状況に基づいて、前記第1計算機資源が前記第1論理区画に使用されているか否かを判定し、前記第1計算機資源が前記第1論理区画に使用されていないと判定された場合、前記第1計算機資源が前記変更条件を満たすと判定する、
    請求項2に記載の管理計算機。
    The processor determines whether the first computer resource is used for the first logical partition based on the usage state, and if the first computer resource is not used for the first logical partition. If determined, the first computer resource is determined to satisfy the change condition;
    The management computer according to claim 2.
  4.  前記プロセッサは、前記第1論理区画の負荷が前記変更指示に応じて増加するか否かを判定し、前記第1論理区画の負荷が前記変更指示に応じて増加しないと判定された場合、前記第1計算機資源が前記変更条件を満たすと判定する、
    請求項3に記載の管理計算機。
    The processor determines whether or not the load of the first logical partition increases according to the change instruction, and when it is determined that the load of the first logical partition does not increase according to the change instruction, Determining that the first computer resource satisfies the change condition;
    The management computer according to claim 3.
  5.  前記変更条件は、前記第1論理区画による前記第1計算機資源の特定状態を示し、
     前記第2論理区画による計算機資源の使用量を増加させる必要があると判定された場合、前記プロセッサは、前記第1論理区画による前記第1計算機資源の状態が前記特定状態である場合、前記第1論理区画の負荷が前記変更指示により増加しないと判定する、
    請求項4に記載の管理計算機。
    The change condition indicates a specific state of the first computer resource by the first logical partition,
    When it is determined that it is necessary to increase the usage amount of the computer resource by the second logical partition, the processor, when the state of the first computer resource by the first logical partition is the specific state, Determining that the load of one logical partition is not increased by the change instruction;
    The management computer according to claim 4.
  6.  前記第1計算機資源は、キャッシュメモリであり、
     前記特定状態は、廃棄可能なデータが前記キャッシュメモリに格納されている状態である、
    請求項5に記載の管理計算機。
    The first computer resource is a cache memory;
    The specific state is a state in which discardable data is stored in the cache memory.
    The management computer according to claim 5.
  7.  前記メモリは、前記第1計算機資源を前記第2論理区画に使用させるために必要な変更準備処理について、前記変更準備処理による前記第1論理区画の負荷の増加量を示す負荷情報を記憶し、
     前記プロセッサは、前記使用状況に基づいて、前記第1論理区画の負荷の余裕を算出し、前記負荷情報に基づいて、前記余裕が前記増加量以上であるか否かを判定し、前記余裕が前記増加量以上であると判定された場合、前記第1計算機資源が前記変更条件を満たすと判定する、
    請求項6に記載の管理計算機。
    The memory stores load information indicating an increase in load of the first logical partition due to the change preparation processing for the change preparation processing necessary for causing the second logical partition to use the first computer resource,
    The processor calculates a load margin of the first logical partition based on the usage state, determines whether the margin is equal to or greater than the increase amount based on the load information, and the margin is If it is determined that the increase amount is greater than or equal to the increase amount, the first computer resource is determined to satisfy the change condition;
    The management computer according to claim 6.
  8.  前記変更指示は、前記第2論理区画による前記第1計算機資源の特定用途を示し、
     前記変更指示に応じて、前記第1計算機資源は、前記第2論理区画より前記特定用途で使用される、
    請求項1に記載の管理計算機。
    The change instruction indicates a specific use of the first computer resource by the second logical partition,
    In response to the change instruction, the first computer resource is used for the specific application from the second logical partition.
    The management computer according to claim 1.
  9.  前記再変更指示に応じて、前記第2論理区画により使用されている前記第1計算機資源を前記第1論理区画に使用させるために必要な再変更準備処理が、前記第2論理区画により行われ、
     前記第2論理区画による計算機資源の使用量を増加させる必要があると判定された場合、前記プロセッサは、前記再変更準備処理に要する時間を予測し、前記予測された時間が予め定められた上限時間以下であるか否かを判定し、前記予測された時間が前記上限時間以下であると判定された場合、前記第1計算機資源が前記変更条件を満たすと判定する、
    請求項2に記載の管理計算機。
    In response to the re-change instruction, re-change preparation processing necessary for causing the first logical partition to use the first computer resource used by the second logical partition is performed by the second logical partition. ,
    When it is determined that it is necessary to increase the amount of computer resources used by the second logical partition, the processor predicts the time required for the re-change preparation process, and the predicted time is a predetermined upper limit. It is determined whether or not the time is less than or equal to the time, and when the predicted time is determined to be less than or equal to the upper limit time, it is determined that the first computer resource satisfies the change condition.
    The management computer according to claim 2.
  10.  前記割当指示は、第2計算機資源を前記第2論理区画に割り当てることを示し、
     前記プロセッサは、前記ストレージ装置により測定された前記第2論理区画の性能を、前記ストレージ装置から取得し、
     前記使用状況は、前記第2論理区画による前記第2計算機資源の使用量を示し、
     前記プロセッサは、前記第2論理区画への前記第2計算機資源の割当量に基づいて、前記使用量の上限である上限使用量を設定し、
     前記使用量が前記上限使用量を上回ると判定され、且つ前記第2論理区画の性能が予め定められた下限性能を下回ると判定された場合、前記プロセッサは、前記第2論理区画による計算機資源の使用量を増加させる必要があると判定する、
    請求項1に記載の管理計算機。
    The allocation instruction indicates that a second computer resource is allocated to the second logical partition;
    The processor acquires the performance of the second logical partition measured by the storage device from the storage device,
    The usage status indicates a usage amount of the second computer resource by the second logical partition,
    The processor sets an upper limit usage amount that is an upper limit of the usage amount based on an allocation amount of the second computer resource to the second logical partition,
    When it is determined that the usage amount exceeds the upper limit usage amount, and the performance of the second logical partition is lower than a predetermined lower limit performance, the processor is configured to use a computer resource by the second logical partition. Determine that usage needs to be increased,
    The management computer according to claim 1.
  11.  前記メモリは、前記第1計算機資源を前記第2論理区画に使用させることを許可する期間を記憶し、
     前記期間内に、前記第1計算機資源が前記変更条件を満たすと判定された場合、前記プロセッサは、前記第1計算機資源を前記第2論理区画に使用させることを指示する変更指示を、前記ストレージ装置へ発行し、前記期間の終了前に、前記再変更指示を前記ストレージ装置へ発行する、
    請求項1に記載の管理計算機。
    The memory stores a period for allowing the second logical partition to use the first computer resource,
    If it is determined that the first computer resource satisfies the change condition within the period, the processor sends a change instruction that instructs the second logical partition to use the first computer resource. Issuing to the storage device, and issuing the re-change instruction to the storage device before the end of the period;
    The management computer according to claim 1.
  12.  前記割当指示は、通常運用時のために第3計算機資源を前記第1論理区画に割り当てることを示し、障害時のために前記第1計算機資源を前記第1論理区画に割り当てることを示し、
     前記変更指示に応じて前記第1計算機資源が前記第2論理区画により使用され、且つ第3計算機資源が前記第1論理区画により使用されている状態において、前記プロセッサは、前記第3計算機資源の障害を検出した場合、前記第1計算機資源を前記第1論理区画に使用させる復旧指示を、前記ストレージ装置へ発行する、
    請求項1に記載の管理計算機。
    The allocation instruction indicates that a third computer resource is allocated to the first logical partition for normal operation, and indicates that the first computer resource is allocated to the first logical partition for failure.
    In the state where the first computer resource is used by the second logical partition and the third computer resource is used by the first logical partition in response to the change instruction, the processor When a failure is detected, a recovery instruction for using the first computer resource for the first logical partition is issued to the storage device.
    The management computer according to claim 1.
  13.  ホスト計算機に接続されるストレージ装置と、
     前記ストレージ装置に接続される管理計算機と、
    を備え、
     前記管理計算機は、前記ストレージ装置内の複数の計算機資源を複数の論理区画に夫々割り当てることを指示する割当指示を、前記ストレージ装置へ発行し、
     前記ホスト計算機から前記ストレージ装置へI/O命令が発行された場合、前記ストレージ装置は、前記複数の論理区画から前記I/O命令を処理する論理区画を選択し、前記選択された論理区画に割り当てられた計算機資源を用いて前記I/O命令を処理し、
     前記管理計算機は、第1論理区画に割り当てられた第1計算機資源を、第2論理区画に使用させる条件である、変更条件を記憶し、
     前記管理計算機は、前記複数の計算機資源の使用状況を前記ストレージ装置から取得し、前記使用状況に基づいて、前記第2論理区画による計算機資源の使用量を増加させる必要があるか否かを判定し、前記第2論理区画による計算機資源の使用量を増加させる必要があると判定された場合、前記第1計算機資源が前記変更条件を満たすか否かを判定し、前記第1計算機資源が前記変更条件を満たすと判定された場合、前記第1計算機資源を前記第2論理区画に使用させることを指示する変更指示を、前記ストレージ装置へ発行する、
     ストレージシステム。
     
    A storage device connected to the host computer;
    A management computer connected to the storage device;
    With
    The management computer issues an allocation instruction to the storage apparatus to instruct to allocate a plurality of computer resources in the storage apparatus to a plurality of logical partitions,
    When an I / O instruction is issued from the host computer to the storage apparatus, the storage apparatus selects a logical partition for processing the I / O instruction from the plurality of logical partitions, and selects the logical partition as the selected logical partition. Processing the I / O instruction using the allocated computer resources;
    The management computer stores a change condition, which is a condition for causing the second logical partition to use the first computer resource allocated to the first logical partition,
    The management computer obtains the usage status of the plurality of computer resources from the storage device, and determines whether it is necessary to increase the usage amount of the computer resource by the second logical partition based on the usage status. When it is determined that it is necessary to increase the usage amount of the computer resource by the second logical partition, it is determined whether or not the first computer resource satisfies the change condition, and the first computer resource is When it is determined that the change condition is satisfied, a change instruction that instructs the second logical partition to use the first computer resource is issued to the storage device.
    Storage system.
PCT/JP2014/068345 2014-07-09 2014-07-09 Management computer and storage system WO2016006072A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/068345 WO2016006072A1 (en) 2014-07-09 2014-07-09 Management computer and storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/068345 WO2016006072A1 (en) 2014-07-09 2014-07-09 Management computer and storage system

Publications (1)

Publication Number Publication Date
WO2016006072A1 true WO2016006072A1 (en) 2016-01-14

Family

ID=55063747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/068345 WO2016006072A1 (en) 2014-07-09 2014-07-09 Management computer and storage system

Country Status (1)

Country Link
WO (1) WO2016006072A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018078741A1 (en) * 2016-10-26 2018-05-03 株式会社日立製作所 Storage apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007102762A (en) * 2005-10-05 2007-04-19 Hitachi Ltd Resource management method in logically partition divisioned storage system
JP2008257572A (en) * 2007-04-06 2008-10-23 Hitachi Ltd Storage system for dynamically assigning resource to logical partition and logical partitioning method for storage system
JP2013041364A (en) * 2011-08-12 2013-02-28 Fujitsu Ltd Storage device and storage management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007102762A (en) * 2005-10-05 2007-04-19 Hitachi Ltd Resource management method in logically partition divisioned storage system
JP2008257572A (en) * 2007-04-06 2008-10-23 Hitachi Ltd Storage system for dynamically assigning resource to logical partition and logical partitioning method for storage system
JP2013041364A (en) * 2011-08-12 2013-02-28 Fujitsu Ltd Storage device and storage management method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018078741A1 (en) * 2016-10-26 2018-05-03 株式会社日立製作所 Storage apparatus

Similar Documents

Publication Publication Date Title
US9569130B2 (en) Storage system having a plurality of flash packages
JP5981563B2 (en) Information storage system and method for controlling information storage system
US8984221B2 (en) Method for assigning storage area and computer system using the same
JP4890033B2 (en) Storage device system and storage control method
JP5037881B2 (en) Storage system and control method thereof
JP5781925B2 (en) Computer system and control method thereof
JP5451875B2 (en) Computer system and storage control method thereof
US8606993B2 (en) Storage controller and virtual volume control method
US8694727B2 (en) First storage control apparatus and storage system management method
JP5073259B2 (en) Virtualization system and area allocation control method
WO2016075779A1 (en) Computer system and storage device
WO2017022002A1 (en) Storage device, storage system, and control method for storage system
JP5531091B2 (en) Computer system and load equalization control method thereof
JP2015517697A (en) Storage system and storage control method using storage area based on secondary storage as cache area
JP2007304794A (en) Storage system and storage control method in storage system
WO2015198441A1 (en) Computer system, management computer, and management method
JP2008299559A (en) Storage system and data transfer method for storage system
JP5597266B2 (en) Storage system
WO2016006072A1 (en) Management computer and storage system
JP5768118B2 (en) Storage system having multiple flash packages
JP6138318B2 (en) Storage system having multiple flash packages
JP5945040B2 (en) Storage system having multiple flash packages

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

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP