In your daily responsibilities as a VMware Admin, You must know how to create Virtual machine. Topic 3.1 explains in detail how to accomplish these requirements. You must login as administrator or should have the permissions to create, provision and remove VM. Below mentioned image shows the Root access through direct ESXI host through webclient.
Points to Cover–
- Creating a virtual machine (Compute for the VM)
- Un-registering a Virtual Machine
- Deleting a Virtual Machine
1. Creating a virtual machine
- Now, that we have logged into direct host using root access(Same can be accessed through vCenter).
- Click on the “Create/Register VM” as highlighted in the below mentioned image.
- It open another dialogue box which indicates “New Virtual machine” as shown in the image mentioned below.
- Choose “Create a new Virtual Machine”. Please give special attention to the description on the right which briefs option selected.
- Please choose the VM name wisely since same name would be used for all of files of VM, Prefix would be added for VMDKs, NVRAM, snapshot files & all log files of the VM.
- Once the name has been provided, choose the destination storage(datastore). This would be destination for all the files that would make a VM.
- Next screen shows the options to customize the VM. Based on your business requirement you can decide on compute. You can also customize this options at later stage.
- Specify the memory
- Specify the size of the VMDK(hard disk).
- Specify the destination(datastore) of VM files.
- Once all the above settings are provided, We are ready to complete the changes. These changes/customization would be written to VMX(VM config file). Ensure to review the same and go back if still any changes are required.
- After clicking on the “Finish” as seen on above screenshot, VM is ready to be deployed. Please give it few mins so that VM is deployed successfully.
- You can see the status in “Recent tasks” at the bottom to see progress.
- Once the VM is deployed, You must install an OS so it can be used further. Below steps can help you on how to install OS on the VM.
- Select the VM where OS needs to be installed.
- Right Click and choose “Edit Settings”.
- In the next dialogue box, You can choose “Host device”(if the OS disc is inserted inside the ESXI host) or you can choose “Datastore ISO file” if the bootable OS ISO is residing in any datastore. In our LAB, we have it as an ISO. so we are choosing the “Datastore ISO” option.
- Now you can direct the dialogue box to select the ISO of the bootable OS disc. In our LAB, we are choosing the Win & ISO as indicated in the image below.
- Below mentioned image indicates the path along with datastore which was selected. Click save once done.
- Once the ISO is mounted to the VM, we are ready to power on the VM. Ensure that you have opened the console and you are inside th VM console.
- Press space bar to boot from the mounted ISO.
- Follow the options to install the desired OS.
2. Un-registering a Virtual Machine
As an Vmware administrator, you get such requests to un-register a VM or delete a VM. During your advance troubleshooting you get in situations where Vm needs to be un-registered(removal from inventory) and registered back to refresh the VMX (Config) file. Below mentioned steps can help you in such requirements.
- To un-register a VM, ensure that VM is off and then right click the VM.
- On the dialogue box, choose “unregister”.
3. Deleting a Virtual Machine
Below screen indicates the steps to delete a VM. This is a critical step and CAN NOT be undone. Choosing “Delete” option will permanently delete the VM and its supporting files.
- To delete a VM, ensure that VM is off.
- Right click the VM and choose “Delete”.
- Watch the recent tasks for current deletion progress.
Thanks for visiting here. Share this article if you found it useful. Be sociable.