VM ESXI Cloning/Copying

Granted, you must already have SSH enabled.(http://www.yellow-bricks.com/2008/08/10/howto-esxi-and-ssh/)
Here's what you do:('~' = Type it)

START --> RUN --> ~CMD
~CD "C:\Program Files\WinSCP\winscp"
~OPEN {sever name / ip}
Searching for host...
Connecting to host...
{sever name / ip} session userName: ~{username}
{sever name / ip} session password: ~{password}
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] {sever name / ip}
winscp>
~call vmkfstools -i /vmfs/volumes/{datastore}/{copyFromFolder}/{vmtocopy}.vmdk /vmfs/volumes/{datastore}/{newfolder}/{newvmname}.vmdk
Destination disk format: VMFS thick
Cloning disk '/vmfs/volumes/{datastore}/{copyFromFolder}/{vmtocopy}.vmdk'...
Clone: 100% done.
winscp>
~Happy Cloning

Comments :

0 comments to “VM ESXI Cloning/Copying”