Objective 2.1 Describe VM tasks
2.1.1 Deploy, update, and configure a VM
Create VMs in Prism Central (VMs β Create VM) or in Prism Element. You set vCPUs, cores per vCPU, memory, disks, NICs, boot type (legacy BIOS or UEFI, optionally Secure Boot), and optional guest customization (Sysprep for Windows, cloud-init for Linux). Windows guests on AHV need the Nutanix VirtIO drivers.
On AHV you can hot-add memory and vCPUs to a running VM, but you can't hot-remove them. VM templates capture a configured VM so you can deploy copies of it.
Images: the Image Service stores ISOs and disk images. You upload them from your workstation or from a remote URL (HTTP). Image Placement Policies use categories to decide which clusters an image lives on.
2.1.2 Configure storage for VMs
A VM's disks are vDisks on a storage container, so they inherit that container's RF and efficiency settings. Disk bus is usually SCSI. You can also attach Volume Groups for shared or clustered disks.
Flash Mode pins a VM's or vDisk's data to the SSD tier. Use it for latency-critical workloads on hybrid nodes.
2.1.3 Configure network attributes
Each NIC attaches to a subnet (a VLAN-backed subnet, or an overlay/VPC subnet). On an IPAM subnet AHV hands out the address itself. Without IPAM, the address comes from your own DHCP server or a static configuration.
2.1.4 Assign categories
Categories are key:value tags such as Environment:Production or AppType:SQL. Policies point at categories rather than at individual VMs. That covers security (Flow), protection and DR, Playbooks, Image Placement, and VM-host affinity. To apply one policy to dozens of VMs, tag them with a category and attach the category to the policy.
Agent VMs are the AHV setting for "one VM per host that stays on its host", for example a virtual firewall or an antivirus appliance. They aren't migrated and are powered off during host maintenance.
VM-VM anti-affinity on AHV, for example keeping two SQL nodes on different hosts, is created with aCLI (acli vm_group.create then vm_group.antiaffinity_set). VM-host affinity is set in Prism.
2.1.5 Change vDisk Placement
Live vDisk migration moves a running VM's vDisks to another storage container without downtime, for example to change RF or efficiency settings. Do it from Prism Central (Move vDisk) or aCLI.
2.1.6 Take a snapshot
In Prism Element you can take a manual VM snapshot (VM β Take Snapshot) and restore or clone from it. In Prism Central these are recovery points. A recovery point can be restored in place (revert the VM) or cloned into a new VM. Scheduled snapshots come from protection policies.
Snapshot a VM in the CE lab, change a file in the guest, then restore from the recovery point in Prism Central.
Official docs for 2.1 (17)
- Creating a VM (AHV)
- Managing a VM (AHV)
- VM Memory and CPU Hot-Plug Configurations
- Nutanix Guest Tools
- Creating a Windows VM on AHV with Nutanix VirtIO
- VM Template Management
- Creating a VM Template without Guest Customization
- Limitations of VM Template Feature
- Supported Configuration Workflows for Advanced Processor Compatibility
- Nutanix AHV CPU Configuration
- Virtual Machine Customization
- UEFI Support for VM
- Managing Categories in the Categories Tab
- Migrating a vDisk to Another Container
- Live vDisk Migration Across Storage Containers
- Creating a VM Snapshot Manually
- Deleting a VM Snapshot Manually