Cara Setup & Manage VM kat Nutanix AHV
By Azizol Hafizi ยท Sep 2026 ยท 9 min read
Nutanix AHV (Acropolis Hypervisor) adalah built-in hypervisor yang datang sekali dengan Nutanix cluster. Ramai yang ingat Nutanix tu semata-mata storage solution, tapi sebenarnya AHV ni fully capable hypervisor yang boleh replace VMware ESXi โ dan dalam banyak kes, lagi senang nak manage.
Aku dah guna Nutanix AHV dalam production environment, dan dalam post ni aku nak share cara setup VM dari scratch sampai tips manage day-to-day. Jom!
๐ค Kenapa AHV?
๐ฐ
Percuma
Included dalam Nutanix license โ no additional hypervisor cost
๐ฏ
Senang Manage
Semua dalam Prism โ satu dashboard untuk everything
๐
Security
Built-in microsegmentation dengan Flow Network Security
๐ Prerequisites
Nutanix cluster dah up & running
Access ke Prism Element atau Prism Central
ISO image untuk OS yang nak di-install (Windows Server / Linux)
Network VLAN dah configured
Storage container dah ada
๐ Step 1 โ Upload ISO Image
Sebelum boleh create VM, kena upload ISO image OS ke Nutanix Image Service dulu.
Login Prism Element
Bukak browser, pergi ke https://[cluster-ip]:9440. Login dengan credentials admin kau.
Pergi ke Image Configuration
Klik ikon gear โ๏ธ kat top right โ Image Configuration โ Upload Image
Name: Windows-Server-2022
Image Type: ISO
Source: Upload file / URL
Tunggu Upload Siap
Progress akan nampak dalam Tasks. Lepas status jadi Active, ISO dah ready untuk guna.
๐ฅ๏ธ Step 2 โ Create VM Baru
Lepas ISO ready, jom create VM. Prism buat semua ni jadi straightforward.
Bukak VM Creation Wizard
Dari Prism dashboard โ VM โ + Create VM
Configure General Settings
Name: VM-WebServer-01
Description: Web Server Production
Timezone: Asia/Kuala_Lumpur
Assign vCPU & Memory
Set resources ikut keperluan workload. Untuk Windows Server standard:
vCPU(s): 2
Number of Cores per vCPU: 2
Memory: 8 GB
Add Disk
Klik Add New Disk โ set saiz mengikut keperluan:
Type: Disk
Operation: Allocate on Storage Container
Storage Container: default-container
Size: 100 GiB
Add CD-ROM & Mount ISO
Klik Add New Disk lagi โ pilih CD-ROM โ clone dari Image Service:
Type: CD-ROM
Operation: Clone from Image Service
Image: Windows-Server-2022
Add Network Adapter
Klik Add New NIC โ pilih VLAN yang sesuai:
VLAN Name: Production-VLAN
Network Function Chain: Default
Save & Power On
Klik Save โ VM akan appear dalam list. Select VM โ klik Power On โ lepas tu Launch Console untuk proceed install OS.
๐ง Step 3 โ Install Nutanix Guest Tools (NGT)
Lepas OS install siap, wajib install NGT. Ni equivalent VMware Tools โ bagi Nutanix communicate dengan VM untuk snapshot, quiesce, dan self-service restore.
Mount NGT ISO
Dari Prism โ select VM โ Manage Guest Tools โ tick Enable Nutanix Guest Tools โ Mount Nutanix Guest Tools โ Submit
Install dalam VM
Login ke VM โ bukak CD Drive โ run installer. Untuk Windows, double click setup.exe. Untuk Linux:
sudo mount /dev/cdrom /mnt
cd /mnt
sudo ./install_ngt.py
โ๏ธ Day-to-Day VM Management Tips
๐ธ Snapshot VM
Sebelum buat sebarang major change, ambil snapshot dulu. Kalau ada masalah, boleh revert balik dalam minit.
VM โ select VM โ Take Snapshot โ bagi nama yang meaningful contoh "Before-Patch-Sep2026"
๐ Monitor VM Performance
Prism ada built-in performance charts. Boleh tengok CPU ready time, memory usage, storage latency semua dalam satu tempat.
VM โ select VM โ Charts tab โ pilih metric yang nak monitor
๐ Clone VM
Nak deploy VM baru dengan config sama? Clone je. Lagi laju dari install dari scratch.
VM โ select VM โ Clone โ set nama baru โ Save
๐ Live Migration
Nak migrate VM ke host lain tanpa downtime? AHV support live migration out of the box โ tak perlu setup extra.
VM โ select VM โ Migrate โ pilih host destination โ migrate
๐พ Extend Disk VM
Disk VM dah nak penuh? Boleh extend online tanpa shutdown VM (untuk Linux). Windows kena extend dalam Disk Management lepas tu.
# Linux โ extend partition lepas disk di-extend dari Prism
sudo growpart /dev/sda 1
sudo resize2fs /dev/sda1
โ ๏ธ Common Issues & Fix
โก VM tak boleh power on โ 'Not enough memory'
Check host memory usage dalam Prism. Kalau semua host penuh, kena reduce memory VM lain dulu atau add node baru ke cluster.
โก Console VM loading tapi blank screen
Try refresh browser. Kalau still blank, hard power off VM dari Prism dan power on balik. Pastikan browser up to date.
โก Network VM tak dapat IP
Check VLAN assignment betul ke. Pastikan DHCP server ada dalam VLAN tu. Boleh check dari Prism โ VM โ Network tab.
โก Snapshot tak boleh buat โ NGT error
Pastikan NGT dah install dan running dalam VM. Check service 'Nutanix Guest Agent' kat Windows Services atau systemctl status ngt kat Linux.
โก VM performance slow โ high CPU ready time
CPU ready time tinggi bermakna VM kena queue untuk dapat CPU. Reduce vCPU count atau migrate VM ke host yang less loaded.
๐ก Pro tip: Nutanix AHV memang senang nak manage berbanding ESXi โ especially bila semua dalam satu Prism dashboard. Kalau kau baru nak start dengan Nutanix, master Prism Element dulu sebelum move ke Prism Central untuk multi-cluster management. Lama-lama kau akan appreciate betapa streamlined dia compared to traditional hypervisor setup.