Tomm
11-07-2009, 08:42 PM
Hey,
---THIS IS IN THREE POSTS DUE TO THE LIMITATIONS IMPOSED TO THE MAX NUMBER OF IMAGES IN A POST---
I've seen some people wanting to setup servers at home and I thought I most post a tutorial on how to virtualize a number on servers on one physical server. In these tutorial I will be useing the freely avaliable VMWare ESXi 4 (More information and free download at http://www.vmware.com/products/esxi/) and you'll need a spare computer/server that you want to install it on. The server requires a minimum of a 64bit processor and 2gb of RAM else it will refuse to install. Additionally not all hardware is supported (Most server/enterprise hardware is supported, but your old spare computer will most likely have hardware that is not supported) and you should check compatibility at http://www.vmware.com/go/hcl although some hardware not listed on that site may also work - might as well attempt it! If you want to run 64bit guests (guests are virtual machines running on the phyiscal server or host) then you'll need a processor that supports Intel VT or AMD-V but you can still run 32bit guests if you lack such a feature.
A word of warning: Installing ESXi will erase the contents of your hard drive and is NOT supported in a multiboot environment - don't try and install it alongside another OS to test it out. Also if you can, I recommend you install it onto a USB pen drive and just use the hard drive for storing VMs (If you want to get fancy you can use a SAN but that is beyond the scope of this tutorial).
Right, I am assuming at this point that you have got a free license, downloaded the ISO and burned it to a disk. You should now put that disk into the machine you want to install it on and boot from the disk. Assuming all went well you should see the installation firing up:
http://img243.imageshack.us/img243/5820/74732248.png
Once it has finished loading (Could take some time) you'll be presented with a license agreement to accept along with a warning about that you should check the HCL for compatibility with your hardware. Accept both messages.
Next you'll be presented with a option of what device you want to install to. If you took my recommendation of installing it to a USB pen drive then select it, otherwise just select the hard drive you want to install to:
http://img232.imageshack.us/img232/4184/56985010.png
If the installation program detects stuff on that device then it will warn you about it before proceeding. Before the installation you get a final message to confirm you want to install ESXi:
http://img9.imageshack.us/img9/927/78047782.png
You should begin to see the installation take place which, again, may take some time:
http://img16.imageshack.us/img16/516/26364244.png
Assuming all went well you should be presented with a message telling you that the installation had completed. You should listen to its advice and remove the disk from the drive before pressing the enter key to reboot.
http://img243.imageshack.us/img243/5060/85386019.png
http://img189.imageshack.us/img189/4473/10620438.png
Once the server has rebooted you should see it start booting into ESXi:
http://img200.imageshack.us/img200/9325/85374704.png
After it has finished loading and starting up stuff you should be given a simple screen as follows:
http://img189.imageshack.us/img189/5036/86600036.png
Before we can download the tools we need to manage it from another computer there is a few things we need to do from the actual machine. Press F2 to enter the setup menu and you'll enter into the configuration screen:
http://img16.imageshack.us/img16/2734/42263343.png
Select "Configure Password" and press enter, type in a new password, repeat it, and press enter (Remember this password as you'll need it to configure the server remotely as well as to access the configuration menu in feature):
http://img200.imageshack.us/img200/6954/81704301.png
Next, scroll down to "Configure Managment Network"...
http://img11.imageshack.us/img11/5192/49151724.png
..press enter and you'll be given a new set of options:
http://img301.imageshack.us/img301/1095/33262796.png
Scroll down to IP Configuration and press enter. On the next dialog, scroll down to "Set Static IP Address and Network Configuration" and press the spacebar followed by Enter. This prevents the ESXi host getting assigned a new -and potentially different- ip address when it starts up thus causing confustion when you want to manage it.
http://img9.imageshack.us/img9/8517/28517650.png
Keep pressing escape until you are prompted to restart the managment network to which you should press y to accept:
http://img243.imageshack.us/img243/3017/71764909.png
After logging out of the configuration menu you'll be returned to the default screen (Which loses its color if you wait long enough, a sort of screensaver I guess :P). Note how the IP address is now followed by (STATIC) rather than (DHCP). Make a note of this IP address as you'll need it for the next step.
http://img301.imageshack.us/img301/5143/87150709.png
From another computer on the same network as the ESXi server enter the IP address that you saw in the previous step into a web browser (Ill be using firefox).
http://img27.imageshack.us/img27/4749/68203528.png
If you are using anything like a fairly modern browser you'll be warned that the certficiate is not valid, in firefox just select I understand the risk and click on add exception to bring up the following window:
http://img27.imageshack.us/img27/5595/71558828.png
To which you should click on confirm security exception which should now allow you to see the website:
http://img189.imageshack.us/img189/842/88098119.png
Click on "Download vSphere Client" to download the application we need to manage the server.
http://img200.imageshack.us/img200/5397/78558470.png
When prompted just save or open it - upto you.
http://img16.imageshack.us/img16/8453/87529390.png
Once it has downloaded run it. You may have noticed i've jumped from Windows 7 to Windows XP. This is because how the .NET framework works in Windows 7 which causes the client to not work properly (You can't login :P) so i'm running it in Windows XP mode (Download at: http://www.microsoft.com/windows/virtual-pc/download.aspx if you are using Windows 7). See how useful virtualisation is? :D
http://img27.imageshack.us/img27/9438/84788073.png
When prompted, I recommend you to install the vSphere Host Update Utility because without it you won't be able to remotely update the host if a new patch/version comes out.
---THIS IS IN THREE POSTS DUE TO THE LIMITATIONS IMPOSED TO THE MAX NUMBER OF IMAGES IN A POST---
I've seen some people wanting to setup servers at home and I thought I most post a tutorial on how to virtualize a number on servers on one physical server. In these tutorial I will be useing the freely avaliable VMWare ESXi 4 (More information and free download at http://www.vmware.com/products/esxi/) and you'll need a spare computer/server that you want to install it on. The server requires a minimum of a 64bit processor and 2gb of RAM else it will refuse to install. Additionally not all hardware is supported (Most server/enterprise hardware is supported, but your old spare computer will most likely have hardware that is not supported) and you should check compatibility at http://www.vmware.com/go/hcl although some hardware not listed on that site may also work - might as well attempt it! If you want to run 64bit guests (guests are virtual machines running on the phyiscal server or host) then you'll need a processor that supports Intel VT or AMD-V but you can still run 32bit guests if you lack such a feature.
A word of warning: Installing ESXi will erase the contents of your hard drive and is NOT supported in a multiboot environment - don't try and install it alongside another OS to test it out. Also if you can, I recommend you install it onto a USB pen drive and just use the hard drive for storing VMs (If you want to get fancy you can use a SAN but that is beyond the scope of this tutorial).
Right, I am assuming at this point that you have got a free license, downloaded the ISO and burned it to a disk. You should now put that disk into the machine you want to install it on and boot from the disk. Assuming all went well you should see the installation firing up:
http://img243.imageshack.us/img243/5820/74732248.png
Once it has finished loading (Could take some time) you'll be presented with a license agreement to accept along with a warning about that you should check the HCL for compatibility with your hardware. Accept both messages.
Next you'll be presented with a option of what device you want to install to. If you took my recommendation of installing it to a USB pen drive then select it, otherwise just select the hard drive you want to install to:
http://img232.imageshack.us/img232/4184/56985010.png
If the installation program detects stuff on that device then it will warn you about it before proceeding. Before the installation you get a final message to confirm you want to install ESXi:
http://img9.imageshack.us/img9/927/78047782.png
You should begin to see the installation take place which, again, may take some time:
http://img16.imageshack.us/img16/516/26364244.png
Assuming all went well you should be presented with a message telling you that the installation had completed. You should listen to its advice and remove the disk from the drive before pressing the enter key to reboot.
http://img243.imageshack.us/img243/5060/85386019.png
http://img189.imageshack.us/img189/4473/10620438.png
Once the server has rebooted you should see it start booting into ESXi:
http://img200.imageshack.us/img200/9325/85374704.png
After it has finished loading and starting up stuff you should be given a simple screen as follows:
http://img189.imageshack.us/img189/5036/86600036.png
Before we can download the tools we need to manage it from another computer there is a few things we need to do from the actual machine. Press F2 to enter the setup menu and you'll enter into the configuration screen:
http://img16.imageshack.us/img16/2734/42263343.png
Select "Configure Password" and press enter, type in a new password, repeat it, and press enter (Remember this password as you'll need it to configure the server remotely as well as to access the configuration menu in feature):
http://img200.imageshack.us/img200/6954/81704301.png
Next, scroll down to "Configure Managment Network"...
http://img11.imageshack.us/img11/5192/49151724.png
..press enter and you'll be given a new set of options:
http://img301.imageshack.us/img301/1095/33262796.png
Scroll down to IP Configuration and press enter. On the next dialog, scroll down to "Set Static IP Address and Network Configuration" and press the spacebar followed by Enter. This prevents the ESXi host getting assigned a new -and potentially different- ip address when it starts up thus causing confustion when you want to manage it.
http://img9.imageshack.us/img9/8517/28517650.png
Keep pressing escape until you are prompted to restart the managment network to which you should press y to accept:
http://img243.imageshack.us/img243/3017/71764909.png
After logging out of the configuration menu you'll be returned to the default screen (Which loses its color if you wait long enough, a sort of screensaver I guess :P). Note how the IP address is now followed by (STATIC) rather than (DHCP). Make a note of this IP address as you'll need it for the next step.
http://img301.imageshack.us/img301/5143/87150709.png
From another computer on the same network as the ESXi server enter the IP address that you saw in the previous step into a web browser (Ill be using firefox).
http://img27.imageshack.us/img27/4749/68203528.png
If you are using anything like a fairly modern browser you'll be warned that the certficiate is not valid, in firefox just select I understand the risk and click on add exception to bring up the following window:
http://img27.imageshack.us/img27/5595/71558828.png
To which you should click on confirm security exception which should now allow you to see the website:
http://img189.imageshack.us/img189/842/88098119.png
Click on "Download vSphere Client" to download the application we need to manage the server.
http://img200.imageshack.us/img200/5397/78558470.png
When prompted just save or open it - upto you.
http://img16.imageshack.us/img16/8453/87529390.png
Once it has downloaded run it. You may have noticed i've jumped from Windows 7 to Windows XP. This is because how the .NET framework works in Windows 7 which causes the client to not work properly (You can't login :P) so i'm running it in Windows XP mode (Download at: http://www.microsoft.com/windows/virtual-pc/download.aspx if you are using Windows 7). See how useful virtualisation is? :D
http://img27.imageshack.us/img27/9438/84788073.png
When prompted, I recommend you to install the vSphere Host Update Utility because without it you won't be able to remotely update the host if a new patch/version comes out.