摘要 |
Systems and methods of the present disclosure can facilitate generating virtual machines (VMs). The system can include an orchestrator executing on a server, an agent, a hypervisor, a transfer VM, and a target VM different from the transfer VM. The orchestrator can transmit the agent to be installed on a source machine to generate a snapshot and transmit a current state of a first filesystem of the source machine to the orchestrator, which can use it to configure a second filesystem on the hypervisor and initiate the transfer VM on the hypervisor using a default filesystem independent of the first and second filesystem configurations. The orchestrator can instruct the agent to transfer the snapshot to the transfer VM to write to the second filesystem, update the second filesystem to be operative to start an operating system, and create the target VM configured to launch from the second filesystem. |
主权项 |
1. A method of generating virtual machines via a computer network, comprising:
transmitting, by an orchestrator executing on a server via the computer network, an agent for installation on a source machine, wherein the agent is configured to generate a snapshot of the source machine; receiving, by the orchestrator from the agent installed on the source machine, a current state of a first filesystem of the source machine, wherein the first filesystem includes a first configuration; configuring, by the orchestrator on a hypervisor executing on a host machine, a second filesystem with a second configuration based on the first configuration; initiating, by the orchestrator on the hypervisor executing on the host machine, a transfer virtual machine using a default filesystem independent of the first configuration and the second configuration; instructing, by the orchestrator on the hypervisor executing on the host machine, the agent to directly transfer the snapshot of the source machine to the transfer virtual machine, wherein the transfer virtual machine is configured to write the second filesystem using the snapshot of the source machine; updating, by the orchestrator on the hypervisor executing on the host machine, the second filesystem written by the transfer virtual machine using the snapshot of the source machine to be operative to start a first operating system; and creating, by the orchestrator on the hypervisor executing on the host machine, a target virtual machine configured to launch the first operating system from the second filesystem, wherein the target virtual machine is different from the transfer virtual machine. |