Configuring a VM to VM Anti-Affinity Rule on Nutanix AHV Running AOS 5.0

This how-to will show you how to configure a VM to VM anti-affinity rule on Nutanix AOS 5.0.

For reference, the official documentation on this feature is found at: https://portal.nutanix.com/#/page/docs/details?targetId=Web-Console-Guide-Prism-v50:ahv-ahv-vm-anti-affinity-t.html

Currently, on AOS 5.0, you can set a VM to Host affinity rule right within Prism by editing the VM properties. However, setting up a VM to VM anti-affinity rule will need to be done via the Acropolis CLI (ACLI). To configure VM to VM anti-affinity policies, you must first define a group and then add all the VMs on which you want to define the VM to VM anti-affinity policy.

Continue reading “Configuring a VM to VM Anti-Affinity Rule on Nutanix AHV Running AOS 5.0”

Patching VMware ESXi via Nutanix One-Click Upgrade in Prism on AOS 5.0

This lesson will show you how to patch VMware ESXi using the Nutanix one-click upgrade process in Prism.

If you have additional questions not covered in this how-to, please refer to the Nutanix Documentation Link for the one-click hypervisor upgrade feature, located here: https://portal.nutanix.com/#/page/docs/details?targetId=Web-Console-Guide-Prism-v50:wc-cluster-hypervisor-upgrade-esx-wc-t.html

Continue reading “Patching VMware ESXi via Nutanix One-Click Upgrade in Prism on AOS 5.0”

Registering vCenter with Prism on Nutanix AOS 5.0

To perform core VM management operations directly from Prism without switching to vCenter Server, you need to register your cluster with the vCenter Server. This how-to will show you how to register vCenter with Prism running Nutanix AOS 5.0.

By using this feature you can perform following virtual machine operations directly through Prism.

  • Create, clone, update, and delete VMs.
  • Create and delete NICs.
  • Attach and delete disks.
  • Power operations: Power on or off, reset, suspend, resume, guest shutdown, and guest reboot.
  • Open and launch VM console (via an HTML 5 web gui)
  • Manage VM guest tools (mounting VMware guest tools, mounting NGT).

Continue reading “Registering vCenter with Prism on Nutanix AOS 5.0”

Setting Up and Using Acropolis File Services (AFS) on Nutanix AOS 5.0

This article will show you the steps involved to setup Acropolis File Services (AFS) on a cluster running AOS 5.0.

Acropolis File Services (AFS) uses a scale-out architecture that provides Server Message Block (SMB) file shares to Windows clients for home directory and user profiles. Acropolis File Services consist of three or more file server VMs (FSVM). There is one file server maximum per cluster image. A set of file server VMs is also known as a Acropolis File Services cluster. Multiple file server clusters can be created on a Nutanix cluster.

With the AOS 5.0 release, Acropolis File Services can be used when running ESXi or AHV as the hypervisor on your Nutanix cluster.

A great document to refer to is the Acropolis File Services Guide, which can be found on the Nutanix portal here: https://portal.nutanix.com/#/page/docs/details?targetId=Acropolis-File-Services-Guide-v20:Acropolis-File-Services-Guide-v20

Continue reading “Setting Up and Using Acropolis File Services (AFS) on Nutanix AOS 5.0”

Nutanix PowerShell and Other Scripting Resources

Here are some helpful resources for scripting to the Nutanix API via PowerShell or other languages. I’ll continue to add more as I come across them. Feel free to leave your favorite resources in the comments section below! 🙂

https://portal.nutanix.com/#/page/docs/details?targetId=API_Ref-Acr_v4_5:PowerShell_Cmdlets_Reference
Cmdlets references with clickable links on each cmdlet that shows syntax

http://go.nutanix.com/rs/031-GVQ-112/images/Powershell_Automation_Poster.pdf
Cmdlet poster so you can decorate your cube with it 🙂 

http://nutanixbible.com/#anchor-powershell-cmdlets-38
Cmdlet “how to” on the Bible and some other examples

http://next.nutanix.com/t5/Scripts/bd-p/ScriptsGitHub
Scripts and other posts on the Community Forum 

https://github.com/nutanix
Github repository with scripts (some PowerShell, some others)