WO2016110951A1 - 計算機システム、ライセンス管理方法、及び、管理計算機 - Google Patents

計算機システム、ライセンス管理方法、及び、管理計算機 Download PDF

Info

Publication number
WO2016110951A1
WO2016110951A1 PCT/JP2015/050238 JP2015050238W WO2016110951A1 WO 2016110951 A1 WO2016110951 A1 WO 2016110951A1 JP 2015050238 W JP2015050238 W JP 2015050238W WO 2016110951 A1 WO2016110951 A1 WO 2016110951A1
Authority
WO
WIPO (PCT)
Prior art keywords
computer
physical
management
virtual
instruction
Prior art date
Application number
PCT/JP2015/050238
Other languages
English (en)
French (fr)
Inventor
田中 徹
Original Assignee
株式会社日立製作所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2015/050238 priority Critical patent/WO2016110951A1/ja
Publication of WO2016110951A1 publication Critical patent/WO2016110951A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Definitions

  • the present invention relates to a technology for managing application licenses in a computer system.
  • Patent Document 1 A management computer that manages application licenses using a license pool is known.
  • Software such as applications and operating systems (OS) may need to be updated due to the establishment of various update conditions such as changes in physical resources. For example, when the physical resource allocation amount is expanded as described above, or when the physical resource allocated to the virtual machine is changed, a license update is required.
  • a computer system includes first and second physical computers and a management computer connected to the first and second physical computers.
  • the first physical computer has physical resources, allocates physical resources to the first virtual computer, and executes software on the first virtual computer.
  • the second physical computer has physical resources.
  • the management computer has a license update condition for the software including expansion and change of the physical resource allocated to the first virtual machine, and update condition information for managing the type of identifier that is monitored for the change of the physical resource.
  • the management computer refers to the update condition information.
  • the management computer transmits to the first physical computer a migration instruction for setting the first identifier set in the first virtual computer corresponding to the type in the second virtual computer on the second physical computer.
  • the management computer after migration, sends a change instruction to change the first identifier set in the second virtual machine to the second identifier, and an extension instruction to extend the physical resource allocated to the second virtual machine based on the extension request. Transmit to the second physical computer.
  • the number of software license updates can be reduced.
  • FIG. 1 is a configuration diagram of a computer system according to Embodiment 1.
  • FIG. It is a figure which shows the structure of the memory 1007 of the physical computer 1000.
  • 3 is a diagram showing a configuration of a memory 1507 of a management computer 1500.
  • FIG. 3 is a diagram showing a configuration of a memory 1404 of the storage apparatus 1400.
  • FIG. 4 is an example of a computer resource management table 2004.
  • 4 is an example of an LPAR management table 2005.
  • 4 is an example of a computer management table 2006.
  • 4 is an example of an application management table 2007.
  • It is an example of a license management table 3002. 4 is an example of a configuration information table 4003.
  • FIG. 6 shows an operation schematic diagram of a license update timing change process according to the first embodiment.
  • FIG. 11 is an example of a sequence diagram of a license update timing change process according to the first embodiment. It is an example of the flowchart of migration determination. It is an example of the flowchart of a migration instruction
  • FIG. 10 is an example of a sequence diagram of a license update timing change process according to the second embodiment.
  • FIG. 10 is an example of a sequence diagram of a license update timing change process according to the third embodiment.
  • each piece of information that the computer system of the present embodiment has information may be described in the form of a table.
  • the data structure of each piece of information is not limited and may be expressed in other data structures. Good. Since each piece of information does not depend on the data structure, for example, the “kkk table” can be called “kkk information”.
  • the processor executes a program and performs processing while using a storage resource (for example, a memory) and / or a communication interface device (for example, a communication port).
  • a storage resource for example, a memory
  • a communication interface device for example, a communication port
  • the main subject of processing may be a program, but a processor that executes the program may be the main subject. Further, it can be interpreted that the processing mainly performed by the processor is performed by executing one or more programs.
  • the program includes an application and an OS in addition to each program included in the computer system.
  • the processor is typically a microprocessor or controller such as a CPU (Central Processing Unit), and may include a hardware circuit that executes a part of the processing (for example, encryption / decryption, compression / decompression). .
  • CPU Central Processing Unit
  • LPAR logical partition
  • VM virtual machine
  • LPAR logically divides physical resources (CPU resources, memory resources, I / O resources, etc.) that hardware has from the hypervisor and assigns the logically divided hardware.
  • a virtual machine refers to a logical computer to which resources (logical CPU, logical memory, logical I / O, etc.) obtained by abstracting physical resources possessed by hardware are assigned by a hypervisor.
  • the hypervisor is a function for allocating a physical resource to a virtual machine and realizing the virtual machine.
  • the hypervisor 1008 (1108) may be a virtual machine monitor or a virtualization mechanism having a function for realizing virtualization.
  • FIG. 1 is a configuration diagram of a computer system according to the first embodiment.
  • the computer system includes a plurality of physical computers 1000 and 1100, an FC switch 1200, an IP switch 1300, a storage device 1400, and a management computer 1500.
  • the storage device 1400 is connected to the physical computers 1000 and 1100 via the FC switch 1200.
  • the management computer 1500 is connected to the physical computers 1000 and 1100, the FC switch 1200, and the storage device 1400 via the IP switch 1300.
  • the number of the physical computers 1000 and 1100, the FC switch 1200, the IP switch 1300, the storage device 1400, and the management computer 1500 may be one or more, and the number is not limited to the configuration shown in FIG.
  • the physical computers 1000 and 1100 have, for example, CPU resources, memory resources, I / O resources, and the like as physical resources.
  • the CPU resource is, for example, a processor (CPU).
  • the I / O resource is, for example, an FC I / F, an IP I / F, or the like.
  • the memory resource is, for example, a memory.
  • Each physical computer 1000 (1100) includes a CPU 1002 (1102), a memory 1007 (1107), a hard disk drive (HDD) 1006 (1106), an output device 1004 (1104), an input device 1003 (1103), and an IP. It has I / F (Internet Protocol Interface) 1005 (1105) and FC I / F (Fibre Channel Interface) 1001 (1101). Each of these elements is connected by an internal bus. Since the physical computers 1000 and 1100 shown in FIG. 1 have the same configuration, only the physical computer 1000 will be described for each internal element.
  • the FC I / F 1001 is an interface that transmits and receives input / output data to and from the storage device 1400, and is, for example, an FC HBA (Host Bus Adapter).
  • the FC HBA is assigned a WWN (World Wide Name) as a unique identifier.
  • the IP I / F 1005 is an interface for transmitting / receiving management data to / from the management computer 1500, and is, for example, a NIC (Network Interface Card).
  • the NIC is assigned a MAC address (Media Access Control address) as a unique identifier.
  • the input device 1003 is a device for the user to input information, such as a keyboard and a mouse.
  • the output device 1004 is a device that displays (outputs) information to the user, such as a display.
  • the memory 1007 and the HDD 1006 are devices that store programs and data.
  • the CPU 1002 executes programs stored in the memory 1007, the HDD 1006, etc., and controls the entire physical computer.
  • the CPU 1002 generates and controls the LPARs 1011 and 1012 by executing the hypervisor program 2002 stored in the memory 1007.
  • the operation of the CPU 1002 that executes the hypervisor program 2002 will be described with the hypervisor 1008 as a main component. Further, the LPARs 1011 and 1012 generated and controlled by the hypervisor 1008 may be described as being executed on the hypervisor 1008.
  • the hypervisor 1008 defines LPARs 1011 and 1012 and allocates a part or all of physical resources (CPU resources, memory resources, I / O resources, etc.).
  • the hypervisor 1008 can change the physical resources allocated to the LPARs 1011 and 1012 by increasing or decreasing the allocated amount.
  • the hypervisor 1008 allocates LUs 1411 and 1412 based on the storage devices in the storage apparatus 1400 to the LPARs 1011 and 1012, respectively. Data and the like are stored in the LUs 1411 and 1412 by the OS 2000 and the application 2001 running on the LPARs 1011 and 1012.
  • the FC switch 1200 is a switch device for transferring input / output data between the physical computers 1000 and 1100 and the storage device 1400.
  • the FC switch 1200 is stored in the FC I / F 1203 that transmits / receives input / output data, the IP I / F 1204 that transmits / receives management data from the management computer 1500, the memory 1202 that stores programs, data, and the like, and the memory 1202 A CPU 1201 that executes the program and controls the entire FC switch.
  • the IP switch 1300 is a switch device for transferring management data from the management computer 1500 to the physical computers 1000 and 1100, the FC switch 1200, and the storage device 1400.
  • the IP switch 1300 controls the entire IP switch 1300 by executing an IP I / F 1303 that transmits / receives management data from the management computer 1500, a memory 1302 that stores programs and data, and a program stored in the memory 1302. CPU 1301 to perform.
  • the storage device 1400 processes input / output data from the physical computers 1000 and 1100.
  • the storage device 1400 includes an FC I / F 1401 that receives input / output data transferred from the FC switch 1200, an IP I / F 1402 that receives management data from the management computer 1500, a memory 1404 that stores programs and the like, and a memory
  • the controller 1403 executes the program stored in 1404 and controls the entire storage apparatus, and one or more storage devices 1405 for storing data.
  • the storage device 1405 is, for example, SAS (Serial Attached Small Computer System Interface) -HDD (Hard Disk Drive), SATA (Serial Advanced Technology Attachment) -HDD, SSD (Solid State Drive), semiconductor storage device, etc. Any device can be used.
  • a plurality of storage devices 1405 may constitute a RAID (Redundant Arrays of Inexpensive Disks) group.
  • one or more LUs (Logical Units) 1411 to 1414 are configured and provided to the LPARs 1011 to 1112.
  • the storage device 1405 may be a physical storage device inside the storage apparatus 1400 or a virtual storage device provided from an external storage apparatus.
  • the management computer 1500 is a computer that manages the physical computers 1000 and 1100, the FC switch 1200, the IP switch 1300, the storage device 1400, and the like in the computer system. For example, the management computer 1500 manages the license for the application 2001.
  • the management computer 1500 includes a CPU 1502, a memory 1507, an HDD 1506, an output device 1504, an input device 1503, and an IP I / F 1505. Each of these elements is connected by an internal bus.
  • the IP I / F 1505 is an interface that transmits and receives management data between the physical computers 1000 and 1100, the FC switch 1200, the IP switch 1300, the storage device 1400, and the management computer 1500.
  • the memory 1507 and the HDD 1506 are devices that store programs and data.
  • the CPU 1502 executes programs stored in the memory 1507 and the HDD 1506 to control the entire management computer 1500.
  • the input device 1503 is a device through which a user inputs information, such as a keyboard and a mouse.
  • the output device 1504 is a device that displays (outputs) information to the user, such as a display.
  • FIG. 2 is a diagram showing the configuration of the memory 1007 of the physical computer 1000.
  • the configuration of the memory 1107 of the physical computer 1100 is the same as that of the memory 1007. Therefore, the description of the configuration of the memory 1107 is omitted.
  • the memory 1007 includes an OS 2000, an application 2001, a hypervisor program 2002, a computer management program 2003, a computer resource management table 2004, an LPAR management table 2005, a computer management table 2006, an application management table 2007, and license management.
  • a program 2008 is included.
  • these programs and some or all of the tables 2000 to 2008 may be stored in the HDD 1006, and the physical computer 1000 may read the data from the HDD 1006 into the memory 1007 at startup. Some or all of these programs and tables 2000 to 2008 may be stored in the memory 1007 in advance.
  • the OS 2000 is executed on the physical computer 1000 or the LPARs 1011 and 1012.
  • the application 2001 is an application program or application software.
  • the application 2001 is executed on the OS 2000 of the physical computer 1000 or the LPARs 1011 and 1012, and can perform operations and processes for users of the physical computer 1000 or the LPARs 1011 and 1012.
  • the hypervisor program 2002 is a program that generates and controls the LPARs 1011 and 1012.
  • the computer management program 2003 performs transmission / reception of the computer management table 2006 and the like.
  • the computer resource management table 2004 is physical resource configuration information of the physical computer 1000.
  • the LPAR management table 2005 is configuration information for setting an LPAR executed by the physical computer 1000.
  • the computer management table 2006 is configuration information of various computers such as a physical computer and LPAR.
  • An application management table 2007 is configuration information of the application 2001.
  • the license management program 2008 When the license management program 2008 recognizes that the license update condition is satisfied, the license management program 2008 requests a license update from an external server device or the like. Note that the license management program 2008 may be included in the application 2001.
  • the license update condition is, for example, a change in hardware identifier set in a computer executing the application 2001, an expansion of a physical resource allocated to the computer, or the like.
  • FIG. 3 is a diagram showing a configuration of the memory 1507 of the management computer 1500.
  • the memory 1507 includes an application management program 3001, a license management table 3002, a license update condition table 3003, a computer resource management table 2004, an LPAR management table 2005, a computer management table 2006, an application management table 2007, and configuration information.
  • Table 4003. A part or all of these programs and tables may be stored in the HDD 1506, and the management computer 1500 may read the program from the HDD 1506 into the memory 1507 at the time of activation. Some or all of these programs and tables may be stored in the memory 1507 in advance.
  • the application management program 3001 manages the license of the application 2001 in an integrated manner.
  • the license management table 3002 is license management information for the application 2001.
  • the license update condition table 3003 is information indicating an event that requires a license update of the application 2001, that is, a license update condition.
  • FIG. 4 is a diagram showing a configuration of the memory 1404 of the storage apparatus 1400.
  • the memory 1404 includes a data processing program 4001, a storage management program 4002, and a configuration information table 4003. These programs and some or all of the tables 4001 to 4003 may be stored in the HDD of the storage apparatus 1400, and the storage apparatus 1400 may read from the HDD into the memory 1404 at the time of startup. Some or all of these programs and tables 4001 to 4003 may be stored in the memory 1404 in advance.
  • the data processing program 4001 is a program for processing data in response to a request from the physical computers 1000 and 1100.
  • the storage management program 4002 is a program for managing configuration information and performance information of the storage apparatus 1400.
  • the configuration information table 4003 is configuration information of the storage apparatus 1400.
  • FIG. 5 is an example of the computer resource management table 2004.
  • the computer resource management table 2004 has a record for each physical computer.
  • Each record includes a computer 5001 that is an identifier of the physical computer, a mode 5002 that indicates the operation mode of the physical computer, a CPU 5003 that indicates the amount of CPU resources of the physical computer, and a memory 5004 that indicates the amount of memory resources of the physical computer.
  • FIG. 5 stores the number of sockets (S).
  • Mode 5002 for example, a mode such as “Basic” or “LPAR” is set.
  • “Basic” is a mode in which a physical computer is used as a single physical computer, and is hereinafter referred to as “Basic mode”.
  • the OS 2000 and the application 2001 are installed on the physical computer 1000 (1100).
  • the OS 2000 and the application 2001 can use all physical resources on the physical computer 1000 (1100).
  • LPAR is a mode for using the physical computer 1000 (1100) as one or a plurality of LPARs, and is hereinafter referred to as “LPAR mode”.
  • the hypervisor 1008 (1108) logically divides the physical resources mounted on the physical computer 1000 (1100), so that one or a plurality of LPARs can be created and operated.
  • the OS 2000 and the application 2001 are installed on the LPARs 1011 and 1012 of the physical computer 1000, respectively.
  • the OS 2000 and the application 2001 on each LPAR can use physical resources allocated to the LPAR.
  • FIG. 6 is an example of the LPAR management table 2005.
  • the LPAR management table 2005 has a record for each LPAR.
  • Each record includes a computer 6001 that is an identifier of the physical computer, an LPAR # 6002 that is an identifier of the LPAR that the physical computer has, a Defined 6003 that is a flag indicating whether or not the LPAR is defined on the physical computer, It has a CPU 6004 indicating the amount of CPU resources allocated to the LPAR, and a Memory 6005 indicating the amount of memory resources allocated to the LPAR.
  • the computer 1000 defines LPARs 1011 and 1012 whose LPAR # 6002 is “1011” and “1012”.
  • the LPARs 1011 and 1012 each have 1S CPU resources and 256 GB memory resources. Indicates that it is assigned.
  • FIG. 7 shows an example of the computer management table 2006.
  • the computer when referring simply to a computer, what the computer indicates varies depending on the operation mode of the physical computer.
  • the computer executes in the Basic mode
  • the computer is a physical computer.
  • the computer executes in LPAR mode
  • the computer is LPAR.
  • the computer management table 2006 has a record for each computer.
  • each record includes a Computer 7001 indicating an identifier of a physical computer executing the LPAR, an LPAR # 7002 indicating an identifier of the LPAR, and a CPU_ID 7003 that is an identifier of a CPU assigned to the LPAR.
  • MAC 7004 which is the MAC address assigned to the NIC assigned to the LPAR, MAC_Change 7005 indicating whether or not the LPAR can exchange the MAC address with another LPAR, and the IP address assigned to the LPAR IP_Address 7006.
  • the hypervisor program converts the MAC address of the physical computer and the virtual MAC address of the LPAR, it can be determined that the MAC address can be exchanged. Also, in situations where the hypervisor program cannot convert the MAC address, such as when the NIC is directly recognized by the OS, the hypervisor program or the program on the management computer uses an IF such as NIC driver software that is recognized by the OS on the LPAR. If the MAC address can be controlled via the network, it can be determined that the MAC address can be exchanged.
  • Each record in the computer management table 2006 includes, when the computer is a physical computer, a computer 7001 indicating an identifier of the physical computer, a CPU_ID 7003 that is an identifier of the CPU included in the physical computer, and a NIC included in the physical computer.
  • MAC 7004 that is the MAC address of the IP address
  • IP_Address 7006 that is the IP address assigned to the physical computer.
  • FIG. 8 shows an example of the application management table 2007.
  • the application management table 2007 has a record for each computer.
  • Each record includes a computer 8001 indicating the identifier of the physical computer, an LPAR # 8002 indicating the identifier of the LPAR when the computer is an LPAR, an OS 8003 indicating the type of the OS 2000, an App 8004 indicating the type of the application 2001, Vol 8005 indicating the identifier of the LU provided to the computer, and OS_ID 8006 indicating the identifier by which the OS 2000 uniquely identifies the computer, user, account, and the like.
  • the OS_ID 8006 may be uniquely set in the OS 2000, or may be generated when the OS 2000 is installed in the computer or every time the OS 2000 is initialized.
  • the OS_ID 8006 may be stored in the LU.
  • FIG. 9 is an example of the license update condition table 3003.
  • Each record includes App 9001 indicating the type of the application 2001 to be licensed, Update_condition 9002 indicating the license update condition in the application 2001, and the update condition of the license is “Hardware change” (Update_condition 9002 has the value “Changing”. hardware "), and an OS 9003 indicating the type of OS 2000 to be executed on the computer, and an HW 9004 indicating the type of identifier to be monitored for change when the license update condition is" hardware change ". .
  • the license management program 2008 or the application 2001 detects that the monitoring target indicated in the HW 9004 has been changed, the license management program 2008 or the application 2001 recognizes that the hardware that is the operating environment of the application 2001 has been changed, and updates the license update condition “change hardware” Therefore, it is determined that the license needs to be updated.
  • the hardware that is the operating environment is hardware included in a physical computer executing the application 2001 or hardware allocated to the LPAR executing the application 2001.
  • HW9004 may differ depending on the combination of application 2001 and OS2000.
  • the HW 9004 when the App1 is executed by the OS-A is a MAC address, but when the App1 is executed by the OS-B which is another type of OS, the HW 9004 is the OS_ID 8006.
  • FIG. 10 shows an example of the license management table 3002.
  • the license management table 3002 is a dynamic table that is generated or updated when an expansion request for expanding the physical resource amount allocated to the LPAR or a migration request for migrating the LPAR is received.
  • the LPAR that is the target of the expansion request or the migration request may be referred to as the target LPAR
  • the physical computer that executes the target LPAR may be referred to as the target computer.
  • the LPAR and physical computer of the migration source migrate source
  • the migration destination (migration destination) LPAR and physical computer may be referred to as migration destination LPAR and migration destination computer.
  • the license management table 3002 includes, for example, a computer 10001 indicating the target computer, an LPAR # 10002 indicating the target LPAR, a migration 10003 that is a flag indicating whether the target LPAR needs to be migrated, a target_computer 10004 that indicates the migration destination computer, Target_LPAR10005 indicating the destination LPAR, Status10007 indicating whether or not the target LPAR is invalidated at the time of migration, and the type of identifier to be monitored for change when the license update condition is “hardware change” HW10008 to be indicated, and Target HW_ID10009 to indicate the identifier of HW10008 set in the migration destination LPAR.
  • the target LPAR 1012 executed by the target computer 1000 is migrated to the migration destination LPAR 1111 of the migration destination computer 1100.
  • the MAC address set in the target LPAR 1012 is changed during LPAR migration, and the MAC address after the change is “B”. Further, the target LPAR 1012 is invalidated during migration.
  • invalidating the target LPAR is to prevent the target LPAR from being recognized from the client terminal and the storage apparatus 1400 connected to the target computer via the network.
  • the target LPAR is set to a use prohibited state.
  • the hypervisor program and the program that performs LPAR management are recognized, but the IP or other protocol communication from other physical computers or LPAR to the target LPAR cannot be performed, and the program that performs LPAR management It is conceivable that the hypervisor program recognizes the target LPAR and cannot communicate with other physical computers or LPAR internally.
  • FIG. 11 is an example of the configuration information table 4003.
  • the configuration information table 4003 has a record for each LU provided by the storage apparatus 1400. Each record indicates a storage 11001 that is the identifier of the storage device, an LU 11002 that indicates the identifier of the LU that the storage device has, a size 11003 that indicates the capacity of the LU, and an identifier of the FC I / F 1401 that the storage device has. IF11004 is provided.
  • FIG. 13 is an example of a sequence diagram of a license update timing change process according to the first embodiment.
  • the processing of the management computer 1500 is performed by the CPU 1502 of the management computer 1500 executing the application management program 3001 stored in the memory 1507.
  • the processing of the storage apparatus 1400 is performed by the controller 1403 of the storage apparatus 1400 executing the storage management program 4002.
  • the management computer 1500 receives the expansion request (S13001). For example, an expansion request may be transmitted to the management computer 1500 from a management terminal connected to the management computer 1500 and operated by the administrator. Further, the management computer 1500 may accept an expansion request from the input device 1503 operated by the administrator.
  • the extension request includes, for example, the identifier of the target LPAR, the identifier of the OS 2000 and the identifier of the application 2001 executed in the target LPAR, and the type and amount of the physical resource to be extended.
  • the expansion request may include the type and amount of physical resources before and after expansion. For example, it is specified that the CPU resource is expanded from 1S to 2S and the memory resource is expanded from 256 GB to 512 GB.
  • the management computer 1500 requests the physical computers in the computer system to transmit information of the computer resource management table 2004, the LPAR management table 2005, the computer management table 2006, and the application management table 2007 (S13002).
  • the physical computer that has received the request of S13002 transmits information of the computer resource management table 2004, the LPAR management table 2005, the computer management table 2006, and the application management table 2007 to the management computer 1500 (S13003).
  • the management computer 1500 receives the information in these tables 2004 to 2007 and stores it in the memory 1507.
  • Each physical computer may have only its own information in the tables 2004 to 2007.
  • the management computer 1500 uses a plurality of physical computers based on information received from each physical computer in the computer system. Tables 2004 to 2007 including the above information are created and stored in the memory 1507.
  • the management computer 1500 transmits a transmission request for the configuration information table 4003 to the storage apparatus 1400 (S13004).
  • the storage apparatus 1400 receives the transmission request and transmits the configuration information table 4003 to the management computer 1500 (S13005).
  • the management computer 1500 receives the configuration information table 4003 and stores it in the memory 1507.
  • the management computer 1500 executes a migration determination process (S13006).
  • the management computer 1500 executes migration instruction processing (S13007).
  • the management computer 1500 receives the migration completion notification from the physical computer, and advances the processing to S13008.
  • the management computer 1500 executes the expansion process (S13008).
  • the management computer 1500 receives the expansion processing completion response and the license update request from the physical computer, and advances the processing to S13009.
  • the management computer 1500 executes a license update process (S13009).
  • the management computer 1500 notifies the management terminal connected to the management computer 1500 of the execution result of the series of processing (license update timing change processing) based on the expansion request (S13010).
  • This notification may be a notification that the memory expansion and the license update accompanying the memory expansion have been performed normally, or a notification of a memory expansion or license update error.
  • the management computer 1500 may not transmit a transmission request to the physical computers 1000 and 1100 and the storage apparatus 1400 in the computer system at the timings of S13002 and S13004.
  • the transmission request may be transmitted at any timing such as being periodically made at a predetermined interval.
  • a plurality of physical computers and storage apparatuses 1400 may voluntarily notify the management computer 1500 of information on these tables 2004 to 2007 and 4003. This may be any timing, for example, when each of the physical computers 1000 and 1100 or the storage apparatus 1400 changes these tables 2004 to 2007 and 4003, before executing the cache tier control processing.
  • FIG. 14 is an example of a flowchart of the migration determination process in S13006.
  • the migration determination it is determined whether the target computer to which the target LPAR belongs has a physical resource that satisfies the “physical resource amount to be expanded” specified in the expansion request and has not yet been allocated to the LPAR. Thus, it is determined whether or not to migrate the target LPAR from the target computer.
  • a physical resource that has not yet been assigned to an LPAR may be referred to as a free resource.
  • the “physical resource amount to be expanded” may be calculated from those values.
  • the management computer 1500 refers to the LPAR management table 2005 based on the “identifier of the target LPAR” included in the expansion request, and acquires the identifier 6001 of the target computer. If both the identifier of the target LPAR and the identifier of the target computer are included in the extension request, these identifiers may be acquired (S14001).
  • the management computer 1500 sets the identifier of the target computer and the identifier of the target LPAR in the Computer 10001 and LPAR # 10002 of the license management table 3002 (S14002).
  • the management computer 1500 calculates free resources of the target computer based on the computer resource management table 2004 and the LPAR management table 2005 (S14003).
  • the amount of free resources of the target computer may be calculated.
  • the amount of physical resources allocated to each LPAR in the target computer is calculated.
  • the target computer is the physical computer 1000, in the example of FIG. 6, the CPU 1S and the memory 256GB are allocated to the LPAR 1011 and the LPAR 1012 of the target computer 1000, respectively. That is, the amount of physical resources allocated to the respective LPARs 1011 and 1012 in the target computer 1000 is calculated as CPU 2S and memory 512GB.
  • the management computer 1500 acquires the amount of physical resources possessed by the target computer based on the identifier of the target computer and the computer resource management table 2004.
  • the CPU resource amount 2S and the memory resource amount 512 GB are acquired as the physical resource amount of the target computer 1000.
  • the management computer 1500 calculates free resources of the target computer from the amount of physical resources allocated to each LPAR in the target computer and the amount of physical resources of the target computer.
  • the amount of free resources of the computer 1000 is calculated as CPU0S and memory 0GB.
  • the management computer 1500 compares the “physical resource amount to be expanded” included in the expansion request with the free resource amount of the target computer for the “type of physical resource to be expanded” specified in the expansion request. If the amount of free resources of the target computer is greater than or equal to the physical resource amount to be expanded (S14004; Yes), it means that migration of the target LPAR is not necessary, and the management computer 1500 ends the migration determination process and expands S13008. Proceed with the process. In this case, the migration instruction process of S13007 is not performed.
  • the management computer 1500 selects one other physical computer based on the computer resource management table 2004 and the LPAR management table 2005. Then, similarly to S14003, the amount of free resources of the selected physical computer is calculated (S14005).
  • the management computer 1500 When the amount of free resources of the selected physical computer is less than the physical resource amount after expansion (S14006; No), the management computer 1500 performs the process of S14005.
  • the physical resource amount after expansion is the sum of the physical resource amount allocated to the target LPAR and the physical resource amount to be expanded.
  • the expansion request may include the physical resource amount after expansion. If there is no physical computer to select, the management computer 1500 notifies the management terminal of an error.
  • the management computer 1500 determines the selected physical computer as the migration destination computer (S14007). In addition, the management computer 1500 determines a migration destination LPAR on the migration destination computer.
  • the physical computer having the resource can be determined as the migration destination computer of the target LPAR.
  • the management computer 1500 updates the license management table 3002 (S14008). For example, when the physical computer 1100 and the LPAR 1111 are determined as the migration destination computer and the migration destination LPAR in S14007, the management computer 1500 sets the migration 10003 of the license management table 3002 to “True”, the Target computer 10004 to “1100”, and the Target LPAR10005 to “ Set to 1111 ".
  • the management computer 1500 may select only a physical computer in the same mode (Mode 5002) as the target computer 1000 based on the computer resource management table 2004.
  • a physical computer in the same mode may be preferentially selected.
  • the management computer 1500 may select a physical computer 1100 that is in the same LPAR mode as the target computer 1000 with reference to the computer resource management table 2004. It is necessary to construct a virtual environment by operating the hypervisor program 2002 in the LPAR migration destination computer, but it is necessary to construct a new virtual environment by selecting a physical computer that is already in the LPAR mode. Disappear.
  • the physical computer in the Basic mode may be included in the candidates for the migration destination computer on the assumption that the hypervisor program 2002 is operated to change to the LPAR mode.
  • the management computer 1500 may be selected based on the application management table 2007 among physical computers in the Basic mode, limited to physical computers in which the OS 2000 and the application 2001 are not operating.
  • the hypervisor program 2002 is operated in order to change the Basic mode physical computer to the LPAR mode, there is a possibility that the operation may be affected, such as stopping the OS 2000 or the application 2001 that is running on the Basic mode physical computer. is there. Therefore, by selecting a physical computer on which the OS 2000 and the application 2001 are not operating, it is possible to determine a migration destination computer that does not affect other operations during migration.
  • the basic mode physical computers 1600 and 1700 may be excluded from the selection targets because other applications (for example, App2) are already executed.
  • FIG. 15 is an example of a flowchart of the migration instruction process in S13007.
  • the management computer 1500 uses the license update condition table 3003 as a license update condition (Update_condition 9002) corresponding to the set of the App 9001 and the OS 9003. , It is determined whether there is a condition of “Changing hardware” (S15001).
  • the identifier of the OS 2000 and the identifier of the application 2001 may be acquired from the application management table 2007 based on the “identifier of the target LPAR” included in the extension request.
  • the management computer 1500 advances the process to S15004.
  • the determination result in S 15001 is true (S 15001; Yes)
  • the management computer 1500 is based on the license update condition table 3003 and the computer management table 2006. It is determined whether or not the HW 9004 identifier can be exchanged between the target LPAR 1012 and the migration destination LPAR 1111 (S15002).
  • the management computer 1500 acquires the HW 9004 corresponding to the set of the App 9001 and the OS 9003 in the license update condition table 3003.
  • the HW 9004 indicates the type of identifier to be monitored for change when the license update condition is “changing hardware” (hardware change).
  • the management computer 1500 refers to the MAC_Change 7005 corresponding to the target LPAR 1012 and the migration destination LPAR 1111 in the computer management table 2006, and determines whether both of the MAC_Change 7005 are Yes.
  • MAC_Change 7005 indicates whether or not the LPAR can exchange MAC addresses with other LPARs.
  • both MAC_Change 7005 is Yes, the target LPAR 1012 and the migration destination LPAR 1111 can exchange the MAC address during migration, and the determination result in S15002 is true.
  • the determination result in S 15002 is false.
  • S15002 If the determination result in S15002 is true (S15002; Yes), that is, if the identifier of the HW9004 set in the LPAR is exchangeable, the management computer 1500 advances the process to S15004.
  • the management computer 1500 sets the target LPAR invalidation (S15003). Specifically, the management computer 1500 sets invalidation when the target LPAR is migrated by updating Status 10007 of the license management table 3002 to Disable.
  • the management computer 1500 sets the HW10008 of the license management table 3002 to the value of the HW9004 of the license update condition table 3003. Further, the management computer 1500 refers to the computer management table 2006 or the application management table 2007, and among the hardware set in the migration destination LPAR 1111, the identifier of the HW 9004 of the migration destination LPAR (for example, CPU_ID 7003, MAC 7004, OS_ID 8006, etc.) Is set in the Target HW_ID10009 of the license management table 3002.
  • the management computer 1500 determines whether S15001 has been performed for all applications 2001 executed in the target LPAR (S15004). If the determination result in S15004 is true (S15004; Yes), the management computer 1500 performs the process in S15005. When the determination result in S15004 is false (S15004; No), the management computer 1500 executes the process in S15001 for the remaining application 2001.
  • At least one or more of the applications 2001 executed in the target LPAR 1012 have the condition “Changing hardware” as the license update condition, and the identifier of the HW 9004 set in the LPAR is not exchangeable. If possible, LPAR invalidation is set.
  • the management computer 1500 refers to the license management table 3002 and determines whether Status 10007 is disabled (S15005). If the determination result in S15005 is true (S15005; Yes), the management computer 1500 transmits an LPAR invalidation instruction and a migration instruction to the target computer based on the license management table 3002 (S1507). The management computer 1500 may also send a migration instruction to the migration destination computer.
  • the LPAR invalidation instruction and the migration instruction may be separate instruction requests or different instruction requests.
  • the migration instruction is an instruction to migrate data from the target LPAR of the target computer to the migration destination LPAR of the migration destination computer.
  • the LPAR invalidation instruction is an instruction to invalidate the target LPAR during migration.
  • an instruction is given to transfer the identifier of the HW 9004 set in the target LPAR to the migration destination LPAR.
  • the management computer 1500 invalidates the target LPAR by transmitting an LPAR invalidation instruction together with a migration instruction to the target computer. By invalidating the target LPAR, it is possible to prevent the target LPAR and the migration destination LPAR from operating using the same identifier (eg, MAC address) of the HW 9004.
  • the identifier of the HW 9004 set in the target LPAR is transferred to the migration destination LPAR and migrated.
  • the management program 2008 is not allowed to recognize hardware changes.
  • the license update process is not performed at the timing of migration, and can be performed in S13009 after the expansion process in S13008.
  • the identifier of the HW10008 of the migration destination LPAR is changed from the identifier of the HW9004 set in the target LPAR to the identifier of the HW10008 reserved for the migration destination LPAR (the value of Target HW_ID10009).
  • a change instruction to be changed is transmitted to the migration destination computer. This process can satisfy the requirement that the identifier of the HW 9004 set in the target LPAR is not exchanged (or changed).
  • the management computer 1500 transmits a migration instruction to the target computer 1000 based on the license management table 3002 (S15006).
  • the management computer 1500 may also send a migration instruction to the migration destination computer 1100.
  • the migration instruction in S 15006 does not transfer the identifier of the HW 9004 set in the target LPAR to the migration destination LPAR, and sets the identifier of the HW 10008 reserved for the migration destination LPAR in the migration destination LPAR. You may be instructed to do so.
  • the target computer When the target computer receives the migration instruction, it migrates the target LPAR to the migration destination computer.
  • the target computer 1000 receives the migration instruction and instructs the migration destination computer 1100 to define the migration destination LPAR 1111 to which the physical resource having the same allocation amount as the target LPAR 1012 is allocated.
  • the hypervisor 1108 of the migration destination computer 1100 defines the migration destination LPAR 1111 based on the received instruction.
  • the hypervisor 1108 sets the MAC address “B”, which is the MAC address of the migration destination computer 1100, in the LPAR 1111, and sends an instruction completion response to the target computer 1000.
  • the target computer 1000 copies each piece of information of the target LPAR 1012 to the migration destination LPAR 1111.
  • Each piece of information of the target LPAR 1012 is image data of the target LPAR 1012, for example.
  • Each information may include information such as a relationship (path and zoning) between the target LPAR 1012 and the LU 1412 and a MAC address (MAC “A”) set in the target LPAR 1012.
  • MAC “A” MAC address
  • the hypervisor 1008 of the target computer 1000 receives the LPAR invalidation instruction, the hypervisor 1008 invalidates the LPAR 1012 based on the LPAR invalidation instruction. After invalidating the LPAR 1012, the MAC address (MAC “A”) set in the target LPAR 1012 may be set in the migration destination LPAR 1111.
  • the target computer 1000 transmits a migration completion notification and a LPAR invalidation instruction completion response to the management computer 1500. Since the target LPAR 1012 is invalidated, it is possible to prevent the target LPAR 1012 and the migration destination LPAR 1111 from operating simultaneously using the same MAC address.
  • FIG. 16 is an example of a flowchart of the expansion process in S13008.
  • the management computer 1500 extracts the license update condition for the application 2001 based on the license update condition table 3003 (S16001). Specifically, the management computer 1500 updates the license corresponding to the set of the App 9001 and the OS 9003 in the license update condition table 3003 based on “the identifier of OS 2000” and “the identifier of application 2001” included in the expansion request. A condition (Update condition 9002) is extracted. The identifier of the OS 2000 and the identifier of the application 2001 may be acquired from the application management table 2007 based on the “identifier of the target LPAR” included in the extension request. Then, the management computer 1500 determines whether each of the contents of the extension request matches the extracted license update condition.
  • the management computer 1500 transmits a first extension instruction for instructing expansion of a physical resource that does not match the license update condition in the contents of the expansion request to the physical computer to be expanded (S16002).
  • the migration destination LPAR is the expansion target LPAR
  • the migration destination computer is the expansion target physical computer.
  • migration of the target LPAR is not performed, that is, when the determination result in S14004 is false, the target LPAR is the LPAR to be expanded and the target computer is the physical computer to be expanded.
  • the license update condition of App1 in the license update condition table 3003 shown in FIG. 9 does not include the expansion of the CPU resource allocation amount. Therefore, the license update of App1 does not occur even if the CPU resource is expanded.
  • the management computer 1500 transmits the CPU resource expansion instruction of the migration destination LPAR 1111 to the migration destination computer 1100 as the first expansion instruction.
  • the first expansion instruction is not limited to expansion of the physical resource allocation amount. For example, an instruction for increasing the upper limit value of the physical resource allocation amount for expanding the allocation amount may be used.
  • the hypervisor 1108 of the migration destination computer 1100 receives the CPU resource expansion instruction, expands the CPU resource allocated to the LPAR 1111 based on the CPU resource expansion instruction, and transmits the completion response to the management computer 1500. To do.
  • the management computer 1500 receives the completion response and advances the process to S16003.
  • the management computer 1500 determines whether the status 10007 of the target computer in the license management table 3002 is “Disable” (S 16003). If the determination result is true (S16003; Yes), the management computer 1500 transmits a change instruction for changing the identifier of the HW10008 of the migration destination LPAR to the value of the Target HW_ID10009 to the migration destination computer based on the license management table 3002. (S16004). As a specific example, the management computer 1500 transmits to the migration destination computer 1100 a change instruction to change the MAC address set in the migration destination LPAR 1111 from “A” to “B” by migration. On the other hand, if the determination result is false (S16003; No), the management computer 1500 advances the process to S16005.
  • the management computer 1500 transmits, to the physical computer to be expanded, a second expansion instruction for instructing expansion of the physical resource that matches the extracted license update condition in the contents of the expansion request (S16005).
  • the license update condition table 3003 the license update condition 9003 of App1 includes an expansion of the memory resource allocation amount (Adding memory size). Therefore, if the memory resource is expanded, an App1 license update occurs.
  • the management computer 1500 transmits a memory resource expansion instruction of the migration destination LPAR 1111 to the migration destination computer 1100 as a second expansion instruction.
  • the management computer 1500 may instruct the migration destination computer 1100 to execute the instruction contents of both the change instruction in S16004 and the extension instruction in S16005 at the same timing so that the license update process is not put in between. . Further, the management computer 1500 may issue an extension instruction for instructing the extension of the physical resource based on the extension request, instead of S16001, S16002, and S16005, as the extension process of S13008. In this case, the management computer 1500 issues a change instruction and the extension instruction in S16004.
  • the above process can expand the physical resources of LPAR. Further, when the extension target LPAR is the migration destination LPAR and the exchange of the identifier of the HW10008 is impossible, an instruction to change the identifier of the HW10008 of the migration destination LPAR and a second extension instruction of the migration destination LPAR are issued.
  • the license management program 2008 can summarize the timing for recognizing that a plurality of license update conditions are satisfied at a time. Thereby, the migration destination computer 1100 can transmit the license update request for the application based on the establishment of the plurality of license update conditions to the management computer 1500 at a time.
  • the transmission destination of the license update request may not be the management computer 1500.
  • the migration destination computer 1100 transmits the change instruction within a predetermined time, specifically, for example, by the time when the change of the identifier of the HW 10008 based on the change instruction is completed, It is desirable to send a resource extension indication.
  • the migration destination computer 1100 can expand the memory resources allocated to the LPAR 1111 before ending the change of the identifier (for example, MAC address) of the HW 10008 based on the change instruction. Therefore, the license management program 2008 executed by the migration destination computer 1100 collectively recognizes that the two update conditions of changing the identifier of the HW 10008 and expanding the memory resource are satisfied.
  • the expansion target physical computer transmits an expansion process completion response and a license update request to the management computer 1500.
  • the management computer 1500 receives the expansion processing completion response and the license update request, and advances the processing to S13209.
  • the migration destination computer 1100 may transmit the change instruction in S16004 and the second extension instruction in S16005 to the management computer 1500 as one instruction, or the change in S16004 after the second extension instruction in S16005.
  • An instruction may be sent.
  • the timing at which the management computer transmits two instructions may be adjusted so that one license update request is transmitted. Note that the number of instructions is not limited to two.
  • restart is required due to the expansion of the memory resources of the LPAR1111.
  • the hypervisor 1108 of the migration destination computer 1100 stops the execution of App1, changes the MAC address that is the HW10008 based on the change instruction, and expands the memory resource allocated to the LPAR 1111 based on the memory resource expansion instruction.
  • Start up the license management program 2008 executed by the migration destination computer 1100 collectively recognizes the fulfillment of two license update conditions, that is, change of the MAC address and change of the allocated amount of memory resources, and sends a license update request to the management computer. 1500 can be transmitted.
  • the management computer 1500 issues a plurality of instructions (such as an instruction to change the identifier of the HW10008 and an instruction to extend the physical resource) when a plurality of license update conditions are satisfied.
  • a plurality of instructions such as an instruction to change the identifier of the HW10008 and an instruction to extend the physical resource
  • the license update processing based on the establishment of a plurality of license update conditions for the application 2001 can be collected at a time. Therefore, when the license update condition for the application 2001 is satisfied a plurality of times, the number of license updates can be reduced compared to the case where the license update is performed for the number of times the license update condition is satisfied, and the cost of the license update process Can be reduced. In addition, the processing time based on the extension request can be reduced, and a decrease in service level of the application 2001 can be suppressed. It should be noted that the license update according to other update conditions can be performed in accordance with the license update timing of the application 2001 based on the expansion request.
  • FIG. 17 shows an example of a flow chart of the license update process in S13009.
  • the management computer 1500 receives the license update request and executes the license update of the application 2001 of the expansion target LPAR (S 17001). For example, the management computer 1500 transmits to the management terminal a notification that prompts the administrator to update the license of App1 activated in the migration destination LPAR 1111.
  • the management computer 1500 displays, for example, a message indicating that the expansion of the memory resource allocated to the LPAR 1111 of the physical computer 1100 is detected and the license update of App1 is necessary as a notification screen on the management terminal. Based on this message, the administrator updates the App1 license executed by the LPAR 1111 from the management terminal.
  • the license update may be performed manually as described above, or may be performed automatically by a conventionally known method.
  • the management computer 1500 determines whether the status of the target computer in the license management table 3002 is “Disable” (S 17002). If the determination result is true (S 17002; Yes), the management computer 1500 transmits an instruction to validate the target LPAR based on the license management table 3002 (S 17003). Then, the management computer 1500 advances the process to S17005. On the other hand, if the determination result is false (S17002; No), the management computer 1500 advances the process to S17004.
  • the management computer 1500 determines whether or not the referenced record is the last record in the license management table 3002 (S17004).
  • the management computer 1500 If the determination result is false (S17004; No), the management computer 1500 returns the process to S17001 and refers to the next record in the license management table 3002. On the other hand, if the determination result is true (S17004; Yes), it means that all records have been referenced, and the management computer 1500 ends the process.
  • the management computer 1500 can update the license of the application 2001. If the target LPAR is invalidated, the target LPAR can be validated after the license update. By activating the target LPAR, the same application with another license or another application can be installed.
  • FIG. 12 is an operation schematic diagram of the license update timing change process according to the first embodiment.
  • Mem in the figure is a logical memory formed on the LPAR.
  • the NIC identifier included in the physical computer 1000 is, for example, the MAC address “A”
  • the NIC identifier included in the physical computer 1100 is, for example, the MAC address “B”.
  • each LPAR 1011, 1012, 1111 is shown as 1011S, 1012S, 1111S.
  • D indicates a state where the LPAR is invalidated (Disable)
  • E indicates a state where the LPAR is not invalidated (Enable)
  • Body indicates a state in which the LPAR is not executing an OS or an application.
  • the license update is performed, for example, by each physical computer executing a license management program 2008 owned by itself.
  • the license management program 2008 is a program that monitors the application 2001 and determines whether or not the license update is necessary. Specifically, for example, the license management program 2008 determines whether or not a license update is necessary based on whether or not a license update condition for the application 2001 is satisfied. Note that the license management program 2008 may function alone or may be included in the application 2001.
  • the physical computer transmits an application license update request to the management computer 1500.
  • the physical computer continues the operation of the application as it is. That is, the physical computer does nothing about this determination.
  • the management computer 1500 receives the license update request and performs a license update process.
  • the management computer 1500 may include a process of notifying the management terminal that the application license needs to be updated.
  • the license update process may include a process in which the management computer 1500 automatically updates the license of the application by a conventionally known method.
  • the timing change process is a process for changing the execution timing of the license update described above.
  • the hypervisor 1008 defines LPARs 1011 and 1012 and allocates 1S CPU resources and 256 GB memory resources to these LPARs 1011 and 1012, respectively. Further, it is assumed that the LPAR 1012 is executing APP1.
  • the MAC address of the NIC assigned to the LPAR 1012 is, for example, “A”. Further, it is assumed that the LPAR 1111 of the physical computer 1100 has not been defined yet. Further, it is assumed that a NIC having the MAC address “B” can be allocated to the LPAR 1111.
  • the management computer 1500 receives an expansion request for expanding the allocation amount of the memory resource of the LPAR 1012 from the first allocation amount (for example, 256 GB) to the second allocation amount (for example, 512 GB).
  • the LPAR 1012 may be the target LPAR
  • the physical computer 1000 having the target LPAR 1012 may be referred to as the target computer 1000.
  • the management computer 1500 determines whether or not the target computer 1000 can secure the second allocated amount of memory resources specified by the expansion request.
  • the management computer 1500 determines in S14007 that the physical computer 1100 that can secure the memory resource of the second allocation amount is the migration destination computer.
  • Whether the management computer 1500 can exchange the MAC address “A” of the NIC assigned to the target LPAR 1012 and the MAC address “B” of the NIC scheduled to be assigned to the migration destination LPAR 1111 of the migration destination computer 1100 in S15002. Determine.
  • the management computer 1500 sends a migration instruction for migrating the target LPAR 1012 to the migration destination computer 1100 and an invalidation instruction for the target LPAR 1012. 1000 and the migration destination computer 1100 (S15007).
  • the target computer 1000 and the migration destination computer 1100 receive the migration instruction and the invalidation instruction.
  • the hypervisor 1108 of the migration destination computer 1100 defines the migration destination LPAR 1111 and assigns the 1S CPU resource, the 256 GB memory resource, and the NIC with the MAC address “B” to the migration destination LPAR 1111.
  • the target computer 1000 migrates data from the target LPAR 1012 to the migration destination LPAR 1111 of the migration destination physical computer 1100 and invalidates the target LPAR 1012 based on the migration instruction and the LPAR invalidation instruction. Specifically, for example, the target computer 1000 copies each piece of information of the target LPAR 1012 to the migration destination LPAR 1111. Each piece of information of the target LPAR 1012 is image data of the target LPAR 1012, for example. Each information may include information such as the relationship (path and zoning) between the target LPAR 1012 and the LU 1412 and the MAC address (MAC “A”) of the NIC assigned to the target LPAR 1012.
  • the target LPAR 1012 is substantially migrated to the migration destination physical computer 1100. Due to the migration, the MAC address “A” included in the information of the target LPAR 1012 is set in the migration destination LPAR 1111 instead of the MAC address “B”.
  • the OS 2000 and the application 2001 that have been executed in the target LPAR 1012 can be executed in the migration destination LPAR 1111.
  • the target computer 1000 transmits a migration and LPAR invalidation instruction completion response to the management computer 1500.
  • the client terminal and the storage apparatus 1400 can recognize the migration destination LPAR 1111 instead of the target LPAR 1012.
  • the management computer 1500 changes the MAC address “A” set in the migration destination LPAR 1111 to “B”, and the extension that expands the allocation amount of the memory resource of the migration destination LPAR from 256 GB to 512 GB.
  • the instructions are continuously or collectively transmitted to the migration destination computer 1100.
  • the migration destination computer 1100 receives these instructions.
  • the hypervisor 1108 of the migration destination computer 1100 sets the MAC address “B” in the migration destination LPAR based on the change instruction, and expands the memory resource allocation amount to 512 GB.
  • the license management program 2008 recognizes that two license update conditions are satisfied, that is, the change of the MAC address set in the LPAR and the change of the allocation amount of the memory resource assigned to the LPAR.
  • the license update request is transmitted to the management computer 1500.
  • the management computer 1500 receives the license update request. Then, the management computer 1500 updates the license of APP1. The management computer 1500 can normally restart APP1 by updating the license of APP1.
  • the management computer 1500 transmits an instruction to validate the target LPAR 1012 to the target computer 1000.
  • the hypervisor 1008 of the target computer 1000 validates the target LPAR 1012 based on the instruction.
  • the license update condition is satisfied directly based on the request received by the management computer, and where the license update condition is satisfied indirectly.
  • the management computer 1500 receives a memory resource expansion request
  • the expansion of the memory resource allocated to the LPAR and the indirect update are established, which is the cause of the establishment of the direct update condition.
  • Two update conditions are satisfied by the change of the MAC address after migration of LPAR, which is the cause. From the manager's standpoint, it is desirable for the physical computer to recognize that the update condition is met at the timing of expansion of the memory resource.
  • the management computer 1500 transmits a plurality of instructions for generating an event that becomes a license update condition continuously or collectively to the migration destination computer, so that the migration destination computer recognizes that the license update condition is satisfied by 1 Can be degrees.
  • the license update processing based on the establishment of update conditions for a plurality of licenses of the application can be collected at a time. It is possible to suppress a decrease in service level for users who use the application.
  • by transmitting the migration instruction and invalidation instruction of the target LPAR before a plurality of instructions that satisfy the license update condition it is possible to prevent a plurality of LPARs having the same MAC address from being executed.
  • FIG. 18 is an example of a sequence diagram of a license update timing change process according to the second embodiment.
  • the computer system according to the second embodiment has basically the same configuration as the computer system according to the first embodiment.
  • An external server computer is connected to the management computer 1500 (not shown).
  • the external server computer updates the license of the application in the computer system.
  • the external server computer is connected to the management computer 1500 via a communication network such as the Internet.
  • a communication network such as the Internet.
  • Steps S13001 to S13006 are the same as those in the first embodiment.
  • the management computer 1500 transmits a migration instruction to the target computer (for example, S15006, 15007, etc.), it transmits a license update postponement request to the external server computer. To do.
  • the migration destination computer notifies the external server computer of a license update request by migration, the external server computer does not immediately update the license.
  • the management computer 1500 transmits a license update request to the external server computer in place of the license update (S17001).
  • FIG. 19 is an example of a sequence diagram of a license update timing change process according to the third embodiment.
  • the computer system of the third embodiment has the same configuration as the computer systems of the first and second embodiments.
  • the same configurations and steps as those in Embodiments 1 and 2 are denoted by the same reference numerals, and description thereof is omitted or simplified.
  • the license update timing change process is performed due to an unexpected factor such as a disaster or failure, not based on a request from an administrator's management terminal such as an expansion request.
  • S13002 to 13005 are the same as those in the first embodiment. However, these steps are not steps based on the expansion request, but are performed regularly or irregularly.
  • the management computer 1500 periodically performs backup of LPAR image data.
  • the backup data is stored in, for example, the storage device 1400 (S19001).
  • the management computer 1500 When the management computer 1500 detects a disaster or failure (S19002), the management computer 1500 transmits an LPAR invalidation instruction for invalidating the LPAR executed by the physical computer to the physical computer in which the disaster or failure has occurred (S19003). ).
  • a recovery request is transmitted to the management computer 1500 via the management terminal (S19004).
  • the management computer 1500 receives the recovery request and transmits a recovery instruction for migrating the invalidated LPAR to be requested to another physical computer to the physical computer that is the migration destination.
  • the method for determining the migration destination computer is the same as in the first embodiment.
  • the management computer 1500 executes the license update process of the application executed by the recovered LPAR (S13209), and ends the process.
  • LPAR migration can be performed even when an extension request is not transmitted from the management terminal.
  • the effect of the above processing is the same as that of the first embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

 第1仮想計算機に割り当てられた物理リソースを拡張する拡張要求に基づき、第1物理計算機の第1仮想計算機から、第2物理計算機上の第2仮想計算機にデータをマイグレーションする場合、管理計算機は、更新条件情報を参照して、物理リソースの変更の監視対象である識別子の種類を取得する。管理計算機は、種類に対応する第1仮想計算機に設定された第1識別子を第2仮想計算機に設定するマイグレーション指示を、第1物理計算機に送信する。管理計算機は、マイグレーション後に、第2仮想計算機に設定された第1識別子を第2識別子に変更する変更指示と、拡張要求に基づく第2仮想計算機に割り当てられた物理リソースを拡張する拡張指示を、第2物理計算機に送信する。

Description

計算機システム、ライセンス管理方法、及び、管理計算機
 本発明は、計算機システムにおける、アプリケーションのライセンス管理の技術に関する。
 近年、物理計算機の性能向上により、仮想化技術を用いて複数の仮想的な計算機(仮想計算機)を物理計算機上で実行できるようになった。仮想計算機上では、アプリケーションが実行される。このため、仮想計算機に対し、アプリケーションのワークロード量に応じた物理リソースを割り当てる必要がある。アプリケーションによっては、そのアプリケーションを実行する仮想計算機への物理リソース(CPUやメモリ等)の割当量に応じて、課金するライセンス体系を導入している場合がある。この場合、物理リソースの割当量を拡張することにより、アプリケーションのライセンス更新が必要となる。
 ライセンスプールにより、アプリケーションのライセンスを管理する管理計算機が知られている(特許文献1)。
特開2011-253523号公報
 アプリケーションやオペレーティングシステム(OS)等のソフトウェアは、物理リソースの変更等の種々の更新条件の成立により、そのライセンス更新が必要となる場合がある。例えば、上述のように物理リソースの割当量を拡張する場合や、仮想計算機に割り当てられた物理リソースを変更する場合に、ライセンス更新が必要となる。
 ソフトウェアの性能が不足するとき等、仮想計算機への物理リソースの割当量の拡張が必要となる。しかし、物理計算機が有する物理リソースは有限であるため、ソフトウェアを実行する仮想計算機に対して必要な物理リソースを確保できない場合がある。この場合、ソフトウェアを実行する仮想計算機を、必要な割当量の物理リソースを有する他の物理計算機にマイグレーションする必要がある。この場合、物理リソースの割当量の拡張による更新条件の成立のみならず、物理リソースの割当量の拡張に対して間接的な原因となるマイグレーションで物理リソースを変更したことによる更新条件の成立が発生する。
 このため、ライセンス更新の回数が増加してしまい、ソフトウェアが継続して実行するのを妨げ、ソフトウェアを利用するユーザへのサービスレベルが低下してしまうという課題がある。
 上記課題を解決するために、本発明にかかる計算機システムは、第1及び第2物理計算機と、第1及び第2物理計算機に接続される管理計算機を備える。第1物理計算機は、物理リソースを有し、第1仮想計算機に物理リソースを割り当て、第1仮想計算機上でソフトウェアを実行する。第2物理計算機は、物理リソースを有する。管理計算機は、第1仮想計算機に割り当てた物理リソースの拡張及び変更を含む前記ソフトウェアのライセンス更新条件と、物理リソースの変更の監視対象である識別子の種類を管理する更新条件情報を有する。第1仮想計算機に割り当てられた物理リソースを拡張する拡張要求に基づき、第1物理計算機の第1仮想計算機を、第2物理計算機にデータをマイグレーションする場合、管理計算機は、更新条件情報を参照して、物理リソースの変更の監視対象である識別子の種類を取得する。管理計算機は、種類に対応する第1仮想計算機に設定された第1識別子を第2物理計算機上の第2仮想計算機に設定するマイグレーション指示を、第1物理計算機に送信する。管理計算機は、マイグレーション後に、第2仮想計算機に設定された第1識別子を第2識別子に変更する変更指示と、拡張要求に基づく第2仮想計算機に割り当てられた物理リソースを拡張する拡張指示を、第2物理計算機に送信する。
 本発明では、ソフトウェアのライセンス更新の回数を削減することができる。
実施例1に係る計算機システムの構成図である。 物理計算機1000のメモリ1007の構成を示す図である。 管理計算機1500のメモリ1507の構成を示す図である。 ストレージ装置1400のメモリ1404の構成を示す図である。 計算機リソース管理テーブル2004の一例である。 LPAR管理テーブル2005の一例である。 計算機管理テーブル2006の一例である。 アプリケーション管理テーブル2007の一例である。 ライセンス更新条件テーブル3003の一例である。 ライセンス管理テーブル3002の一例である。 構成情報テーブル4003の一例である。 実施例1に係るライセンス更新のタイミング変更処理の動作概要図を示す。 実施例1に係るライセンス更新のタイミング変更処理のシーケンス図の一例である。 マイグレーション判定のフローチャートの一例である。 マイグレーション指示のフローチャートの一例である。 拡張処理のフローチャートの一例である。 ライセンス更新処理のフローチャートの一例を示す。 実施例2に係るライセンス更新のタイミング変更処理のシーケンス図の一例である。 実施例3に係るライセンス更新のタイミング変更処理のシーケンス図の一例である。
 以下の説明では、本実施例の計算機システムが有する各情報について、テーブルの表現で情報を説明することがあるが、各情報のデータ構造は限定されず、他のデータ構造で表現されていてもよい。各情報はデータ構造に依存しないため、例えば「kkkテーブル」を「kkk情報」と呼ぶことができる。
 以下の説明において、プロセッサは、プログラムを実行し、記憶資源(例えば、メモリ)及び/又は通信インターフェイスデバイス(例えば、通信ポート)等を用いながら処理を行う。処理の主体について、以下の説明ではプログラムを主体とする場合があるが、プログラムを実行するプロセッサを主体としてもよい。また、プロセッサが主体となっている処理は、1以上のプログラムを実行することにより行われると解釈することができる。ここで、プログラムとは、計算機システムが有する各プログラムに加えて、アプリケーションやOSを含む。プロセッサは、典型的にはCPU(Central Processing Unit)のようなマイクロプロセッサやコントローラであり、処理の一部(例えば、暗号化/復号化、圧縮/伸張)を実行するハードウェア回路を含んでもよい。
 また、以下の説明では、同種の要素を区別しないで説明する場合には、参照符号を使用し、同種の要素を区別して説明する場合には、その要素の参照符号に代えて、その要素に割り振られた識別子(例えば番号及び符号のうちの少なくとも1つ)を使用することがある。
 以下の説明において、単に計算機という場合、計算機が示すものは、物理計算機であっても仮想計算機であってもいい。
 仮想計算機には、論理分割(LPAR;Logical Partition)と、仮想マシン(VM;Virtual Machine)がある。LPARとは、ハイパーバイザより、ハードウェアが有する物理リソース(CPUリソース、メモリリソース、I/Oリソース等)を論理的に分割し、その論理的に分割されたハードウェアを割当てられた論理区画をいう。仮想マシンとは、ハイパーバイザにより、ハードウェアが有する物理リソースを抽象化したリソース(論理CPU、論理メモリ、論理I/O等)を割当てられた論理計算機をいう。ハイパーバイザは、仮想計算機に物理リソースを割当て、仮想計算機を実現する機能である。
 以降の説明では、物理計算機1000(1100)上で、LPAR1011・1012(1111・1112)が実行する例を示しているが、仮想マシンを実行するとしてもよい。従って、以下での説明は、LPARを仮想マシンに置き換えて説明できる。なお、ハイパーバイザ1008(1108)は、仮想マシンモニタや、仮想化を実現する機能を有する仮想化機構であってもよい。
 図1は、実施例1に係る計算機システムの構成図である。計算機システムは、複数の物理計算機1000・1100と、FCスイッチ1200と、IPスイッチ1300と、ストレージ装置1400と、管理計算機1500とを有する。ストレージ装置1400は、FCスイッチ1200を介して、物理計算機1000・1100に接続されている。また、管理計算機1500は、IPスイッチ1300を介して、物理計算機1000・1100、FCスイッチ1200、ストレージ装置1400に接続されている。物理計算機1000・1100、FCスイッチ1200、IPスイッチ1300、ストレージ装置1400、管理計算機1500は、それぞれ1以上あれば良く、個数は図1に示す構成に限定されない。
 各物理計算機1000・1100は、物理リソースとして、例えばCPUリソース、メモリリソース、I/Oリソース等を有する。CPUリソースは、例えばプロセッサ(CPU)等である。I/Oリソースは、例えばFC I/F、IP I/F等である。メモリリソースは、例えばメモリ等である。
 各物理計算機1000(1100)は、CPU1002(1102)と、メモリ1007(1107)と、ハードディスクドライブ(HDD)1006(1106)と、出力装置1004(1104)と、入力装置1003(1103)と、IP I/F(Internet Protocol Interface)1005(1105)と、FC I/F(Fibre Channel Interface)1001(1101)とを有する。これらの各要素は、内部バスにより接続されている。図1に示す物理計算機1000・1100は、同じ構成のため、内部の各要素については物理計算機1000のみを説明する。
 FC I/F1001は、ストレージ装置1400との入出力データを送受信するインタフェースであり、例えばFC HBA(Host Bus Adapter)である。FC HBAは一意な識別子として、WWN(World Wide Name)を割り当てられている。IP I/F1005は、管理計算機1500との管理データを送受信するインタフェースであり、例えばNIC(Network Interface Card)である。また、NICは一意な識別子として、MACアドレス(Media Access Control address)を割り当てられている。
 入力装置1003は、例えば、キーボードやマウスなど、ユーザが情報を入力する装置である。出力装置1004は、例えば、ディスプレイなど、ユーザへ情報を表示(出力)する装置である。メモリ1007及びHDD1006は、プログラムやデータなどを記憶するデバイスである。CPU1002は、メモリ1007、HDD1006等に記憶されたプログラムを実行し物理計算機全体を制御する。
 CPU1002が、メモリ1007に記憶されたハイパーバイザプログラム2002を実行することにより、LPAR1011・1012を生成して制御する。ハイパーバイザプログラム2002を実行するCPU1002による動作を、ハイパーバイザ1008を主体として説明する。また、ハイパーバイザ1008により生成され制御されるLPAR1011・1012について、ハイパーバイザ1008上でLPAR1011・1012が実行されると説明することがある。
 ハイパーバイザ1008は、LPAR1011・1012を定義し、物理リソース(CPUリソース・メモリリソース・I/Oリソース等)の一部又は全部を割当てる。ハイパーバイザ1008は、LPAR1011・1012に割当てる物理リソースについて、割当量を増減する等の変更が可能である。ハイパーバイザ1008は、LPAR1011・1012に、ストレージ装置1400内の記憶デバイスに基づくLU1411・1412をそれぞれ割当てる。LPAR1011・1012上で稼動するOS2000及びアプリケーション2001により、データ等がLU1411・1412に格納される。
 FCスイッチ1200は、物理計算機1000・1100と、ストレージ装置1400と、の間で入出力データを転送するためのスイッチ装置である。FCスイッチ1200は、入出力データを送受信するFC I/F1203と、管理計算機1500からの管理データを送受信するIP I/F1204と、プログラム、データ等を記憶するメモリ1202と、メモリ1202に記憶されたプログラムを実行して、FCスイッチ全体を制御するCPU1201と、を有する。
 IPスイッチ1300は、管理計算機1500から物理計算機1000・1100、FCスイッチ1200、ストレージ装置1400へ管理データを転送するためのスイッチ装置である。IPスイッチ1300は、管理計算機1500からの管理データを送受信するIP I/F1303と、プログラム、データ等を記憶するメモリ1302と、メモリ1302に記憶されたプログラムを実行して、IPスイッチ1300全体を制御するCPU1301と、を有する。
 ストレージ装置1400は、物理計算機1000・1100からの入出力データを処理する。ストレージ装置1400は、FCスイッチ1200から転送された入出力データを受信するFC I/F1401と、管理計算機1500からの管理データを受信するIP I/F1402と、プログラム等を記憶するメモリ1404と、メモリ1404に記憶されたプログラムを実行しストレージ装置全体を制御するコントローラ1403と、データを保存する1または複数の記憶デバイス1405とを有する。
 記憶デバイス1405は、例えば、SAS(Serial Attached Small Computer System Interface)-HDD(Hard Disk Drive)、SATA(Serial Advanced Technology Attachment)-HDD、SSD(Solid State Drive)、半導体記憶デバイス等であり、データを保存するデバイスであれば良い。また、複数の記憶デバイス1405により、RAID(Redundant Arrays of Inexpensive Disks)グループが構成されてよい。1以上の記憶デバイス又は1以上のRAIDグループに基づき、1又は複数のLU(Logical Unit)1411~1414が構成され、LPAR1011~1112に提供される。記憶デバイス1405は、ストレージ装置1400内部の物理記憶デバイスであってもよいし、外部ストレージ装置から提供された仮想記憶デバイスであっても良い。
 管理計算機1500は、計算機システム内の物理計算機1000・1100、FCスイッチ1200、IPスイッチ1300、ストレージ装置1400等を管理する計算機である。例えば、管理計算機1500は、アプリケーション2001のライセンスを管理する。管理計算機1500は、CPU1502と、メモリ1507と、HDD1506と、出力装置1504と、入力装置1503と、IP I/F1505とを有する。これらの各要素は、内部バスにより接続されている。
 IP I/F1505は、物理計算機1000・1100、FCスイッチ1200、IPスイッチ1300、ストレージ装置1400と管理計算機1500との間で、管理データを送受信するインタフェースである。メモリ1507及びHDD1506は、プログラムやデータなどを記憶するデバイスである。CPU1502は、メモリ1507及びHDD1506に記憶されたプログラムを実行して、管理計算機1500全体を制御する。入力装置1503は、例えば、キーボードやマウスなど、ユーザが情報を入力する装置である。出力装置1504は、例えば、ディスプレイなど、ユーザへ情報を表示(出力)する装置である。
 図2は、物理計算機1000のメモリ1007の構成を示す図である。物理計算機1100のメモリ1107についても、メモリ1007と構成は同じである。このため、メモリ1107の構成については説明を省略する。
 メモリ1007は、OS2000と、アプリケーション2001と、ハイパーバイザプログラム2002と、計算機管理プログラム2003と、計算機リソース管理テーブル2004と、LPAR管理テーブル2005と、計算機管理テーブル2006と、アプリケーション管理テーブル2007と、ライセンス管理プログラム2008を有する。例えば、HDD1006にこれらのプログラム及びテーブル2000~2008の一部または全部が保存されており、物理計算機1000が、起動時にHDD1006からメモリ1007に読み込んでもよい。これらのプログラム及びテーブル2000~2008の一部または全部が、予めメモリ1007に格納されていてもよい。
 OS2000は、物理計算機1000またはLPAR1011・1012上で実行される。アプリケーション2001は、アプリケーションプログラムやアプリケーションソフトウェアである。アプリケーション2001は、物理計算機1000またはLPAR1011・1012のOS2000上で実行され、物理計算機1000またはLPAR1011・1012の利用者向けに作業や処理を実施可能である。ハイパーバイザプログラム2002は、LPAR1011・1012を生成して制御するプログラムである。
 計算機管理プログラム2003は、計算機管理テーブル2006の送受信などを行う。計算機リソース管理テーブル2004は、物理計算機1000の物理リソースの構成情報である。LPAR管理テーブル2005は、物理計算機1000で実行するLPARを設定するための構成情報である。計算機管理テーブル2006は、物理計算機、LPAR等の各種計算機の構成情報である。アプリケーション管理テーブル2007は、アプリケーション2001の構成情報である。
 ライセンス管理プログラム2008は、ライセンスの更新条件の成立を認識した場合に、外部のサーバ装置等にライセンス更新を要求する。なお、ライセンス管理プログラム2008は、アプリケーション2001に含まれていてもよい。ライセンスの更新条件は、例えば、アプリケーション2001を実行する計算機に設定されたハードウェアの識別子変更、計算機に割り当てられた物理リソースの拡張などである。
 図3は、管理計算機1500のメモリ1507の構成を示す図である。メモリ1507は、アプリケーション管理プログラム3001と、ライセンス管理テーブル3002と、ライセンス更新条件テーブル3003と、計算機リソース管理テーブル2004と、LPAR管理テーブル2005と、計算機管理テーブル2006と、アプリケーション管理テーブル2007と、構成情報テーブル4003と、を有する。HDD1506にこれらのプログラム及びテーブルの一部または全部が保存されており、管理計算機1500が、起動時にHDD1506からメモリ1507に読み込んでもよい。これらのプログラム及びテーブルの一部または全部が、予めメモリ1507に格納されていてもよい。
 アプリケーション管理プログラム3001は、アプリケーション2001のライセンスを統合的に管理する。ライセンス管理テーブル3002は、アプリケーション2001のライセンスの管理情報である。ライセンス更新条件テーブル3003は、アプリケーション2001のライセンス更新が必要となる事象、つまり、ライセンスの更新条件を示した情報である。
 図4は、ストレージ装置1400のメモリ1404の構成を示す図である。メモリ1404は、データ処理プログラム4001と、ストレージ管理プログラム4002と、構成情報テーブル4003とを有する。ストレージ装置1400が有するHDDにこれらのプログラム及びテーブル4001~4003の一部または全部が保存されており、ストレージ装置1400が、起動時にHDDからメモリ1404へ読み込んでもよい。これらのプログラム及びテーブル4001~4003の一部または全部が、予めメモリ1404に格納されていてもよい。
 データ処理プログラム4001は、物理計算機1000・1100からの要求に応じてデータを処理するプログラムである。ストレージ管理プログラム4002は、ストレージ装置1400の構成情報や性能情報を管理するプログラムである。構成情報テーブル4003は、ストレージ装置1400の構成情報である。
 図5は、計算機リソース管理テーブル2004の一例である。計算機リソース管理テーブル2004は、物理計算機毎のレコードを有する。各レコードは、当該物理計算機の識別子であるComputer5001と、当該物理計算機の動作モードを示すMode5002と、当該物理計算機のCPUリソースの量を示すCPU5003と、当該物理計算機のメモリリソースの量を示すMemory5004と、を有する。CPU5003の例として、図5ではソケット(S)の数を格納している。
 Mode5002には、例えば“Basic”や“LPAR”等のモードが設定される。ここで、“Basic”は、物理計算機を単一の物理的な計算機として利用するモードであり、以下「Basicモード」という。この場合、物理計算機1000(1100)上にOS2000及びアプリケーション2001がインストールされる。OS2000及びアプリケーション2001は、物理計算機1000(1100)上の全ての物理リソースを利用することができる。
 一方、“LPAR”は、物理計算機1000(1100)を1または複数のLPARとして利用するためのモードであり、以下「LPARモード」という。物理計算機1000(1100)に搭載された物理リソースを、ハイパーバイザ1008(1108)が論理分割することで、1または複数のLPAR作成及び運用することができる。この場合、例えば物理計算機1000のLPAR1011・1012上に、それぞれOS2000及びアプリケーション2001がインストールされる。各LPAR上のOS2000及びアプリケーション2001は、当該LPARに割り当てられた物理リソースを利用することができる。
 図6は、LPAR管理テーブル2005の一例である。LPAR管理テーブル2005は、LPAR毎のレコードを有する。各レコードは、物理計算機の識別子であるComputer6001と、当該物理計算機が有するLPARの識別子であるLPAR#6002と、当該LPARが物理計算機上に定義されているか否かを示すフラグであるDefined6003と、当該LPARに割当てられたCPUリソースの量を示すCPU6004と、当該LPARに割当てられたメモリリソースの量を示すMemory6005と、を有する。
 図6の例では、計算機1000にはLPAR#6002が「1011」及び「1012」であるLPAR1011・1012が定義されており、LPAR1011・1012には、それぞれ1SのCPUリソースと、256GBのメモリリソースが割当てられていることを示している。
 図7は、計算機管理テーブル2006の一例である。以下の説明において単に計算機という場合、計算機が示すものは、物理計算機の動作モードによって異なる。物理計算機がBasicモードで実行する場合は、計算機は物理計算機である。物理計算機がLPARモードで実行する場合は、計算機はLPARである。
 計算機管理テーブル2006は、計算機毎のレコードを有する。各レコードは、当該計算機がLPARの場合には、当該LPARを実行する物理計算機の識別子を示すComputer7001と、当該LPARの識別子を示すLPAR#7002と、当該LPARに割当てられたCPUの識別子であるCPU_ID7003と、当該LPARに割当てられたNICに付与されたMACアドレスであるMAC7004と、当該LPARが他のLPARとMACアドレスを交換可能か否かを表すMAC_Change7005と、当該LPARに割当てられたIPアドレスであるIP_Address7006と、を有する。
 MAC_Change7005が“Yes”の場合、例えば、当該LPARから他のLPARへマイグレーションした時点で、それらのLPARの間でMACアドレスを交換できることを示す。一方、MAC_Change7005が“No”の場合、他のLPARとMACアドレスが交換できないことを示す。例えば、ハイパーバイザプログラムが物理計算機のMACアドレスとLPARの仮想的なMACアドレスを変換している場合には、MACアドレスを交換できると判断できる。また、NICがOSに直接認識されるなどハイパーバイザプログラムがMACアドレスを変換できない状況においては、ハイパーバイザプログラムや管理計算機上のプログラムがLPAR上のOSで認識されるNICのドライバソフトウェアなどのIFを介してMACアドレスを制御できる場合には、MACアドレスを交換できると判断できる。
 また、計算機管理テーブル2006の各レコードは、当該計算機が物理計算機の場合には、当該物理計算機の識別子を示すComputer7001と、当該物理計算機が有するCPUの識別子であるCPU_ID7003と、当該物理計算機が有するNICのMACアドレスであるMAC7004と、当該物理計算機に割当てられたIPアドレスであるIP_Address7006と、を有する。
 図8は、アプリケーション管理テーブル2007の一例である。アプリケーション管理テーブル2007は、計算機毎のレコードを有する。各レコードは、物理計算機の識別子を示すComputer8001と、当該計算機がLPARである場合に当該LPARの識別子を示すLPAR#8002と、OS2000の種類を示すOS8003と、アプリケーション2001の種類を示すApp8004と、当該計算機に提供されるLUの識別子を示すVol8005と、OS2000が当該計算機・ユーザ・アカウント等を一意に識別する識別子を示すOS_ID8006と、を有する。OS_ID8006は、OS2000に一意に設定されてもよいし、計算機にOS2000をインストールするとき、又はOS2000を初期化する度に生成されてもよい。OS_ID8006は、LUに記憶されてよい。
 図9は、ライセンス更新条件テーブル3003の一例である。各レコードは、ライセンスの対象となるアプリケーション2001の種類を示すApp9001と、当該アプリケーション2001におけるライセンスの更新条件を示すUpdate_condition9002と、当該ライセンスの更新条件が“ハードウェアの変更”(Update_condition9002の値が“Changing hardware”)である場合の計算機上で実行するOS2000の種類を示すOS9003と、当該ライセンスの更新条件が“ハードウェアの変更”の場合に、変更の監視対象である識別子の種類を示すHW9004を有する。
 ライセンス管理プログラム2008またはアプリケーション2001は、HW9004に示す監視対象が変更されたことを検出すると、アプリケーション2001の動作環境であるハードウェアが変更されたと認識し、当該ライセンスの更新条件“ハードウェアの変更”に該当するため、ライセンスの更新が必要と判断する。ここで、動作環境であるハードウェアとは、アプリケーション2001を実行している物理計算機が有するハードウェア、又はアプリケーション2001を実行しているLPARに割り当てられたハードウェアである。
 HW9004は、アプリケーション2001とOS2000の組合せにより、異なる場合がある。図9の例では、OS-AでApp1を実行する場合のHW9004はMACアドレスであるが、別の種類のOSであるOS-BでApp1を実行する場合、HW9004はOS_ID8006である。
 図10は、ライセンス管理テーブル3002の一例である。ライセンス管理テーブル3002は、LPARに割り当てられた物理リソース量を拡張するための拡張要求やLPARをマイグレーションするための移行要求を受信したときに生成または更新される動的なテーブルである。
 以下の説明においては、拡張要求または移行要求の対象となるLPARを、対象LPARという場合があり、対象LPARを実行する物理計算機を対象計算機という場合がある。また、物理計算機間でLPARのマイグレーションが行われた場合、マイグレーション元(移行元)のLPAR及び物理計算機が、対象LPAR及び対象計算機である。そして、マイグレーション先(移行先)のLPAR及び物理計算機を、移行先LPAR及び移行先計算機という場合もある。
 ライセンス管理テーブル3002は、例えば、対象計算機を示すComputer10001と、対象LPARを示すLPAR#10002と、対象LPARのマイグレーションが必要か否かを示すフラグであるMigration10003と、移行先計算機を示すTarget_computer10004と、移行先LPARを示すTarget_LPAR10005と、対象LPARをマイグレーションの際に無効化するか否かを示すStatus10007と、ライセンスの更新条件が“ハードウェアの変更”の場合に、変更の監視対象である識別子の種類を示すHW10008と、移行先LPARに設定されたHW10008の識別子を示すTarget HW_ID10009と、を備える。
 図10の例では、対象計算機1000が実行する対象LPAR1012を、移行先計算機1100の移行先LPAR1111にマイグレーションすることを示している。LPARのマイグレーションに際して変更されるのは、対象LPAR1012に設定されたMACアドレスであり、変更後のMACアドレスは“B”である。また、マイグレーションの際、対象LPAR1012は、無効化される。ここで、対象LPARを無効化するとは、対象計算機にネットワークを介して接続されたクライアント端末及びストレージ装置1400等から、対象LPARが認識されないようにすることである。対象LPARを無効化した場合、対象LPARは利用禁止状態に設定される。対象LPARが認識されないとは、ハイパーバイザプログラムやLPAR管理を行うプログラムは認識しているが他の物理計算機やLPARから対象LPARへのIPもしくは他プロトコルでの通信が行えない、LPAR管理を行うプログラムからは隠蔽されているがハイパーバイザプログラムは対象LPARを認識していて内部的に他の物理計算機やLPARとの通信を行えない、などが考えられる。
 図11は、構成情報テーブル4003の一例である。構成情報テーブル4003は、ストレージ装置1400が提供するLU毎のレコードを有する。各レコードは、当該ストレージ装置の識別子であるStorage11001と、当該ストレージ装置が有するLUの識別子を示すLU11002と、当該LUの容量を示すSize11003と、当該ストレージ装置が有する、FC I/F1401の識別子を示すIF11004を備える。
 図13は、実施例1に係るライセンス更新のタイミング変更処理のシーケンス図の一例である。タイミング変更処理において、管理計算機1500の処理は、管理計算機1500のCPU1502が、メモリ1507に格納されたアプリケーション管理プログラム3001を実行することにより行われる。また、ストレージ装置1400の処理は、ストレージ装置1400のコントローラ1403が、ストレージ管理プログラム4002を実行することにより行われる。
 以下、アプリケーション2001の性能を向上させるため、アプリケーション2001を実行するLPARに割り当てられた物理リソースの量を拡張させるための拡張要求を、管理計算機1500が受信した場合の処理の例を示す。
 管理計算機1500は、拡張要求を受信する(S13001)。例えば、管理計算機1500に接続され、管理者が操作する管理端末から、拡張要求が管理計算機1500へ送信されてもよい。また、管理計算機1500は、管理者が操作する入力装置1503から、拡張要求を受け付けてもよい。
 拡張要求には、例えば、対象LPARの識別子と、対象LPARで実行されるOS2000の識別子及びアプリケーション2001の識別子と、拡張する物理リソースの種類及び量と、が含まれる。また、拡張要求において、拡張前及び拡張後の物理リソースの種類及び量が含まれていても良く、例えばCPUリソースを1Sから2Sに、メモリリソースを256GBから512GBに拡張すると指定される。
 管理計算機1500は、計算機システム内の物理計算機に対して、計算機リソース管理テーブル2004、LPAR管理テーブル2005、計算機管理テーブル2006、及び、アプリケーション管理テーブル2007の情報の送信を要求する(S13002)。
 S13002の要求を受信した物理計算機は、計算機リソース管理テーブル2004、LPAR管理テーブル2005、計算機管理テーブル2006、アプリケーション管理テーブル2007の情報を、管理計算機1500に送信する(S13003)。管理計算機1500は、これらのテーブル2004~2007の情報を受信して、メモリ1507に格納する。なお、各物理計算機はテーブル2004~2007に自身の情報しか有していなくても良く、その場合、管理計算機1500は、計算機システム内の各物理計算機から受信した情報に基づいて、複数の物理計算機の情報を含むテーブル2004~2007を作成してメモリ1507に格納する。
 管理計算機1500は、ストレージ装置1400に対し、構成情報テーブル4003の送信要求を送信する(S13004)。
 ストレージ装置1400は、送信要求を受信し、管理計算機1500に対し、構成情報テーブル4003を送信する(S13005)。管理計算機1500は、構成情報テーブル4003を受信し、メモリ1507に格納する。
 管理計算機1500は、マイグレーション判定処理を実行する(S13006)。
 管理計算機1500は、マイグレーション指示処理を実行する(S13007)。管理計算機1500は、物理計算機からマイグレーションの完了通知を受信し、S13008に処理を進める。
 管理計算機1500は、拡張処理を実行する(S13008)。管理計算機1500は、物理計算機から拡張処理の完了応答及びライセンス更新要求を受信し、S13009に処理を進める。
 管理計算機1500は、ライセンス更新処理を実行する(S13009)。
 管理計算機1500は、拡張要求に基づく上記の一連の処理(ライセンス更新のタイミング変更処理)の実行結果を、管理計算機1500に接続された管理端末に通知する(S13010)。この通知は、メモリの拡張及びメモリの拡張に伴うライセンス更新が正常に行われた旨の通知であるか、メモリの拡張又はライセンス更新のエラーの通知であってよい。
 管理計算機1500は、計算機システム内の物理計算機1000・1100及びストレージ装置1400に対する送信要求を、S13002及びS13004のタイミングで送信しなくてもよい。送信要求は、所定の間隔で定期的に行われる等、どのようなタイミングで送信されもよい。
 また、送信要求によってではなく、複数の物理計算機及びストレージ装置1400が、管理計算機1500に対し、自発的にこれらのテーブル2004~2007、4003の情報を通知するとしてもよい。これは例えば、各物理計算機1000・1100又はストレージ装置1400において、これらのテーブル2004~2007、4003を変更したタイミング、キャッシュ階層制御処理の実行前等、どのようなタイミングであってもよい。
 図14は、S13006のマイグレーション判定処理のフローチャートの一例である。マイグレーション判定では、対象LPARが属する対象計算機に、拡張要求で指定された「拡張する物理リソース量」を満たす物理リソースであって、未だLPARに割り当てられていない物理リソースがあるか否かを判定することで、対象LPARを対象計算機からマイグレーションするか否かを決定している。以下の説明では、未だLPARに割り当てられていない物理リソースを空きリソースという場合がある。また、拡張要求に、拡張前及び拡張後の物理リソースの量が含まれている場合、それらの値から「拡張する物理リソース量」を算出しても良い。
 管理計算機1500は、拡張要求に含まれる「対象LPARの識別子」に基づき、LPAR管理テーブル2005を参照して、対象計算機の識別子6001を取得する。拡張要求に、対象LPARの識別子と対象計算機の識別子の両方が含まれていれば、それらの識別子を取得しても良い(S14001)。
 管理計算機1500は、対象計算機の識別子と対象LPARの識別子を、ライセンス管理テーブル3002のComputer10001、及び、LPAR#10002にそれぞれ設定する(S14002)。
 管理計算機1500は、計算機リソース管理テーブル2004及びLPAR管理テーブル2005に基づき、対象計算機の空きリソースを算出する(S14003)。ここでは、拡張要求に含まれる「拡張する物理リソースの種類」について、対象計算機の空きリソースの量を算出すればよい。具体例では、対象計算機の識別子とLPAR管理テーブル2005に基づいて、対象計算機において各LPARに割当てた物理リソースの量を算出する。対象計算機が物理計算機1000である場合、図6の例では、対象計算機1000のLPAR1011及びLPAR1012に、それぞれCPU1S、メモリ256GBを割り当てている。すなわち、対象計算機1000において各LPAR1011・1012に割当てた物理リソースの量は、CPU2S、メモリ512GBと算出する。
 また、管理計算機1500は、対象計算機の識別子と計算機リソース管理テーブル2004に基づき、対象計算機が有する物理リソースの量を取得する。図5の例では、対象計算機1000が有する物理リソースの量として、CPUリソース量が2S、メモリリソース量が512GBを取得する。
 管理計算機1500は、対象計算機において各LPARに割当てた物理リソースの量と、対象計算機が有する物理リソースの量から、対象計算機の空きリソースを算出する。図5及び図6の例では、対象計算機1000において各LPARに割当てた物理リソースの量と、対象計算機1000が有する物理リソースの量が、いずれもCPUが2S、メモリが512GBであることから、対象計算機1000の空きリソースの量は、CPU0S、メモリ0GBと算出する。
 S14004で、管理計算機1500は、拡張要求で指定された「拡張する物理リソースの種類」について、拡張要求に含まれる「拡張する物理リソース量」と、対象計算機の空きリソースの量とを比較する。対象計算機の空きリソースの量が拡張する物理リソース量以上の場合(S14004;Yes)、対象LPARのマイグレーションが必要ないことを意味するので、管理計算機1500は、マイグレーション判定処理を終了し、S13008の拡張処理を進める。この場合、S13007のマイグレーション指示処理は行わない。
 一方、対象計算機の空きリソースの量が拡張する物理リソース量未満の場合(S14004;No)、管理計算機1500は、計算機リソース管理テーブル2004及びLPAR管理テーブル2005に基づき、他の物理計算機を1つ選択し、S14003と同様に、選択した物理計算機の空きリソースの量を算出する(S14005)。
 選択した物理計算機の空きリソースの量が拡張後の物理リソース量未満の場合(S14006;No)、管理計算機1500は、S14005の処理を行う。ここで、拡張後の物理リソース量とは、対象LPARに割当てられた物理リソースの量と、拡張する物理リソース量との合計である。拡張要求に、拡張後の物理リソース量が含まれていても良い。選択する物理計算機がない場合、管理計算機1500は管理端末にエラーを通知する。
 一方、選択した物理計算機の空きリソースの量が拡張後の物理リソース量以上の場合(S14006;Yes)、管理計算機1500は、選択した物理計算機を移行先計算機に決定する(S14007)。また、管理計算機1500は、移行先計算機上の移行先LPARを決定する。
 上記の処理により、拡張要求で指定された「拡張する物理リソース量」を、対象計算機内で確保できない場合であって、拡張後の物理リソース量の空きリソースを有する物理計算機がある場合、その空きリソースを有する物理計算機を、対象LPARの移行先計算機と決定することができる。
 管理計算機1500は、ライセンス管理テーブル3002を更新する(S14008)。例えば、S14007で物理計算機1100及びLPAR1111を移行先計算機及び移行先LPARとして決定した場合、管理計算機1500は、ライセンス管理テーブル3002のマイグレーション10003を“True”、Target computer10004を“1100”、Target LPAR10005を“1111”に設定する。
 なお、S14005において、管理計算機1500は、他の物理計算機を選択する際に、計算機リソース管理テーブル2004に基づいて、対象計算機1000と同じモード(Mode5002)の物理計算機に限定して選択しても良いし、または同じモードの物理計算機を優先的に選択しても良い。例えば、管理計算機1500は、計算機リソース管理テーブル2004を参照し、対象計算機1000と同じLPARモードである物理計算機1100を選択しても良い。LPARの移行先計算機には、ハイパーバイザプログラム2002を動作させて仮想化環境を構築する必要があるが、既にLPARモードである物理計算機を選択することで、仮想化環境を新たに構築する必要がなくなる。
 Basicモードの物理計算機は、ハイパーバイザプログラム2002を動作させ、LPARモードに変更することを前提に、移行先計算機の候補に含めてもよい。この場合、管理計算機1500は、Basicモードの物理計算機のうち、アプリケーション管理テーブル2007に基づいて、OS2000やアプリケーション2001が稼動していない物理計算機に限定して選択しても良い。Basicモードの物理計算機を、LPARモードに変更するために、ハイパーバイザプログラム2002を動作させる場合、Basicモードの物理計算機において稼動中のOS2000やアプリケーション2001を停止する等、業務に影響がでる可能性がある。そのため、OS2000やアプリケーション2001が稼動していない物理計算機を選択することで、マイグレーション時に他の業務に影響を与えない移行先計算機を決定できる。図5及び図6の例において、Basicモードの物理計算機1600、1700は、すでに他のアプリケーション(例えば、App2)が実行されているため、選択する対象から除外しても良い。
 図15は、S13007のマイグレーション指示処理のフローチャートの一例である。
 管理計算機1500は、拡張要求に含まれる「OS2000の識別子」及び「アプリケーション2001の識別子」に基づき、ライセンス更新条件テーブル3003において、当該App9001及び当該OS9003の組に対応するライセンスの更新条件(Update_condition9002)として、「Changing hardware」の条件があるか否かを判定する(S15001)。OS2000の識別子及びアプリケーション2001の識別子は、拡張要求に含まれる「対象LPARの識別子」を基に、アプリケーション管理テーブル2007から取得しても良い。
 S15001の判定結果が偽の場合(S15001;No)、すなわちライセンスの更新条件として「Changing hardware」の条件がない場合、管理計算機1500は、S15004に処理を進める。一方、S15001の判定結果が真の場合(S15001;Yes)、すなわちライセンスの更新条件として「Changing hardware」の条件がある場合、管理計算機1500は、ライセンス更新条件テーブル3003及び計算機管理テーブル2006に基づき、対象LPAR1012と移行先LPAR1111とで、HW9004の識別子の交換が可能か否かを判定する(S15002)。
 S15002の具体例として、管理計算機1500は、ライセンス更新条件テーブル3003において、当該App9001及び当該OS9003の組に対応するHW9004を取得する。HW9004は、前述のように、ライセンスの更新条件がChanging hardware(ハードウェアの変更)の場合に、変更の監視対象である識別子の種類を示す。例えば、HW9004がMACの場合、管理計算機1500は、計算機管理テーブル2006において、対象LPAR1012及び移行先LPAR1111に対応するMAC_Change7005をそれぞれ参照し、両方のMAC_Change7005がいずれもYesか否かを判定する。MAC_Change7005は、当該LPARが他のLPARとMACアドレスの交換が可能か否かを示す。
 MAC_Change7005がいずれもYesの場合、対象LPAR1012と移行先LPAR1111とで、マイグレーション時にMACアドレスの交換が可能であり、S15002の判定結果が真となる。一方、MAC_Change7005の少なくともいずれかがNoの場合、対象LPAR1012と移行先LPAR1111との間で、MACアドレスの交換ができないので、S15002の判定結果が偽となる。
 S15002の判定結果が真の場合(S15002;Yes)、すなわちLPARに設定されたHW9004の識別子が交換可能な場合、管理計算機1500は、S15004に処理を進める。
 一方、S15002の判定結果が偽の場合(S15002;No)、すなわちLPARに設定されたHW9004の識別子が交換不可能な場合、管理計算機1500は、対象LPAR無効化の設定をする(S15003)。具体的には、管理計算機1500は、ライセンス管理テーブル3002のStatus10007をDisableに更新することで、対象LPARをマイグレーションする際に無効化する設定をする。
 また、管理計算機1500は、ライセンス管理テーブル3002のHW10008を、ライセンス更新条件テーブル3003のHW9004の値に設定する。さらに、管理計算機1500は、計算機管理テーブル2006またはアプリケーション管理テーブル2007を参照して、移行先LPAR1111に設定された当該ハードウェアのうち、移行先LPARのHW9004の識別子(例えばCPU_ID7003、MAC7004、OS_ID8006等)を取得し、ライセンス管理テーブル3002のTarget HW_ID10009に設定する。
 なお、マイグレーションポリシーとして、対象LPAR1012と移行先LPAR1111とで、HW9004の識別子を交換しない場合、S15002を実行しなくてよい。この場合、S15001の判定結果が真の場合(S15001;Yes)、S15003に処理を進める。
 管理計算機1500は、対象LPARで実行される全てのアプリケーション2001について、S15001が行われたか否か判定する(S15004)。S15004の判定結果が真の場合(S15004;Yes)、管理計算機1500は、S15005に処理を行う。S15004の判定結果が偽の場合(S15004;No)、管理計算機1500は、残りのアプリケーション2001について、S15001の処理を実行する。
 以上の処理により、対象LPAR1012で実行されるアプリケーション2001のうち、少なくとも1以上のアプリケーション2001において、ライセンスの更新条件として「Changing hardware」の条件があり、かつLPARに設定されたHW9004の識別子が交換不可能な場合、LPAR無効化の設定が行われる。
 管理計算機1500は、ライセンス管理テーブル3002を参照して、Status10007がDisableであるか否か判定する(S15005)。S15005の判定結果が真の場合(S15005;Yes)、管理計算機1500は、ライセンス管理テーブル3002に基づいて、対象計算機にLPAR無効化指示及びマイグレーション指示を送信する(S15007)。管理計算機1500は、移行先計算機にもマイグレーション指示を送信しても良い。LPAR無効化指示及びマイグレーション指示は、別々の指示要求であっても良いし、異なる指示要求であっても良い。
 ここで、マイグレーション指示とは、対象計算機が有する対象LPARから移行先計算機の移行先LPARへデータをマイグレーションする指示である。また、LPAR無効化指示とは、マイグレーション時に、対象LPARを無効化する指示である。S15007のマイグレーション指示では、対象LPARに設定されたHW9004の識別子を、移行先LPARに引き継いでマイグレーションするように指示する。ここで、S15007では、管理計算機1500は、対象計算機に、マイグレーション指示とともに、LPAR無効化指示を送信することで、対象LPARを無効化させる。対象LPARが無効化されることより、対象LPARと移行先LPARが、同一のHW9004の識別子(例えばMACアドレス)を用いて動作することを防止できる。
 また、アプリケーション2001のライセンスの更新条件として「ハードウェアの変更」がある場合、対象LPARに設定されたHW9004の識別子を、移行先LPARに引き継いでマイグレーションすることにより、対象LPARのマイグレーションの際、ライセンス管理プログラム2008にハードウェアの変更を認識させない。その結果としてライセンス更新処理はマイグレーションのタイミングでは行われず、S13008の拡張処理後のS13009で行うことが可能となる。なお、マイグレーション後の処理として、S16004で、移行先LPARのHW10008の識別子を、対象LPARに設定されていたHW9004の識別子から、移行先LPAR用に確保されたHW10008の識別子(Target HW_ID10009の値)へ変更する変更指示を、移行先計算機に送信する。この処理により、対象LPARに設定されるHW9004の識別子を交換(または変更)しないという要件を満たすことができる。
 一方、S15005の判定結果が偽の場合(S15005;No)、管理計算機1500は、ライセンス管理テーブル3002に基づいて、対象計算機1000にマイグレーション指示を送信する(S15006)。管理計算機1500は、移行先計算機1100にもマイグレーション指示を送信しても良い。S15006のマイグレーション指示では、S15007のマイグレーション指示と異なり、対象LPARに設定されたHW9004の識別子を移行先LPARに引き継かず、移行先LPARには、移行先LPAR用に確保されたHW10008の識別子を設定するように指示しても良い。
 対象計算機は、マイグレーション指示を受信した場合、移行先計算機へ対象LPARをマイグレーションする。例えば、対象計算機1000が、マイグレーション指示を受信し、移行先計算機1100に対して、対象LPAR1012と同じ割当量の物理リソースを割り当てた移行先LPAR1111を定義する指示する。
 移行先計算機1100のハイパーバイザ1108は、受信した指示に基づき、移行先LPAR1111を定義する。ハイパーバイザ1108は、移行先計算機1100のMACアドレスであるMACアドレス“B”をLPAR1111に設定し、対象計算機1000に対して指示完了の応答をする。
 対象計算機1000は、対象LPAR1012の各情報を移行先LPAR1111にコピーする。対象LPAR1012の各情報は、例えば、対象LPAR1012のイメージデータである。各情報には、対象LPAR1012とLU1412との間の関係(パス及びゾーニング)等の情報、及び、対象LPAR1012に設定されたMACアドレス(MAC“A”)が含まれてよい。これらの情報が、対象LPAR1012から移行先LPAR1111にコピーされることで、実質的に、対象LPAR1012が移行先LPAR1111にマイグレーションされたこととなる。これにより、対象LPAR1012のOS2000及びアプリケーション2001が、移行先LPAR1111で実行できる。
 また、対象計算機1000のハイパーバイザ1008は、LPAR無効化指示を受信した場合、LPAR無効化指示に基づき、LPAR1012を無効化する。LPAR1012を無効化した後、移行先LPAR1111に、対象LPAR1012に設定されたMACアドレス(MAC“A”)を設定して良い。対象計算機1000は、マイグレーションの完了通知及びLPAR無効化指示の完了応答を管理計算機1500に送信する。対象LPAR1012が無効化されることより、対象LPAR1012及び移行先LPAR1111が、同一のMACアドレスを用いて、同時に動作することを防止できる。
 図16は、S13008の拡張処理のフローチャートの一例である。管理計算機1500は、ライセンス更新条件テーブル3003に基づき、アプリケーション2001のライセンス更新条件を抽出する(S16001)。具体的には、管理計算機1500は、拡張要求に含まれる「OS2000の識別子」及び「アプリケーション2001の識別子」に基づき、ライセンス更新条件テーブル3003において、当該App9001及び当該OS9003の組に対応するライセンスの更新条件(Update condition9002)を抽出する。OS2000の識別子及びアプリケーション2001の識別子は、拡張要求に含まれる「対象LPARの識別子」を基に、アプリケーション管理テーブル2007から取得しても良い。そして、管理計算機1500は、拡張要求の内容のそれぞれが、抽出したライセンス更新条件に合致するか否かを判断する。
 管理計算機1500は、拡張要求の内容のうち、ライセンス更新条件に合致しない物理リソースの拡張を指示する第1の拡張指示を、拡張対象の物理計算機に送信する(S16002)。対象LPARのマイグレーションが行われている場合、すなわちS13007を実行した場合、移行先LPARが拡張対象のLPARであり、移行先計算機が拡張対象の物理計算機である。また、対象LPARのマイグレーションを行わない場合、すなわちS14004の判定結果が偽の場合、対象LPARが拡張対象のLPARであり、対象計算機が拡張対象の物理計算機である。
 具体例として、図9に示すライセンス更新条件テーブル3003のApp1のライセンス更新条件には、CPUリソースの割当量の拡張は含まれていない。したがって、CPUリソースを拡張してもApp1のライセンス更新は発生しない。管理計算機1500は、第1の拡張指示として、移行先LPAR1111のCPUリソース拡張指示を、移行先計算機1100に送信する。なお、第1の拡張指示は、物理リソースの割当量の拡張に限られない。例えば、割当量の拡張をおこなうための、物理リソースの割当量の上限値を増加させる指示等であってもよい。
 この具体例において、移行先計算機1100のハイパーバイザ1108は、CPUリソース拡張指示を受信し、CPUリソース拡張指示に基づき、LPAR1111に割り当てられたCPUリソースを拡張し、その完了応答を管理計算機1500に送信する。管理計算機1500は、完了応答を受信し、S16003に処理を進める。
 管理計算機1500は、ライセンス管理テーブル3002の対象計算機のステータス10007が“Disable”であるか否かを判定する(S16003)。判断結果が真の場合(S16003;Yes)、管理計算機1500は、ライセンス管理テーブル3002に基づき、移行先LPARのHW10008の識別子をTarget HW_ID10009の値への変更する変更指示を、移行先計算機に送信する(S16004)。具体例として、管理計算機1500は、マイグレーションにより移行先LPAR1111に設定されたMACアドレスを“A”から“B”への変更する変更指示を、移行先計算機1100に送信する。一方、判断結果が偽の場合(S16003;No)、管理計算機1500は、S16005に処理を進める。
 S16005で、管理計算機1500は、拡張要求の内容のうち、抽出したライセンス更新条件に合致する物理リソースの拡張を指示する第2の拡張指示を、拡張対象の物理計算機に送信する(S16005)。具体例では、ライセンス更新条件テーブル3003で、App1のライセンス更新条件9003に、メモリリソースの割当量の拡張(Adding memory size)が含まれている。したがって、メモリリソースを拡張すればApp1のライセンス更新が発生する。管理計算機1500は、第2の拡張指示として、移行先LPAR1111のメモリリソース拡張指示を、移行先計算機1100に送信する。
 管理計算機1500は、S16004の変更指示と、S16005の拡張指示の両方の指示内容を、ライセンス更新処理を間に入れないように同じタイミングで実行するように、移行先計算機1100に指示してもよい。また、管理計算機1500は、S13008の拡張処理として、S16001・S16002・S16005の代わりに、拡張要求に基づき物理リソースの拡張を指示する拡張指示を行っても良い。この場合、管理計算機1500は、S16004で変更指示と、当該拡張指示を行う。
 上記処理により、LPARの物理リソースを拡張できる。また、拡張対象のLPARが移行先LPARの場合であって、HW10008の識別子の交換が不可能な場合、移行先LPARのHW10008の識別子の変更指示と、移行先LPARの第2の拡張指示とを連続して送信することで、ライセンス管理プログラム2008が、複数のライセンス更新条件が成立したことを認識するタイミングを1度に纏めることができる。これにより、移行先計算機1100が、複数のライセンス更新条件の成立に基づくアプリケーションのライセンス更新要求を、1度に纏めて管理計算機1500に送信することができる。なお、ライセンスの更新要求の送信先は、管理計算機1500でなくてもよい。
 例えば、移行先計算機1100は、変更指示を送信した後、所定時間以内、具体的には、例えば、変更指示に基づくHW10008の識別子の変更が終了する時間までに、第2の拡張指示であるメモリリソース拡張指示を送信するのが望ましい。これにより、移行先計算機1100は、変更指示に基づくHW10008の識別子(例えばMACアドレス)の変更を終了するまえに、LPAR1111に割り当てられたメモリリソースを拡張することができる。そのため、移行先計算機1100が実行するライセンス管理プログラム2008は、HW10008の識別子の変更と、メモリリソースの拡張という2つの更新条件が成立したことを纏めて認識する。
 拡張対象の物理計算機は、拡張処理の完了応答及びライセンス更新要求を管理計算機1500に送信する。管理計算機1500は、拡張処理の完了応答及びライセンス更新要求を受信し、S13009に処理を進める。
 なお、例えば、移行先計算機1100は、S16004の変更指示とS16005の第2の拡張指示を1つの指示として管理計算機1500に送信してもよいし、S16005の第2の拡張指示の後にS16004の変更指示を送信してもよい。いずれの場合も、1つのライセンス更新要求が送信されるように、管理計算機が2つの指示を送信するタイミングを調整すればよい。なお、指示の数は2つに限られない。
 例えば、アプリケーション2001のApp1の場合、LPAR1111のメモリリソースの拡張により再起動が必要である。移行先計算機1100のハイパーバイザ1108は、App1の実行を停止し、変更指示に基づくHW10008であるMACアドレスの変更と、メモリリソース拡張指示に基づくLPAR1111に割当てられたメモリリソースの拡張を実行し、App1を起動する。起動する際に、移行先計算機1100が実行するライセンス管理プログラム2008が、MACアドレスの変更及びメモリリソースの割当量の変更という2つのライセンス更新条件の成立を纏めて認識し、ライセンス更新要求を管理計算機1500に送信することができる。
 ユーザ(管理者)による管理端末から拡張要求を受け付けたときに、対象計算機の物理リソースの不足等の要因により、拡張要求には含まれていないマイグレーション処理を実施する場合がある。すなわち、このLPARのマイグレーション処理は、管理者が意図するものではない場合がある。そこで、マイグレーション処理のためだけのライセンス更新処理を避けるため、管理計算機1500は、複数のライセンスの更新条件が成立する場合の複数の指示(HW10008の識別子の変更指示及び物理リソースの拡張指示等)を連続して移行先計算機に送信することで、ライセンス管理プログラム2008がライセンスの更新条件の成立を認識するタイミングを1度に纏める。これにより、アプリケーション2001の複数のライセンス更新条件の成立に基づくライセンス更新処理を1度に纏める事ができる。そのため、アプリケーション2001のライセンスの更新条件が複数回成立する場合、ライセンスの更新条件が成立した回数分のライセンス更新を行う場合と比べて、ライセンス更新回数を削減可能であり、ライセンス更新処理のコストを低減できる。また、拡張要求に基づく処理時間を低減でき、アプリケーション2001のサービスレベルの低下を抑えることができる。なお、拡張要求に基づくアプリケーション2001のライセンス更新のタイミングに合わせて、他の更新条件によるライセンス更新も行うことができる。
 図17は、S13009のライセンス更新処理のフローチャートの一例を示す。管理計算機1500は、ライセンス更新要求を受信し、拡張対象LPARのアプリケーション2001のライセンス更新を実行する(S17001)。管理計算機1500は、例えば、移行先LPAR1111で起動するApp1のライセンス更新を管理者に促す通知を、管理端末に送信する。管理計算機1500は、管理端末に通知画面として、例えば、物理計算機1100のLPAR1111に割当てられたメモリリソースの拡張が検出され、App1のライセンス更新が必要である旨のメッセージ等を表示させる。管理者は、このメッセージに基づき、管理端末よりLPAR1111で実行されるApp1のライセンス更新を行う。なお、ライセンス更新は、上述したように手動で行われてもよいし、従来周知の方法により、自動で行われてもよい。
 管理計算機1500は、ライセンス管理テーブル3002の対象計算機のステータスが“Disable”であるか否かを判定する(S17002)。判断結果が真の場合(S17002;Yes)、管理計算機1500は、ライセンス管理テーブル3002に基づき、対象LPARを有効化する指示を送信する(S17003)。そして、管理計算機1500は、S17005に処理を進める。一方、判断結果が偽の場合(S17002;No)、管理計算機1500は、S17004に処理を進める。
 管理計算機1500は、ライセンス管理テーブル3002について、参照したレコードが最終のレコードであるか否かを判定する(S17004)。
 判定結果が偽の場合(S17004;No)、管理計算機1500は、S17001に処理を戻し、ライセンス管理テーブル3002の次の1つのレコードを参照する。一方、判定結果が真の場合(S17004;Yes)、全てのレコードを参照したことを意味するので、管理計算機1500は、処理を終了する。
 上記の処理により、管理計算機1500は、アプリケーション2001のライセンス更新を行うことができる。また、対象LPARが無効化されている場合は、ライセンス更新の後、対象LPARを有効化できる。対象LPARを有効化することにより、別のライセンスを持つ同じアプリケーションや他のアプリケーションをインストールすることができる。
 図12は、実施例1に係るライセンス更新のタイミング変更処理の動作概要図である。図中のMemは、LPAR上に形成される論理メモリである。物理計算機1000が有するNICの識別子は、例えば、MACアドレス“A”であり、物理計算機1100が有するNICの識別子は、例えば、MACアドレス“B”とする。
 各LPAR1011・1012・1111のStatusを、1011S・1012S・1111Sとして示す。Statusとして、“D”はLPARが無効化された状態(Disable)を示し、“E”はLPARが無効化されていない状態(Enable)を示す。また、“Blank”は、LPARがOSやアプリケーションを実行していない状態を示す。
<ライセンス更新>
 まず、計算機システムにおけるアプリケーションのライセンス更新を説明する。ライセンス更新は、例えば、各物理計算機が、自身が有するライセンス管理プログラム2008を実行することによって行う。ライセンス管理プログラム2008は、アプリケーション2001を監視し、そのライセンス更新が必要か否かを判定するプログラムである。具体的には、例えば、ライセンス管理プログラム2008は、アプリケーション2001のライセンスの更新条件が成立したか否かでライセンス更新の要否を判定する。なお、ライセンス管理プログラム2008は、単独で機能してもよいし、アプリケーション2001に含まれていてもよい。
 ライセンス更新が必要と判定した場合、物理計算機は、管理計算機1500に対してアプリケーションのライセンス更新要求を送信する。一方、ライセンス更新が不要と判定した場合、物理計算機は、アプリケーションの動作をそのまま継続させる。つまり、物理計算機は、この判定については何もしない。
 管理計算機1500は、ライセンス更新要求を受信し、ライセンス更新処理を行う。管理計算機1500は、管理端末にアプリケーションのライセンス更新が必要である旨を通知する処理を含んでよい。また、ライセンス更新処理は、管理計算機1500が、従来周知の方法により自動でアプリケーションのライセンス更新を行う処理を含んでもよい。
 次に、本実施例に係るタイミング変更処理を説明する。タイミング変更処理は、上述のライセンス更新の実行タイミングを変更する処理である。
 以下の説明では、ハイパーバイザ1008が、LPAR1011・1012を定義し、これらのLPAR1011・1012に、それぞれ1SのCPUリソースと、256GBのメモリリソースとを割り当てているとする。また、LPAR1012は、APP1を実行しているとする。LPAR1012に割当てられたNICのMACアドレスは、例えば、“A”である。また、物理計算機1100のLPAR1111は、未だ定義されていないとする。また、LPAR1111にはMACアドレス“B”を有するNICが割当可能であるとする。
 以下では、管理計算機1500が、LPAR1012のメモリリソースの割当量を、第1割当量(例えば256GB)から第2割当量(例えば512GB)に拡張させる拡張要求を受信した場合を説明する。以下の説明では、LPAR1012を対象LPARとし、対象LPAR1012を有する物理計算機1000を対象計算機1000という場合がある。
<Phase1>
 管理計算機1500は、S14004で、対象計算機1000が拡張要求で指定された第2割当量のメモリリソースを確保できるか否かを判定する。
 判定の結果が偽の場合、管理計算機1500は、S14007で、第2割当量のメモリリソースを確保可能な物理計算機1100を移行先計算機として決定する。
 管理計算機1500は、S15002で、対象LPAR1012に割り当てられたNICのMACアドレス“A”と、移行先計算機1100の移行先LPAR1111に割当て予定のNICのMACアドレス“B”とが、交換可能か否かを判定する。
 移行先計算機1100が選択され、かつ、MACアドレスの交換が不可能な場合、管理計算機1500は、対象LPAR1012を移行先計算機1100に移行させる、マイグレーション指示と、対象LPAR1012の無効化指示とを対象計算機1000及び移行先計算機1100に送信する(S15007)。
 対象計算機1000及び移行先計算機1100は、マイグレーション指示及び無効化指示を受信する。
 移行先計算機1100のハイパーバイザ1108は、移行先LPAR1111を定義し、1SのCPUリソースと、256GBのメモリリソースと、MACアドレス“B”のNICとを移行先LPAR1111に割当てる。
<Phase2>
 対象計算機1000は、マイグレーション指示及びLPAR無効化指示に基づき、対象LPAR1012から移行先物理計算機1100の移行先LPAR1111にデータをマイグレーションすると共に、対象LPAR1012を無効化する。具体的には、例えば、対象計算機1000は、対象LPAR1012の各情報を移行先LPAR1111にコピーする。対象LPAR1012の各情報は、例えば、対象LPAR1012のイメージデータである。各情報には、対象LPAR1012とLU1412との間の関係(パス及びゾーニング)等の情報、及び、対象LPAR1012に割り当てられたNICのMACアドレス(MAC“A”)が含まれてよい。これらの情報が、対象LPAR1012から移行先LPAR1111にコピーされることで、実質的に、対象LPAR1012が移行先物理計算機1100にマイグレーションされたこととなる。マイグレーションにより、移行先LPAR1111には、MACアドレス“B”に代えて、対象LPAR1012の情報に含まれているMACアドレス“A”が設定される。対象LPAR1012で実行していたOS2000及びアプリケーション2001が、移行先LPAR1111で実行できる。
 対象計算機1000は、マイグレーション及びLPAR無効化指示の完了応答を管理計算機1500に送信する。
 また、対象LPAR1012が無効化され、移行先LPAR1111に対象LPAR1012のMACアドレスが設定されたことにより、クライアント端末及びストレージ装置1400は、対象LPAR1012に代えて移行先LPAR1111を認識できる。
<Phase3>
 管理計算機1500は、拡張要求に基づき、移行先LPAR1111に設定されたMACアドレス“A”を“B”に変更する変更指示と、移行先LPARのメモリリソースの割当量を256GBから512GBに拡張させる拡張指示とを、連続して又は纏めて移行先計算機1100に送信する。
 移行先計算機1100は、これらの指示を受信する。移行先計算機1100のハイパーバイザ1108は、変更指示に基づき移行先LPARにMACアドレス“B”を設定し、かつ、メモリリソースの割当量を512GBに拡張する。例えば、APP1の場合、メモリリソースが拡張されたことが認識された場合には、APP1の再起動が必要となる。ライセンス管理プログラム2008は、APP1の再起動の際に、LPARに設定されたMACアドレスの変更、及び、LPARに割当てられたメモリリソースの割当量の変更という2つのライセンスの更新条件の成立を認識し、ライセンス更新要求を管理計算機1500に送信する。
 管理計算機1500は、ライセンス更新要求を受信する。そして、管理計算機1500は、APP1のライセンス更新を行う。管理計算機1500は、APP1のライセンス更新を行うことで、APP1を正常に再起動させることができる。
 ライセンス更新の後、管理計算機1500は、対象計算機1000に対して、対象LPAR1012を有効化する指示を送信する。対象計算機1000のハイパーバイザ1008は、指示に基づき対象LPAR1012を有効化する。
 上述したように、管理計算機が受信した要求に基づき、直接的にライセンスの更新条件が成立する場合と、間接的にライセンスの更新条件が成立する場合がある。例えば、この具体例では、管理計算機1500がメモリリソースの拡張要求を受信した場合に、直接的な更新条件の成立原因である、LPARに割り当てられたメモリリソースの拡張と、間接的な更新の成立原因である、LPARのマイグレーション後のMACアドレスの変更と、とにより2つの更新条件が成立している。管理者の立場からすれば、メモリリソースの拡張のタイミングで物理計算機が更新条件の成立を認識するのが望ましい。
 管理計算機1500が、ライセンスの更新条件となる事象が発生する複数の指示を連続して又は纏めて移行先計算機に送信することで、移行先計算機がライセンスの更新条件の成立を認識するタイミングを1度にすることができる。これにより、アプリケーションの複数のライセンスの更新条件の成立に基づくライセンス更新処理を1度に纏める事ができる。アプリケーションを利用するユーザへのサービスレベルの低下を抑えることができる。また、対象LPARのマイグレーション指示及び無効化指示を、ライセンスの更新条件が成立する複数の指示の前に送信することで、同じMACアドレスを有する複数のLPARが実行されることを防止できる。
 以下、実施例2を説明する。図18は、実施例2に係るライセンス更新のタイミング変更処理のシーケンス図の一例である。
 実施例2の計算機システムは、基本的に実施例1の計算機システムと同様の構成である。管理計算機1500には、外部サーバ計算機が接続される(図示なし)。外部サーバ計算機は、計算機システム内のアプリケーションのライセンス更新を行う。外部サーバ計算機は、例えばインターネットなどの通信網を介して管理計算機1500に接続される。以下では、実施例1と同様の構成及びステップについては、同じ参照符号を付し、説明を省略又は簡略化する。
 実施例2のタイミング変更処理を説明する。S13001~S13006までは、実施例1と同様である。S18007では、図15に示すマイグレーション指示処理において、管理計算機1500は、対象計算機に対してマイグレーション指示を送信する場合(例えばS15006、15007等)に、外部サーバ計算機に対してライセンス更新の延期要求を送信する。これにより、マイグレーションによって移行先計算機から、ライセンス更新要求が外部サーバ計算機に通知されてしまっても、外部サーバ計算機はすぐにライセンス更新を行わない。
 S18009では、図17に示すライセンス更新処理において、管理計算機1500は、ライセンス更新(S17001)に代えて、外部サーバ計算機に対してライセンス更新の依頼を送信する。
 上記処理により、実施例2の計算機システムであっても、実施例1と同様の効果を得られる。
 図19は、実施例3に係るライセンス更新のタイミング変更処理のシーケンス図の一例である。実施例3の計算機システムは、実施例1、2の計算機システムと同様の構成である。以下では、実施例1、2と同様の構成及びステップについては、同じ参照符号を付し、説明を省略又は簡略化する。
 実施例3では拡張要求などの管理者の管理端末による要求に基づかず、災害や障害発生などの突発的な要因によって、ライセンス更新のタイミング変更処理が行われる場合を想定する。
 S13002~13005までは、実施例1と同様である。ただし、これらのステップは、拡張要求に基づくステップではなく、定期的に又は不定期に実施される。
 また、管理計算機1500は、LPARのイメージデータのバックアップを定期的に実施する。バックアップデータは、例えばストレージ装置1400に記憶される(S19001)。
 管理計算機1500は、災害や障害発生などを検知した場合(S19002)、災害や障害が発生した物理計算機に対し、その物理計算機で実行されるLPARを無効化するLPAR無効化指示を送信する(S19003)。
 その後、管理者が、無効化したLPARのリカバリが可能であると判断した場合、管理端末を介して管理計算機1500にリカバリ要求を送信する(S19004)。
 管理計算機1500は、リカバリ要求を受信し、要求の対象である無効化されたLPARを他の物理計算機にマイグレーションするリカバリ指示を移行先となる物理計算機に送信する。移行先計算機の決定方法は、実施例1と同様である。
 管理計算機1500は、リカバリしたLPARが実行するアプリケーションのライセンス更新処理を実行し(S13009)、処理を終了する。
 上記の処理により、管理端末より拡張要求が送信されていない場合であっても、LPARのマイグレーションを行う事ができる。上記処理の効果は、実施例1と同様である。
 以上、幾つかの実施例を説明したが、本発明は、それらの実施例に限定されるものでなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。
  1000・・・計算機、1100・・・計算機、1200・・・FCスイッチ、1300・・・IPスイッチ、1400・・・ストレージ装置、1500・・・管理計算機

 
 

Claims (15)

  1.  物理リソースを有し、第1仮想計算機に前記物理リソースを割り当て、前記第1仮想計算機上でソフトウェアを実行する第1物理計算機と、
     前記第1仮想計算機に割り当てた物理リソースの拡張及び変更を含む前記ソフトウェアのライセンス更新条件と、前記物理リソースの変更の監視対象である識別子の種類を管理する更新条件情報を有する管理計算機と、
     物理リソースを有する第2物理計算機と、を備え、
     前記第1仮想計算機に割り当てられた物理リソースを拡張する拡張要求に基づき、前記第1物理計算機の前記第1仮想計算機から、前記第2物理計算機上の第2仮想計算機にデータをマイグレーションする場合、前記管理計算機は、
      前記更新条件情報を参照して、前記物理リソースの変更の監視対象である識別子の種類を取得し、前記種類に対応する第1仮想計算機に設定された第1識別子を前記第2仮想計算機に設定するマイグレーション指示を、前記第1物理計算機に送信し、
      前記マイグレーション後に、前記第2仮想計算機に設定された前記第1識別子を第2識別子に変更する変更指示と、前記拡張要求に基づく前記第2仮想計算機に割り当てられた物理リソースを拡張する拡張指示を、前記第2物理計算機に送信する、
    計算機システム。
  2.  請求項1に記載の計算機システムであって、
    前記管理計算機は、前記第1仮想計算機を無効化する無効化指示と、前記マイグレーション指示とを前記第1物理計算機に送信する、
    計算機システム。
  3.  請求項2に記載の計算機システムであって、
     前記第2物理計算機は、受信した前記変更指示及び前記拡張指示に基づいて、前記第2仮想計算機に設定された前記第1識別子を第2識別子に変更し、前記第2仮想計算機に割り当てられた物理リソースを拡張し、
     前記第2物理計算機は、前記第2識別子への変更及び前記物理リソースの拡張によるライセンス更新条件の成立に基づき、前記第2仮想計算機で実行される前記ソフトウェアのライセンス更新要求を、前記管理計算機と外部サーバ計算機のうち少なくともいずれか一方に送信する、
    計算機システム。
  4.  請求項3に記載の計算機システムであって、
     前記管理計算機は、前記変更指示の送信後に、前記第1仮想計算機を有効化する指示を、前記第1物理計算機に送信する、
    計算機システム。
  5.  請求項4に記載の計算機システムであって、
     前記管理計算機は、前記変更指示及び前記拡張指示の送信後に、前記ソフトウェアのライセンス更新処理を行う、
    計算機システム。
  6.  請求項5に記載の計算機システムであって、
     前記物理リソースは、ネットワークインターフェースデバイスを少なくとも含み、
     前記物理リソースの変更の監視対象である識別子の種類は、前記ネットワークインターフェースデバイスのMACアドレスである、
    計算機システム。
  7.  請求項6に記載の計算機システムであって、
     前記管理計算機は、各物理計算機の物理リソースの種類及び量を管理するリソース管理情報を有し、
     前記管理計算機は、前記第1仮想計算機に割り当てられた物理リソースを拡張する前記拡張要求を受信すると、前記リソース管理情報を参照して、前記拡張する物理リソースが、前記第1物理計算機に空きリソースとしてあるか否かを判定し、
     前記判定の結果、前記拡張する物理リソースが、前記第1物理計算機に空きリソースとしてない場合、前記リソース管理情報に基づき、前記計算機システムが備える複数の物理計算機のうち、前記第1仮想計算機に割り当てられた物理リソース及び前記拡張する物理リソースが、空きリソースとしてある前記第2物理計算機をマイグレーション先として選択する、
    計算機システム。
  8.  請求項6に記載の計算機システムであって、
     前記管理計算機は、前記判定の結果、前記拡張する物理リソースが、前記第1物理計算機に空きリソースとしてある場合、前記拡張要求に基づく前記第1仮想計算機に割り当てられた物理リソースを拡張する拡張指示を、前記第1物理計算機に送信する、
    計算機システム。
  9.  請求項2に記載の計算機システムであって、
     前記第1物理計算機は、前記マイグレーション指示及び前記無効化指示を受信し、前記マイグレーション指示に基づき、前記第1仮想計算機から前記第2仮想計算機にデータをマイグレーションし、前記無効化指示に基づき、前記第1仮想計算機を無効化する、
    計算機システム。
  10.  請求項3に記載の計算機システムであって、
     前記管理計算機は、前記変更指示を前記第2物理計算機に送信した後、前記拡張指示を前記第2計算機に送信し、
     前記第2物理計算機は、
      前記第2仮想計算機で実行される前記ソフトウェアを停止し、前記変更指示に基づく前記第2仮想計算機の識別子の変更と、前記拡張指示に基づく前記物理リソースの拡張とを行い、前記ソフトウェアを起動し、
      前記第2仮想計算機の識別子の変更と、前記第2特定物理リソースの割当量の拡張とに基づく前記ライセンスの更新要求を前記管理計算機に送信する、
    計算機システム。
  11.  請求項7に記載の計算機システムであって、
     前記管理計算機は、
      前記第2物理計算機を選択した後、前記第1仮想計算機の前記第1識別子と、前記第2仮想計算機の前記第2識別子とが、交換が可能か否かを判定し、
      交換が不可能な場合、前記第1仮想計算機を前記第2物理計算機にマイグレーションするマイグレーション指示と、前記第1仮想計算機を無効にする無効化指示とを、前記第1物理計算機に送信する、
    計算機システム。
  12.  前記請求項3に記載の計算機システムであって、
     前記管理計算機には、サーバ計算機が接続され、
     前記管理計算機は、
      前記マイグレーション指示を前記第1物理計算機に送信するときに、前記ライセンスの更新要求を延期させる延期要求を前記サーバ計算機に送信し、
      前記ライセンスの更新要求を受信した場合、前記ソフトウェアのライセンス更新の依頼を前記サーバ計算機に送信する、
    計算機システム。
  13.  前記請求項1に記載の計算機システムであって、
     前記複数の物理計算機に接続されたストレージ装置を、さらに有し、
     前記ストレージ装置は、前記第1仮想計算機のイメージデータを記憶し、
     前記管理計算機は、前記第1物理計算機の災害又は障害を検知した場合に、前記無効化指示を前記第1物理計算機に送信し、
     前記管理計算機は、前記第1物理計算機をリカバリさせるリカバリ要求を受信した場合に、
      前記複数の物理計算機の前記保有量及び前記割当情報を取得し、前記保有量及び前記割当情報に基づき、前記第1割当量の特定物理リソースを確保可能な第2物理計算機を選択し、
      前記マイグレーション指示を前記第2物理計算機に送信し、
     前記第2物理計算機は、前記マイグレーション指示を受信し、前記イメージデータを取得し、前記第2物理計算機上で前記第2仮想計算機を実行する、
    計算機システム。
  14.  物理リソースを有し、第1仮想計算機に前記物理リソースを割り当て、前記第1仮想計算機上でソフトウェアを実行する第1物理計算機と、物理リソースを有する第2物理計算機と、を管理する管理計算機が実行するライセンス管理方法であって、
     前記管理計算機は、前記第1仮想計算機に割り当てた物理リソースの拡張及び変更を含む前記ソフトウェアのライセンス更新条件と、前記物理リソースの変更の監視対象である識別子の種類を管理する更新条件情報と、を記憶し、
     前記第1仮想計算機に割り当てられた物理リソースを拡張する拡張要求に基づき、前記第1物理計算機の前記第1仮想計算機から、前記第2物理計算機上の第2仮想計算機にデータをマイグレーションする場合、前記管理計算機は、
      前記更新条件情報を参照して、前記物理リソースの変更の監視対象である識別子の種類を取得し、前記種類に対応する第1仮想計算機に設定された第1識別子を前記第2仮想計算機に設定するマイグレーション指示を、前記第1物理計算機に送信し、
      前記マイグレーション後に、前記第2仮想計算機に設定された前記第1識別子を第2識別子に変更する変更指示と、前記拡張要求に基づく前記第2仮想計算機に割り当てられた物理リソースを拡張する拡張指示を、前記第2物理計算機に送信する、
    ライセンス管理方法。
  15.  物理リソースを有し、第1仮想計算機に前記物理リソースを割り当て、前記第1仮想計算機上でソフトウェアを実行する第1物理計算機と、物理リソースを有する第2物理計算機と、に接続される管理計算機であって、
     前記第1仮想計算機に割り当てた物理リソースの拡張及び変更を含む前記ソフトウェアのライセンス更新条件と、前記物理リソースの変更の監視対象である識別子の種類を管理する更新条件情報を有し、
     前記第1仮想計算機に割り当てられた物理リソースを拡張する拡張要求に基づき、前記第1物理計算機の前記第1仮想計算機から、前記第2物理計算機上の第2仮想計算機にデータをマイグレーションする場合、
      前記更新条件情報を参照して、前記物理リソースの変更の監視対象である識別子の種類を取得し、前記種類に対応する第1仮想計算機に設定された第1識別子を前記第2仮想計算機に設定するマイグレーション指示を、前記第1物理計算機に送信し、
      前記マイグレーション後に、前記第2仮想計算機に設定された前記第1識別子を第2識別子に変更する変更指示と、前記拡張要求に基づく前記第2仮想計算機に割り当てられた物理リソースを拡張する拡張指示を、前記第2物理計算機に送信する、
    管理計算機。
     
     
PCT/JP2015/050238 2015-01-07 2015-01-07 計算機システム、ライセンス管理方法、及び、管理計算機 WO2016110951A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/050238 WO2016110951A1 (ja) 2015-01-07 2015-01-07 計算機システム、ライセンス管理方法、及び、管理計算機

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/050238 WO2016110951A1 (ja) 2015-01-07 2015-01-07 計算機システム、ライセンス管理方法、及び、管理計算機

Publications (1)

Publication Number Publication Date
WO2016110951A1 true WO2016110951A1 (ja) 2016-07-14

Family

ID=56355676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/050238 WO2016110951A1 (ja) 2015-01-07 2015-01-07 計算機システム、ライセンス管理方法、及び、管理計算機

Country Status (1)

Country Link
WO (1) WO2016110951A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566470A (zh) * 2017-08-25 2018-01-09 郑州云海信息技术有限公司 云数据系统中管理虚拟机的方法和装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253523A (ja) * 2010-06-01 2011-12-15 International Business Maschines Corporation 仮想化環境のための管理システム、方法、およびコンピュータ・プログラム
JP2012038157A (ja) * 2010-08-09 2012-02-23 Sanken Electric Co Ltd 電源装置、プログラムおよび制御方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253523A (ja) * 2010-06-01 2011-12-15 International Business Maschines Corporation 仮想化環境のための管理システム、方法、およびコンピュータ・プログラム
JP2012038157A (ja) * 2010-08-09 2012-02-23 Sanken Electric Co Ltd 電源装置、プログラムおよび制御方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566470A (zh) * 2017-08-25 2018-01-09 郑州云海信息技术有限公司 云数据系统中管理虚拟机的方法和装置
CN107566470B (zh) * 2017-08-25 2021-01-15 苏州浪潮智能科技有限公司 云数据系统中管理虚拟机的方法和装置

Similar Documents

Publication Publication Date Title
US20210247973A1 (en) Virtualized file server user views
US8959323B2 (en) Remote restarting client logical partition on a target virtual input/output server using hibernation data in a cluster aware data processing system
US9606745B2 (en) Storage system and method for allocating resource
US8458413B2 (en) Supporting virtual input/output (I/O) server (VIOS) active memory sharing in a cluster environment
JP4487920B2 (ja) ブート制御方法および計算機システム並びにその処理プログラム
JP4842210B2 (ja) フェイルオーバ方法、計算機システム、管理サーバ及び予備サーバの設定方法
US9448899B2 (en) Method, apparatus and system for switching over virtual application two-node cluster in cloud environment
US8996477B2 (en) Multiple node/virtual input/output (I/O) server (VIOS) failure recovery in clustered partition mobility
US8560628B2 (en) Supporting autonomous live partition mobility during a cluster split-brained condition
JP5352132B2 (ja) 計算機システム及びそのi/o構成変更方法
EP3502877B1 (en) Data loading method and apparatus for virtual machines
US20160203064A1 (en) Proactive resource reservation for protecting virtual machines
WO2011074284A1 (ja) 仮想計算機の移動方法、仮想計算機システム及びプログラムを格納した記憶媒体
JP5026375B2 (ja) ストレージ装置及びストレージ装置の制御方法
US20150095597A1 (en) High performance intelligent virtual desktop infrastructure using volatile memory arrays
JP6458146B2 (ja) 計算機及びメモリ領域管理方法
US8954706B2 (en) Storage apparatus, computer system, and control method for storage apparatus
WO2012004902A1 (ja) 計算機システム及び計算機システムの系切替制御方法
JP2006195703A (ja) ディスクレス計算機の運用管理システム
JP2008146566A (ja) 計算機、仮想デバイスの制御方法およびそのプログラム
WO2013157072A1 (ja) 計算機システム、リソース管理方法及び管理計算機
JP2010257274A (ja) 仮想化環境におけるストレージ管理システム及びストレージ管理方法
US20130346584A1 (en) Control method for virtual computer, and virtual computer system
JP5966466B2 (ja) バックアップ制御方法、および情報処理装置
WO2016110951A1 (ja) 計算機システム、ライセンス管理方法、及び、管理計算機

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

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP