<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d6154817622702903944\x26blogName\x3d%E2%97%8B%E3%80%82o%E5%82%BB%E3%80%83%E4%BB%94%E3%80%83%E4%BB%94o%E3%80%82\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://vincent1303.blogspot.com/search\x26blogLocale\x3dzh_TW\x26v\x3d2\x26homepageUrl\x3dhttp://vincent1303.blogspot.com/\x26vt\x3d682101390609131817', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

ESXi Copy/Clone VM (For Esxi To Esxi)


1. In VI create a new directory in the datastore for your new server.
2. Copy the vmdk file from the Windows Server you created 1st into this new directory. Only copy the vmdk file - nothing else.
3. SSH to ESXi server.
4. Navigate to the new directory created above. (cd \vmfs\volumes\datastore1\xxx).
5. Rename the Server to the new name (mv 'Windows1.vmdk' 'Windows2.vmdk').
Need to do this for both files - the vmdk and the *-flat.vmdk
6. Use vi to edit Windows2.vmdk.
7. Find the line near the top that has the old filename listed.
8. Change this filename to the new one and save/exit vi.

Back to VMWare VI client.

1. Make a new VM on this server.
2. Choose 'Custom' and when you get to the 'Select a Disk' portion of creation you will browse the datastore and select this newly renamed vmdk file.

Now just start the new VM and go!


From : http://www.itoverlord.com/esxi-copyclone-vm/

Link from

“ ESXi Copy/Clone VM (For Esxi To Esxi) ”