VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 3 4 Previous Next 47 Replies Last post: Nov 18, 2009 2:39 PM by syousef   Go to original post

Re: Deploy Server 2008 from Template and Customize

30. Feb 24, 2009 1:57 PM in response to: mrdenny
Click to view jonb157's profile Enthusiast 74 posts since
Apr 25, 2006
I wonder if you ESX host needed to be updated. What version of ESX/build are you using? I just updated our lab with Vc 2.5 update 4 and I'm going to test the customization wizard on a Windows 2k8 64 bit VM. What did you choose for the VM setting option for OS-type?

Re: Deploy Server 2008 from Template and Customize

31. Feb 24, 2009 2:23 PM in response to: jonb157
Click to view mrdenny's profile Novice 16 posts since
Oct 18, 2007

Our hosts are 3.5.0 build 123630. For the OS Type I've got "Microsoft windows Server 2008 (32-bit)" selected. Tried with Vista as well, no joy there either.

I also tried creating a new template and no joy on a new template.

Hopefully I don't need to update the host as well. Our machines are local storage so no vMotion and I hate to take an outage just for this.

Re: Deploy Server 2008 from Template and Customize

32. Mar 3, 2009 4:10 AM in response to: dgrace
Click to view JoJoGabor's profile Expert 285 posts since
Apr 11, 2008
Does anyone know the method that vCenter customises templates - does it use sysprep? As far as I am aware Microsoft do not officially support Windows 2008 machines that have been cloned with sysprep. The only supported method is using WAIK/WDS
Click to view jjgunn's profile Novice 18 posts since
Dec 2, 2008
Windows Vista has sysprep built-in to the OS.

For all other Microsoft OS's (Win 2000 or Win 2003 or WinXP, etc.) You must install sysprep on Virtual Center

The VM or template you are cloning from must be set to Microsoft Windows Vista. Once the clone completes, power the clone on. Be sure to leave the OS setting in Virtual Center set to Microsoft Windows Vista on your new clone. The customization will complete. Once completed, you will see all your customization intact. You can then shut down the VM and switch it back to Win 2008 in VC.

I'm using ESX 3.5 U2 (build 110268) with VC 2.5 U3 (build 119598) and all customization worked properly with Win 2008 using this method. I have 2 successful Win 2008 servers virtualized.

Re: Deploy Server 2008 from Template and Customize

34. Mar 6, 2009 11:38 AM in response to: jjgunn
Click to view mrdenny's profile Novice 16 posts since
Oct 18, 2007
It appears that I've gotten it working. The template must have the latest version of VMware Tools installed on it. I had to convert the machine to a VM, fire it up and upgrade the tools on it. Then the vCenter server would let me deploy the template.

Thank You,
Denny Cherry
Senior Database Administrator / Architect
Awareness Technologies

Re: Deploy Server 2008 from Template and Customize

35. Mar 11, 2009 12:16 PM in response to: mrdenny
Click to view phyler's profile Novice 7 posts since
Mar 9, 2008

I have it working, sorta. It works were I can deploy a template and it boots, then when you reboot it, it will say "VMWare Imaging Customization in process" (or something of that nature). It definitely does something as afterwards you have to reset the Admin password. But, it doesn't change the VM name as specified in the customization and you get the "VMWare Imaging Customization in process" message every time you boot.

I have tried setting the OS to both Windows 2008 and Vista on the template and neither matters. I also have the latest tools installed. The ESX server is fully patched (143128) and vCenter is Update 4.

I must be overlooking something simple. Thoughts?


Re: Deploy Server 2008 from Template and Customize

36. Apr 21, 2009 6:48 AM in response to: phyler
Click to view Chanaka's profile Novice 8 posts since
Aug 12, 2008

I have the same issue. I've upgraded to Update 4 on both ESX and VC and have had multiple issues with deploying 2008 VMs from a template with the customization wazard. I mean during the new VM's first reboot it goes through the customization

and do everything except for adding the computer to the domain. I have tried this on 2 different templates but same story. Looking at the guestcust log file on the VM created out of the template there are no visible errors

with regards to the networking either. If you try to manually join the compuer using the same account specified within the customization template, it works fine.

VMWARE


Any ideas ????

Chanaka


Re: Deploy Server 2008 from Template and Customize

37. Apr 21, 2009 6:57 AM in response to: Chanaka
Click to view JoJoGabor's profile Expert 285 posts since
Apr 11, 2008
Have you ensured the template VM has got a blank administrator password? This needs to be done to enable the sysprep wizard to overwrite with the password that you specified, which it needs to login and join the domain - took me ages to find that one!!
Click to view Chanaka's profile Novice 8 posts since
Aug 12, 2008

Yup that was checked already. I mean I have truned google inside out to find out no explanation and the one that came close was the folloing thread.

http://communities.vmware.com/thread/197130

Re: Deploy Server 2008 from Template and Customize

39. Jun 11, 2009 12:47 PM in response to: mawillis
Click to view obriensl's profile Novice 21 posts since
Feb 6, 2007

has anyone gotten any more info on this issue? i'm seeing all kinds of problems doing windows 2008/vista deploys. I have all the latest esx and vcenter. the template is in a workgroup, its got the latest tools installed - I did finally get it to assign an IP address by changing the tmp and temp environment variables to point to the %systemroo%\temp and tmp directories, but still can't get the vm to change the dns name or promote to the domain. I tried the setting in the customization wizard to have the admin auto logon once, but that doesn't work for me either - it doesn't auto logon.


Re: Deploy Server 2008 from Template and Customize

40. Jun 11, 2009 1:31 PM in response to: obriensl
Click to view JoJoGabor's profile Expert 285 posts since
Apr 11, 2008

Hmmm it seems strange, W2k8 is one of the simplest becuase sysprep is inbuilt. Can you deploy w2k3 VMs from the same vCenter once you copy the sysprep files over? Is the VM using DHCP or are you specifying an IP address in the spec when deploying? If Using DHCP check your DHCP server to find the IP address then ping it when the customisation is in progress just to ensure the IP address is picked up when the template is being deployed.

Is your vCenter at Update 4?

Have the SSL certificates changed on the vCenter? This can stop the password in the cust psec from being read correctly.

Click to view obriensl's profile Novice 21 posts since
Feb 6, 2007
w2k3 and xp are still working fine after the upgrade to vcenter 2.5 U4/esx3.5 U4. we've had those working for awhile, ever since 2.0/3.0.1. the 2k8/vista templates are new, we're trying to get them to work. we are using DHCP in the template and the deployed vms. I did get the NIC to work, and pick up an IP address by changing the TMP and TEMP sys environment variables to %systemroot%\TEMP and TMP (found that info in another discussion) in the template. I still can't get it to change the vm name or promote to the domain. I'm using the manual entry customization wizard, not a saved one. One thing I did notice... I tried something else that was suggested - changing the local admin account pw to blank in the template-and noticed that the password stayed blank on the deployed vm. it didn't set the pw I put into the customization wizard. So, I'm guessing that its still not getting all the way thru the customization, but no idea why.

Re: Deploy Server 2008 from Template and Customize

42. Jun 12, 2009 1:08 PM in response to: mawillis
Click to view obriensl's profile Novice 21 posts since
Feb 6, 2007
ok, i gave up on trying to get our current templates to deploy correctly, and ended up building a new windows 2008 template from scratch, and now I can do a deploy from it, but i cannot seem to get it to promote the vm into our AD domain. is there a trick to getting customization wizard to promote the deployed vm? I gave it my domain credentials in the wizard.

Re: Deploy Server 2008 from Template and Customize

43. Jun 14, 2009 7:03 AM in response to: obriensl
Click to view JoJoGabor's profile Expert 285 posts since
Apr 11, 2008

No it should be straightforward. Again make sure the VM is getting a correct IP address and that it can resolve the domain name via DNS. It normally just works. I think you sadi you handt changed the SSL certs in Vcenter, which is good, sometimes this can stop sysprep from reading the encrypted passwords in the customisation spec. The password is blank in the template VM isnt it? If it cant change the password, it wont login to start the domain join process.

Did you watch the VM as it started up for the first time to ensure the sysprep process ran? You dont need to do anything but after a couple of minutes at the Ctrl-Alt-Delete screen, sysprep will kick in and reboot the VM to perform all the customisation. Sometimes if you're too quick and login manually it will stop the sysprep process from kicking in

Click to view Corleone83's profile Lurker 1 posts since
Sep 11, 2009

Hi. I work with a VC2.5 U4 and i have tryed to perform many cloning with customization from a Windows 2008 template, but everytime the new VM didn't started properly because of an error: "The computer restarted unexpectedly or encountered an unexpected error...", after clicked OK, the VM went in loop and never started.

I've read on the release note of VC2.5U4 that can be a licensing problem. My Win2008 template is already licensed, and, when i customize, i write on LincenseKey input the same of the template.

Should i put off the license of the template first of customization?

plz Help me :-)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities