Redeploying a baseline virtual machine to update a child virtual machine by creating and swapping a virtual disk comprising a clone of the baseline virtual machine
First Claim
1. A method for redeploying a baseline virtual machine to a child virtual machine, comprising:
- identifying a child virtual machine as being associated with a baseline virtual machine; and
redeploying the baseline virtual machine to the child virtual machine, comprising;
interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to determine that a file system of a datastore for the child virtual machine can align with a controller comprising the baseline virtual machine;
creating a temporary directory on the datastore for the child virtual machine;
creating a replacement virtual drive within the temporary directory, the replacement virtual drive comprising a clone of the baseline virtual machine drive; and
replacing an existing child virtual machine drive, used by the child virtual machine to store data, with the replacement virtual drive utilizing a single operation.
1 Assignment
0 Petitions
Accused Products
Abstract
One or more techniques and/or systems are disclosed for redeploying a baseline VM (BVM) to one or more child VMs (CVMs) by merely cloning virtual drives of the BVM, instead of the entirety of the parent BVM. A temporary directory is created in a datastore that has the target CVMs that are targeted for virtual drive replacement (e.g., are to be “re-baselined”). One or more replacement virtual drives (RVDs) are created in the temporary directory, where the RVDs comprise a clone of a virtual drive of the source BVM. The one or more RVDs are moved from the temporary directory to a directory of the target CVMs, replacing existing virtual drives of the target CVMs so that the target CVMs are thus re-baselined to the state of the parent BVM.
-
Citations
18 Claims
-
1. A method for redeploying a baseline virtual machine to a child virtual machine, comprising:
-
identifying a child virtual machine as being associated with a baseline virtual machine; and redeploying the baseline virtual machine to the child virtual machine, comprising; interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to determine that a file system of a datastore for the child virtual machine can align with a controller comprising the baseline virtual machine; creating a temporary directory on the datastore for the child virtual machine; creating a replacement virtual drive within the temporary directory, the replacement virtual drive comprising a clone of the baseline virtual machine drive; and replacing an existing child virtual machine drive, used by the child virtual machine to store data, with the replacement virtual drive utilizing a single operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for redeploying a baseline virtual machine to a child virtual machine, comprising:
-
one or more processors; and memory comprising instructions that, when executed by at least one of the one or more processors, implement; a target child virtual machine identification component configured to; identify a child virtual machine as being associated with a baseline virtual machine; and a redeployment component configured to; redeploy the baseline virtual machine to the child virtual machine, by; interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to determine that a file system of a datastore for the child virtual machine can align with a controller comprising the baseline virtual machine; creating a temporary directory on the datastore for the child virtual machine; creating a replacement virtual drive within the temporary directory, the replacement virtual drive comprising a clone of the baseline virtual machine drive; and replacing an existing child virtual machine drive, used by the child virtual machine to store data, with the replacement virtual drive utilizing a single operation. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A non-transitory computer readable medium comprising instructions which when executed perform a method for redeploying a baseline virtual machine to a child virtual machine, comprising:
-
identifying a child virtual machine as being associated with a baseline virtual machine; and redeploying the baseline virtual machine to the child virtual machine, comprising; interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to determine that a file system of a datastore for the child virtual machine can align with a controller comprising the baseline virtual machine; creating a temporary directory on the datastore for the child virtual machine; creating a replacement virtual drive within the temporary directory, the replacement virtual drive comprising a clone of the baseline virtual machine drive; and replacing an existing child virtual machine drive, used by the child virtual machine to store data, with the replacement virtual drive utilizing a single operation. - View Dependent Claims (18)
-
Specification