Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Virtual Server / October 2008

Tip: Looking for answers? Try searching our database.

best practice to copy/clone a virtual machine?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tobias (ccsec) - 14 Feb 2006 08:51 GMT
Hello everybody,

as a regular reader of this group I  found a lot of interesting issues and
hints in this forum, which significantly improved my experience with Virtual
Server. However, I could not find an answer to an issue I have every now and
then:

From time to time I copy virtual machine (VM) and run the copy on the same
physical VS host as the original VM.

I shut down the original VM, copy it to a different path, rename vmx and vhd
files and adapt the path to the renamed VHD entry in the copied vmx-file.

Afterwards I could add the copied VM through the VS Administration website
without errors. Trying to avoid an IP address conflict with the original VM,
I configured the NIC of the copied VM into a different virtual network,
unconnected to any physical NIC of the host.

However, when starting up the copied VM, it "forgot" that I had placed it
into a different network, and used the same network than the original VM was
in, resulting in an IP address conflict with the running original VM.

It's not a big issue, since I could change the virtual network connection
again once the copied VM was running. But I assume that I did not follow a
"best practice" to copy a VM and run the copy on the same physical host.

Does anyone know how to copy a virtual machine and making persistant changes
_before_ booting up the copy? Any hints appreciated.

Cheers,

tobias
tobias (ccsec) - 14 Feb 2006 10:30 GMT
Here are some details of the setup, just in case ...

Host: XSeries 345 w/ 3GHz Xeon, 2,5 GBytes RAM, 2 NICs, Win2003 Standard SP1

Guest: Win 2003 Enterprise SP1

The original guest is bridged to the physical network adapter.
z f - 14 Feb 2006 13:40 GMT
configuration -> network adapters -> connected to: not connected

> Here are some details of the setup, just in case ...
>
[quoted text clipped - 4 lines]
>
> The original guest is bridged to the physical network adapter.
David Cornes - 19 Feb 2006 10:26 GMT
Not totally certain what you mean by "persistent changes", but if you mean IP
address info I'd suggest you could set the virtual NICs to use dynamic MAC
addresses in the VS admin console, and then DHCP to allocate the separate
addresses.

If you mean you'd like to automate the configuration of a newly cloned
machine into a separate network then you could achieve this by using VB
Scripts as everything in Virtual Server is fully scriptable. It would take a
little bit of hard slog to engineer (and some coding skills), but it IS
feasible.

If you need to change the cloned machine itself then you'd need to start
looking at Sysprep or NewSID or something similar, perhaps scripted to run
within the VM on reboot.

> Hello everybody,
>
[quoted text clipped - 28 lines]
>
> tobias
tony - 10 Oct 2008 15:21 GMT
> Hello everybody,
>
[quoted text clipped - 28 lines]
>
> tobias

Hi

Can you please post the links for the details step by step how to clone a virtual machine?

Thanks

Tony
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.