INFORMATION PROCESSING SYSTEM AND VIRTUAL MACHINE
An information processing system includes one or more virtual machines, a container scaling apparatus, and a virtual-machine scaling apparatus. The container scaling apparatus performs autoscaling processing of a container that runs on a virtual machine among the one or more virtual machines. The virtual-machine scaling apparatus performs autoscaling processing of the one or more virtual machines and that stops a virtual machine whose protective state with respect to scale-in has been cancelled among the one or more virtual machines when performing scale-in. Each of the one or more virtual machines includes a controller that performs control in such a manner that the virtual machine is set to a protective state with respect to the scale-in performed by the virtual-machine scaling apparatus if one or more containers are running on the virtual machine.
1 . An information processing system comprising:
one or more virtual machine;
a container scaling apparatus that performs autoscaling processing of a container that runs on a Virtual machine among the one or more virtual machines; and
a virtual-machine scaling apparatus that performs autoscaling processing of the one or more virtual machines and that stops a virtual machine whose protective state with respect to scale-in has been cancelled among the one or more virtual machines when performing scale-in,
wherein each of the one or more virtual machines includes a controller that performs control in such a manner that the virtual machine is set to a protective state with respect to the scale-in performed by the virtual-machine scaling apparatus if one or more containers are running on the virtual machine.
2 . A virtual machine comprising:
a controller that performs control, if one or more containers are running on the virtual machine, such a manner that the virtual machine is set to a protective state with respect to scale-in performed by a virtual-machine scaling apparatus.
3 . The virtual machine according to claim 2 , wherein, if no containers are running on the virtual machine, the controller cancels the protective state of the virtual machine with respect to the scale-in performed by the virtual-machine scaling apparatus.
4 . The virtual machine according to claim 3 , wherein the controller does not cancel the protective state until a duration of a state in which no containers are running on the virtual machine becomes equal to a threshold.
5 . The virtual machine according to claim 2 ,
wherein containers capable of running on the virtual machine include a protection-target container and a non-protection-target container, and
wherein the controller performs control to cancel the protective state of the virtual machine regardless of whether or not the non-protective-target container is running on the virtual machine.
6 . The virtual machine according to claim 2 , wherein, even if no containers are running on the virtual machine, the controller does not cancel the protective state, if a number of virtual machines running including the virtual machine is greater than or equal to a necessary number of virtual machines.
7 . The virtual machine according to claim 2 , wherein, if no containers are running on the virtual machine, the controller runs, before cancelling the protective state, a process for excluding the virtual machine from a candidate host machine for hosting a container to be newly started.
8 . The virtual machine according to claim 2 , wherein, even if a container has been started on the virtual machine, the controller determines that the container is not running, if the container is not running a predetermined program.
9 . The virtual machine according to claim 2 , wherein, even if a container has been started on the virtual machine, the controller determines that the container is not running, once a process performed by the container has progressed to a predetermined step.