Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 OTHER HALP! Linux, Hardware, and Anything Else
 All things Virtual!
 Novice Question on Provisioning in Hyper-V
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

BruceS
Welcome Newcomer

USA
22 Posts
Status: offline

Posted - 04/12/2012 :  09:32:44 AM  Show Profile  Reply with Quote
I've just set up a test machine running Server 2008 R2 Enterprise with the Hyper-V role installed to learn about Hyper-V. I have created a virtual machine (Server 2008 R2) and sysprepped it go generalize it. This worked fine. I exported the image. So far so good.

What I want to do is import the image twice so I can have multiple copies of the generalized image running as VMs. When I try to do this I get an error because the VHD has the same name as the VHD already on the system. I know I can't just rename the VHD because the configuration file won't work if I do that.

What is the best way to import a sysprepped image more than once? Do I change the directory where Hyper-V looks for VMs in Hyper-V settings? If I do that will there be problems using the other VMS? Is there a better way? Sorry if this is dumb question, but this is all new to me.
Thanks,
Bruce

wobble_wobble
Honorable But Hopeless Addict

Ireland
4516 Posts
Status: offline

Posted - 04/12/2012 :  1:36:03 PM  Show Profile  Visit wobble_wobble's Homepage  Look at the Skype address for wobble_wobble  Reply with Quote
Bruce,

Get a copy of SCVMM and install that.
Then what your trying to do, is convert that vhd/ image to a template and then deploy from template.

This will then give you the automatic you want.
A different approach, possibly to start with, is to make a copy of the VHD per VM you want to deploy and attach it to a newly configured guest.

Joe

After everything that has happened during the month of Jan 07, I do believe that pigs fly backwards!

http://whatismyv6.com/

Edited by - wobble_wobble on 04/13/2012 5:39:22 PM
Go to Top of Page

joe_elway
Honorable But Hopeless Addict

Ireland
7393 Posts
Status: offline

Posted - 04/12/2012 :  3:46:24 PM  Show Profile  Visit joe_elway's Homepage  Reply with Quote
Bruce, save the generalised VHD somewhere safe. Create new VMs, in their own dedicated subfolders, and choose the option to attach VHD later. Then copy the generalised VHD into each VM's subfolder. Edit the properties of the VM and attach the VHD. Power up the VM.

Aidan Finn
MCSE, MVP (Virtual Machine)

IT Blog: http://www.aidanfinn.com
My Photography: http://www.aidanfinnphoto.com/
Books: WS2012 Hyper-V Installation & Config Guide, MSFT Private Cloud Computing
Twitter: http://twitter.com/joe_elway
Go to Top of Page

BruceS
Welcome Newcomer

USA
22 Posts
Status: offline

Posted - 04/12/2012 :  4:09:08 PM  Show Profile  Reply with Quote
Thanks for the quick response guys! I think I'll try Aidan's suggestions first. I want to get a little more comfortable with Hyper-V before tackeling SCVMM.
Thanks again,
Bruce
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.31 seconds. Snitz Forums 2000