WO2012063306A1 - Virtual machine control device, virtual machine control system, virtual machine control method of virtual machine control device, and virtual machine control program - Google Patents
Virtual machine control device, virtual machine control system, virtual machine control method of virtual machine control device, and virtual machine control program Download PDFInfo
- Publication number
- WO2012063306A1 WO2012063306A1 PCT/JP2010/069832 JP2010069832W WO2012063306A1 WO 2012063306 A1 WO2012063306 A1 WO 2012063306A1 JP 2010069832 W JP2010069832 W JP 2010069832W WO 2012063306 A1 WO2012063306 A1 WO 2012063306A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual machine
- virtual
- computer
- command
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/815—Virtual
Definitions
- the present invention relates to, for example, a virtual machine control device, a virtual machine control system, a virtual machine control method for a virtual machine control device, and a virtual machine control program for stopping or operating a plurality of virtual machines in synchronization.
- An object of the present invention is to prevent communication data from being lost and to save or restore a computer in synchronization, for example, even in an environment where the timeout of intersystem processing is short.
- the virtual machine control device of the present invention is A virtual communication device that performs communication processing and a virtual computer that communicates data via the virtual communication device are incorporated, A command receiving unit that receives a stop command for commanding stop of the virtual machine from a virtual machine management device that manages a plurality of virtual machines including the virtual machine; A computer control unit for stopping the virtual machine when the command receiving unit receives the virtual machine stop command; When the command receiving unit receives a stop command for the virtual machine, a predetermined number for receiving data transmitted by another virtual machine before the other virtual machine is stopped by a stop command for another virtual machine.
- a communication device control unit that stores data received in the reception waiting time by the virtual communication device in a predetermined storage area after the reception waiting time elapses;
- FIG. 1 is a configuration diagram of a computer control system 100 according to Embodiment 1.
- FIG. 3 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the first embodiment.
- 3 is a flowchart showing a computer control method (at the time of restoration) of the computer control system 100 according to the first embodiment.
- 2 is a diagram illustrating an example of hardware resources of a management computer 110 and an execution computer 200 in Embodiment 1.
- FIG. FIG. 2 is a schematic diagram illustrating an example of a method for using the computer control system 100 according to the first embodiment.
- FIG. 3 is a schematic diagram illustrating an example of a problem to be solved by the computer control system 100 according to the first embodiment.
- FIG. 3 is a configuration diagram of a computer control system 100 according to a second embodiment.
- 9 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the second embodiment.
- 10 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the third embodiment.
- 10 is a flowchart showing a computer control method (at the time of restoration) of the computer control system 100 according to the third embodiment.
- 10 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the fourth embodiment.
- 10 is a flowchart showing a computer control method (at the time of restoration) of the computer control system 100 according to the fourth embodiment.
- Embodiment 1 FIG. A description will be given of a mode in which when a computer is stopped, a communication device is stopped after a predetermined time in order to receive data transmitted from another computer.
- FIG. 1 is a configuration diagram of a computer control system 100 according to the first embodiment. The configuration of the computer control system 100 in the first embodiment will be described with reference to FIG.
- the computer control system 100 (an example of a virtual computer control system) includes a plurality of physical computers.
- the physical computer is a computer (computer) configured as hardware.
- management computer 110 one physical computer
- execution computer 200 the remaining physical computers
- one physical computer may be used as the management computer 110 and the execution computer 200.
- the computer control system 100 may be configured with one physical computer.
- the management computer 110 and the execution computer 200 communicate via the network 101.
- the execution computers 200A and 200B are physical computers in which one or a plurality of virtual computers are incorporated.
- the management computer 110 (an example of a virtual computer management apparatus) is a physical computer that manages a plurality of virtual computers.
- the virtual computer is an execution unit that executes software (for example, an operating system) that imitates a physical computer.
- VM220 Virtual Machine
- the management computer 110 includes a save / restore instruction unit 111, a physical N / W device 118 (N / W: Network), and a physical NIC 119 (NIC: Network Interface Card).
- the save / restore instruction unit 111 transmits a save instruction and a restore instruction of the VM 220 to the execution computers 200A and 200B.
- the physical N / W device 118 and the physical NIC 119 are hardware that performs communication via the network 101.
- the execution computers 200A and 200B include a VM 220, a vNICb 228 (vNIC: virtual NIC), a VMM 229 (Virtual Machine Monitor), a management domain unit 201, and a physical NIC 206.
- the vNICb 228 (an example of a virtual communication device) executes communication processing by executing software that imitates a network interface card incorporated in the VM 220.
- the VM 220 includes a program unit 221 that communicates data via the vNICb 228.
- the program unit 221 executes a program representing a procedure of predetermined business processing (for example, online processing).
- the VM 220 (the program unit 221 thereof) and the vNICb 228 operate as follows.
- the vNICb 228 stores data received from another VM 220 in a reception buffer (a vNICb area described later).
- the VM 220 processes the data stored in the reception buffer of the vNICb 228.
- the vNICb 228 receives the data as life / death monitoring data.
- the alive monitoring data is not received within a predetermined timeout time by the vNICb 228, the VM 220 determines that another VM 220 is not operating.
- the VMM 229 is a VM management unit that manages the VM 220.
- the management domain unit 201 is a VMM management unit that manages the VMM 229.
- the management domain unit 201 includes a program unit 202, a vNICa 203, a virtual bridge 204, and a physical N / W device 205.
- the program unit 202 executes a program that causes the execution computer 200 to function.
- the vNICa 203 executes communication processing by executing software that imitates a network interface card incorporated in the management domain unit 201.
- the virtual bridge 204 executes communication processing by executing software that imitates a bridge (relay device) incorporated in the management domain unit 201.
- the physical N / W device 205 and the physical NIC 206 are hardware that performs communication processing.
- the management domain unit 201 further includes a save / restore request unit 210, a device operation control unit 211, and a buffer save / restore unit 212.
- the save / restore request unit 210 receives a VM 220 stop command (a save command to be described later) from the management computer 110.
- the save / restore request unit 210 stops the VM 220 when receiving a stop command.
- the save / restore request unit 210 receives an activation command (restoration command to be described later) of the VM 220.
- the save / restore request unit 210 activates the VM 220 after the received data saved when the vNICb 228 stops is stored in the reception buffer of the vNICb 228.
- the device operation control unit 211 (an example of a communication device control unit) stops the vNICb 228 after a predetermined reception wait time has elapsed.
- the predetermined reception waiting time is a time for receiving data transmitted by another VM 220 before the other VM 220 is stopped.
- the timeout time for determining whether or not another VM 220 is operating is an example of a predetermined reception waiting time.
- the device operation control unit 211 activates the vNICb 228 when the save / restore request unit 210 receives the activation command.
- the buffer storage / restoration unit 212 (an example of a communication device control unit) stores data received by the vNICb 228 during a reception waiting time in a predetermined storage area (a VM storage medium described later) ).
- the buffer save / restore unit 212 stores the saved data of the vNICb 228 in the receive buffer of the vNICb 228.
- the VM 220, vNICb 228, and “ ⁇ unit” of the computer control system 100 operate using a CPU (Central Processing Unit).
- the save / restore instruction unit 111 of the management computer 110 communicates via the physical N / W device 118 and the physical NIC 119. Further, the save / restore request unit 210 of the execution computer 200 communicates via the vNICa 203, the virtual bridge 204, the physical N / W device 205, and the physical NIC 206.
- main computer (normal system) VM 220 is operating in the execution computer 200A
- secondary (standby system) VM 220 is operating in the execution computer 200B.
- the main VM 220 executes predetermined business processing (for example, online processing) at normal times, and the subordinate VM 220 is stopped due to a failure or the like (when the main VM 220 is down).
- the business process is executed instead of the main VM 220.
- the main VM 220 and the subordinate VM 220 periodically transmit and receive data (signals) to check whether the partner VM 220 is in a down state.
- data for confirming the state of the partner VM 220 is referred to as “life monitoring data”.
- the VM 220 cannot receive the life / death monitoring data of the other party even after a predetermined time-out period has elapsed since the transmission of the life / death monitoring data, or the predetermined time-out time has elapsed since the previous reception of the life / death monitoring data. If new life and death monitoring data cannot be received, it is determined that the partner VM 220 is down.
- FIG. 2 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the first embodiment. The flow of the computer control method when saving (stopping) the VM 220 will be described with reference to FIG.
- VM data (or VM file)
- VM area a storage area in which the VM data is set
- the save / restore instruction unit 111 of the management computer 110 generates a save command at a specific timing, and transmits the generated save command to each execution computer 200.
- the specific timing is when the administrator inputs a save (stop) command of the VM 220 to the management computer 110, when a series of processing ends, when a predetermined time comes, or the like.
- the save command is a command for requesting that the VM 220 is stopped and the VM data representing the state of the VM 220 at the time of the stop is stored in a predetermined recording medium (magnetic tape, magnetic disk, semiconductor memory, etc.).
- a recording medium that stores VM data is referred to as a “VM storage medium”.
- information such as a VM name for identifying the VM 220 to be saved and a file name set in the saved VM data are designated.
- the save / restore instruction unit 111 transmits a save command designating the main VM 220 to the execution computer 200A, and sends a save command designating the subordinate VM 220 of the execution computer 200B. Further, the save / restore instruction unit 111 may transmit a save command designating the main VM 220 and the subordinate VM 220 to the execution computer 200A and the execution computer 200B.
- the save / restore request unit 210 receives the save command transmitted from the save / restore instruction unit 111 of the management computer 110. It progresses to S003 after S002.
- VM220 means the VM 220 identified by the VM name specified in the save command, that is, the VM 220 to be saved.
- the save / restore request unit 210 calls the device operation control unit 211, and the device operation control unit 211 stops input / output (I / O: Input / Output) between the VM 220 and the vNICb 228. Thereafter, the VM 220 cannot process the received data received by the vNICb 228 and stored in the communication (reception) buffer. Further, the VM 220 cannot store the transmission data in the communication (transmission) buffer in order to transmit the data. It progresses to S004 after S003.
- I / O Input / Output
- the save / restore request unit 210 stops the VM 220 and saves the VM data of the stopped VM 220 in the VM storage medium.
- the VM data is saved with the file name specified by the save command.
- vNICb228 has not stopped yet.
- S004 may be executed in the reverse order of S003 or simultaneously with S003. It progresses to S005 after S004.
- the save / restore request unit 210 waits without stopping the vNICb 228 until a predetermined reception waiting time elapses.
- the predetermined reception waiting time is necessary for the data transmitted by the other VM 220 to reach the vNICb 228 of the destination VM 220 before the other VM 220 is stopped by the save command, and to receive and process the data that the vNICb 228 has reached. It's time.
- the saving / restoring request unit 210 waits until a timeout period (an example of a reception waiting time) for alive monitoring elapses from when a save command is received or when alive monitoring data is transmitted / received last time. Thereby, the vNICb 228 of the VM 220 can receive the alive monitoring data transmitted from the partner VM 220. It progresses to S006 after S005.
- the save / restore request unit 210 calls the device operation control unit 211, and the device operation control unit 211 stops the vNICb 228. It progresses to S007 after S006.
- the save / restore request unit 210 calls the buffer save / restore unit 212, and the buffer save / restore unit 212 saves the data (communication buffer data) stored in the communication buffer of the vNICb 228 in the VM storage medium.
- the communication buffer data is assumed to be stored in association with the VM data.
- the communication buffer data includes alive monitoring data received from the partner VM 220 after the VM 220 is stopped.
- the storage area of the execution computer 200 secured as a communication buffer for the vNICb 228 is referred to as a “vNICb area”. It progresses to S008 after S007.
- the save / restore request unit 210 discards the VM 220 by releasing the VM area and the vNICb area. It progresses to S009 after S008.
- step S ⁇ b> 009 the save / restore request unit 210 generates a save completion notification that notifies that the saving of the VM 220 is completed, and transmits the generated save completion notification to the save / restore instruction unit 111 of the management computer 110.
- the save completion notification the VM name of the VM 220 that has been saved is set. It progresses to S010 after S009.
- step S010 the save / restore instruction unit 111 of the management computer 110 receives a save completion notification from the save / restore request unit 210 of each execution computer 200.
- the save / restore instruction unit 111 receives the save completion notification of all the VMs 220 for the plurality of VMs 220 to be saved, the computer control method (when saving) ends.
- FIG. 3 is a flowchart showing a computer control method (at the time of restoration) of the computer control system 100 according to the first embodiment. The flow of the computer control method when restoring (starting up) the VM 220 will be described with reference to FIG.
- the save / restore instruction unit 111 of the management computer 110 generates a restore command at a specific timing, and transmits the generated restore command to each execution computer 200.
- the specific timing is when the administrator inputs a restore (start) command of the VM 220 to the management computer 110 or when a predetermined time comes.
- the restoration command is a command for restoring the VM data saved in the VM storage medium to the VM area and starting the VM 220.
- information such as a plurality of VM names for identifying a plurality of VMs 220 to be restored and a file name of VM data used for restoration of the VM 220 are designated.
- the save / restore instruction unit 111 transmits a restore command designating the main VM 220 to the execution computer 200A, and sends a restore command designating the subordinate VM 220 of the execution computer 200B. Further, the save / restore instruction unit 111 may transmit a restore command designating the primary VM 220 and the secondary VM 220 to the execution computer 200A and the execution computer 200B.
- the save / restore request unit 210 receives the restore command transmitted from the save / restore instruction unit 111 of the management computer 110. After S102, the process proceeds to S103.
- VM220 means the VM 220 identified by the VM name specified in the restoration command (or a resume command described later), that is, the VM 220 to be restored.
- the save / restore request unit 210 loads (restores) the VM data saved with the file name specified in the restore command.
- the loading of VM data means reading the VM data from the VM storage medium and writing the read VM data in the VM area of the execution computer 200. Thereby, the state of the VM 220 when the VM 220 is stopped can be restored. It progresses to S104 after S103.
- the save / restore request unit 210 calls the buffer save / restore unit 212, and the buffer save / restore unit 212 loads communication buffer data corresponding to the VM data.
- the load of the communication buffer data is to read the communication buffer data from the VM storage medium and write the read communication buffer data to the vNICb area of the execution computer 200. Thereby, the state of the communication buffer when the vNICb 228 is stopped can be restored.
- the process proceeds to S105.
- the save / restore request unit 210 calls the device operation control unit 211, and the device operation control unit 211 activates the vNICb 228. After S105, the process proceeds to S106.
- the save / restore request unit 210 In S ⁇ b> 106, the save / restore request unit 210 generates a restore completion notification notifying that the restoration of the VM 220 is completed, and transmits the generated restore completion notification to the save / restore instruction unit 111 of the management computer 110.
- the restoration completion notification the VM name of the VM 220 that has been restored is set. It progresses to S107 after S106.
- the save / restore instruction unit 111 of the management computer 110 receives a restore completion notification from the save / restore request unit 210 of each execution computer 200.
- the storage / restoration instructing unit 111 receives the restoration completion notification of all the VMs 220 for the plurality of VMs 220 to be restored, the process proceeds to S108.
- the save / restore instruction unit 111 of the management computer 110 generates a restart command and transmits the generated restart command to each execution computer 200.
- the resume command is a command for requesting to resume the operation of the restored VM 220.
- the VM name designated by the restoration command is designated as the resume command, and the resume command is sent to each execution computer 200 to which the restoration command has been sent.
- the save / restore request unit 210 receives the restart command transmitted from the save / restore instruction unit 111 of the management computer 110. It progresses to S110 after S109.
- the save / restore request unit 210 activates the VM 220 restored in S103. Thereby, the operation of the VM 220 can be resumed from the state when the VM 220 is stopped.
- the resumed VM 220 acquires received data from the communication buffer of the vNICb 228 restored in S104, and processes the acquired received data. For example, when the alive monitoring data is received by the vNICb 228 after the VM 220 is stopped, the resumed VM 220 acquires the alive monitoring data from the communication buffer of the vNICb 228 and determines that the partner VM 220 is operating. Also, the VM 220 generates life / death monitoring data that responds to the partner VM 220 and stores the generated life / death monitoring data in the communication buffer of the vNICb 228. Then, the vNICb 228 transmits the alive monitoring data registered in the communication buffer to the partner VM 220.
- step S ⁇ b> 111 the save / restore request unit 210 generates a restart completion notification that notifies that the resumption of the VM 220 is completed, and transmits the generated restart completion notification to the save / restore instruction unit 111 of the management computer 110.
- the restart completion notification the VM name of the VM 220 that has been restarted is set. It progresses to S112 after S111.
- the save / restore instruction unit 111 of the management computer 110 receives a resume completion notification from the save / restore request unit 210 of each execution computer 200.
- the storage / restoration instructing unit 111 receives a resume completion notification of all VMs 220 for a plurality of VMs 220 to be resumed, the computer control method (at the time of restoration) ends.
- FIG. 4 is a diagram illustrating an example of hardware resources of the management computer 110 and the execution computer 200 according to the first embodiment.
- the management computer 110 and the execution computer 200 include a CPU 911.
- the CPU 911 is connected to the ROM 913, the RAM 914, the communication board 915, the display device 901, the keyboard 902, the mouse 903, the drive device 904, and the magnetic disk device 920 via the bus 912, and controls these hardware devices.
- the drive device 904 is a device that reads and writes a storage medium such as an FD (Flexible Disk Drive), a CD (Compact Disc), a DVD (Digital Versatile Disc), and an SSD (Solid State Drive).
- FD Flexible Disk Drive
- CD Compact Disc
- DVD Digital Versatile Disc
- SSD Solid State Drive
- the communication board 915 is wired or wirelessly connected to a communication network such as a LAN (Local Area Network), the Internet, or a telephone line.
- a communication network such as a LAN (Local Area Network), the Internet, or a telephone line.
- the magnetic disk device 920 stores an OS 921 (operating system), a program group 922, and a file group 923.
- OS 921 operating system
- program group 922 program group 922
- file group 923 file group 923
- the program group 922 includes programs for executing functions described as “ ⁇ unit” (or VM 220, vNICb 228) (hereinafter the same) in the embodiment.
- the program is read and executed by the CPU 911. That is, the program causes the computer to function as “ ⁇ part”, and causes the computer to execute the procedures and methods of “ ⁇ part”.
- the file group 923 includes various data (input, output, determination result, calculation result, processing result, etc.) used in “ ⁇ part” described in the embodiment.
- arrows included in the configuration diagrams and flowcharts mainly indicate input and output of data and signals.
- what is described as “to part” may be “to circuit”, “to apparatus”, and “to device”, and “to step”, “to procedure”, and “to processing”. May be. That is, what is described as “ ⁇ unit” may be implemented by any of firmware, software, hardware, or a combination thereof.
- the VM 220 may be a physical computer instead of a virtual computer
- the vNICb 228 may be a physical communication device instead of a virtual communication device.
- Embodiment 1 for example, the following computer control system 100 has been described.
- the computer control system 100 includes a save / restore instruction unit 111, a save / restore request unit 210, a device operation control unit 211, and a buffer save / restore unit 212, and saves or restores information on a computer in operation in synchronization.
- the save / restore instruction unit 111 instructs a plurality of managed save / restore request units 210 to start synchronous save / restore processing.
- the save / restore request unit 210 saves or restores the target computer in accordance with an instruction from the save / restore instruction unit 111.
- the device operation control unit 211 operates or stops the network device (vNICb 228) separately from the operation or stop of the computer OS (VM 220) in accordance with the instruction of the save / restore request unit 210.
- the buffer saving / restoring unit 212 saves or restores communication data accumulated in the network device in accordance with an instruction from the saving / restoring request unit 210.
- the user can save a plurality of computers simultaneously by issuing a save request to the save / restore instruction unit 111.
- the save / restore instruction unit 111 transmits the request to the save / restore request unit 210.
- the save / restore request unit 210 Upon receipt of the request, the save / restore request unit 210 temporarily stops the computer OS, saves information, operates only the network device for a predetermined time, and completes transmission / reception of communication data at the device level. Save the buffer.
- the user can restore a plurality of computers simultaneously by issuing a restoration request to the save / restore instruction unit 111.
- the save / restore instruction unit 111 transmits the request to the save / restore request unit 210.
- the save / restore request unit 210 restores the saved computer information, restores the saved network device buffer, and restarts the computer OS.
- FIG. 5 is a schematic diagram illustrating an example of a method of using the computer control system 100 according to the first embodiment.
- the computer control system 100 according to the first embodiment can be used for a computer test as shown in FIG.
- the computer 102 constituting the computer system to be tested is converted into data, and the computer 102 (VM 220) converted into data is stored as a computer file 103 (VM data).
- the computer 102 is restored using the computer file 103, and (3) a test (for example, a failure test) of the computer 102 is executed.
- the computer 102 is restored again using the computer file 103.
- FIG. 6 is a schematic diagram illustrating an example of a problem to be solved by the computer control system 100 according to the first embodiment.
- the computer control system 100 can solve the problem of the inter-system processing system as shown in FIG.
- the inter-system processing system includes a primary computer (first VM 220) and a secondary computer (second VM 220).
- the primary computer and the secondary computer periodically send and receive life / death monitoring data (solid arrows).
- life / death monitoring data solid arrows
- the primary computer or the secondary computer cannot receive the life / death monitoring data from the counterpart computer within a predetermined time-out period, it is determined that the counterpart computer has failed.
- a slave computer that determines that the primary computer has failed operates as a new primary computer.
- the computer control system 100 stops the communication after the reception waiting time for stopping the computer and receiving the alive monitoring data has elapsed. For this reason, the above contradiction does not occur.
- FIG. A mode in which the vNICb 228 filters unnecessary data during the reception waiting time after the VM 220 is stopped will be described.
- items different from the first embodiment will be mainly described. Matters whose description is omitted are the same as those in the first embodiment.
- FIG. 7 is a configuration diagram of the computer control system 100 according to the second embodiment. The configuration of the computer control system 100 according to the second embodiment will be described with reference to FIG.
- the execution computers 200A and 200B include a filtering unit 213 in addition to the configuration of the first embodiment (see FIG. 1).
- the filtering unit 213 causes the vNICb 228 to receive only specific data when the save / restore request unit 210 receives a VM 220 stop command (save command). For example, the filtering unit 213 causes the vNICb 228 to receive only data transmitted from a specific VM 220.
- FIG. 8 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the second embodiment. The flow of the computer control method when saving (stopping) the VM 220 will be described with reference to FIG.
- the computer control system 100 executes S201 and S202 in addition to the processing of the first embodiment (see FIG. 2). Further, S001 is partially different from the first embodiment in processing. Hereinafter, S001, S201, and S202 will be mainly described, and other processing will be omitted.
- the save / restore instruction unit 111 of the management computer 110 generates a save command and transmits the generated save command to each execution computer 200.
- a filtering rule is specified in the save command.
- the filtering rule is information that restricts data to be received by the vNICb 228 in the reception waiting time after the VM 220 is stopped.
- the save / restore instruction unit 111 specifies (1) a data transmission source and (2) a data type as a filtering rule as follows. However, both (1) data transmission source and (2) data type may be specified as filtering rules.
- the save / restore instruction unit 111 designates data transmitted from the secondary VM 220 (or vNICb 228) as data to be received by the primary vNICb 228, and as data to be received by the secondary vNICb 228. Specifies data transmitted from (or vNICb 228).
- the save / restore instruction unit 111 specifies alive monitoring data as data to be received by the vNICb 228. Further, the save / restore instruction unit 111 may specify data (for example, broadcast data) to be discarded by the vNICb 228 as a filtering rule.
- the save / restore request unit 210 receives the save command (S002), and the device operation control unit 211 stops the input / output between the VM 220 and the vNICb 228 (S003). It progresses to S201 after S003.
- the save / restore request unit 210 calls the filtering unit 213, and the filtering unit 213 sets the filtering rule specified in the save command in the vNICb 228. Thereafter, the vNICb 228 receives only the data designated as “data to be received” by the filtering rule, and discards the other data. Data received by the vNICb 228 is stored in the communication buffer, and data discarded by the vNICb 228 is not stored in the communication buffer. It progresses to S004 after S201.
- the save / restore request unit 210 stops the VM 220 and saves the VM data (S004), and waits until a predetermined reception waiting time elapses (S005). After the reception waiting time elapses, the device operation control unit 211 stops the vNICb 228 (S006), and the buffer storage / restoration unit 212 stores the communication buffer data (S007). It progresses to S202 after S007.
- the save / restore request unit 210 calls the filtering unit 213, and the filtering unit 213 deletes the filtering rule set in the vNICb 228. It progresses to S008 after S202.
- the save / restore request unit 210 discards the VM 220 (S008) and transmits a save completion notification (S009).
- the save / restore instruction unit 111 of the management computer 110 receives a save completion notification from the save / restore request unit 210 of each execution computer 200 (S010), and the computer control method (during saving) ends.
- the computer control method (at the time of restoration) for restoring the VM 220 is the same as that in the first embodiment (see FIG. 3).
- the computer control system 100 includes a filtering unit 213.
- the filtering unit 213 performs filtering of communication data sent to the virtual network device (vNICb 228) in accordance with an instruction from the save / restore request unit 210.
- File tally prevents unwanted communication data from accumulating in a buffer in the device.
- the filtering rules are sent together with the list of computers to be saved by the save / restore instruction unit 111 when the save / restore instruction unit 111 issues a command to the save / restore request unit 210.
- Embodiment 3 A mode in which a plurality of VMs 220 are stopped or restarted at the same time will be described.
- items different from the first and second embodiments will be mainly described. Matters whose description is omitted are the same as in the first and second embodiments.
- the configuration of the computer control system 100 is the same as that of the first embodiment (see FIG. 1).
- the save / restore request unit 210 receives a stop command (save command) in which a stop time (a start time of a save process described later) is designated.
- the save / restore request unit 210 stops the VM 220 at the stop time specified in the stop command.
- the buffer storage / restoration unit 212 stores the data received in the reception waiting time by the vNICb 228 in the storage area (VM storage medium) after the reception waiting time has elapsed from the stop time specified in the stop command.
- FIG. 9 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the third embodiment. The flow of the computer control method when saving (stopping) the VM 220 will be described with reference to FIG.
- the computer control system 100 executes S301 in addition to the processing of the first embodiment (see FIG. 2). Further, S001 is partially different from the first embodiment in processing. Hereinafter, S001 and S301 will be mainly described, and other processing will be omitted.
- the save / restore instruction unit 111 of the management computer 110 generates a save command and transmits the generated save command to each execution computer 200.
- a start time for starting the save process of the VM 220 is specified. It progresses to S002 after S001.
- the save / restore request unit 210 receives a save command. It progresses to S301 after S002.
- the save / restore request unit 210 waits until the start time specified in the save command is reached.
- the processes after S003 (see FIG. 2) are started from the start time specified in the save instruction.
- FIG. 10 is a flowchart showing a computer control method (at the time of restoration) of the computer control system 100 according to the third embodiment. The flow of the computer control method when restoring (starting up) the VM 220 will be described with reference to FIG.
- the computer control system 100 executes S311 in addition to the processing of the first embodiment (see FIG. 3). Further, S108 is partially different from the first embodiment in processing. Hereinafter, S311 and S108 will be mainly described, and other processing will be omitted.
- the save / restore instruction unit 111 of the management computer 110 generates a restart command and transmits the generated restart command to each execution computer 200.
- a start time for starting the restart processing of the VM 220 is specified. After S108, the process proceeds to S109.
- the save / restore request unit 210 receives a resume command. It progresses to S311 after S109.
- the save / restore request unit 210 waits until the start time specified in the resume command.
- the processes after S110 (see FIG. 3) are started from the start time specified in the resume instruction.
- the computer control system 100 has a process start time synchronization function.
- the save / restore instruction unit 111 instructs the save / restore request unit 210 including the time to start the save / restore process.
- the save / restore request unit 210 stops the VM 220 at the time designated by the save / restore instruction unit 111 and performs subsequent processing. After the restoration of the VM 220, the save / restore request unit 210 resumes the operation of the VM 220 at the time designated by the save / restore instruction unit 111.
- a plurality of VMs 220 can be stored or restored in synchronization.
- the computer control system 100 may filter the received data of the vNICb 228 as in the second embodiment.
- Embodiment 4 A mode in which the internal time of each execution computer 200 is adjusted to save or restore a plurality of VMs 220 in synchronization will be described.
- items different from the first to third embodiments will be mainly described. Matters whose description is omitted are the same as in the first to third embodiments.
- the configuration of the computer control system 100 is the same as that of the first embodiment (see FIG. 1). However, it is assumed that the management computer 110 and the execution computers 200A and 200B have a clock indicating the internal time.
- the save / restore request unit 210 receives time information (time notification described later) indicating the internal time of the management computer 110 from the save / restore instruction unit 111, and based on the received time information. Thus, the time difference between the internal time of the management computer 110 and the internal time of the execution computer 200 is calculated.
- the save / restore request unit 210 receives a stop command in which a stop time is specified.
- the save / restore request unit 210 determines a stop timing at which the internal time and the stop time of the management computer 110 coincide with each other based on the time difference between the stop time specified in the stop command and the internal time (a save process start timing described later). )
- the VM 220 is stopped.
- the buffer storage / restoration unit 212 stores the data received in the reception waiting time by the vNICb 228 in the storage area (VM storage medium) after the reception waiting time has elapsed from the stop timing.
- FIG. 11 is a flowchart illustrating a computer control method (at the time of storage) of the computer control system 100 according to the fourth embodiment. The flow of the computer control method when saving (stopping) the VM 220 will be described with reference to FIG.
- the computer control system 100 executes S401 to S403 in addition to the processing of the third embodiment (see FIG. 9). Further, S301 is partially different from the third embodiment in processing. Hereinafter, S401 to S403 and S301 will be mainly described, and other processing will be omitted.
- step S ⁇ b> 401 the save / restore instruction unit 111 of the management computer 110 transmits a time notification in which the current time of the management computer 110 is set to each execution computer 200. It progresses to S402 after S401.
- the save / restore request unit 210 of each execution computer 200 receives the time notification. It progresses to S403 after S402.
- the save / restore request unit 210 of each execution computer 200 determines the internal time of the management computer 110 and the internal time of the execution computer 200 based on the current time of the management computer 110 set in the received time notification. Calculate the time difference. For example, the save / restore request unit 210 calculates the time difference between the current time of the management computer 110 set in the time notification and the internal time of the execution computer 200 when the time notification is received. However, the time difference may be calculated in consideration of the communication time and processing time of time notification. After S403, the process proceeds to S001.
- the save / restore instruction unit 111 of the management computer 110 transmits a save command designating the start time of the save process (S001), and the save / restore request unit 210 of each execution computer 200 receives the save command (S002). It progresses to S301 after S002.
- the save / restore request unit 210 of each execution computer 200 stores the internal time of the management computer 110 and the save based on the start time of the save process specified in the save command and the time difference between the internal times calculated in S403. The start timing at which the process start time coincides is calculated. Then, the save / restore request unit 210 waits until the start timing, and the processing after S003 is started from the start timing.
- the save / restore request unit 210 causes the internal time of the execution computer 200 to be “1 minute” after the start time of the save process. Wait until the time.
- the save / restore request unit 210 sets the internal time of the execution computer 200 “1 minute” before the start time of the save process. Wait until the time.
- each VM 220 can be stored at the time specified by the storage / restore instruction unit 111.
- FIG. 12 is a flowchart illustrating a computer control method (at the time of restoration) of the computer control system 100 according to the fourth embodiment. The flow of the computer control method when restoring (starting up) the VM 220 will be described with reference to FIG.
- the computer control system 100 executes S411 to S413 in addition to the processing of the third embodiment (see FIG. 10).
- the save / restore request unit 210 of each execution computer 200 calculates the time difference between the internal times of the management computer 110 and the execution computer 200, similarly to S401 to S403 (see FIG. 11).
- the save / restore request unit 210 of each execution computer 200 performs the restart process until the start timing at which the internal time of the management computer 110 matches the start time of the restart process, as in S301 (see FIG. 11). stand by.
- each VM 220 can be restarted at the time designated by the save / restore instruction unit 111.
- the save / restore request unit 210 notifies the save / restore instruction unit 111 of the internal time of the execution computer 200, and the save / restore instruction unit 111 sets the time of the internal time between the management computer 110 and the execution computer 200.
- the difference may be calculated.
- the save / restore instruction unit 111 designates a different start time for each execution computer 200 based on the time difference from each execution computer 200. For example, the execution computer 200 whose internal time is advanced by “1 minute” from the management computer 110 is assigned a time “1 minute” after the predetermined start time, and the internal time is delayed by “1 minute” from the management computer 110.
- the execution computer 200 is assigned a time “1 minute” before the predetermined start time.
- each execution computer 200 changes the internal time of the execution computer 200 in accordance with the internal time of the management computer 110 notified in S402 or S412. You may correct the time lag.
- the computer control system 100 has an internal time synchronization function.
- the save / restore instruction unit 111 notifies the save / restore request unit 210 of the internal time of the save / restore instruction unit 111 prior to the start of the save / restore process.
- the save / restore request unit 210 adjusts the internal time of the save / restore request unit 210 to match the internal time of the save / restore instruction unit 111 based on the internal time notified from the save / restore instruction unit 111.
- the save / restore request unit 210 starts the process at the timing when the internal time of the save / restore instruction unit 111 becomes the time to start the save / restore process.
- a plurality of VMs 220 can be stored or restored in synchronization.
- the computer control system 100 may filter the received data of the vNICb 228 as in the second embodiment.
- 100 computer control system 101 network, 102 computer, 103 computer file, 110 management computer, 111 save / restore instruction unit, 118 physical N / W device, 119 physical NIC, 200 execution computer, 201 management domain unit, 202 program unit, 203 vNICa, 204 virtual bridge, 205 physical N / W device, 206 physical NIC, 210 save / restore request unit, 211 device operation control unit, 212 buffer save / restore unit, 213 filtering unit, 220 VM, 221 program unit, 228 vNICb, 229 VMM, 901 display device, 902 keyboard, 903 mouse, 904 drive device, 911 CPU, 912 bus, 913 ROM, 914 RAM, 91 Communication board, 920 a magnetic disk device, 921 OS, 922 programs, 923 files.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Hardware Redundancy (AREA)
- Retry When Errors Occur (AREA)
Abstract
Description
本発明は、例えば、複数の仮想計算機を同期して停止または稼働するための仮想計算機制御装置、仮想計算機制御システム、仮想計算機制御装置の仮想計算機制御方法および仮想計算機制御プログラムに関するものである。 The present invention relates to, for example, a virtual machine control device, a virtual machine control system, a virtual machine control method for a virtual machine control device, and a virtual machine control program for stopping or operating a plurality of virtual machines in synchronization.
計算機をデータ化し、ファイルとして保存可能な仮想化技術がある。
この技術を用いることで、ユーザは、一旦ファイルに保存しておいた計算機を繰り返し復元し、システムの開発環境または試験環境を再現または構築することができる。
There is a virtualization technology that can convert a computer into data and save it as a file.
By using this technique, the user can repeatedly restore a computer once saved in a file, and reproduce or construct a system development environment or test environment.
但し、計算機間で互いの計算機を死活監視する系間処理が行われる環境の場合、計算機の保存または復元を同期して行う必要がある。
計算機を個別に保存または復元しただけでは、系間処理に不整合が生じ、計算機内で動作しているアプリケーションプログラムに異常が生じるからである。
However, in an environment where inter-system processing is performed between computers to monitor each other's computers, it is necessary to synchronize and restore the computers.
This is because if the computers are individually saved or restored, inconsistency occurs in the inter-system processing, and an abnormality occurs in the application program operating in the computer.
従来技術では、計算機を同期して保存または復元して系間処理の不整合を防止するために、通信データの欠落を防ぐようにしていた。具体的には、計算機間で通信データの送受信が全て完了した時点で計算機を保存する。そして、全ての計算機を復元して全ての計算機が動作した後で送受信を再開していた。
しかし、従来技術では、計算機間の通信停止期間が長いため、系間処理のタイムアウトが短い環境において不整合が生じる恐れがあった。
In the prior art, loss of communication data is prevented in order to prevent inconsistencies in inter-system processing by synchronizing or saving or restoring computers. Specifically, the computer is saved when transmission / reception of communication data between computers is completed. Then, after all the computers were restored and all the computers were operating, transmission / reception was resumed.
However, in the prior art, since the communication suspension period between computers is long, inconsistency may occur in an environment where the timeout of inter-system processing is short.
本発明は、例えば、系間処理のタイムアウトが短い環境においても、通信データの欠落を防止し、計算機を同期して保存または復元できるようにすることを目的とする。 An object of the present invention is to prevent communication data from being lost and to save or restore a computer in synchronization, for example, even in an environment where the timeout of intersystem processing is short.
本発明の仮想計算機制御装置は、
通信処理を行う仮想通信装置と前記仮想通信装置を介してデータを通信する仮想計算機とが組み込まれ、
前記仮想計算機を含む複数の仮想計算機を管理する仮想計算機管理装置から前記仮想計算機の停止を命令する停止命令を受信する命令受信部と、
前記命令受信部が前記仮想計算機の停止命令を受信した場合、前記仮想計算機を停止する計算機制御部と、
前記命令受信部が前記仮想計算機の停止命令を受信した場合、他の仮想計算機が他の仮想計算機の停止命令によって停止される前に他の仮想計算機によって送信されたデータを受信するための所定の受信待ち時間が経過した後に、前記仮想通信装置によって前記受信待ち時間に受信されたデータを所定の保存領域に保存する通信装置制御部とを備える。
The virtual machine control device of the present invention is
A virtual communication device that performs communication processing and a virtual computer that communicates data via the virtual communication device are incorporated,
A command receiving unit that receives a stop command for commanding stop of the virtual machine from a virtual machine management device that manages a plurality of virtual machines including the virtual machine;
A computer control unit for stopping the virtual machine when the command receiving unit receives the virtual machine stop command;
When the command receiving unit receives a stop command for the virtual machine, a predetermined number for receiving data transmitted by another virtual machine before the other virtual machine is stopped by a stop command for another virtual machine. A communication device control unit that stores data received in the reception waiting time by the virtual communication device in a predetermined storage area after the reception waiting time elapses;
本発明によれば、例えば、系間処理のタイムアウトが短い環境においても、通信データの欠落を防止し、計算機を同期して保存することができる。 According to the present invention, for example, even in an environment where the timeout of inter-system processing is short, communication data can be prevented from being lost and the computers can be stored synchronously.
実施の形態1.
計算機を停止するときに、他の計算機から送信されたデータを受信するために所定時間を待って通信デバイスを停止する形態について説明する。
A description will be given of a mode in which when a computer is stopped, a communication device is stopped after a predetermined time in order to receive data transmitted from another computer.
図1は、実施の形態1における計算機制御システム100の構成図である。
実施の形態1における計算機制御システム100の構成について、図1に基づいて説明する。
FIG. 1 is a configuration diagram of a computer control system 100 according to the first embodiment.
The configuration of the computer control system 100 in the first embodiment will be described with reference to FIG.
計算機制御システム100(仮想計算機制御システムの一例)は、複数台の物理計算機を備える。物理計算機とは、ハードウェアとして構成される計算機(コンピュータ)である。
以下、1台の物理計算機を「管理計算機110」とし、残りの物理計算機を「実行計算機200」とする。
但し、1台の物理計算機を管理計算機110および実行計算機200として使用しても構わない。さらに、計算機制御システム100を1台の物理計算機で構成しても構わない。
The computer control system 100 (an example of a virtual computer control system) includes a plurality of physical computers. The physical computer is a computer (computer) configured as hardware.
Hereinafter, one physical computer is referred to as “
However, one physical computer may be used as the
管理計算機110と実行計算機200は、ネットワーク101を介して通信を行う。
The
実行計算機200A・B(仮想計算機制御装置の一例)は、1つまたは複数の仮想計算機が組み込まれた物理計算機である。
管理計算機110(仮想計算機管理装置の一例)は、複数の仮想計算機を管理する物理計算機である。
仮想計算機とは、物理計算機を模倣するソフトウェア(例えば、Operating System)を実行する実行部である。
以下、仮想計算機を「VM220(Virtual Machine)」という。
The
The management computer 110 (an example of a virtual computer management apparatus) is a physical computer that manages a plurality of virtual computers.
The virtual computer is an execution unit that executes software (for example, an operating system) that imitates a physical computer.
Hereinafter, the virtual machine is referred to as “VM220 (Virtual Machine)”.
管理計算機110は、保存・復元指示部111、物理N/Wデバイス118(N/W:NetWork)および物理NIC119(NIC:Network Interface Card)を備える。
The
保存・復元指示部111は、VM220の保存命令や復元命令を実行計算機200A・Bへ送信する。
The save / restore
物理N/Wデバイス118および物理NIC119は、ネットワーク101を介して通信を行うハードウェアである。
The physical N /
実行計算機200A・Bは、VM220、vNICb228(vNIC:virtual NIC)、VMM229(Virtual Machine Monitor)、管理ドメイン部201および物理NIC206を備える。
The
vNICb228(仮想通信装置の一例)は、VM220に組み込まれたネットワーク・インタフェース・カードを模倣するソフトウェアを実行して通信処理を行う。
The vNICb 228 (an example of a virtual communication device) executes communication processing by executing software that imitates a network interface card incorporated in the
VM220は、vNICb228を介してデータを通信するプログラム部221を備える。
プログラム部221は、所定の業務処理(例えば、オンライン処理)の手順を表したプログラムを実行する。
The VM 220 includes a
The
例えば、VM220(のプログラム部221)とvNICb228とは以下のように動作する。
(1)vNICb228は、他のVM220から受信したデータを受信バッファ(後述するvNICb領域)に記憶する。
VM220は、vNICb228の受信バッファに記憶されたデータを処理する。
(2)vNICb228は、他のVM220によって他のVM220が稼働していることを示すデータが送信された場合、当該データを死活監視データとして受信する。
VM220は、vNICb228により所定のタイムアウト時間内に死活監視データが受信されなかった場合、他のVM220が稼働していないと判定する。
For example, the VM 220 (the
(1) The vNICb 228 stores data received from another
The
(2) When data indicating that another
When the alive monitoring data is not received within a predetermined timeout time by the vNICb 228, the
VMM229は、VM220を管理するVM管理部である。 The VMM 229 is a VM management unit that manages the VM 220.
管理ドメイン部201は、VMM229を管理するVMM管理部である。 The management domain unit 201 is a VMM management unit that manages the VMM 229.
管理ドメイン部201は、プログラム部202、vNICa203、仮想ブリッジ204および物理N/Wデバイス205を備える。
プログラム部202は、実行計算機200を機能させるプログラムを実行する。
vNICa203は、管理ドメイン部201に組み込まれたネットワーク・インタフェース・カードを模倣するソフトウェアを実行して通信処理を行う。
仮想ブリッジ204は、管理ドメイン部201に組み込まれたブリッジ(中継機器)を模倣するソフトウェアを実行して通信処理を行う。
The management domain unit 201 includes a
The
The vNICa 203 executes communication processing by executing software that imitates a network interface card incorporated in the management domain unit 201.
The
物理N/Wデバイス205および物理NIC206は、通信処理を行うハードウェアである。
The physical N /
管理ドメイン部201は、さらに、保存・復元要求部210、デバイス稼働制御部211およびバッファ保存・復元部212を備える。
The management domain unit 201 further includes a save / restore
保存・復元要求部210(命令受信部、計算機制御部の一例)は、管理計算機110からVM220の停止命令(後述する保存命令)を受信する。
保存・復元要求部210は、停止命令を受信した場合、VM220を停止する。
保存・復元要求部210は、VM220の起動命令(後述する復元命令)を受信する。
保存・復元要求部210は、起動命令を受信した場合、vNICb228が停止したときに保存された受信データがvNICb228の受信バッファに記憶された後に、VM220を起動する。
The save / restore request unit 210 (an example of a command receiving unit and a computer control unit) receives a
The save / restore
The save / restore
When receiving the activation command, the save / restore
デバイス稼働制御部211(通信装置制御部の一例)は、保存・復元要求部210が停止命令を受信した場合、所定の受信待ち時間が経過した後に、vNICb228を停止する。
所定の受信待ち時間とは、他のVM220が停止される前に他のVM220によって送信されたデータを受信するための時間である。
他のVM220が稼働しているか否かを判断するためのタイムアウト時間は、所定の受信待ち時間の一例である。
When the save /
The predetermined reception waiting time is a time for receiving data transmitted by another
The timeout time for determining whether or not another
また、デバイス稼働制御部211は、保存・復元要求部210が起動命令を受信した場合、vNICb228を起動する。
Further, the device
バッファ保存・復元部212(通信装置制御部の一例)は、デバイス稼働制御部211が停止命令を受信した場合、vNICb228によって受信待ち時間に受信されたデータを所定の保存領域(後述するVM保存媒体)に保存する。
バッファ保存・復元部212は、保存・復元要求部210が起動命令を受信した場合、vNICb228の保存データをvNICb228の受信バッファに記憶する。
When the device
When the save / restore
次に、計算機制御システム100の計算機制御方法について説明する。
計算機制御システム100のVM220、vNICb228および「~部」はCPU(Central Processing Unit)を用いて動作する。
管理計算機110の保存・復元指示部111は物理N/Wデバイス118と物理NIC119とを介して通信する。
また、実行計算機200の保存・復元要求部210はvNICa203、仮想ブリッジ204、物理N/Wデバイス205および物理NIC206を介して通信する。
これらの説明は以降の説明において省略する。
Next, a computer control method of the computer control system 100 will be described.
The
The save / restore
Further, the save / restore
These descriptions are omitted in the following description.
また、実行計算機200Aで主系(常用系)のVM220が稼働し、実行計算機200Bで従系(待機系)のVM220が稼働しているものとする。
Further, it is assumed that the main computer (normal system)
主系のVM220は通常時に所定の業務処理(例えば、オンライン処理)を実行し、従系のVM220は主系のVM220が故障などによって停止してしまったとき(主系のVM220がダウンしたとき)に主系のVM220の代わりに業務処理を実行する。
主系のVM220と従系のVM220とは、定期的にデータ(信号)を送受信し、相手のVM220がダウンしている状態であるか否かを確認する。以下、相手のVM220の状態を確認するためのデータを「死活監視データ」という。
VM220は、死活監視データを送信してから所定のタイムアウト時間が経過しても相手の死活監視データを受信できなかった場合、または死活監視データの前回の受信時から所定のタイムアウト時間が経過しても新たな死活監視データを受信できなかった場合、相手のVM220がダウンしたと判断する。
The
The
The
図2は、実施の形態1における計算機制御システム100の計算機制御方法(保存時)を示すフローチャートである。
VM220を保存(停止)するときの計算機制御方法の流れについて、図2に基づいて説明する。
FIG. 2 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the first embodiment.
The flow of the computer control method when saving (stopping) the
VM220を表すデータ(制御情報、フラグ、レジスタ値など)が実行計算機200の所定の記憶領域に設定され、VM220が稼働しているものとする。
以下、VM220を表すデータを「VMデータ(またはVMファイル)」といい、VMデータが設定される記憶領域を「VM領域」という。
It is assumed that data (control information, flag, register value, etc.) representing the
Hereinafter, data representing the
S001において、管理計算機110の保存・復元指示部111は、特定のタイミングで保存命令を生成し、生成した保存命令を各実行計算機200へ送信する。
特定のタイミングとは、管理者が管理計算機110にVM220の保存(停止)コマンドを入力したとき、一連の処理が終了したとき、所定の時刻になったとき等である。
保存命令とは、VM220を停止し、停止したときのVM220の状態を表すVMデータを所定の記録媒体(磁気テープ、磁気ディスク、半導体メモリなど)に保存することを要求する命令である。以下、VMデータを保存する記録媒体を「VM保存媒体」という。
保存命令には、保存対象のVM220を識別するVM名や、保存したVMデータに設定するファイル名などの情報が指定される。
In S001, the save / restore
The specific timing is when the administrator inputs a save (stop) command of the
The save command is a command for requesting that the
In the save command, information such as a VM name for identifying the
例えば、保存・復元指示部111は、実行計算機200Aに主系のVM220を指定した保存命令を送信し、実行計算機200Bに従系のVM220を指定した保存命令を送信する。
また、保存・復元指示部111は、主系のVM220と従系のVM220とを指定した保存命令を実行計算機200Aと実行計算機200Bとへ送信してもよい。
For example, the save / restore
Further, the save / restore
S001の後、S002に進む。 After S001, the process proceeds to S002.
以下に説明するS002~S009の処理は、保存命令が送信された実行計算機200毎に実行される。 The processing of S002 to S009 described below is executed for each execution computer 200 to which the save command is transmitted.
S002において、保存・復元要求部210は、管理計算機110の保存・復元指示部111から送信された保存命令を受信する。
S002の後、S003に進む。
In S002, the save / restore
It progresses to S003 after S002.
S003以降の説明において、「VM220」は、保存命令に指定されたVM名で識別されるVM220、すなわち、保存対象のVM220を意味するものとする。
In the description after S003, “VM220” means the
S003において、保存・復元要求部210はデバイス稼働制御部211を呼び出し、デバイス稼働制御部211はVM220とvNICb228と間の入出力(I/O:Input/Output)を停止する。
これ以後、VM220は、vNICb228により受信され通信(受信)バッファに保存された受信データを処理することができない。また、VM220は、データを送信するために、通信(送信)バッファに送信データを記憶することができない。
S003の後、S004に進む。
In S003, the save / restore
Thereafter, the
It progresses to S004 after S003.
S004において、保存・復元要求部210は、VM220を停止し、停止したVM220のVMデータをVM保存媒体に保存する。VMデータは保存命令で指定されたファイル名で保存される。vNICb228はまだ停止していない。
S004は、S003と逆の順序またはS003と同時に実行してもよい。
S004の後、S005に進む。
In S004, the save / restore
S004 may be executed in the reverse order of S003 or simultaneously with S003.
It progresses to S005 after S004.
S005において、保存・復元要求部210は、所定の受信待ち時間が経過するまでvNICb228を停止しないで待機する。
所定の受信待ち時間は、他のVM220が保存命令によって停止する前に他のVM220によって送信されたデータが送信先のVM220のvNICb228に到達し、vNICb228が到達したデータを受信処理するために必要な時間である。
例えば、保存・復元要求部210は、保存命令を受信したとき又は死活監視データが前回送受信されたときから死活監視のタイムアウト時間(受信待ち時間の一例)が経過するまで待機する。これにより、VM220のvNICb228は、相手のVM220から送信された死活監視データを受信することができる。
S005の後、S006に進む。
In S005, the save / restore
The predetermined reception waiting time is necessary for the data transmitted by the
For example, the saving / restoring
It progresses to S006 after S005.
S006において、保存・復元要求部210はデバイス稼働制御部211を呼び出し、デバイス稼働制御部211はvNICb228を停止する。
S006の後、S007に進む。
In S006, the save / restore
It progresses to S007 after S006.
S007において、保存・復元要求部210はバッファ保存・復元部212を呼び出し、バッファ保存・復元部212はvNICb228の通信バッファに記憶されているデータ(通信バッファデータ)をVM保存媒体に保存する。通信バッファデータはVMデータに対応付けて保存されるものとする。
例えば、通信バッファデータには、VM220の停止後に相手のVM220から受信した死活監視データが含まれる。
以下、vNICb228の通信バッファとして確保される実行計算機200の記憶領域を「vNICb領域」という。
S007の後、S008に進む。
In S007, the save / restore
For example, the communication buffer data includes alive monitoring data received from the
Hereinafter, the storage area of the execution computer 200 secured as a communication buffer for the
It progresses to S008 after S007.
S008において、保存・復元要求部210は、VM領域とvNICb領域とを解放することにより、VM220を破棄する。
S008の後、S009に進む。
In S008, the save / restore
It progresses to S009 after S008.
S009において、保存・復元要求部210は、VM220の保存が完了したことを通知する保存完了通知を生成し、生成した保存完了通知を管理計算機110の保存・復元指示部111に送信する。保存完了通知には、保存が完了したVM220のVM名が設定される。
S009の後、S010に進む。
In step S <b> 009, the save / restore
It progresses to S010 after S009.
S010において、管理計算機110の保存・復元指示部111は、各実行計算機200の保存・復元要求部210から保存完了通知を受信する。
保存対象の複数のVM220について全てのVM220の保存完了通知を保存・復元指示部111が受信した場合、計算機制御方法(保存時)は終了する。
In step S010, the save / restore
When the save / restore
図3は、実施の形態1における計算機制御システム100の計算機制御方法(復元時)を示すフローチャートである。
VM220を復元(起動)するときの計算機制御方法の流れについて、図3に基づいて説明する。
FIG. 3 is a flowchart showing a computer control method (at the time of restoration) of the computer control system 100 according to the first embodiment.
The flow of the computer control method when restoring (starting up) the
S101において、管理計算機110の保存・復元指示部111は、特定のタイミングで復元命令を生成し、生成した復元命令を各実行計算機200へ送信する。
特定のタイミングとは、管理者が管理計算機110にVM220の復元(起動)コマンドを入力したとき、所定の時刻になったとき等である。
復元命令とは、VM保存媒体に保存されたVMデータをVM領域に復元し、VM220を起動する命令である。
復元命令には、復元対象の複数のVM220を識別する複数のVM名や、VM220の復元に使用するVMデータのファイル名などの情報が指定される。
In S101, the save / restore
The specific timing is when the administrator inputs a restore (start) command of the
The restoration command is a command for restoring the VM data saved in the VM storage medium to the VM area and starting the
In the restoration command, information such as a plurality of VM names for identifying a plurality of
例えば、保存・復元指示部111は、実行計算機200Aに主系のVM220を指定した復元命令を送信し、実行計算機200Bに従系のVM220を指定した復元命令を送信する。
また、保存・復元指示部111は、主系のVM220と従系のVM220とを指定した復元命令を実行計算機200Aと実行計算機200Bとへ送信してもよい。
For example, the save / restore
Further, the save / restore
S101の後、S102に進む。 After S101, the process proceeds to S102.
以下に説明するS102~S106の処理は、復元命令が送信された実行計算機200毎に実行される。 The processing of S102 to S106 described below is executed for each execution computer 200 to which a restoration command is transmitted.
S102において、保存・復元要求部210は、管理計算機110の保存・復元指示部111から送信された復元命令を受信する。
S102の後、S103に進む。
In S102, the save / restore
After S102, the process proceeds to S103.
S103以降の説明において、「VM220」は、復元命令(または後述する再開命令)に指定されたVM名で識別されるVM220、すなわち、復元対象のVM220を意味するものとする。
In the description after S103, “VM220” means the
S103において、保存・復元要求部210は、復元命令に指定されたファイル名で保存されたVMデータをロード(リストア)する。
VMデータのロードとは、VMデータをVM保存媒体から読み出し、読み出したVMデータを実行計算機200のVM領域に書き込むことである。
これにより、VM220を停止したときのVM220の状態を復元することができる。
S103の後、S104に進む。
In S103, the save / restore
The loading of VM data means reading the VM data from the VM storage medium and writing the read VM data in the VM area of the execution computer 200.
Thereby, the state of the
It progresses to S104 after S103.
S104において、保存・復元要求部210はバッファ保存・復元部212を呼び出し、バッファ保存・復元部212はVMデータに対応する通信バッファデータをロードする。
通信バッファデータのロードとは、通信バッファデータをVM保存媒体から読み出し、読み出した通信バッファデータを実行計算機200のvNICb領域に書き込むことである。
これにより、vNICb228を停止したときの通信バッファの状態を復元することができる。
S104の後、S105に進む。
In S104, the save / restore
The load of the communication buffer data is to read the communication buffer data from the VM storage medium and write the read communication buffer data to the vNICb area of the execution computer 200.
Thereby, the state of the communication buffer when the
After S104, the process proceeds to S105.
S105において、保存・復元要求部210はデバイス稼働制御部211を呼び出し、デバイス稼働制御部211はvNICb228を起動する。
S105の後、S106に進む。
In S105, the save / restore
After S105, the process proceeds to S106.
S106において、保存・復元要求部210は、VM220の復元が完了したことを通知する復元完了通知を生成し、生成した復元完了通知を管理計算機110の保存・復元指示部111に送信する。復元完了通知には、復元が完了したVM220のVM名が設定される。
S106の後、S107に進む。
In S <b> 106, the save / restore
It progresses to S107 after S106.
S107において、管理計算機110の保存・復元指示部111は、各実行計算機200の保存・復元要求部210から復元完了通知を受信する。
復元対象の複数のVM220について全てのVM220の復元完了通知を保存・復元指示部111が受信した場合、S108に進む。
In S <b> 107, the save / restore
When the storage /
S108において、管理計算機110の保存・復元指示部111は、再開命令を生成し、生成した再開命令を各実行計算機200へ送信する。
再開命令とは、復元したVM220の動作を再開させることを要求する命令である。
再開命令には復元命令で指定されたVM名が指定され、再開命令は復元命令が送信された各実行計算機200に送信される。
S108の後、S109に進む。
In S <b> 108, the save / restore
The resume command is a command for requesting to resume the operation of the restored
The VM name designated by the restoration command is designated as the resume command, and the resume command is sent to each execution computer 200 to which the restoration command has been sent.
After S108, the process proceeds to S109.
以下に説明するS109~S111の処理は、再開命令が送信された実行計算機200毎に実行される。 The processing of S109 to S111 described below is executed for each execution computer 200 to which a restart command is transmitted.
S109において、保存・復元要求部210は、管理計算機110の保存・復元指示部111から送信された再開命令を受信する。
S109の後、S110に進む。
In S109, the save / restore
It progresses to S110 after S109.
S110において、保存・復元要求部210はS103で復元したVM220を起動する。
これにより、VM220の動作をVM220が停止したときの状態から再開させることができる。
In S110, the save / restore
Thereby, the operation of the
再開したVM220は、S104で復元されたvNICb228の通信バッファから受信データを取得し、取得した受信データを処理する。
例えば、VM220が停止した後にvNICb228によって死活監視データが受信された場合、再開したVM220は、vNICb228の通信バッファから死活監視データを取得し、相手のVM220が稼働していると判定する。また、VM220は、相手のVM220に応答する死活監視データを生成し、生成した死活監視データをvNICb228の通信バッファに記憶する。そして、vNICb228は通信バッファに登録された死活監視データを相手のVM220へ送信する。
The resumed
For example, when the alive monitoring data is received by the
S110の後、S111に進む。 After S110, the process proceeds to S111.
S111において、保存・復元要求部210は、VM220の再開が完了したことを通知する再開完了通知を生成し、生成した再開完了通知を管理計算機110の保存・復元指示部111に送信する。再開完了通知には、再開が完了したVM220のVM名が設定される。
S111の後、S112に進む。
In step S <b> 111, the save / restore
It progresses to S112 after S111.
S112において、管理計算機110の保存・復元指示部111は、各実行計算機200の保存・復元要求部210から再開完了通知を受信する。
再開対象の複数のVM220について全てのVM220の再開完了通知を保存・復元指示部111が受信した場合、計算機制御方法(復元時)は終了する。
In S <b> 112, the save / restore
When the storage /
図4は、実施の形態1における管理計算機110および実行計算機200のハードウェア資源の一例を示す図である。
図4において、管理計算機110および実行計算機200は、CPU911を備えている。CPU911は、バス912を介してROM913、RAM914、通信ボード915、表示装置901、キーボード902、マウス903、ドライブ装置904、磁気ディスク装置920と接続され、これらのハードウェアデバイスを制御する。ドライブ装置904は、FD(Flexible・Disk・Drive)、CD(Compact Disc)、DVD(Digital・Versatile・Disc)、SSD(Solid State Drive)などの記憶媒体を読み書きする装置である。
FIG. 4 is a diagram illustrating an example of hardware resources of the
In FIG. 4, the
通信ボード915は、有線または無線で、LAN(Local Area Network)、インターネット、電話回線などの通信網に接続している。
The
磁気ディスク装置920には、OS921(オペレーティングシステム)、プログラム群922、ファイル群923が記憶されている。
The
プログラム群922には、実施の形態において「~部」(または、VM220、vNICb228)(以下同様)として説明する機能を実行するプログラムが含まれる。プログラムは、CPU911により読み出され実行される。すなわち、プログラムは、「~部」としてコンピュータを機能させるものであり、また「~部」の手順や方法をコンピュータに実行させるものである。
The
ファイル群923には、実施の形態において説明する「~部」で使用される各種データ(入力、出力、判定結果、計算結果、処理結果など)が含まれる。
The
実施の形態において構成図およびフローチャートに含まれている矢印は主としてデータや信号の入出力を示す。 In the embodiment, arrows included in the configuration diagrams and flowcharts mainly indicate input and output of data and signals.
実施の形態において「~部」として説明するものは「~回路」、「~装置」、「~機器」であってもよく、また「~ステップ」、「~手順」、「~処理」であってもよい。すなわち、「~部」として説明するものは、ファームウェア、ソフトウェア、ハードウェアまたはこれらの組み合わせのいずれで実装されても構わない。 In the embodiment, what is described as “to part” may be “to circuit”, “to apparatus”, and “to device”, and “to step”, “to procedure”, and “to processing”. May be. That is, what is described as “˜unit” may be implemented by any of firmware, software, hardware, or a combination thereof.
実施の形態1において、VM220は仮想計算機ではなく物理計算機であっても構わず、vNICb228は仮想通信装置ではなく物理通信装置であっても構わない。
In the first embodiment, the
実施の形態1において、例えば、以下のような計算機制御システム100について説明した。
In
計算機制御システム100は、保存・復元指示部111、保存・復元要求部210、デバイス稼動制御部211、バッファ保存・復元部212を備え、動作中の計算機の情報を同期して保存または復元する。
保存・復元指示部111は、管理下の複数の保存・復元要求部210に対して同期保存・復元の処理開始を命令する。
保存・復元要求部210は、保存・復元指示部111からの指示に従い、対象の計算機を保存または復元する。
デバイス稼働制御部211は、保存・復元要求部210の指示に従い、計算機のOS(VM220)の稼動または停止とは別に、ネットワークデバイス(vNICb228)を稼動または停止する。
バッファ保存・復元部212は、保存・復元要求部210の指示に従い、ネットワークデバイス内に溜まった通信データを保存または復元する。
The computer control system 100 includes a save / restore
The save / restore
The save / restore
The device
The buffer saving / restoring
ユーザは、保存・復元指示部111に対して保存要求を出すことで、複数の計算機を同時に保存できる。
保存・復元指示部111は、要求を保存・復元要求部210に伝達する。
要求を受けた保存・復元要求部210は、計算機のOSを一時停止後、情報の保存を行い、一定時間だけネットワークデバイスのみを稼動させ、通信データの送受信をデバイスレベルで完了させた後にネットワークデバイスのバッファを保存する。
The user can save a plurality of computers simultaneously by issuing a save request to the save / restore
The save / restore
Upon receipt of the request, the save / restore
ユーザは、保存・復元指示部111に対して復元要求を出すことで、複数の計算機を同時に復元できる。
保存・復元指示部111は、要求を保存・復元要求部210に伝達する。
要求を受けた保存・復元要求部210は、保存しておいた計算機情報を復元し、保存しておいたネットワークデバイスのバッファを復元し、計算機のOSを再開させる。
The user can restore a plurality of computers simultaneously by issuing a restoration request to the save / restore
The save / restore
Upon receiving the request, the save / restore
実施の形態1により、例えば、以下のような効果を奏することができる。 According to the first embodiment, for example, the following effects can be obtained.
図5は、実施の形態1における計算機制御システム100の利用方法の一例を示す概要図である。
実施の形態1における計算機制御システム100は、図5に示すように計算機の試験に利用することができる。
FIG. 5 is a schematic diagram illustrating an example of a method of using the computer control system 100 according to the first embodiment.
The computer control system 100 according to the first embodiment can be used for a computer test as shown in FIG.
(1)試験対象の計算機システムを構成する計算機102をデータ化し、データ化した計算機102(VM220)を計算機ファイル103(VMデータ)として保存しておく。
(2)計算機ファイル103を用いて計算機102を復元し、(3)計算機102の試験(例えば障害試験)を実行する。
(4)新たに計算機102を試験する必要がある場合、再び、計算機ファイル103を用いて計算機102を復元する。
(1) The
(2) The
(4) When it is necessary to newly test the
図6は、実施の形態1における計算機制御システム100が解決する課題の一例を示す概要図である。
例えば、計算機制御システム100は、図6に示すような系間処理システムの課題を解決することができる。
FIG. 6 is a schematic diagram illustrating an example of a problem to be solved by the computer control system 100 according to the first embodiment.
For example, the computer control system 100 can solve the problem of the inter-system processing system as shown in FIG.
系間処理システムは、主系の計算機(第1のVM220)と従系の計算機(第2のVM220)とを備える。
(1)主系の計算機と従系の計算機とは定期的に死活監視データ(実線矢印)を送受信する。そして、主系または従系の計算機は、相手の計算機から所定のタイムアウト時間に死活監視データを受信できない場合、相手の計算機が故障したものと判断する。例えば、主系の計算機が故障したと判断した従系の計算機は、新たな主系の計算機として稼働する。
(2)系間処理システムの試験を停止する場合、通信を停止した後、計算機を停止し、計算機をデータ化して保存する。
(3)系間処理システムの試験を再開する場合、計算機を復元して再開した後、通信を再開する(通信装置が停止し、計算機が稼働している期間を太線で示す)。
(4)この場合、通信を停止してから再開するまでの間、死活監視データ(点線矢印)を通信できないため、計算機が停止するまでに、または計算機が再開したときに死活監視のタイムアウトが発生する。
(5)しかし、主系の計算機は稼働しているため、両方の計算機が主系の計算機として稼働してしまうという矛盾が生じてしまう。
The inter-system processing system includes a primary computer (first VM 220) and a secondary computer (second VM 220).
(1) The primary computer and the secondary computer periodically send and receive life / death monitoring data (solid arrows). When the primary computer or the secondary computer cannot receive the life / death monitoring data from the counterpart computer within a predetermined time-out period, it is determined that the counterpart computer has failed. For example, a slave computer that determines that the primary computer has failed operates as a new primary computer.
(2) When stopping the test of the inter-system processing system, after stopping communication, the computer is stopped, and the computer is converted into data and stored.
(3) When the test of the inter-system processing system is resumed, the computer is restored and resumed, and then the communication is resumed (the period during which the communication device is stopped and the computer is operating is indicated by a bold line).
(4) In this case, the life and death monitoring data (dotted arrow) cannot be communicated between the time when communication is stopped and the time when it is restarted. Therefore, the life and death monitoring time-out occurs before the computer stops or when the computer is restarted. To do.
(5) However, since the main computer is operating, there is a contradiction that both computers operate as the main computer.
一方、計算機制御システム100は、計算機を停止して死活監視データを受信するための受信待ち時間が経過した後に通信を停止する。このため、上記のような矛盾は生じない。 On the other hand, the computer control system 100 stops the communication after the reception waiting time for stopping the computer and receiving the alive monitoring data has elapsed. For this reason, the above contradiction does not occur.
実施の形態2.
VM220が停止した後の受信待ち時間にvNICb228が不要なデータをフィルタリングする形態について説明する。
以下、実施の形態1と異なる事項について主に説明する。説明を省略する事項については実施の形態1と同様である。
A mode in which the
Hereinafter, items different from the first embodiment will be mainly described. Matters whose description is omitted are the same as those in the first embodiment.
図7は、実施の形態2における計算機制御システム100の構成図である。
実施の形態2における計算機制御システム100の構成について、図7に基づいて説明する。
FIG. 7 is a configuration diagram of the computer control system 100 according to the second embodiment.
The configuration of the computer control system 100 according to the second embodiment will be described with reference to FIG.
実行計算機200A・Bは、実施の形態1の構成(図1参照)に加えて、フィルタリング部213を備える。
The
フィルタリング部213は、保存・復元要求部210がVM220の停止命令(保存命令)を受信した場合、特定データだけをvNICb228に受信させる。
例えば、フィルタリング部213は、特定のVM220から送信されたデータだけをvNICb228に受信させる。
The
For example, the
図8は、実施の形態2における計算機制御システム100の計算機制御方法(保存時)を示すフローチャートである。
VM220を保存(停止)するときの計算機制御方法の流れについて、図8に基づいて説明する。
FIG. 8 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the second embodiment.
The flow of the computer control method when saving (stopping) the
計算機制御システム100は、実施の形態1の処理(図2参照)に加えて、S201とS202とを実行する。
また、S001は、実施の形態1と処理の一部が異なる。
以下、S001、S201およびS202について主に説明し、その他の処理を省略して説明する。
The computer control system 100 executes S201 and S202 in addition to the processing of the first embodiment (see FIG. 2).
Further, S001 is partially different from the first embodiment in processing.
Hereinafter, S001, S201, and S202 will be mainly described, and other processing will be omitted.
S001において、管理計算機110の保存・復元指示部111は保存命令を生成し、生成した保存命令を各実行計算機200へ送信する。
但し、保存命令には、フィルタリングルールが指定される。フィルタリングルールは、VM220を停止した後の受信待ち時間においてvNICb228に受信させるデータを制限する情報である。
In S001, the save / restore
However, a filtering rule is specified in the save command. The filtering rule is information that restricts data to be received by the
例えば、保存・復元指示部111は、以下のように(1)データの送信元や(2)データの種類をフィルタリングルールとして指定する。但し、(1)データの送信元と(2)データの種類との両方をフィルタリングルールとして指定してもよい。
(1)保存・復元指示部111は、主系のvNICb228に受信させるデータとして従系のVM220(またはvNICb228)から送信されたデータを指定し、従系のvNICb228に受信させるデータとして主系のVM220(またはvNICb228)から送信されたデータを指定する。
(2)保存・復元指示部111は、死活監視データをvNICb228に受信させるデータとして指定する。
また、保存・復元指示部111は、vNICb228に破棄させるデータ(例えば、ブロードキャストデータ)をフィルタリングルールとして指定してもよい。
For example, the save / restore
(1) The save / restore
(2) The save / restore
Further, the save / restore
フィルタリングルールを指定することにより、不要なデータによってvNICb228の通信バッファの容量が不足してしまい、重要なデータ(例えば、死活監視データ)を通信バッファに記憶できない、という課題を解消することができる。
By specifying the filtering rule, it is possible to solve the problem that the communication buffer capacity of the
S001の後、S002に進む。 After S001, the process proceeds to S002.
保存・復元要求部210は保存命令を受信し(S002)、デバイス稼働制御部211はVM220とvNICb228との入出力を停止する(S003)。
S003の後、S201に進む。
The save / restore
It progresses to S201 after S003.
S201において、保存・復元要求部210はフィルタリング部213を呼び出し、フィルタリング部213は保存命令に指定されたフィルタリングルールをvNICb228に設定する。
これ以後、vNICb228はフィルタリングルールで「受信するデータ」として指定されたデータだけを受信し、その他のデータを破棄する。vNICb228によって受信されたデータは通信バッファに記憶され、vNICb228によって破棄されたデータは通信バッファに記憶されない。
S201の後、S004に進む。
In S201, the save / restore
Thereafter, the
It progresses to S004 after S201.
保存・復元要求部210はVM220を停止してVMデータを保存し(S004)、所定の受信待ち時間が経過するまで待機する(S005)。
受信待ち時間の経過後、デバイス稼働制御部211はvNICb228を停止し(S006)、バッファ保存・復元部212は通信バッファデータを保存する(S007)。
S007の後、S202に進む。
The save / restore
After the reception waiting time elapses, the device
It progresses to S202 after S007.
S202において、保存・復元要求部210はフィルタリング部213を呼び出し、フィルタリング部213はvNICb228に設定したフィルタリングルールを削除する。
S202の後、S008に進む。
In S202, the save / restore
It progresses to S008 after S202.
保存・復元要求部210はVM220を破棄し(S008)、保存完了通知を送信する(S009)。
管理計算機110の保存・復元指示部111は各実行計算機200の保存・復元要求部210から保存完了通知を受信し(S010)、計算機制御方法(保存時)は終了する。
The save / restore
The save / restore
VM220を復元する計算機制御方法(復元時)は、実施の形態1(図3参照)と同じである。
The computer control method (at the time of restoration) for restoring the
実施の形態2において、例えば、以下のような計算機制御システム100について説明した。 In the second embodiment, for example, the following computer control system 100 has been described.
計算機制御システム100は、フィルタリング部213を備える。
フィルタリング部213は、保存・復元要求部210からの指示に従い、仮想ネットワークデバイス(vNICb228)へ送られる通信データのフィルタリングを行う。
ファイルタリングは、無用な通信データがデバイス中のバッファに溜まるのを防ぐものである。フィルタリングの規定は、保存・復元指示部111が保存・復元要求部210に命令を出す際に、保存・復元指示部111によって保存対象の計算機のリストと共に送られる。
The computer control system 100 includes a
The
File tally prevents unwanted communication data from accumulating in a buffer in the device. The filtering rules are sent together with the list of computers to be saved by the save / restore
実施の形態3.
複数のVM220を同じ時刻に停止または再開する形態について説明する。
以下、実施の形態1、2と異なる事項について主に説明する。説明を省略する事項については実施の形態1、2と同様である。
A mode in which a plurality of
Hereinafter, items different from the first and second embodiments will be mainly described. Matters whose description is omitted are the same as in the first and second embodiments.
計算機制御システム100の構成は、実施の形態1(図1参照)と同じである。 The configuration of the computer control system 100 is the same as that of the first embodiment (see FIG. 1).
但し、保存・復元要求部210は、停止時刻(後述する保存処理の開始時刻)が指定された停止命令(保存命令)を受信する。
保存・復元要求部210は、停止命令に指定された停止時刻にVM220を停止する。
バッファ保存・復元部212は、停止命令に指定された停止時刻から受信待ち時間が経過した後に、vNICb228によって受信待ち時間に受信されたデータを保存領域(VM保存媒体)に保存する。
However, the save / restore
The save / restore
The buffer storage /
図9は、実施の形態3における計算機制御システム100の計算機制御方法(保存時)を示すフローチャートである。
VM220を保存(停止)するときの計算機制御方法の流れについて、図9に基づいて説明する。
FIG. 9 is a flowchart showing a computer control method (at the time of storage) of the computer control system 100 according to the third embodiment.
The flow of the computer control method when saving (stopping) the
計算機制御システム100は、実施の形態1の処理(図2参照)に加えて、S301を実行する。
また、S001は、実施の形態1と処理の一部が異なる。
以下、S001とS301とについて主に説明し、その他の処理を省略して説明する。
The computer control system 100 executes S301 in addition to the processing of the first embodiment (see FIG. 2).
Further, S001 is partially different from the first embodiment in processing.
Hereinafter, S001 and S301 will be mainly described, and other processing will be omitted.
S001において、管理計算機110の保存・復元指示部111は保存命令を生成し、生成した保存命令を各実行計算機200へ送信する。
但し、保存命令には、VM220の保存処理を開始する開始時刻が指定される。
S001の後、S002に進む。
In S001, the save / restore
However, in the save command, a start time for starting the save process of the
It progresses to S002 after S001.
S002において、保存・復元要求部210は保存命令を受信する。
S002の後、S301に進む。
In S002, the save / restore
It progresses to S301 after S002.
S301において、保存・復元要求部210は、保存命令に指定された開始時刻になるまで待機する。
S003以降の処理(図2参照)は、保存命令に指定された開始時刻から開始される。
In S301, the save / restore
The processes after S003 (see FIG. 2) are started from the start time specified in the save instruction.
図10は、実施の形態3における計算機制御システム100の計算機制御方法(復元時)を示すフローチャートである。
VM220を復元(起動)するときの計算機制御方法の流れについて、図10に基づいて説明する。
FIG. 10 is a flowchart showing a computer control method (at the time of restoration) of the computer control system 100 according to the third embodiment.
The flow of the computer control method when restoring (starting up) the
計算機制御システム100は、実施の形態1の処理(図3参照)に加えて、S311を実行する。
また、S108は、実施の形態1と処理の一部が異なる。
以下、S311とS108とについて主に説明し、その他の処理を省略して説明する。
The computer control system 100 executes S311 in addition to the processing of the first embodiment (see FIG. 3).
Further, S108 is partially different from the first embodiment in processing.
Hereinafter, S311 and S108 will be mainly described, and other processing will be omitted.
S101からS107までの処理は、実施の形態1と同じである。 The processing from S101 to S107 is the same as in the first embodiment.
S108において、管理計算機110の保存・復元指示部111は、再開命令を生成し、生成した再開命令を各実行計算機200へ送信する。
但し、再開命令には、VM220の再開処理を開始する開始時刻が指定される。
S108の後、S109に進む。
In S <b> 108, the save / restore
However, in the restart instruction, a start time for starting the restart processing of the
After S108, the process proceeds to S109.
S109において、保存・復元要求部210は再開命令を受信する。
S109の後、S311に進む。
In S109, the save / restore
It progresses to S311 after S109.
S311において、保存・復元要求部210は再開命令に指定された開始時刻まで待機する。
S110以降の処理(図3参照)は、再開命令に指定された開始時刻から開始される。
In S311, the save / restore
The processes after S110 (see FIG. 3) are started from the start time specified in the resume instruction.
実施の形態3において、例えば、以下のような計算機制御システム100について説明した。 In the third embodiment, for example, the following computer control system 100 has been described.
計算機制御システム100は、処理開始時刻の同期機能を持つ。
保存・復元指示部111は、保存・復元要求部210に対し、保存・復元処理を開始する時刻を含めて命令する。
保存・復元要求部210は、保存・復元指示部111から指定された時刻にVM220を停止し、その後の処理を行う。
保存・復元要求部210は、VM220の復元後、保存・復元指示部111から指定された時刻にVM220の稼動を再開する。
The computer control system 100 has a process start time synchronization function.
The save / restore
The save / restore
After the restoration of the
実施の形態3により、複数のVM220を同期して保存または復元することができる。
According to the third embodiment, a plurality of
実施の形態3における計算機制御システム100は、実施の形態2と同様に、vNICb228の受信データをフィルタリングしても構わない。
The computer control system 100 according to the third embodiment may filter the received data of the
実施の形態4.
複数のVM220を同期して保存または復元するために、各実行計算機200の内部時刻を調整する形態について説明する。
以下、実施の形態1~3と異なる事項について主に説明する。説明を省略する事項については実施の形態1~3と同様である。
A mode in which the internal time of each execution computer 200 is adjusted to save or restore a plurality of
Hereinafter, items different from the first to third embodiments will be mainly described. Matters whose description is omitted are the same as in the first to third embodiments.
計算機制御システム100の構成は、実施の形態1(図1参照)と同じである。
但し、管理計算機110と実行計算機200A・Bは、内部時刻を示すクロックを備えるものとする。
The configuration of the computer control system 100 is the same as that of the first embodiment (see FIG. 1).
However, it is assumed that the
また、保存・復元要求部210(時刻調整部の一例)は、保存・復元指示部111から管理計算機110の内部時刻を示す時刻情報(後述する時刻通知)を受信し、受信した時刻情報に基づいて管理計算機110の内部時刻と実行計算機200の内部時刻との時刻差を算出する。
保存・復元要求部210は、停止時刻が指定された停止命令を受信する。
保存・復元要求部210は、停止命令に指定された停止時刻と内部時刻の時刻差とに基づいて、管理計算機110の内部時刻と停止時刻とが一致する停止タイミング(後述する保存処理の開始タイミング)にVM220を停止する。
バッファ保存・復元部212は、停止タイミングから受信待ち時間が経過した後に、vNICb228によって受信待ち時間に受信されたデータを保存領域(VM保存媒体)に保存する。
Further, the save / restore request unit 210 (an example of a time adjustment unit) receives time information (time notification described later) indicating the internal time of the
The save / restore
The save / restore
The buffer storage /
図11は、実施の形態4における計算機制御システム100の計算機制御方法(保存時)を示すフローチャートである。
VM220を保存(停止)するときの計算機制御方法の流れについて、図11に基づいて説明する。
FIG. 11 is a flowchart illustrating a computer control method (at the time of storage) of the computer control system 100 according to the fourth embodiment.
The flow of the computer control method when saving (stopping) the
計算機制御システム100は、実施の形態3の処理(図9参照)に加えて、S401~S403を実行する。
また、S301は、実施の形態3と処理の一部が異なる。
以下、S401~S403およびS301について主に説明し、その他の処理を省略して説明する。
The computer control system 100 executes S401 to S403 in addition to the processing of the third embodiment (see FIG. 9).
Further, S301 is partially different from the third embodiment in processing.
Hereinafter, S401 to S403 and S301 will be mainly described, and other processing will be omitted.
S401において、管理計算機110の保存・復元指示部111は、管理計算機110の現在時刻を設定した時刻通知を各実行計算機200へ送信する。
S401の後、S402に進む。
In step S <b> 401, the save / restore
It progresses to S402 after S401.
S402において、各実行計算機200の保存・復元要求部210は、時刻通知を受信する。
S402の後、S403に進む。
In S402, the save / restore
It progresses to S403 after S402.
S403において、各実行計算機200の保存・復元要求部210は、受信した時刻通知に設定されている管理計算機110の現在時刻に基づいて、管理計算機110の内部時刻と実行計算機200の内部時刻との時刻差を算出する。
例えば、保存・復元要求部210は、時刻通知に設定されている管理計算機110の現在時刻と時刻通知を受信したときの実行計算機200の内部時刻との時刻差を算出する。但し、時刻通知の通信時間や処理時間を考慮して時刻差を算出してもよい。
S403の後、S001に進む。
In S403, the save / restore
For example, the save / restore
After S403, the process proceeds to S001.
管理計算機110の保存・復元指示部111は保存処理の開始時刻を指定した保存命令を送信し(S001)、各実行計算機200の保存・復元要求部210は保存命令を受信する(S002)。
S002の後、S301に進む。
The save / restore
It progresses to S301 after S002.
S301において、各実行計算機200の保存・復元要求部210は、保存命令に指定された保存処理の開始時刻とS403で算出した内部時刻の時刻差とに基づいて、管理計算機110の内部時刻と保存処理の開始時刻とが一致する開始タイミングを算出する。
そして、保存・復元要求部210は開始タイミングまで待機し、S003以降の処理は開始タイミングから開始される。
In S301, the save / restore
Then, the save / restore
例えば、実行計算機200の内部時刻が管理計算機110の内部時刻より「1分」進んでいる場合、保存・復元要求部210は実行計算機200の内部時刻が保存処理の開始時刻から「1分」後の時刻になるまで待機する。
また、実行計算機200の内部時刻が管理計算機110の内部時刻より「1分」遅れている場合、保存・復元要求部210は実行計算機200の内部時刻が保存処理の開始時刻より「1分」前の時刻になるまで待機する。
For example, when the internal time of the execution computer 200 is advanced by “1 minute” from the internal time of the
When the internal time of the execution computer 200 is “1 minute” behind the internal time of the
これにより、管理計算機110の内部時刻と実行計算機200の内部時刻とがずれていても、保存・復元指示部111が指定する時刻に各VM220を保存することができる。
Thereby, even if the internal time of the
図12は、実施の形態4における計算機制御システム100の計算機制御方法(復元時)を示すフローチャートである。
VM220を復元(起動)するときの計算機制御方法の流れについて、図12に基づいて説明する。
FIG. 12 is a flowchart illustrating a computer control method (at the time of restoration) of the computer control system 100 according to the fourth embodiment.
The flow of the computer control method when restoring (starting up) the
計算機制御システム100は、実施の形態3の処理(図10参照)に加えて、S411~S413を実行する。
S411~S413において、各実行計算機200の保存・復元要求部210は、S401~S403(図11参照)と同様に、管理計算機110と実行計算機200との内部時刻の時刻差を算出する。
The computer control system 100 executes S411 to S413 in addition to the processing of the third embodiment (see FIG. 10).
In S411 to S413, the save / restore
また、S311において、各実行計算機200の保存・復元要求部210は、S301(図11参照)と同様に、管理計算機110の内部時刻と再開処理の開始時刻とが一致する開始タイミングまで再開処理を待機する。
In S311, the save / restore
これにより、管理計算機110の内部時刻と実行計算機200の内部時刻とがずれていても、保存・復元指示部111が指定する時刻に各VM220を再開することができる。
Thereby, even if the internal time of the
実施の形態4において、保存・復元要求部210が保存・復元指示部111に実行計算機200の内部時刻を通知し、保存・復元指示部111が管理計算機110と実行計算機200との内部時刻の時刻差を算出しても構わない。
この場合、保存・復元指示部111は、各実行計算機200との時刻差に基づいて、実行計算機200毎に異なる開始時刻を指定する。
例えば、管理計算機110より内部時刻が「1分」進んでいる実行計算機200には所定の開始時刻から「1分」後の時刻を指定し、管理計算機110より内部時刻が「1分」遅れている実行計算機200には所定の開始時刻より「1分」前の時刻を指定する。
In the fourth embodiment, the save / restore
In this case, the save / restore
For example, the execution computer 200 whose internal time is advanced by “1 minute” from the
また、各実行計算機200の保存・復元要求部210は、S402またはS412で通知された管理計算機110の内部時刻に合わせて実行計算機200の内部時刻を変更することにより、管理計算機110の内部時刻との時刻ずれを修正しても構わない。
Further, the save / restore
実施の形態4において、例えば、以下のような計算機制御システム100について説明した。 In the fourth embodiment, for example, the following computer control system 100 has been described.
計算機制御システム100は、内部時刻の同期機能を持つ。
保存・復元指示部111は、保存・復元処理を開始する時刻に先立ち、保存・復元要求部210に対して保存・復元指示部111の内部時刻を通達する。
保存・復元要求部210は、保存・復元指示部111から通達された内部時刻を基に、保存・復元要求部210の内部時刻が保存・復元指示部111の内部時刻と一致するよう調整する。
もしくは、保存・復元要求部210は、保存・復元指示部111の内部時刻が保存・復元処理を開始する時刻となるタイミングで処理を開始する。
The computer control system 100 has an internal time synchronization function.
The save / restore
The save / restore
Alternatively, the save / restore
実施の形態4により、管理計算機110の内部時刻と各実行計算機200の内部時刻とがずれていても、複数のVM220を同期して保存または復元することができる。
According to the fourth embodiment, even if the internal time of the
実施の形態4における計算機制御システム100は、実施の形態2と同様に、vNICb228の受信データをフィルタリングしても構わない。
The computer control system 100 according to the fourth embodiment may filter the received data of the
100 計算機制御システム、101 ネットワーク、102 計算機、103 計算機ファイル、110 管理計算機、111 保存・復元指示部、118 物理N/Wデバイス、119 物理NIC、200 実行計算機、201 管理ドメイン部、202 プログラム部、203 vNICa、204 仮想ブリッジ、205 物理N/Wデバイス、206 物理NIC、210 保存・復元要求部、211 デバイス稼働制御部、212 バッファ保存・復元部、213 フィルタリング部、220 VM、221 プログラム部、228 vNICb、229 VMM、901 表示装置、902 キーボード、903 マウス、904 ドライブ装置、911 CPU、912 バス、913 ROM、914 RAM、915 通信ボード、920 磁気ディスク装置、921 OS、922 プログラム群、923 ファイル群。 100 computer control system, 101 network, 102 computer, 103 computer file, 110 management computer, 111 save / restore instruction unit, 118 physical N / W device, 119 physical NIC, 200 execution computer, 201 management domain unit, 202 program unit, 203 vNICa, 204 virtual bridge, 205 physical N / W device, 206 physical NIC, 210 save / restore request unit, 211 device operation control unit, 212 buffer save / restore unit, 213 filtering unit, 220 VM, 221 program unit, 228 vNICb, 229 VMM, 901 display device, 902 keyboard, 903 mouse, 904 drive device, 911 CPU, 912 bus, 913 ROM, 914 RAM, 91 Communication board, 920 a magnetic disk device, 921 OS, 922 programs, 923 files.
Claims (10)
前記仮想計算機を含む複数の仮想計算機を管理する仮想計算機管理装置から前記仮想計算機の停止命令を受信する命令受信部と、
前記命令受信部が前記仮想計算機の停止命令を受信した場合、前記仮想計算機を停止する計算機制御部と、
前記命令受信部が前記仮想計算機の停止命令を受信した場合、他の仮想計算機が他の仮想計算機の停止命令によって停止される前に他の仮想計算機によって送信されたデータを受信するための所定の受信待ち時間が経過した後に、前記仮想通信装置によって前記受信待ち時間に受信されたデータを所定の保存領域に保存する通信装置制御部と
を備えたことを特徴とする仮想計算機制御装置。 In a virtual machine control device incorporating a virtual communication device that performs communication processing and a virtual computer that communicates data via the virtual communication device,
A command receiving unit that receives a virtual machine stop command from a virtual machine management device that manages a plurality of virtual machines including the virtual machine;
A computer control unit for stopping the virtual machine when the command receiving unit receives the virtual machine stop command;
When the command receiving unit receives a stop command for the virtual machine, a predetermined number for receiving data transmitted by another virtual machine before the other virtual machine is stopped by a stop command for another virtual machine. A virtual machine control device comprising: a communication device control unit that stores data received during the reception wait time by the virtual communication device in a predetermined storage area after a reception wait time has elapsed.
前記通信装置制御部は、前記命令受信部が前記仮想計算機の起動命令を受信した場合、前記保存領域のデータを所定の受信バッファに記憶し、
前記計算機制御部は、前記命令受信部が前記仮想計算機の起動命令を受信した場合、前記受信バッファに前記保存領域のデータが記憶された後に、前記仮想計算機を起動し、
前記仮想計算機は、前記受信バッファに記憶されたデータを処理する
ことを特徴とする請求項1記載の仮想計算機制御装置。 The command receiving unit receives a startup command for the virtual machine from the virtual machine management device,
The communication device control unit stores the data in the storage area in a predetermined reception buffer when the command receiving unit receives a startup command for the virtual machine,
The computer control unit starts the virtual computer after the storage area data is stored in the reception buffer when the command receiving unit receives the virtual computer startup command.
The virtual machine control device according to claim 1, wherein the virtual machine processes data stored in the reception buffer.
前記仮想計算機は、前記仮想通信装置によって所定のタイムアウト時間内に死活監視データが受信されなかった場合、他の仮想計算機が稼働していないと判定し、
前記通信装置制御部は、前記命令受信部が前記仮想計算機の停止命令を受信した場合、前記タイムアウト時間が前記受信待ち時間として経過した後に、前記仮想通信装置によって前記受信待ち時間に受信されたデータを前記保存領域に保存する
ことを特徴とする請求項1または請求項2記載の仮想計算機制御装置。 When the virtual communication device transmits data indicating that another virtual machine is operating by another virtual machine, the data is received as life / death monitoring data,
The virtual machine determines that the other virtual machine is not operating when alive monitoring data is not received within a predetermined timeout time by the virtual communication device,
When the command receiving unit receives a command to stop the virtual machine, the communication device control unit receives data received by the virtual communication device during the reception waiting time after the timeout time has elapsed as the reception waiting time. 3. The virtual computer control apparatus according to claim 1, wherein the virtual computer control apparatus stores the storage area in the storage area.
前記命令受信部が前記仮想計算機の停止命令を受信した場合、特定データだけを前記仮想通信装置に受信させるフィルタリング部を備える
ことを特徴とする請求項1から請求項3いずれかに記載の仮想計算機制御装置。 The virtual machine control device further includes:
4. The virtual machine according to claim 1, further comprising: a filtering unit that causes the virtual communication device to receive only specific data when the command receiving unit receives a command to stop the virtual computer. 5. Control device.
ことを特徴とする請求項4記載の仮想計算機制御装置。 The virtual machine control device according to claim 4, wherein the filtering unit causes the virtual communication unit to receive only data transmitted from a specific virtual machine.
前記計算機制御部は、前記停止命令に指定された停止時刻に前記仮想計算機を停止し、
前記通信装置制御部は、前記停止命令に指定された停止時刻から前記受信待ち時間が経過した後に、前記仮想通信装置によって前記受信待ち時間に受信されたデータを前記保存領域に保存する
ことを特徴とする請求項1から請求項5いずれかに記載の仮想計算機制御装置。 The command receiving unit receives a stop command in which a stop time is designated,
The computer control unit stops the virtual computer at the stop time specified in the stop instruction,
The communication device control unit stores the data received in the reception waiting time by the virtual communication device in the storage area after the reception waiting time has elapsed from the stop time specified in the stop command. The virtual machine control device according to any one of claims 1 to 5.
前記仮想計算機管理装置から前記仮想計算機管理装置の内部時刻を示す時刻情報を受信し、受信した時刻情報に基づいて前記仮想計算機管理装置の内部時刻と前記仮想計算機制御装置の内部時刻との時刻差を算出する時刻調整部とを備え、
前記命令受信部は、停止時刻が指定された停止命令を受信し、
前記計算機制御部は、前記停止命令に指定された停止時刻と前記時刻調整部により算出された時刻差とに基づいて、前記仮想計算機管理装置の内部時刻と前記停止時刻とが一致する停止タイミングに前記仮想計算機を停止し、
前記通信装置制御部は、前記停止タイミングから前記受信待ち時間が経過した後に、前記仮想通信装置によって前記受信待ち時間に受信されたデータを前記保存領域に保存する
ことを特徴とする請求項1から請求項5いずれかに記載の仮想計算機制御装置。 The virtual machine control device further includes:
Time information indicating the internal time of the virtual machine management device is received from the virtual machine management device, and the time difference between the internal time of the virtual machine management device and the internal time of the virtual machine control device based on the received time information A time adjustment unit for calculating
The command receiving unit receives a stop command in which a stop time is designated,
Based on the stop time specified in the stop command and the time difference calculated by the time adjustment unit, the computer control unit sets a stop timing at which the internal time of the virtual machine management device matches the stop time. Stop the virtual machine,
The communication device control unit stores the data received in the reception waiting time by the virtual communication device in the storage area after the reception waiting time has elapsed from the stop timing. The virtual machine control device according to claim 5.
複数の仮想計算機それぞれの停止命令を送信する仮想計算機管理装置と
を有することを特徴とする仮想計算機制御システム。 A virtual machine control device according to any one of claims 1 to 7,
A virtual machine control system comprising: a virtual machine management device that transmits a stop command for each of a plurality of virtual machines.
命令受信部が、前記仮想計算機を含む複数の仮想計算機を管理する仮想計算機管理装置から前記仮想計算機の停止命令を受信し、
計算機制御部が、前記命令受信部が前記仮想計算機の停止命令を受信した場合、前記仮想計算機を停止し、
通信装置制御部が、前記命令受信部が前記仮想計算機の停止命令を受信した場合、他の仮想計算機が他の仮想計算機の停止命令によって停止される前に他の仮想計算機によって送信されたデータを受信するための所定の受信待ち時間が経過した後に、前記仮想通信装置によって前記受信待ち時間に受信されたデータを所定の保存領域に保存する
ことを特徴とする仮想計算機制御装置の仮想計算機制御方法。 In a virtual computer control method of a virtual computer control device in which a virtual communication device that performs communication processing and a virtual computer that communicates data via the virtual communication device are incorporated,
The instruction receiving unit receives a stop instruction for the virtual machine from a virtual machine management apparatus that manages a plurality of virtual machines including the virtual machine,
When the computer control unit receives the command to stop the virtual computer, the command receiving unit stops the virtual computer,
When the command receiving unit receives a command to stop the virtual machine, the communication device control unit receives the data transmitted by the other virtual machine before the other virtual machine is stopped by the command to stop the other virtual machine. A virtual computer control method for a virtual computer control device, wherein data received during the reception waiting time by the virtual communication device is stored in a predetermined storage area after a predetermined reception waiting time for reception has elapsed. .
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2010/069832 WO2012063306A1 (en) | 2010-11-08 | 2010-11-08 | Virtual machine control device, virtual machine control system, virtual machine control method of virtual machine control device, and virtual machine control program |
| JP2012542732A JP5342699B2 (en) | 2010-11-08 | 2010-11-08 | Virtual computer control device, virtual computer control system, virtual computer control method for virtual computer control device, and virtual computer control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2010/069832 WO2012063306A1 (en) | 2010-11-08 | 2010-11-08 | Virtual machine control device, virtual machine control system, virtual machine control method of virtual machine control device, and virtual machine control program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012063306A1 true WO2012063306A1 (en) | 2012-05-18 |
Family
ID=46050489
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2010/069832 Ceased WO2012063306A1 (en) | 2010-11-08 | 2010-11-08 | Virtual machine control device, virtual machine control system, virtual machine control method of virtual machine control device, and virtual machine control program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP5342699B2 (en) |
| WO (1) | WO2012063306A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015054582A1 (en) * | 2013-10-11 | 2015-04-16 | Vmware, Inc. | Methods and apparatus to manage virtual machines |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11149458A (en) * | 1997-11-18 | 1999-06-02 | Toshiba Corp | Duplex computer system and exclusive control method in the system |
| JP2005165599A (en) * | 2003-12-02 | 2005-06-23 | Nec Corp | Computer system, state acquiring method, and state acquiring program |
| JP2007329683A (en) * | 2006-06-07 | 2007-12-20 | Fujitsu Ltd | Timer synchronization accuracy guarantee method by system switching and dual timer synchronization accuracy guarantee device |
| JP2008242742A (en) * | 2007-03-27 | 2008-10-09 | Toshiba Corp | Cluster system |
| JP2010026714A (en) * | 2008-07-17 | 2010-02-04 | Toshiba Corp | Computer and program, configuring cluster system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3806600B2 (en) * | 1997-11-14 | 2006-08-09 | 株式会社日立製作所 | System switching method for multi-system |
-
2010
- 2010-11-08 JP JP2012542732A patent/JP5342699B2/en not_active Expired - Fee Related
- 2010-11-08 WO PCT/JP2010/069832 patent/WO2012063306A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11149458A (en) * | 1997-11-18 | 1999-06-02 | Toshiba Corp | Duplex computer system and exclusive control method in the system |
| JP2005165599A (en) * | 2003-12-02 | 2005-06-23 | Nec Corp | Computer system, state acquiring method, and state acquiring program |
| JP2007329683A (en) * | 2006-06-07 | 2007-12-20 | Fujitsu Ltd | Timer synchronization accuracy guarantee method by system switching and dual timer synchronization accuracy guarantee device |
| JP2008242742A (en) * | 2007-03-27 | 2008-10-09 | Toshiba Corp | Cluster system |
| JP2010026714A (en) * | 2008-07-17 | 2010-02-04 | Toshiba Corp | Computer and program, configuring cluster system |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015054582A1 (en) * | 2013-10-11 | 2015-04-16 | Vmware, Inc. | Methods and apparatus to manage virtual machines |
| US9336266B2 (en) | 2013-10-11 | 2016-05-10 | Vmware, Inc. | Methods and apparatus to manage deployments of virtual machines |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5342699B2 (en) | 2013-11-13 |
| JPWO2012063306A1 (en) | 2014-05-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2816467B1 (en) | Method and device for checkpoint and restart of container state | |
| US9489230B1 (en) | Handling of virtual machine migration while performing clustering operations | |
| CN103842968A (en) | Migration method, computer and device of stored data | |
| CN109101196A (en) | Host node switching method, device, electronic equipment and computer storage medium | |
| JP6123626B2 (en) | Process resumption method, process resumption program, and information processing system | |
| JP6455898B2 (en) | Data replication method, primary data storage controller, apparatus, system, and program | |
| JP2012018556A (en) | Computer system and control method for system changeover of computer system | |
| CN105677673A (en) | Business processing method, device and system | |
| JP4560074B2 (en) | Virtual computer system and virtual computer restoration method in the same system | |
| US20240054054A1 (en) | Data Backup Method and System, and Related Device | |
| CN111343219B (en) | Computing service cloud platform | |
| CN115951949A (en) | Method, device and computing device for recovering configuration parameters of BIOS | |
| CN117312092A (en) | Multi-core MCU monitoring method and device, vehicle and readable storage medium | |
| JP2016224760A (en) | Control system and processing method thereof | |
| CN118277488A (en) | A hyper-converged system distributed storage cluster management method, device and medium | |
| US20200034180A1 (en) | Virtual network system, vim, virtual network control method and recording medium | |
| CN106656580A (en) | Business state migration method and device | |
| WO2024222707A1 (en) | Fault processing method and apparatus, and storage medium and electronic device | |
| CN111209265A (en) | Database switching method and terminal equipment | |
| JP5342699B2 (en) | Virtual computer control device, virtual computer control system, virtual computer control method for virtual computer control device, and virtual computer control program | |
| CN104166599B (en) | A kind of ARM equipment, which is restarted, recovers the method for configuration of dispatching from the factory | |
| WO2009145098A1 (en) | I/o connection system, method and program | |
| CN110502460A (en) | The method and node of data processing | |
| CN115202803A (en) | Fault processing method and device | |
| JP5335150B2 (en) | Computer apparatus and program |
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: 10859465 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2012542732 Country of ref document: JP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 10859465 Country of ref document: EP Kind code of ref document: A1 |