In this post we will continue covering the objective from the blueprint and now its time for Configure Advanced vSphere Virtual Machine Settings
The following are objectives from the blueprint:
- Differentiate virtual machine configuration settings
- Enable/disable advanced virtual machine settings
- Interpret virtual machine configuration files (.vmx) settings
- Configure virtual machines for multicore vCPUs
- Determine how using a shared USB device impacts the environment
- Configure virtual machines for vGPUs, DirectPath I/O and SR-IOV
Differentiate virtual machine configuration settings:
Since we already discuss most of the settings of a VM while we were covering the blueprint i am not going to expend on the setting .To access the VM setting right click on the VM and edit the setting .
In the edit settings screen you can configure the VM hardware for that specific VM , you can add/remove hardware (we already did that in previous posts).You can also control and get information for that VM in the VM option tab. Most of the option are self explanatory.
Enable/disable advanced virtual machine settings:
In the advanced stetting you can control the following:
- Disable acceleration – When you install or run software in a virtual machine and the VM stop responding. you can temporarily disable acceleration in the VM. This will slows down virtual machine performance.
- Enable logging – You can enable logging to collect log files to help troubleshooting.
- Debugging and statistics – You can enable to record the debugging and statistic for that VM in case of a major issues
- Swap file location – If necessary you can modify the location of the swap file (same location as the VM or on a different datastore)
- Latency Sensitivity – you can configure the latency sensitivity between the VM and the physical resource.
Interpret virtual machine configuration files (.vmx) settings:
This part also belong in the advanced settings , if you click on the configuration parameters you are basically editing the vmx file. which you can actually do it via text editor.this file includes ALL the VM Hardware configuration
Configure virtual machines for multicore vCPUs:
You can configure number of CPU and core per socket , you can also enable CPU hot add to add additional CPU while the VM is running
Determine how using a shared USB device impacts the environment:
When you place a USB device in a specific host the VM on that host can use it . the USB device has to be supported by VMware HCL, You will have to add USB controller on the VM and then add Host USB Device. You can also add vMotion support for that device. in a DPM cluster there is no support for USB pass-through.
Configure virtual machines for vGPUs, DirectPath I/O and SR-IOV:
When you have some power Graphic cards that can provide Graphic acceleration for multiple VMs you can plug it in to one of the ESXi hosts and you will be able to see it in the host setting configuration under graphics(i dont have any of those cards). you will have to install the driver support that card and a proper VIB , then you can add that card to the VM via the Shared PCI Device
From VMware vSphere Virtual Machine Administration document:
DirectPath I/O allows a guest operating system on a virtual machine to directly access physical PCI and PCIe devices connected to a host. This action gives you direct access to devices such as highperformance graphics or sound cards. You can connect each virtual machine to up to six PCI devices. You configure PCI devices on the host to make them available for passthrough to a virtual machine.
When PCI vSphere DirectPath I/O devices are available to a virtual machine, you cannot suspend, migrate with vMotion, or take or restore Snapshots of such virtual machines.
Representation of a virtual function (VF) on a physical NIC with SR-IOV support. The virtual machine and the physical adapter exchange data without using the VMkernel as an intermediary. This adapter type is suitable for virtual machines where latency might cause failure or that require more CPU resources.