Solved

Creating unique VM from template using manual way.

Posted on 2009-05-06
4
588 Views
Last Modified: 2013-11-11
To All VMware Expert,

Ive created a Windows Server 2003 x64 VM template which is located in my local Server datastore1, and now Im about to deploy it into my SAN-VMFS, it is around 40 GB in size and I do the copy using FastSCP which took 45 minutes to transfer the whole directory from LOCAL_VMFS to SAN_VMFS
Previously in VMWare Server 2.0,

I just need to
1.      Change the directory name and all filename into another number or name (vmws03-00 into vmws03-01 and so on&)
2.      Edit the .VMDK and .VMX to replace anything with vmws03-00 into vmws03-01
But now, the question is that should I be worry about the following entries:
1.      uuid  entries
uuid.location = "56 4d 49 a3 70 15 52 62-48 cf 27 3a 3f 33 51 29"
uuid.bios = "56 4d 49 a3 70 15 52 62-48 cf 27 3a 3f 33 51 29"

2.      ethernet0.generatedAddress (example = "00:0c:29:33:51:29")

3.      sched.swap.derivedName (example = "/vmfs/volumes/49ebf741-09b1b6f4-2132-001ec9f0c731/Win2003x64_vmws00/Win2003x64_vmws01-a0dd3982.vswp").


4.      CPU ID (example
hostCPUID.0 = "0000000a756e65476c65746e49656e69"
guestCPUID.0 = "0000000a756e65476c65746e49656e69"
userCPUID.0 = "0000000a756e65476c65746e49656e69"
hostCPUID.1 = "0001067600040800000ce3bdbfebfbff"
guestCPUID.1 = "0001067800010800000822010febfbff"
userCPUID.1 = "0001067600040800000822010febfbff"
hostCPUID.80000001 = "00000000000000000000000120100000"
guestCPUID.80000001 = "00000000000000000000000120100000"
userCPUID.80000001 = "00000000000000000000000120100000")


is there any way to automate these entry ?
thanks
0
Comment
Question by:jjoz
  • 2
  • 2
4 Comments
 
LVL 42

Expert Comment

by:paulsolov
ID: 24322849
There may be an easier way to do this.  You can use vConverter to point to the old VM and provide source and destination.  From vConverter you can modify your partition sizes and name of the VM in vmware.  Once you converted the VM you can run NewSid to change SID of the VM and then change the name inside the OS to match the new name if needed.

0
 
LVL 1

Author Comment

by:jjoz
ID: 24322902
yes Paul, I am aware of that solution, however at the moment I am trying to get everything done by using the ESXi 3.5 u4 free version.

I wonder if that uuID and unique CPU ID needs to be customized from one to another ?
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
ID: 24323014
the vConverter standalone is free and will work with any version of vmware VMs.  

Back to your point.  Once you fire up the new vm it may tell you if you want to keep or create a new UUID, in this case you want to create.  Another way around this is to copy the VMDKs to the ESXi box and create a new VM but instead of creating new VMDKs just choose to attach existing virtual disks and thus create a new UUID and the like.

My $.02
0
 
LVL 1

Author Closing Comment

by:jjoz
ID: 31578869
This is just what i need :-)
Thanks Paul
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now