User and Role Management via Ansible and Prism Central

Introduction Role-based access control (RBAC) in Nutanix is critical to secure infrastructure operations. Prism Central allows you to define users, roles, and permissions across the enterprise. This post shows you how to automate RBAC with Ansible, ensuring secure, consistent access for admins, operators, and service accounts. My Personal Repository on GitHub Nutanix Repository on GitHub … Read more

Scheduling Certificate Checks with Ansible

Introduction An expired SSL certificate in Nutanix Prism Central can cause major disruptions to GUI access and API integrations. This article shows how to automate Prism certificate checks using Ansible, alerting your ops team before certificates reach expiration. No more last-minute fire drills. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: Certificate Monitoring … Read more

Nutanix Cluster Expansion Using Ansible

Introduction Scaling a Nutanix cluster manually via Prism is fine for one-off events, but enterprise and edge environments demand repeatable, secure automation. This guide shows how to onboard new nodes to a Nutanix cluster using Ansible. With a single playbook, you can add multiple hosts, validate their state, and complete your cluster expansion. My Personal … Read more

Creating Storage Containers with Ansible

Introduction Storage containers in Nutanix define how data is stored, deduplicated, compressed, and tiered. Automating container creation using Ansible enables consistent configurations across clusters and sites. This article walks through creating storage containers with compression enabled using a reusable playbook. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: Container Provisioning Workflow Use Case … Read more

Managing VM Power State with Ansible

Introduction Whether you’re scheduling routine maintenance, automating DR procedures, or managing lab environments, the ability to control VM power state is essential. With Ansible, you can automate VM power operations, start, stop, reboot, and validate, all from a single playbook. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: VM Power Workflow Use Case … Read more

Building a Super Bash Script for Nutanix in Enterprise Environments

Introduction In enterprise environments, admins require a consolidated script that executes multiple Nutanix operational tasks safely and consistently. This article presents a production-grade “super script” that consolidates health checks, VM inventory, snapshot rotation, and alert generation, suited for daily use in mission-critical deployments. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: Super Script … Read more

Dynamic VM Network Assignment Using Ansible

Introduction Virtual machine networking in Nutanix AHV is defined by subnet assignments, bridges (e.g., br0), and VLAN tags. Ansible lets you assign VM NICs dynamically during or after deployment, ensuring proper segmentation for dev, test, and prod workloads. This guide provides a flexible playbook for assigning networks to Nutanix VMs. My Personal Repository on GitHub … Read more

Nutanix Certificate Monitoring & Renewal via CLI

Introduction Expired SSL certificates in a Nutanix cluster can block Prism logins, alerting integrations, and API functionality. This article walks you through a Bash-based monitoring script to track certificate expiry and generate alerts before disruptions occur. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: SSL Monitoring Flow What It Checks Bash Script: nutanix_cert_check.sh … Read more

Nutanix Daily Operations Dashboard via Bash

Introduction Admins often need a quick overview of their Nutanix cluster each morning. Instead of logging into Prism, a Bash dashboard script can collect essential data, health, VM counts, storage use, and alerts, and consolidate it into a timestamped report. This article walks you through building a reliable CLI-driven Nutanix daily report. My Personal Repository … Read more

Nutanix CLI and Bash Scripting Best Practices

Introduction Bash and Nutanix CLI (ncli, acli) scripting is a powerful combo, but power demands responsibility. From production-level safety to logging and parameter handling, this post outlines essential best practices to help you create clean, robust, and maintainable automation scripts for Nutanix environments. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: Safe Scripting … Read more

Air-Gapped DR: Securing Nutanix Replication Against Sophisticated Threats

Table of Contents 1. Introduction: Why Air-Gapped DR for Nutanix? Modern cyber threats—including ransomware and nation-state actors—have exposed the vulnerability of traditional DR. Air-gapped or semi-air-gapped disaster recovery for Nutanix platforms provides an isolated safety net, breaking the attack chain and ensuring regulatory compliance for the most sensitive workloads. Key Takeaways: 2. Air-Gap Concepts: Definitions … Read more

Automating Snapshot Lifecycle for Nutanix with Ansible

Introduction Snapshots are critical for backup and recovery, but they must be managed correctly to avoid sprawl. With Ansible, you can automate the full snapshot lifecycle on Nutanix AHV, creating, listing, and deleting snapshots through playbooks. This article shows you how to set up reusable snapshot tasks and schedule them reliably. My Personal Repository on … Read more

Nutanix User and Role Management via CLI

Introduction Role-based access control (RBAC) is critical in enterprise datacenter security. Nutanix Prism allows fine-grained user and group role mapping, and this can be fully automated using ncli. In this guide, we create, update, and delete Prism users and assign them appropriate roles using Bash scripts. My Personal Repository on GitHub Nutanix Repository on GitHub … Read more

Nutanix Cluster Expansion with CLI and Bash

Introduction As workloads grow, Nutanix clusters must scale to meet demand. While Prism simplifies node addition, using ncli and Bash provides automation for site builds, disaster recovery scenarios, and DevOps pipelines. This guide outlines how to script and repeatably expand your Nutanix cluster using CLI tools. My Personal Repository on GitHub Nutanix Repository on GitHub … Read more

Nutanix Credentials Rotation Script with Bash

Introduction Credential rotation is a fundamental part of security hygiene. For Nutanix environments that rely on ncli, automating service account password updates ensures compliance, reduces risk, and eliminates outages due to expired credentials. This guide walks through scripting secure rotation using Bash. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: Credential Rotation Flow … Read more

Nutanix Metro: Advanced Deployment, Configuration, and Best Practices for Production Environments

Table of Contents 1. Introduction to Nutanix Metro Nutanix Metro, also called Nutanix Metro Availability, is a business continuity and disaster recovery solution built into the Nutanix platform. It provides synchronous data replication between two geographically separated Nutanix clusters, ensuring zero data loss and rapid application failover in the event of site outages. Metro is … Read more

Deploying Nutanix AHV VMs with Ansible

Introduction Once your Ansible control node is configured, deploying a virtual machine on Nutanix AHV is just a few lines of YAML away. This article walks through an enterprise-ready playbook to launch AHV VMs using the Nutanix Ansible collection. We’ll cover options for CPU, memory, networks, and storage, and how to make the playbook reusable. … Read more

Automating Nutanix with Ansible: Foundations, Playbooks, and Best Practices

Introduction Nutanix and Ansible are a natural fit for enterprise automation. While Nutanix provides powerful APIs and CLI tools, Ansible brings repeatable, version-controlled orchestration to the datacenter. This guide helps you install, authenticate, and run your first playbook using the official Nutanix Ansible collection. My Personal Repository on GitHub Nutanix Repository on GitHub Step 1: … Read more

Nutanix Emergency VM Rescue Bash Toolkit

Introduction Every environment faces moments of failure. Whether from guest corruption, misconfigurations, or broken updates, virtual machines sometimes need urgent rescue. This guide offers a pre-built Bash-based emergency toolkit using acli to snapshot VMs, reassign NICs, attach recovery ISOs, and power cycle problematic VMs. My Personal Repository on GitHub Nutanix Repository on GitHub Diagram: Rescue … Read more

Nutanix Storage Container Management via ncli

Introduction Storage containers are a foundational part of Nutanix architecture, defining policy boundaries for deduplication, compression, and performance tiers. With ncli, you can automate the creation, resizing, and deletion of containers to match lifecycle events, DR plans, or capacity upgrades. This guide shows how to script it all with Bash. My Personal Repository on GitHub … Read more