发明名称 |
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 |
摘要 |
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. |
申请公布号 |
US8898668(B1) |
申请公布日期 |
2014.11.25 |
申请号 |
US201012750885 |
申请日期 |
2010.03.31 |
申请人 |
NetApp, Inc. |
发明人 |
Costea George;Forgette Eric |
分类号 |
G06F9/455;G06F15/16;G06F9/44 |
主分类号 |
G06F9/455 |
代理机构 |
Cooper Legal Group, LLC |
代理人 |
Cooper Legal Group, LLC |
主权项 |
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; andreplacing an existing child virtual machine drive, used by the child virtual machine to store data, with the replacement virtual drive utilizing a single operation. |
地址 |
Sunnyvale CA US |