Creating VM in Vmware

Hello! Thank you for visiting my blog. In this post, I’m explaining about how to create a VM in Vmware vSphere.




Creating VM in VMware Vsphere

To begin the VM creation process, first login to the vsphere client and browse the Datastore. Within the datastore, browse the folder where you store your ISO images and upload your ISO images to it. After the upload is completed, create a new virtual machine by simply entering Ctrl + N or right clicking on the suitable host or resource pool. This will launch a Create New Virtual Machine wizard.

Create New VM
Create New VM

Choose Typical option and click Next. Custom configuration is useful when we have specific requirements for our new VM. For example, sometimes we need to create a virtual machine using existing virtual machine disk (VMDK) or need a VM to have very particular specifications. Selecting Custom option allows us to fulfill these requirements.

Create New VM-Naming
Create New VM-Naming

Enter the virtual machine’s name and click Next.

Create New VM-Storage
Create New VM-Storage

Choose the Storage from the Data-Store selection menu and click Next.

Create New VM-OS Type
Create New VM-OS Type

Choose the Guest OS type as Windows or Linux or Other. In my case, I’m choosing Linux and version as CentOS 4/5/6 (64 bit). Click Next.

Create New VM-Network Setup
Create New VM-Network Setup

I’m adding two network NICs to this system because I need to connect my system to my company’s network via VM Network and to my hotspot network via Wireless Test. Since I’ve got two networks or two VLANs, I need to have the switch-ports connecting to my Vmware server to be in trunk mode. If you haven’t got these networks already configured in your Vmware server, you can add a new network by following this post:

After the networking is ready, we can continue the Virtual Machine creation process.

Create New VM-Disk Provisioning
Create New VM-Disk Provisioning

I then specified the disk space for my CentOS system as 5 GB and selected Thin Provisioning. You can enter values according to your requirement or preference.

Create New VM-Summary
Create New VM-Summary

Check Edit the virtual machine settings before completion button and hit Continue. A Virtual Machine Properties window pops up, where we can customize the properties of our guest VM. Here, we can remove any unnecessary devices like Floppy Drive or add new necessary device. We can also change values for Memory, CPU, and so on. Before we finish it, we need to add our ISO image to the CD drive so that the guest VM can boot from it.

Create New VM-Mounting ISO
Create New VM-Mounting ISO

To mount an ISO, click on New CD/DVD, select Datastore ISO File option and browse the CentOS ISO image from Datastore. Don’t forget to check Connect at power on button.

Create New VM-Boot Options
Create New VM-Boot Options

In order to boot our VM from CD-ROM, we need to modify BIOS boot order. To do that, we can go to Options tab, then to Boot Options inside Advanced, and check The next time the virtual machine boots, force entry into the BIOS setup screen so that we can enter into BIOS setup when the VM boots up and modify boot order to put CD-ROM as first. Click Finish.

Now that I’ve got my guest VM configured, let’s start it and begin the installation. After starting the VM, navigate to Console. It should open up the BIOS setup screen as configured earlier.

BIOS Boot Order Setup
BIOS Boot Order Setup

In the Boot menu, I brought the CD ROM Drive option to the top using (+) key. I exited saving changes. This should now boot up the guest VM from CD-ROM drive.

I hope you found it informative. Please let me know in the below Comments section if you’ve any question or suggestion for me.





Comments

3 responses to “Creating VM in Vmware”

  1. […] Creating a VM in VMware vSphere […]

Leave a Reply

Your email address will not be published. Required fields are marked *