This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2009-154901, filed on Jun. 30, 2009, the entire contents of which are incorporated herein by reference.
The various embodiments described herein relate to technologies for managing virtual machines.
Recently, a virtual technique in which a plurality of virtual machines are installed on a physical server and that makes each of the virtual machines run an arbitrary operating system (OS) and arbitrary applications has come into practical use. In a virtual machine environment, for example, when a physical server is maintained, a virtual machine running on the physical server can be migrated to another server and provide a service from the physical server to which the virtual server has been migrated (for example, see Japanese Unexamined Patent Application Publication No. 2009-26117).
Here, an operator who migrated the virtual machine recognizes to which server and from which server the virtual machine has been migrated. However, other operators cannot determine whether the virtual machine on the physical server, from which the virtual machine was migrated, disappears as a result of migration or deletion of the virtual machine unless they investigate specifically the operation statuses of virtual machines on physical servers.
A method for managing virtual machines, the method causing a management server having a database to execute virtual machine management that makes it possible to specify virtual machine guests managed on a virtual-machine-host by virtual-machine-host basis, the management server being connected to a plurality of physical servers, on which virtual machine hosts are installed, link relation information regarding the virtual machine hosts and virtual machine guests being registered in the database, the method includes: updating the link relation information stored in the database in such a manner that a virtual machine host and a first virtual machine guest, which is linked to the virtual machine host in the database, have a link relation in which a link between the virtual machine host and the first virtual machine guest is disconnected, when information regarding the first virtual machine guest cannot be acquired from the virtual machine host; and updating the link relation information stored in the database in such a manner that a virtual machine host and a second virtual machine guest, which is linked to another virtual machine host different from the virtual machine host in the database, have a link relation in which there is a link between the virtual machine host and the second virtual machine guest, when information regarding the second virtual machine guest is acquired from the virtual machine host.
The object and advantages of the various embodiments will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the various embodiments, as claimed.
(DB);
The following specifically describes technologies proposed herein with reference to the attached drawings.
A plurality of physical servers 10 to be managed are connected to a management server 30 (a virtual machine management device), which includes a general-purpose computer, via a computer network 20 such as the Internet. Each of the physical servers 10 can operate one or more virtual machine (VM) guests 50 by installing a VM host 40 serving as an operating system (OS) for operating VMs. Here, the VM guests 50 include a guest OS and an application that are operable on the VM host 40. Moreover, the management server 30 is equipped with a database (DB) 60 for managing the physical servers 10 to be managed, more specifically, for managing VM hosts 40 and VM guests 50 that are operable on the physical servers 10.
As illustrated in
As illustrated in
As illustrated in
As illustrated in
Here, the VM information acquisition unit 30A functions as VM information acquisition means. The link disconnection unit 30C functions as link disconnection means. The link update unit 30D functions as link update means. The VM guest deletion unit 30F functions as VM guest deletion means.
The VM information acquisition unit 30A acquires, from the VM host 40 of each of the physical servers 10, VM information representing what VM guest or what VM guests are installed on the VM host 40. The update lock unit 30B locks a record or records to be updated in the VM host information 60A and VM guest information 60B in the DB 60 in such a manner that the record or records in the VM host information 60A and VM guest information 60B are not updated by another processing. The link disconnection unit 30C updates the link relation information stored in the DB 60 in such a manner that the link information has a link relation in which the link between the VM host 40 and the VM guest 50 is disconnected, in accordance with the VM information and the VM host information 60A and VM guest information 60B stored in the DB 60. The link update unit 30D updates the link relation information stored in the DB 60 in such a manner that the link relation information has a link relation in which there is a link between the VM host 40 and the VM guest 50, in accordance with the VM information and the VM host information 60A and VM guest information 60B stored in the DB 60. The VM guest register unit 30E additionally registers a record of a new VM guest in the VM guest information 60B in the DB 60 in accordance with the VM information and the VM host information 60A and VM guest information 60B stored in the DB 60. The VM guest deletion unit 30F deletes a record of a VM guest from the VM guest information 60B in the DB 60 in accordance with the VM information and the VM host information 60A and VM guest information 60B stored in the DB 60.
In step 1, the update lock unit 30B acquires the update lock of a record of a VM host 40 and the update lock of a record of a VM guest 50 or the update locks of records of VM guests 50 by referring to the VM host information 60A and VM guest information 60B stored in the DB 60, the VM host 40 and the VM guest or guests 50 being to be updated. That is, the update lock unit 30B acquires the update locks of the records of the VM host 40 and VM guest or guests 50 linked to the VM host 40. (Step 1 is abbreviated as “S1” in the drawing. Hereinafter other steps are treated likewise.) Here, the VM host 40 and the VM guest or guests 50 are specified by using UUIDs. (Other VM hosts 40 and VM guests 50 are specified likewise.)
In step 2, the VM information acquisition unit 30A acquires the VM information organized in the VM host 40 on the physical server 10 by, for example, making an inquiry to the VM host 40.
In step 3, the link disconnection unit 30C refers to the VM host information 60A and VM guest information 60B stored in the DB 60 and selects, in order, the record of a VM guest 50 linked to the VM host 40. That is, the link disconnection unit 30C reads the key of the VM host 40 from the VM host information 60A and selects, in order, the record of a VM guest 50 having the key set in the management VM host in the VM guest information 60B. Here, a VM guest whose record has been selected is called a “VM guest” in the following unless otherwise specified.
In step 4, the link disconnection unit 30C determines whether the record of a VM guest 50 has been successfully selected in step 3, that is, whether the records of all the VM guests 50 linked to the VM host 40 have been processed. Then, if the link disconnection unit 30C determines that a VM guest 50 has been successfully selected in step 3 (YES in step 4), the procedure proceeds to step 5. If the link disconnection unit 30C determines that the record of a VM guest 50 has not successfully selected in step 3 (the records of all the VM guests 50 have been processed) (NO in step 4), the procedure proceeds to step 9.
In step 5, the link disconnection unit 30C determines whether the VM information includes information regarding the VM guest 50. Then, if the link disconnection unit 30C determines that the VM information includes information regarding the VM guest 50 (YES in step 5), the procedure proceeds to step 6. If the link disconnection unit 30C determines that the VM information does not include information regarding the VM guest 50 (NO in step 5), the procedure proceeds to step 7.
In step 6, the VM guest register unit 30E additionally registers a record of the VM guest 50 in a list which is temporary and whose storage area is allocated in a memory or the like. Thereafter, the procedure returns to step 3.
In step 7, the link disconnection unit 30C disconnects, in the DB 60, the link between the VM host 40 and the VM guest 50 by setting the management VM host of the VM guest 50 to “nil” in the VM guest information 60B in the DB 60.
In step 8, the link disconnection unit 30C sets the link disconnection time of the VM guest 50 to the current time in the VM guest information 60B in the DB 60. Thereafter, the procedure returns to step 3. Here, the current time should be acquired using, for example, a clock function of the management server 30.
In step 9, the VM guest register unit 30E selects, in order, information regarding a VM guest 50 from the VM information.
In step 10, the VM guest register unit 30E determines whether information regarding a VM guest 50 has been successfully selected in step 9, that is, whether information regarding all the VM guests 50 has been processed, the information regarding all the VM guests 50 being included in the VM information. Then, if the VM guest register unit 30E determines that the information regarding a VM guest 50 has been successfully selected in step 9 (YES in step 10), the procedure proceeds to step 11. If the VM guest register unit 30E determines that the information regarding a VM guest 50 has not been successfully selected in step 9 (the information regarding all the VM guests 50 has been processed) (NO in step 10), the procedure proceeds to step 24.
In step 11, the VM guest register unit 30E determines whether the record of the VM guest 50 is listed in the list by referring to the list. Then, if the VM guest register unit 30E determines that the record of the VM guest 50 is not listed in the list (NO in step 11), the procedure proceeds to step 12. If the VM guest register unit 30E determines that the record of the VM guest 50 is listed in the list (YES in step 11), the procedure proceeds to step 9.
In step 12, the VM guest register unit 30E determines whether the record of the VM guest 50 is listed in the VM guest information 60B by referring to the VM guest information 60B stored in the DB 60. Then, if the VM guest register unit 30E determines that the record of the VM guest 50 is not listed in the VM guest information 60B (NO in step 12), the procedure proceeds to step 13. If the VM guest register unit 30E determines that the record of the VM guest 50 is listed in the VM guest information 60B (YES in step 12), the procedure proceeds to step 14.
In step 13, the VM guest register unit 30E newly registers a record of the VM guest 50 in the VM guest information 60B in the DB 60. Thereafter, the procedure returns to step 9.
In step 14, the update lock unit 30B determines whether the VM guest 50, which is linked to the VM host 40, is linked to another VM host 40 by referring to the VM guest information 60B stored in the DB 60. Then, if the update lock unit 30B determines that the VM guest 50 is linked to another VM host 40 (YES in step 14), the procedure proceeds to step 15. If the update lock unit 30B determines that the VM guest 50 is not linked to another VM host 40 (the VM guest 50 is in the link disconnection state) (NO in step 14), the procedure proceeds to step 16.
In step 15, the update lock unit 30B sets the other VM host 40 and the VM guest 50 to targets to be locked.
In step 16, the update lock unit 30B sets the VM guest 50 to be a target to be locked.
In step 17, the update lock unit 30B acquires the update lock of the record, which is the target to be locked, or the update locks of the records, which are the targets to be locked.
In step 18, the link disconnection unit 30C determines whether the VM guest 50 is linked to another VM host 40 by referring to the VM guest information 60B stored in the DB 60. Then, if the link disconnection unit 30C determines that the VM guest 50 is linked to another VM host 40 (YES in step 18), the procedure proceeds to step 19. If the link disconnection unit 30C determines that the VM guest 50 is not linked to another VM host 40 (the VM guest 50 is in the link disconnection state) (NO in step 18), the procedure proceeds to step 21.
In step 19, the link disconnection unit 30C disconnects, in the DB 60, the link between the other VM host 40 and the VM guest 50 by setting the management VM host of the VM guest 50 to “nil” in the VM guest information 60B in the DB 60.
In step 20, the link disconnection unit 30C sets the link disconnection time of the VM guest 50 to the current time in the VM guest information 60B in the DB 60.
In step 21, the link update unit 30D generates, in the DB 60, a link between the VM host 40 and the VM guest 50 by setting the management VM host of the VM guest 50 to have the key of the VM host 40 in the VM guest information 60B in the DB 60.
In step 22, the link update unit 30D clears the link disconnection time of the VM guest 50 by setting the link disconnection time of the VM guest 50 to “nil” in the VM guest information 60B in the DB 60.
In step 23, the update lock unit 30B releases the update lock of the record, which is the target to be locked, or the update locks of the records, which are the targets to be locked. Thereafter, the procedure returns to step 9.
In step 24, the VM guest deletion unit 30F sets the update time of the VM host 40 to the current time in the VM host information 60A in the DB 60.
In step 25, the VM guest deletion unit 30F selects, in order, the record of a VM guest 50, which is in the link disconnection state, that is, the record of a VM guest 50 whose management VM host is set to “nil”, by referring to the VM guest information 60B stored in the DB 60.
In step 26, the VM guest deletion unit 30F determines whether the record of a VM guest 50 has been successfully selected in step 25, that is, the records of all the VM guests 50 that are in the link disconnection state according to the VM guest information 60B stored in the DB 60 have been processed. Then, if the VM guest deletion unit 30F determines that the record of a VM guest 50 has been successfully selected in step 25 (YES in step 26), the procedure proceeds to step 27. If the VM guest deletion unit 30F determines that the record of a VM guest 50 has not been successfully selected in step 25 (the records of all the VM guests 50 have been processed) (NO in step 26), the procedure proceeds to step 32.
In step 27, the VM guest deletion unit 30F compares the link disconnection time of the VM guest 50 with the update times at which the records of all the VM hosts 40 were last updated, by referring to the VM host information 60A and VM guest information 60B stored in the DB 60.
In step 28, the VM guest deletion unit 30F determines whether there is a record of a VM host 40 updated within a predetermined time from the link disconnection time of the VM guest 50 by using a comparison result obtained in step 27. Here, the predetermined time is set to, for example, one minute in consideration of a time necessary to update the records of the VM hosts 40 on all the physical servers 10 that form part of the information system. Then, if the VM guest deletion unit 30F determines that there is a record of a VM host 40 updated within the predetermined time (YES in step 28), the procedure returns to step 25. If the VM guest deletion unit 30F determines that there is not a record of a VM host 40 updated within the predetermined time (NO in step 28), the procedure proceeds to step 29.
In step 29, the update lock unit 30B acquires the update lock of the record of the VM guest 50 in the VM guest information 60B in the DB 60.
In step 30, the VM guest deletion unit 30F deletes the record of the VM guest 50 from the VM guest information 60B stored in the DB 60. Here, it is desirable to output, in a log file or the like, information regarding the fact that the record of the VM guest 50 has been deleted from the DB 60 in order to make it possible to recognize the fact easily.
In step 31, the update lock unit 30B releases the update lock of the record of the VM guest 50. Thereafter, the procedure returns to step 25.
In step 32, the update lock unit 30B releases the update locks of the records of the VM host 40 and VM guest or guests 50, which have been updated.
According to the management server 30 as described above, when a VM guest 50 listed in the DB 60 cannot be acquired by a certain VM host 40, it is determined that there is a high probability that the VM guest 50 has been migrated or deleted, and the link between the certain VM host 40 and the VM guest 50 is disconnected. In contrast, when a VM guest 50 unlisted in the DB 60 is acquired by a certain VM host 40, and the VM guest 50 is in the link disconnection state, the link between the certain VM host 40 and the VM guest 50 is generated. Moreover, when a VM guest 50 unlisted in DB 60 is acquired by a certain VM host 40 and the VM guest 50 is not linked to another VM host 40 in the DB 60, the record of the VM guest 50 is newly registered as a record of a VM guest 50 linked to the certain VM host 40 in the DB 60. Furthermore, when a VM guest 50 linked to another VM host 40 in the DB 60 is acquired by a certain VM host 40, the link between the other VM host 40 and the VM guest 50 is disconnected and the link between the certain VM host 40 and the VM guest 50 whose link to the other VM host 40 has just been disconnected is generated.
Briefly speaking, when information regarding a first VM guest 50 linked to a VM host 40 in the DB 60 cannot be acquired from the VM host 40, the link between the VM host 40 and the first VM guest 50 is disconnected in the DB 60. Moreover, when information regarding a second VM guest 50 linked to another VM host 40 different from a VM host 40 in the DB 60 is acquired from the VM host 40, the link between the VM host 40 and the second VM guest 50 is generated in the DB 60.
Here, in order to make the function of the management server 30 described above be understood easily, migration of a VM guest will be described using simple examples.
As a non-limiting example, just before migration of a VM guest, as illustrated in
Just before migration of the VM guest 2, as illustrated in
Thus, even operators other than the operator who migrated a VM guest 50 can determine whether the VM guest 50 on a physical server 10 disappears as a result of migration or deletion of the VM guest 50 by investigating the content of the DB 60. Thus, the amount of effort required for an administrator to manage VMs can be reduced.
When a certain VM guest 50 is deleted from targets to be managed in the information system, the VM guest 50 whose link to a VM host 40 is disconnected is left listed in the DB 60. If the VM guest 50 is not acquired by any of the VM hosts 40 at or before a time at which updating of the records of all the VM hosts 40 is finished after the link between the VM guest 50 and the VM host 40 was disconnected, it can be determined that the VM guest 50 was deleted. Then, if it is determined that the VM guest 50 was deleted, the record of the VM guest 50 is deleted from the DB 60.
Briefly speaking, when information regarding the first VM guest 50 cannot be acquired from all the VM hosts 40 within a predetermined time after the link between a VM host 40 and the first VM guest 50 was disconnected, the record of the first VM guest 50 is deleted from the DB 60.
Here, in order to make the function of the management server 30 described above be understood easily, deletion of a VM guest will be described using simple examples.
As a non-limiting example, just before deletion of a VM guest, as illustrated in
Just before deletion of the VM guest 2, as illustrated in
Thus, even when a VM guest 50 is deleted, a case in which the VM guest 50 having no link to any VM host 40 is left listed indefinitely in the DB 60 can be prevented and unnecessary information can be prevented from existing in the DB 60. Thus, the amount of effort required to check the content of the DB 60 can be reduced and furthermore, the amount of effort required for an administrator to manage VMs can be reduced.
When a life-cycle management function is not installed in VM hosts 40, there is no mechanism to specify which of the VM hosts 40 are currently managing and operating which of the VM guests 50 shared between the VM hosts 40. Thus, as illustrated in
In step 41, the VM information acquisition unit 30A acquires VM information organized in a VM host 40 on a physical server 10 by, for example, making an inquiry to the VM host 40.
In step 42, the substitute processing unit 30G determines whether a life-cycle management function is installed in the VM host 40 in accordance with, for example, api type in the VM information. Then, if the substitute processing unit 30G determines that the life-cycle management function is not installed in the VM host 40 (NO in step 42), the procedure proceeds to step 43. If the substitute processing unit 30G determines that the life-cycle management function is installed in the VM host 40 (YES in step 42), the procedure ends. Here, examples of the VM host 40 in which a life-cycle management function is not installed include a red hat enterprise linux (RHEL) and a Xen (trademark).
In step 43, the substitute processing unit 30G selects information regarding a VM guest 50 in order from the VM information.
In step 44, the substitute processing unit 30G determines whether the information regarding a VM guest 50 has been successfully selected in step 43, that is, whether information regarding all the VM guests 50 has been processed, information regarding all the VM guests 50 being included in the VM information. Then, if the substitute processing unit 30G determines that the information regarding a VM guest 50 has been successfully selected in step 43 (YES in step 44), the procedure proceeds to step 45. If the substitute processing unit 30G determines that the information regarding a VM guest 50 has not been successfully selected in step 43 (the information regarding all the VM guests 50 has been processed) (NO in step 44), the procedure ends.
In step 45, the substitute processing unit 30G determines whether the power-supply state of the VM guest 50 is ON, that is, the VM guest 50 is running. Then, if the substitute processing unit 30G determines that the power-supply state of the VM guest 50 is ON (YES in step 45), the procedure proceeds to step 46. If the substitute processing unit 30G determines that the power-supply state of the VM guest 50 is not ON (the power-supply state of the VM guest 50 is OFF) (NO in step S45), the procedure proceeds to step 52.
In step 46, the substitute processing unit 30G determines whether the record of the VM guest 50 is listed in the VM guest information 60B by referring to the VM guest information 60B stored in the DB 60. Then, if the substitute processing unit 30G determines that the record of the VM guest 50 is listed in the VM guest information 60B (YES in step 46), the procedure proceeds to step 47. If the substitute processing unit 30G determines that the record of the VM guest 50 is not listed in the VM guest information 60B (NO in step 46), the procedure proceeds to step 57.
In step 47, the substitute processing unit 30G sets the power OFF detection time of the VM guest 50 to “nil” in the VM guest information 60B in the DB 60.
In step 48, the substitute processing unit 30G determines whether the VM host 40, on which the VM guest 50 is installed, is the same as that indicated by the management VM host of the VM guest 50 by referring to the VM guest information 60B in the DB 60. Then, if the substitute processing unit 30G determines that the VM host 40, on which the VM guest 50 is installed, is the same as that indicated by the management VM host of the VM guest 50 (YES in step 48), the procedure proceeds to step 50. If the substitute processing unit 30G determines that the VM host 40, on which the VM guest 50 is installed, is not the same as that indicated by the management VM host of the VM guest 50 (NO in step 48), the procedure proceeds to step 49.
In step 49, the substitute processing unit 30G sets the management VM host of the VM guest 50 to have the key of the VM host 40 in the VM guest information 60B in the DB 60. Thereafter, the procedure proceeds to step 50.
In step 50, the substitute processing unit 30G determines whether the power-supply state of the VM guest 50 is OFF by referring to the VM guest information 60B in the DB 60. Then, if the substitute processing unit 30G determines that the power-supply state of the VM guest 50 is OFF (YES in step 50), the procedure proceeds to step 51. If the substitute processing unit 30G determines that the power-supply state of the VM guest 50 is not OFF (the power-supply state of the VM guest 50 is ON) (NO in step 50), the procedure returns to step 43.
In step 51, the substitute processing unit 30G sets the power-supply state of the VM guest 50 to ON in the VM guest information 60B in the DB 60. Thereafter, the procedure returns to step 43.
In step 52, the substitute processing unit 30G determines whether the power-supply state of the VM guest 50 in the DB 60 is ON by referring to the VM guest information 60B in the DB 60. Then, if the substitute processing unit 30G determines that the power-supply state of the VM guest 50 is ON (YES in step 52), the procedure proceeds to step 53. If the substitute processing unit 30G determines that the power-supply state of the VM guest 50 is not ON (the power-supply state of the VM guest 50 is OFF) (NO in step 52), the procedure returns to step 43.
In step 53, the substitute processing unit 30G determines whether the power OFF detection time of the VM guest 50 is “nil” by referring to the VM guest information 60B in the DB 60. Then, if the substitute processing unit 30G determines that the power OFF detection time of the VM guest 50 is “nil” (YES in step 53), the procedure proceeds to step 54. If the substitute processing unit 30G determines that the power OFF detection time of the VM guest 50 is not “nil” (NO in step 53), the procedure proceeds to step 55.
In step 54, the substitute processing unit 30G sets the power OFF detection time of the VM guest 50 to the current time in the VM guest information 60B in the DB 60, and the procedure returns to step 43.
In step 55, the substitute processing unit 30G determines whether the condition that the power OFF detection time of the VM guest 50 is a time before the update times at which the records of all the other VM hosts 40 were last updated is satisfied by referring to the VM host information 60A in the DB 60. Then, if the substitute processing unit 30G determines that the condition is satisfied (YES in step 55), the procedure proceeds to step 56. If the substitute processing unit 30G determines that the condition is not satisfied (NO in step 55), the procedure returns to step 43.
In step 56, the substitute processing unit 30G sets the power-supply state of the VM guest 50 to OFF and the power OFF detection time to “nil” in the VM guest information 60B in the DB 60. Thereafter, the procedure returns to step 43.
In step 57, the substitute processing unit 30G generates a record of the VM guest 50 (the record is newly registered) in the VM guest information 60B in the DB 60.
In step 58, the substitute processing unit 30G sets the power-supply state of the VM guest 50 to ON and the power OFF detection time to “nil”, and sets the management VM host to have the key of the VM host 40 in the VM guest information 60B in the DB 60. Thereafter, the procedure returns to step 43.
According to the management server 30 having such a substitute processing function, the following processing will be performed when the life-cycle management function is not installed in the VM hosts 40.
When a VM guest 50 that is unlisted in the DB 60 and whose power-supply state is ON is acquired by a certain VM host 40, the record of the VM guest 50 is newly registered in the DB 60. Moreover, when a VM guest 50 that is listed in the DB 60 and whose power-supply state is ON is acquired by a certain VM host 40, the power-supply state of the VM guest 50 in the DB 60 is changed to ON. Here, if the VM host 40 is not the same as that indicated by the management VM host of the VM guest 50, the management VM host of the VM guest 50 in the DB 60 is changed to what indicates the VM host 40.
On the other hand, when a VM guest 50 whose power-supply state in the DB 60 is ON and whose power-supply state is OFF is acquired by a certain VM host 40, the power OFF detection time is set to the current time. Moreover, when a VM guest 50 whose power-supply state in the DB 60 is ON and whose power-supply state is OFF is acquired, if the power OFF detection time of the VM guest 50 is a time earlier than the update times at which the records of all the other VM hosts 40 were last updated, the power-supply state of the VM guest 50 is set to OFF and the power OFF detection time is set to “nil”.
Briefly speaking, when the power-supply state of a third VM guest 50 acquired from a VM host 40 is ON and the third VM guest 50 is linked to another VM host 40, which is different from the VM host 40, in the DB 60, a link between the VM host 40 and the third VM guest 50 is generated in the DB 60. Moreover, when the power-supply state of a fourth VM guest 50 acquired from a VM host 40 is OFF and the power-supply state of the fourth VM guest 50 in the DB 60 is ON and when the power OFF detection time of the fourth VM guest 50 is a time earlier than times at which information was acquired from all the other VM hosts 40, which are different from the VM host 40, the power-supply state of the fourth VM guest 50 in the DB 60 is set to OFF.
Thus, even when VM hosts 40 in which no life-cycle management function is installed are used, which of the VM hosts 40 are currently managing and operating which of the VM guests 50, which are shared among the VM hosts 40, can be specified. Thus, it can be prevented that a plurality of VM hosts 40 start the same VM guest 50. For example, a disadvantage caused when a plurality of VM guests 50 update the same DB can be prevented.
According to the above-described embodiments, even operators other than the operator who migrated a VM guest on a physical server can determine whether the VM guest on the physical server disappears as a result of migration or deletion of the VM guest by investigating the content of the DB. Thus, the amount of effort required for an administrator to manage VMs can be reduced.
The embodiments can be implemented in computing hardware (computing apparatus) and/or software, such as (in a non-limiting example) any computer that can store, retrieve, process and/or output data and/or communicate with other computers. The results produced can be displayed on a display of the computing hardware. A program/software implementing the embodiments may be recorded on computer-readable media comprising computer-readable recording media. The program/software implementing the embodiments may also be transmitted over transmission communication media. Examples of the computer-readable recording media include a magnetic recording apparatus, an optical disk, a magneto-optical disk, and/or a semiconductor memory (for example, RAM, ROM, etc.). Examples of the magnetic recording apparatus include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape (MT). Examples of the optical disk include a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc-Read Only Memory), and a CD-R (Recordable)/RW. An example of communication media includes a carrier-wave signal. The media described above may be non-transitory media.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment(s) of the present invention(s) has(have) been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2009-154901 | Jun 2009 | JP | national |