The invention provides a
virtual machine template updating method which comprises the following steps: allocating IP (
internet protocol) addresses to all the servers in the
data center through the DHCP (dynamic host configuration protocol) service in a monitoring
server so as to establish communication connection with all the servers; setting a first
virtual machine template into the power off state, and making the deployment of the
virtual machine on each
server point to the first virtual
machine template; setting a second virtual
machine template into the power on state, and starting the automatic updating function; when the updating of the second virtual
machine template finishes, setting the second virtual machine template into the power off state, and making the deployment of the virtual machines point to the second virtual machine template; duplicating the second virtual machine template, and replacing the first virtual machine template by the duplicated second virtual machine template so that the first virtual machine template and the second virtual machine template are same to each other. The invention also provides a virtual machine template updating
system. Due to the adoption of the virtual machine template updating
system and method, the interruption of service during the updating of the
system of the single virtual machine can be avoided, and the stability of the
data center is improved.