[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 732
  • Last Modified:

ESXi and VCi client an base server image

Hi,

I am looking at ESXi (the freebie) and want to know the best way of creating an image of a server. Lets say I have a folder in my datastore called "W2k3 base image". I want to create a virtual server using that base image and also have it contained in it's own folder (all the relevant files, .vmx, vmdk, etc)
At the moment, I tell the wizard where I want to look for the VMDK file of my W2k3 base image and it will create a new folder with all the relevant files in a new folder depending on what I call my new VM except for the VMDK file which still sits in the "W2k3 base image" as I would expect. But I don't want that.

Or failing an easy way, how do I tell my VM to look for a VMDK file in a different location? If I could do that, I could copy all the relevant files across to new folder and just point the VM towards the new VMDK file in it's VM named folder.

I have not had time to do much reading up on VMware, but just trying to suss things out at the moment and would appreciate some help.

Hope that makes sense. Thanks
0
leegclystvale
Asked:
leegclystvale
  • 2
2 Solutions
 
za_mkhCommented:
If you want to copy a server, the easiest way to do that is just to copy that entire VM's files into a new folder and reconfigure as such (if needs be).I think you are trying to create templates / Clones
Template/Clones can only be created with Virtual Center.
For ESXi you will need to use the RCLI to do a similar thing or try this option:
http://drewsrambling.blogspot.com/2008/10/esxi-copy-vm-poor-mans-template.html
 
0
 
Paul SolovyovskyCommented:
A workaround to templates is to create a virtual machine to be used as a baseline.  Download vmware converter (also freebie) and convert the virtual machine to the same location just rename it.  You would just use source and destination to be the ESX server.  Just make sure to run sysprep or Newsid to change the sid information and you should be all set
0
 
leegclystvaleAuthor Commented:
Thanks for the replies.
za_mkh, thanks for the link and paulsolov, that was just the info I was looking for. Works a treat. Thanks
0
 
leegclystvaleAuthor Commented:
Didn't think to clone a VM and save it to the datastore. Thanks for the solution. Just need to fork out for the Virtual Centre now!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now