Creating Virtual Machine

Uncategorized

Virtual machine encapsulates OS and applications resulting in a complete server or computer which can be accessed via VCSA. Section of hardware resources are allocated to Virtual machines . The resources are virtually separated in such a way that one VM doesn’t effect other VM resources.(A malicious attack to an app doesn’t impact other VM’s running on the same Host) .This helps in better management of resources and direct management.

Each VM includes set of files like configuration, boot ,data and memory ..etc which makes it easy to migrate VM’s since it is just a folder. CPU,Memory,Storage and network adapters can be added or removed from VM similar to physical system.

In this lab, we create VM and install Windows 7 in both the ESXi’s

Note: Repeat the tasks for both the ESXi’s

Deploy VM’s on ESXi Host

Task1: Create a Virtual Machine

Step1: Login to ESXi 1 “172.20.10.51” with root and Lab Password

Step2: Select Virtual machines on left menu and click create

Step3: Provide details of VM like the OS for setting the minimum hardware resource recommendations.

Step4: ESXi storage on which VM host reside needs to be selected.

Step5: Hardware of VM can be customized and OS iso is selected in CD/DVD drive.

Step6: Finish to review.

Task2: Install Guest OS and disable Windows updates.

Start VM to install the OS and follow direct steps for basic installation process.Disable updates.

Task3: Install VMWare Tools

Step1: Select the Tools file on ESXi CD/DVD adapter.

Step2: ensure that CD/DVD option of VM is set as host device and run the installation file

Install VMWare tools with default options and restart

Task4: Install Files

Similar to task 3 expand the CD/DVD and select host client on VM and Class-vsphere iso on ESXi. copy two files cpubusy.pl and iometer.exe to desktop.

Troubleshooting:

1. Hardware Virtualization needs to be enabled on ESXi hosts to install VM’s if not error would be

Solution: Bring down ESXi and enable Hardware virtualization under CPU.

2.Double check ISO images before installing .If not available download to your local system and upload to local datastore allocated .

Critical Thinking:

This lab gives basic idea of how to work with the virtual machines and customize them. Various options available to upload the data and about connecting adapters . Research about VMFolder would be much more helpful.

Leave a comment