In this post, I will share the materials I used to prepare for the VMware Certified Professional – VMware Cloud Foundation 9.0 Architect (2V0-13.25) exam.
What makes this post different from my other prep guides is that I have no hands-on experience with VCF 9.0 at all.
Therefore, this is more of a reflection rather than a structured preparation guide, but the materials I used helped me pass the exam, and I hope this post will help you too.
As you may know, large servers like DGX or HGX are equipped with eight NVIDIA GPUs interconnected via high-speed NVLink and NVSwitch fabrics.
To prepare an ESXi host for these workloads, we need to install two host components: the NVIDIA vGPU driver and the NVIDIA GPU monitoring and management daemon:
Once installed, the driver working alongside the fabric management services initializes the NVSwitch topology and exposes available multi-GPU configurations called groups. Each group represents a set of GPUs sharing an NVSwitch fabric that can be assigned to a virtual machine:
For instance, on an 8-GPU HGX system, you can allocate groups of 2, 4, or 8 GPUs – enabling flexible deployments such as two VMs with 4 GPUs each, four VMs with 2 GPUs each, or a single VM utilizing the entire 8-GPU group.
When we power on a VM with multiple vGPUs, a placement rule applies to the VM and I cannot explain this better than Frank Denneman (https://frankdenneman.ai/) and highly recommend to read these two blog posts:
Despite the strong scheduler capabilities, in the constrained and fragmented environments it’s not always possible to assign a group of vGPUs to the VM, even if the required number of GPUs are available.
For example, we have a host with the following configuration:
VM-1 – Group of 4 vGPUs;
VM-2 – 1 vGPU assigned;
VM-3 – 1 vGPU assigned;
VM-4 – 1 vGPU assigned.
In this example, we used seven of eight GPUs and have one GPU left. What if we want to add an additional vGPU to VM-2? We need to remove a single vGPU and add a group of 2 vGPUs. Most likely, the VM won’t power on because the scheduler can’t find a group of two GPUs.
A good option would be to vMotion VM-3 and VM-4 out of the host, power on VM-2 and move VMs back if needed. However, if we have only one GPU host, it is not an option.
Another way is to power off VM-3 and VM-4, power on VM-2 with a group of two vGPUs and after that power on VM-3 and VM-4.
If neither option works, you cannot power off the VMs or move them out – the last resort to run the VM is not to use a vGPU group, but to use two separate vGPUs instead:
To run a VM in this configuration we need to add an advanced parameter to the VM:
vmiop.nvswitch.deviceGroupRequired = FALSE
Otherwise, we will get an error that we need to use vGPU Group instead of two separated vGPUs.
This is not a recommended method for using more than one vGPU in production. However, it may be an option in some cases, when your application uses GPUs as separate units and communication between GPUs is not required. For example, if you are running two containers, where container 1 uses GPU number 1 and container 2 uses GPU number 2.
By the way, in this mode, nvidia-smi topo -minside the guest OS will show SYS instead of NVXXbetween the GPUs – confirming that direct NVLink/NVSwitch peer-to-peer communication is disabled.
Another use case is to add a number of GPUs, that cannot be allocated using standard groups – for example, 3 or 6 GPUs.
To wrap up, while NVSwitch GPU groups remain the gold standard for multi-GPU workloads requiring high-speed interconnect, knowing how to bypass strict group enforcement with vmiop.nvswitch.deviceGroupRequired = FALSE can save you during maintenance windows, tight resource constraints, or non-standard GPU allocations.
One of the most interesting features for me in the latest VBR 13.1 release was VirtIO driver injection, which automatically injects VirtIO drivers when restoring non-KVM backups to Nutanix, Proxmox etc.
In this post, we’ll take a look at how it works under the hood.
CAUTION: This is not for production use! Use this methodfor home labs only.
During deploying VVF 9 in my home lab, I’ve faced an issue with the unsupported CPU. Although there was no problem with ESXi 8, during ESXi 9.1 installation, I received an error:
CPU_SUPPORT ERROR: The CPU on this host is not supported by ESXi 9.1.0.
Please refer to the VMware Compatibility Guide (VCG) for the list of supported CPUs.
Please refer to KB 82794 for more details.
Luckily there is a solution. Keep in mind that this is not for production use. Using this method in production can cause system instability, and your VMware cases will be rejected because you use unsupported configuration.
To bypass this check, we can use the additional installer option:
allowLegacyCPU=true
Reboot the host, and on the “Loading ESXi installer” screen, press SHIFT+O to enter the boot menu:
At the end of the line, type “allowLegacyCPU=true” and hit Enter to boot the installer:
Now, the error message will change from the CPU_SUPPORT ERROR to CPU_SUPPORT WARNING, and we can proceed with the installation:
With release 9.1 of vCloud Foundation and vSphere Foundation a new component called the License Server was released.
The License server is a dedicated protected repository within your environment used to keep licensing data. For each VCF Operations instance, we need to use at least one License Server.
Right after updating my VCF Operations instance to version 9.1, I saw a banner with the message: “Your registration needs to be updated with a license server. Go to Licenses & Registration page to update the VCF Operations registration and access the available licenses”, which means we need to deploy and connect a new License Server. In this article, I will cover this process.
In this short article, we will look at the procedure for configuring backups of VMware vSphere VMs stored on HPE Alletra using the Veeam Backup from Storage Snapshots feature.
For those who don’t know, this feature allows us to reduce the virtual machine snapshot lifetime from minutes or hours to just seconds, and it is available for use with many storage vendors and models.
VCF Operations for Logs (formerly Log Insight) is a powerful tool allowing us to keep, maintain, and explore logs from the VMware Cloud Foundation components, and this is one of the critical components of any virtual infrastructure.
In this short article, we will deploy VCF Operations for Logs and configure vCenter Server, ESXi hosts, and VCF Operations to send logs to the newly deployed appliance.
Recently I needed to update the NVIDIA GPU driver on my ESXi 8.0U3 hosts. Although it looks simple: upload the new driver to the depot, edit the image, and update hosts, I faced an unexpected issue during remediation of the cluster:
Remediation of cluster failed
Remediation failed for Host 'gpu-esxi-01'
gpu-esxi-01 - Failed to remediate host
Remediation failed for Host 'gpu-esxi-01'
Failed to remove Component NVD-AIE-800(580.95.02-1OEM.800.1.0.20613240), files may still be in use.
Keeping in mind that the host is in the maintenance mode and there is no VMs running on it, the only thing using the GPU driver can be a service like Xorg and/or vGPU Manager. In my case the Xorg service wasn’t running, but vGPU Manager was.
Therefore, the workaround in this situation was simple (but I hope there is a better way): 1. Place ESXi host into maintenance mode and make sure – no VMs are running on it; 2. Enable SSH and connect; 3. Stop the vGPU manager service:
[root@gpu-esxi-01:~] /etc/init.d/nvdGpuMgmtDaemon status
daemon_nvdGpuMgmtDaemon is running
[root@gpu-esxi-01:~] /etc/init.d/nvdGpuMgmtDaemon stop
[root@gpu-esxi-01:~] /etc/init.d/nvdGpuMgmtDaemon status
daemon_nvdGpuMgmtDaemon is not running
4. Return to the cluster update section, and remediate only one host (with a stopped vGPU manager). This time there should not be any problems with installing a new driver; 5. After finishing the remediation, reboot the host; 6. Leave the host from the maintenance mode; 7. Repeat tasks for each host.
After rebooting, you will see that the driver is updated and the host is compliant with the new cluster image.
If you’re using a virtual machine with multiple vGPUs and considering using NVIDIA Collective Communications Library (NCCL) to implement multi-GPU communications, you may face an error like this during nccl-test:
Test NCCL failure common.cu:1279 'unhandled cuda error (run with NCCL_DEBUG=INFO for details) / '
.. ollama-cb-01 pid 1598: Test failure common.cu:1100
In the detailed log we can see errors like:
init.cc:491 NCCL WARN Cuda failure 'operation not supported'
...
init.cc:491 NCCL WARN Cuda failure 'operation not supported'
...
Test NCCL failure common.cu:1279 'unhandled cuda error (run with NCCL_DEBUG=INFO for details) / '
...
One common reason for this issue in the VMware environment is the UVM (Unified Memory), which is disabled by default in the virtual machine.
To enable UVM, power off the VM and add advanced parameters, based on the number of vGPUs attached to it:
Thereafter, power on the VM, and NCCL-Test will likely pass.
Keep in mind, enabling this feature will prevent future live vMotions of the VM with the following error:
A required migration feature is not supported on the "Source" host 'esxi-01'.
vGPU migration is not supported on this VM.
Another problem that can prevent passing the NCCL test is broken P2P vGPU communication. For example, you can run p2pBandwidthLatencyTest from the NVIDIA Cuda-samples package. If you have a problem with P2P, you will see something like that in the output:
Device=0 CAN Access Peer Device=1
Device=1 CAN Access Peer Device=0
I faced this issue with the drivers from the AI Enterprise 7.1 package (580.95). The solution in my case was to update ESXi and VM drivers to version 580.105 (AI Enterprise 7.3 package).
Today, AI is everywhere, and everyone wants a VM with a GPU adapter to deploy/test/play with AI/ML. Although it is not a problem to add a PCI device to the VM (whole GPU), sometimes it can be overkill.
For example, running a small model requires only a small amount of GPU memory, while our server is equipped with modern NVIDIA H200, B200, or even B300 GPUs that have a large amount of memory.
And this is where vGPU comes into play. vGPU allows us to divide a GPU into smaller pieces and share it among a number of VMs located on the host.
In this article, we will focus on how to configure ESXi hosts to run VMs with the vGPU support in vSphere 8.0 Update 3.