WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Creating hundreds of Windows VMs

        My Windows knowledge is a bit dated, but I can tells you that
sysprep was an option for WinXP as well.  After sysprep, you have to do the
final installation steps again (enter key, name host, set up network), but
drivers are maintained, so I should think you could install GPLPV drivers
before sysprep, but mileage would most certainly vary.  However, and more
importantly, I don't believe a new SID is generated when you change the
name of a host or even reactivate a host, so I don't think the very fact
that you cloned the image will give you a new SID (hence the sysprep and
newsid tools).  The only change that MIGHT affect the SID is joining /
disjoining a domain, and I am simply not certain on whether or not this
resets the SID, but I do believe I recall reading things that indicate that
it does.  It could be that the SID goes back to the original upon
disjoining and is only changed upon joining because the DC generates one,
if this is the case, I am not sure how the DC would treat having multiple
devices with the same original SID being joined simultaneously.  I'd
recommend using sysprep, as would Microsoft, but be aware you can only run
it like three times per install before it is disabled (if you keep your
master clone [and continue to use it without changing it and running
sysprep again], it will never have been run but once).  Also be aware that
you have to make the clone without having booted again because once you
boot, the SID is regenerated, so the master clone should be made and never
booted, only copied.
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@lists.
xensource.com] On Behalf Of Fajar A. Nugraha
Sent: Friday, November 06, 2009 03:35
To: 이동규[NBP]
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Creating hundreds of Windows VMs

2009/11/6 이동규[NBP] <dongq.lee@xxxxxxx>:
> Is it possible to copy Windows Images from template Windows Image and
change their configurations from Dom0?
> or RIS(Remote Installation Service)/WDS(Window Deployment Service)can be
used in Xen Environment?

WDS should work (haven't personally tested it though) as HVM guests
supports PXE boot. You probably still need to install PV drivers
manually afterwards.

When working with Win 2003/XP domUs, my favorite method is to clone a
"specially prepared" (as in it's set to use DHCP, not static IP
address :D ) existing domU disk image and use newsid to change SID and
hostname. Works like a charm. Newsid is currently retired (see
http://blogs.technet.com/markrussinovich/archive/2009/11/03/3291024.aspx)
but you could probably just change the hostname manually on first
boot.

For Vista/Win2008 you might want to look at sysprep (although a simple
disk clone and manual hostname change on first boot might also work).
Note that on some systems (tested on Win2008r2 trial) changing MAC
address for your NIC (which is necessary when cloning a machine
located on the same subnet) requires reactivation.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>