Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have VMWare ESXi 4.0 preinstalled on the server with IP A. I also can use IPs B and C. I have KVM access to this server and I can connect to it using vSphere Client. CentOS iso-image isn't on the server.

My task is to create two virtual machines on this host and install CentOS 5.4 on both. Then I have to configure network, so guest1 is accessible on IP B and guest2 is accessible on IP C.

Can anyone provide me a brief howto on this topic? I tried to find it, but found nothing.

share|improve this question
How familiar are you with ESXi? Have you used Workstation? – Joseph Nov 12 '09 at 9:00
No, I haven't. I have used OpenVZ before. – lexsys Nov 12 '09 at 13:48
up vote 1 down vote accepted

If you're building two or more VMs from a single .ISO then I'd use the vSphere Client to copy the .ISO file to a host-accessible datastore and then point the VM's CD drives to that, it'll be much faster than linking to a remote file as it'll have direct access to the file.

share|improve this answer
I find Veeam FastSCP more reliable if you have issues with vSphere Client when copying large files. – Joseph Nov 12 '09 at 9:28
These VMs are very similar. Can I configure one of them and to make a copy of it? And what about separated IPs? Should I use VMWare net adapter or my physical E1000 when creating VMs? – lexsys Nov 12 '09 at 14:19
Yep, just clone one and change it's name/SID/IPs - it's stupidly simple and just what virtualisation is there for. As for which vNIC to use, it depends on the OS you're using, take the one that the VM creation wizard suggests until you learn more ;) – Chopper3 Nov 12 '09 at 15:35

You have access to the vsphere client so you can use it to mount the ISO image and present it to the VM you are installing. I don't have access to vspehere at the moment but there is an icon when you select the VM you want to install that looks like a cd.

If you click on it you will see an option to attach an iso image and present it as a cd-rom drive.

share|improve this answer
Thank you. I have done this, but forgot about "Connect on Power on" tic in Preferences. So I could mount image only when the booting process was started... – lexsys Nov 12 '09 at 14:15

I want to figure out some problems I faced performing the task.

First, I had to mount .iso from Settings menu and put the tic "Connect on power on" - it was unchecked by default, and VM tried to load from net.

Then, ESXi 4.0 has no clone fascility. You need to manually copy all the files from folder VM1 to VM2, cd VM2, right mouse click on .vmx file - 'Add to invertory'.

Change the hostname and IP of the second VM - its all!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.