VMware ESXi is the easiest way to get started with virtualization—and it’s free. Consolidate your applications onto fewer servers and start saving money through reduced hardware, power, cooling and administration costs. With VMware ESXi you can,
1. Run multiple operating systems on a single server and reduce hardware costs.
2. Run a greener data center and reduce your energy cost.
3. Enable easier back-ups and restores for your applications.
4. Run the most resource intensive applications in production.
1. Need a powerful server.
2. For the full operation we need to purchase some more applications from Vmware.
Here i like to explain,
1. Installation and customization of Vmware Esxi server.
2. Fresh Installation of Operating System.
3. Use existing Vmware from workstation to Vmware Esxi Server.
4. Enabling SSH.
5. Make the imported Vmware compatible to Vmware Esxi server.
6. Run the virtual machines.
Installation Procedure Of Vmware ESXi
I have test Vmware Esxi installation and configuration on my “Hp Compaq dc7700 Convertible Minitower”. The installation and configuration are successful. I have run different flavors of Operating Systems
1. Download the latest Esxi from Vmware site.
2. Burn the image into a plain cd.
3. Collect the free license from the email.
4. Change the BIOS boot priority
Select the server BIOS boot priority to cd drive.
5. Boot the server with the Esxi Image cd.
6. It will prompt for the installation and start continue the installation.
7. Once the Vmware Esxi installation is completed without errors, we can proceed with others steps.
Configuration Part on Vmware Esxi
One the Vmware Esxi server rebooted we need to set the following parameters,
1. Press F2 for customization on Esxi sever.
2. Assign the root password from “Configure Password” menu. (Password need to meet complexity requirement)
3. Assign a static Ip address from “Configuration Management Network”. (Assigning Ip address from DHCP will cause issue)
4. Assign Dns configuration.
Browse Vmware Esxi Server
1. Now the Esxi server is accessible on the network.
2. Use ping command to test the connectivity.
3. Open the Bowser and call the Vmware Esxi server Url (eg: https://192.168.0.9/). This will open a welcome page.
This mean our Esxi server accessible from the network.
Accessing Vmware Esxi Server.
In order to access Vmware Esxi we need to install “vSphere Client” application on a windows machine.
1. Go to Windows machine.
2. Open the Bowser and call the Vmware Esxi server Url (eg: https://192.168.0.9/). This will open a welcome page.
3. Click on Download vSphere Client.
4. Install the application and login into the Vmware Esxi server using user name ‘root’ and assigned root password.
5. From vShere Client, we are able to manage and install new Vmware operating systems.
Choosing the Boot option during Vmware installation.
1. Power on the VM
2. Open a console connection to the VM
3. Wait for it to get to the PXE boot phase
4. Click the Connect CD/DVD button and attach your ISO file
5. In the menu bar goto VM, and then pick Send Ctrl+Alt+Del
**If we need to start the installation from cd, power off the network boot and power on the cd boot on startup. Change according to our installation method.
Once the installation is new vmware installation is completed. We can able to manage the working of the new virtual machine using the vSphere Client
Using existing vmware from workstation to Vmware Esxi Server
1. We need to enable ssh on Vmware Esxi server.
2. Copy the existing Vmware into the Esxi server storage, using ‘scp‘ command or ‘WinScp‘ application from windows machines.
3. Once the copy is completed we need to take a clone of the Vmware. Then only we are able start the copied Vmware on the Esxi server.
4. Keep the cloned Vmware on Esxi server and remove the copied Vmware.
5. Create and new virtual machine and select the newly cloned .vmdk file.
Enable ssh on Vmware Esxi
1. ALT-F1 to change to the main console.
2. Type ‘unsupported’ (you will not be able to see what you’re typing).
3. When prompted, enter the root user’s password.
4. Type: vi /etc/inetd.conf
5. Find the line that begins with #ssh
6. Cursor over the first ‘s’ and press the ‘i’ key (for insert mode)
7. Press backspace
8. Press ESC
9. Type SHIFT+colon (:) and then ‘wq!’ to write and exit.
10. Type ‘ps | grep inetd’ to find the inetd process
11. Send the hang-up signal to the process ID output from step 10 with: kill -s HUP <PID> (Reboot of Esxi server also help to do the same)
12. You can now SSH into your ESXi server.
Copy the existing Vmware into the Esxi server storage
1. Use ‘scp’ command from Linux or use WinScp from windows.
2. Copy the existing Vmware into the data storage (eg: /vmfs/volumes/datastore1/).
3. Use SSH to login into the Vmware Esxi server. Use ssh command from Linux or Putty from windows.
Use the command to clone the copied Vmware.
# vmkfstools -i /vmfs/volumes/datastore1/Win2003/windows2003.vmdk
# vmkfstools -i /source.vmdk /destination.vmdk
vmkfstools -e this command is used for exporting the Vmware.vmdk from Vmware Exsi server
** Change the path according to the location.
Once the conversion is completed the new .vmdk file is compatible to Esxi Server.
Run the new cloned Vmware .vmdk file from Exsi Server
1. Login into vSphere Client.
2. Create a new virtual machine. Choose custom option while creating the new virtual machine.
3. Select the operating system and architecture according to the newly cloned .vmdk vmware.
4. Browse and choose the cloned .vmdk file.
5. Start the Imported vmware on Vmware Esxi.
Now our Esxi server is ready to manage imported as well as newly installed operating systems.