Virtual Machines Using VMware Workstation
Virtual machines are virtualized client/server environments within a physical host server. The host server can serve one virtual or more virtual machines, and each has an operating system and some dedicated roles installed such as web applications of its own. For a user, the virtual server will appear as a dedicated server.
All virtual machines that are hosted on the host server are allocated with a part of the memory and hard disk space and they have the same CPU usage as the physical machine.
‘Create a new virtual machine’ wizard will help in creating a new virtual machine if there is no virtual machines or system images available. Once a virtual machine is created, an operating system needs to be installed in it.
1. First, go to the Workstation menu. Select File -> select New -> select Virtual Machine.
2. Then select the "Custom" option on the dialog box and click next.
3. Select the "hardware compatibility" option and click next
Note: The higher the version you select on the compatibility option, the better options you get with product compatibility and limitations.
4. On the next screen, select the installation options to install guest operating system. The available options are:
Installer disk: Select this option to install the operating system with the CD/DVD drive.
ISO Image: Install the guest operating system by selecting an ISO image file.
Install Later: This option will create a blank virtual disk wherein the guest operating system can be installed on later.
Select "I will install the operating system later" option and click next.
5. On the next window, select the guest operating system platform and its related operating system version then click next.
Since we are using a Windows platform, select Microsoft Windows and choose Windows 7 as the operating system version. If you are planning for a virtualized server environment, select one of the server operating system.
6. Provide a virtual machine name and the location where it will be stored and click next.
7. On the Processor configuration window select the number of processors to be used for this virtual machine, then click next.
Note: If the virtual machine will be used for heavy applications or a dedicated service purpose then you ought to consider increasing the number of processors and cores per processor.
8. On the next window, specify the amount of memory to be allocated to this virtual machine. You can increase or decrease the default memory allocation depending on the purpose of the virtual machine. Click next to continue.
9. On next screen, select a network type (Bridged, NAT, and Host only) then click next.
10. Select an I/O adapter types (recommend is to select LSI Logic SAS) and click next to go on with the new virtual machine wizard.
11. Since we are creating a new virtual machine, select ‘Create a new virtual disk’ and click next to continue.
12. Choose a virtual disk type (recommend is SCSI) and click next
13. On the next window, specify the disk size of the virtual machine and select an option of whether the disk space allocated to virtual machine will be stored using a single file or using multiple files, each having up to 2 GB in size. Click next to continue.
Note: You can choose to allocate all disk space and create a virtual disk of size 40 GB (as in this case), but this requires 40 GB of physical hard disk space to be available to allocate. If you decide not to choose the allocate disk space option, the virtual disk space will increase gradually as you use the virtual machine.
14. Specify the file name for the disk since it needs to be provided then click next to continue.
Note: The file will be stored having .vmdk as its file extension.
15. Now you have set all the required parameters to create the virtual machine. Review the selections that you have made on the previous screens and click finish to complete the virtual machine wizard.
16. The virtual machine that you have created will now be displayed under the Workstation menu.
How to Install the Guest Operating System
Now that you have created a blank virtual disk files, the next step is to install an operating system to the virtual disk. You can install the operating system using with no manual intervention using easy install, choosing to install from either ISO image or CD\DVD drive.
17. Select ‘Edit virtual machine settings’ from the command section.
18. Select the hardware tab and select the CD/DVD (IDE) option. On the right window pane, select Use ISO image file.
19. Browse for the ISO image, select it, then click Ok to continue.
20. On the command pane section click on ‘Power on this Virtual Machine’.
Note: Before you power on the virtual machine, you can customize various other options using the edit virtual machine wizard if there is a need to do so.
21. Then the Windows operating system installation will start. The installation is the same as installing Windows operating systems on a physical host.
22. After installing the operating system, you can login to the system and you can start working on the virtual machine. There is also an option to change the virtual machine screen resolution to full screen.
Getting started on working on the virtual machine
23. To power on the virtual machine select the Workstation menu bar, select VM -> Power -> Power On. You can also do this from the command section window pane, select power on this virtual machine.
24. To change the BIOS setup of the virtual machine, go to VM -> Power -> Power On to BIOS.
25. To shut down the virtual machine, go to the virtual machine console and shut down the operating system. You may also go to the Workstation menu and select VM -> Power Options -> Power Off.
26. To configure the Power off and reset option of the virtual machine, go to VM -> Settings
27. Select the option tab, then select Power.
28. From Power control panel on the right pane, choose from the various options based on how you need to power on, shut down and reset the virtual machine.
Please watch this video for a tutorial of downloading and installing VMware Workstation: