Redeploying 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;
gathering virtual drive information for the baseline virtual machine, the virtual drive information specifying a location of a datastore for the child virtual machine;
interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to identify a partition, in a partition table, as configured to allow a file system of the datastore to align with a controller comprising the baseline virtual machine;
responsive to the file system of the datastore being aligned with the controller comprising the baseline virtual machine, creating a temporary directory on the datastore;
creating a replacement virtual drive within the temporary directory based upon the virtual drive information, 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
23 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; gathering virtual drive information for the baseline virtual machine, the virtual drive information specifying a location of a datastore for the child virtual machine; interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to identify a partition, in a partition table, as configured to allow a file system of the datastore to align with a controller comprising the baseline virtual machine; responsive to the file system of the datastore being aligned with the controller comprising the baseline virtual machine, creating a temporary directory on the datastore; creating a replacement virtual drive within the temporary directory based upon the virtual drive information, 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, 12, 13, 14)
-
-
15. 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 one or more of; 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, comprising; gathering virtual drive information for the baseline virtual machine, the virtual drive information specifying a location of a datastore for the child virtual machine; interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to identify a partition, in a partition table, as configured to allow a file system of the datastore to align with a controller comprising the baseline virtual machine; responsive to the file system of the datastore being aligned with the controller comprising the baseline virtual machine, creating a temporary directory on the datastore; creating a replacement virtual drive within the temporary directory based upon the virtual drive information, 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 (16, 17, 18, 19, 20, 21, 22)
-
-
23. A non-transitory computer readable medium comprising computer executable instructions that when executed by a processor 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; gathering virtual drive information for the baseline virtual machine, the virtual drive information specifying a location of a datastore for the child virtual machine; interrogating a baseline virtual machine drive, used by the baseline virtual machine to store data, to identify a partition, in a partition table, as configured to allow a file system of the datastore to align with a controller comprising the baseline virtual machine; responsive to the file system of the datastore being aligned with the controller comprising the baseline virtual machine, creating a temporary directory on the datastore; creating a replacement virtual drive within the temporary directory based upon the virtual drive information, 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.
-
Specification