- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Automating VM clone/Snapshot/Restore using Vsphere CLI
<![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>VM Cloning
Currently by looking into the documentation I used the CLI “vmkfstool –clonevirtualdisk” for cloning the VM Image. I observed that the CLI only cloned the “<VM Name>.vmdk” file but other dependent configuration files like “<VM Name>.nvram , <VM Name>.vmx” etc were not cloned by the CLI.
<![endif]><![if gte mso 9]>How
can we clone the existing VMWare images using CLI so that we have all the required files like “ ’.vmdk’, ‘.vmx’, ‘.nvram’ ” etc available with us?
Snapshot
<![endif]><![if gte mso 9]><![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>
Also please let me know if we have a CLI that can
be executed remotely using which we can Query a particular VM for its *MAC
and IP Address*.
Thanks and Regards
-Saurabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Duplicated thread, please refer here:
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".