主权项 |
1. A communication method comprising:
relaying communication between a first server provided in a data center and an external communication apparatus located outside the data center, and relaying communication between a second server provided in the data center and the external communication apparatus, performed by a gateway apparatus over a network, wherein a first number of hops from the gateway apparatus to the first server is smaller than a second number of hops from the gateway apparatus to the second server; obtaining an observation result by observing a communication amount which is an amount of data transmitted or received per unit time for each of a plurality of virtual machines operating in the first and second servers in association with a transmission source and a destination of the data, and obtaining a delay time of the data measured by a measurement packet including a time stamp, performed by a control apparatus provided in the data center, wherein the control apparatus is communicatively coupled to the first and second servers; detecting, by the control apparatus, that a second virtual machine operating in the second server, of the plurality of virtual machines, either having a larger communication amount with the external communication apparatus from among the plurality of virtual machines or having a longer delay time from among the plurality of virtual machines; checking, by the control apparatus, whether any resources to operate an additional virtual machine are left in the first server; judging, by the control apparatus that there are no resources left in the first server; comparing, by the control apparatus, the communication amount with the external communication apparatus of a first virtual machine operating in the first server of the plurality of virtual machines, and the second virtual machine operating in the second server, and comparing, by the control apparatus, the delay time with the external communication apparatus of the first virtual machine operating in the first server and the second virtual machine operating in the second server; when the control apparatus detects the first virtual machine either having a smaller communication amount or having a shorter delay time than the second virtual machine operating in the second server; and controlling, by the control apparatus, an arrangement of the virtual machines so that, the first virtual machine is moved from the first server to another server provided in the data center, and the second virtual machine is moved to the first server. |