Step #5: Create a New VM with a UPT Device
Back on vCenter, click on the cluster configuration from the left pane.Important
If you see a host alert with connectivity issues. These should correct themselves even though the alert may persist. Please continue on with the lab.
Click on host 172.16.0.11 and click on Actions -> New VM.
In the New VM dialog box select Deploy from template. and click Next.
Select Data Center, expand the options, and select Redis-Server. Click Next to continue.
Name the VM Demo VM and select the monterey-dc cluster as shown below. Click Next to continue.
Ensure the 172.16.0.11 host is selected. If it’s not, change the selection. Ensure compatibility check passes and click Next.
Select the vSAN datastore and click Next.
Leave all boxes unchecked and click Next.
Review and confirm the settings from the previous step and click the Finish button to complete the VM creation process.
After returning to the vCenter UI, in the bottom panel under the Recent Tasks tab, watch for your VM clone task to complete.
Click on the Demo VM to select it and click on the Actions button to pull down the menu and select the Edit Settings action.
Click the drop-down menu next to Network Adapter 2 *and select **Browse* to select a network to attach to. A new selector dialog will appear. Select the monterey-overlay-segment-100 that we created in an earlier step.
Next, activate the drop-down menu next to Network Adapter 2 to see additional settings. Ensure that the adapter type is set to VMXNET 3 and most importantly, check the UPT support box to enable UPT support. Then click Ok.
In the bottom panel under the Recent Tasks tab, watch for the Reconfigure VM task to complete.
After the Reconfigure VM task is complete and successful, power on the VM by going to Actions -> Power -> Power On from the inventory view of your VM.
Watch the Recent Tasks in the bottom panel for the Power On task to complete.Note
At this point you will see the Demo VM powered on and a message that UPT is not activated on a network adapter. This is expected since we haven’t enabled UPT yet within our new VM.
Launch the web console for Demo VM. Login to the console using the credentials below.
Login to the console using the credentials below.
Navigate to the Scripts directory using the commands below.
cd Scripts/ ls
Run the CheckVmxDriverVersion.sh script using the command below.
You will have to enter the password again for sudo purposes.Note
The UPT-enabled driver is not yet loaded.
Run the mkUPT.sh script using the command below. This will load the appropriate UPT-enabled driver for the VM. To verify it is loaded correctly, re-run the CheckVmxDriverVersion.sh script using the command in the previous step.
Navigate back to vCenter and verify the UPT alert associated with Demo VM has disappeared. Your VM is now configured with UPT and ready for vMotion.