Get guidance, share wins, and ensure smooth Nutanix deployments.
Recently active
Working with the NTNX Powershell cmdlets and struggling to find information regarding the required -metrics argument for the Get-NTNXHostStat cmdlet. Where can the metrics be found?
We are happy to finally say the Nutanix Calm API is live! This includes the release of the Nutanix Calm API documentation on Nutanix.dev, our Developer Portal. The possibilities that are now available along with this announcement are huge for us. It means we can do things like the following in code: Integrate the control of Calm blueprints into external scripts or applications Use conditionals to control when a blueprint gets launched Use conditionals to control which blueprint gets launched Run applications actions on demand by calling the appropriate API It’s also true that, while APIs as an overall “thing” are definitely nothing new, the ability to automate the automation platform is a critical step in controlling infrastructure. Check out the blog 👉 Automate Everything: Nutanix Calm API Docs Are Live! to learn more
Why am I not able to view API v2.0 in the "Rest explorer live" in the console? Also, why does I get an unauthorized error when I use v2 with basic_auth when v3 works fine with the same authentication?
How to list Prism Central servers that belongs only to certain project. For example list only those Vm's that belongs to project "default". "Powerstate" expression name is "powerstate" but what is corresponding name of "project" which I should use to call "project" name? This script is showing vmname and powerstate (runned against Prism Central): Get-NTNXVM | Select @{Expression={$_.vmname};Label=”VMName”},@{Expression={$_.powerstate};Label=”PowerState”}
After having the CVMs down for some cluster maintenance \ VLAN ID changes, everything is back up but after running an NCC check the first check, CVM reboot check, failed. Is this something to be concerned about? What is actually being checked with this?
Hi guys, I can't seem to perform an inventory on LCM any more. It fails on the check: Check 'test_upgrade_in_progress' failed with 'Failure reason: Another Upgrade operation is in progress. Please wait for that operation to complete before starting an LCM operation.' However after running progress_monitor_cli --fetchall This does not show anything in progress. host list - All 3 hosts show: false (life_cycle_management) - Which is as expected. ~/data/logs$ upgrade_status 2019-09-04 14:47:32 INFO zookeeper_session.py:131 upgrade_status is attempting to connect to Zookeeper 2019-09-04 14:47:32 INFO upgrade_status:38 Target release version: el7.3-release-euphrates-5.10.6-stable-294f5f671ba8982a0199e18b756e8ef3a453af9a 2019-09-04 14:47:32 INFO upgrade_status:43 Cluster upgrade method is set to: automatic rolling upgrade 2019-09-04 14:47:32 INFO upgrade_status:96 SVM 10.x.x.x is up to date 2019-09-04 14:47:32 INFO upgrade_status:96 SVM 10.x.x.x is up to date 2019-09-04 14:47:32 INFO
Dear Friends, I am trying to find out VMs to Storage Container relations using Nutanix REST APIs but not able to get. I have tried both V2.0 and V3 APIs. In 'vms/list' v3 API, we do get "disk_list" for each VM but I do not see these vDisks in 'vdisk' or virtual_disks APIs (v2). Also there is no reference to Storage_Containers in 'vms/list' output so it is difficult for me to find the correlation. Please help.
Using PowerShell and AOS 5.11 and same version cmdlets... I have an AHV VM in the object $VM that I retrieved from Prism Central. I'm trying to retrieve the NIC information but I keep getting an error: PS E:\Scripts> get-ntnxvmnic -vmid $vm.uuid -IncludeAddressAssignments Error occurred while getting NIC list of VM get-ntnxvmnic : The remote server returned an error: (500) Internal Server Error. At line:1 char:1 + get-ntnxvmnic -vmid $vm.uuid -IncludeAddressAssignments + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (Nutanix.Prism.Common.NutanixCluster:NutanixCluster) [Get-NTNXVMNIC], WebException + FullyQualifiedErrorId : {"message":"Error occurred while getting NIC list of VM"},Nutanix.Prism.PS.Cmds.Acropolis.GetVMNIC I get a similar error if I specify the UUID (this VM only has 1 NIC): PS E:\Scripts> get-ntnxvmnic -vmid $vm.uuid -nicid $vm.virtualNicUuids -IncludeAddressAssignments For input string: "Sy" get-ntnxvmnic :
I'm exploring the API and noticed that for listing operations (specifically the /vms/list operation) supports providing sorting parameters. I can't find any information on the proper values for the sort_attribute key in the request. Has anyone used this and can shed some light for me? Thanks
Hi Guys I am trying move a VM from my ESXi Environment to my AHV ENvironment using Nutanix Move. I am able to add the source, but it doesnt pick up any VMs and when i run a refresh i get the following error: Failed to get inventory for source(ESXi Name). Please assist
Hi, I am just wondering if you could answer whether Hyper-V clusters should have a quorum disk for the failover-cluster. I cannot find anything with a definitive answer on this - the documentation does not mention it in any way. If it is required or suggested, what is the best way to implement this? Many thanks
Hi all, We are attempting to update our AOS offline (all of our clusters do not have internet access) and we have tried uploading via IE, FF and Chrome to no avail. IE "uploads forever" and Chrome and Firefox say "Server Error" everytime. We are way past due for an AOS update (5.1.0.3) and we are trying to get this done! I have a few other side questions as well -- Is the AOS upgrade process non-disruptive? I saw the KB about updating the AOS and it says the CVMs will reboot, but other than that it should be seamless, correct? We need to update our hypervisor (ESXi 5.5 Patch 10) and need some input there as well if possible here, since we are on a Nutanix node config and posting here seems like the right place. If not, please let me know! We are running a NX-1065-G4 ESXi 5.5 Patch 10 vCenter 6.0 AOS 5.1.0.3 NCC 3.1.3 Foundation 3.7.2 BIOS 2141203 BMC 01.92 LCM 1.0.e1416e5 HBA MPTFW-10.00.07.00-IT Any input on the order of operations
Using PowerShell and AOS 5.11 connecting to Prism Central of mixed hypervisor environment (VMware and AHV), is there a quick way to return just the AHV VM's? I see there are some search string, filter criteria, etc.. options for Get-NTNXVM Right now, there are 1600 VMs and the ones I am looking for are AHV. I can retrieve the whole list from Prism Central but I wondered if I could have it only send a filtered list. $VMList = Get-NTNXVM | Where { $_.acropolisVm -eq "True" } but that reads all 1600 VMs from Prism Central... Thanks!
Good day I have a requirement to POC CloudFoundry platform(cf push). I have tried project-eirini running on Karbon k8s cluster, it works, kind of, BUT it is still on alpha . So it can't use it on Production. I researched a bit further to see if PCF(Pivotal CloudFoundy) can be installed on Nutanix and found there is no support for vanilla PCF on Nutanix. And the journey led me to this > https://github.com/nutanix/Cloud-Foundry-CPI-for-Nutanix-AHV Creating a CPI for CF on Nutanix. I need to know if this is worthy before I can invest time implementing. Has anyone implemented it? Is it production ready? (seeing it is part of nutanix GH repo) Thanks in advanced
Starting now, the Nutanix Developer Portal will have something new. In addition to our blog, API reference and code samples, we’re going to publish an ever-expanding collection of hands-on labs. Aimed at providing ground-up, hands-on experience with building Nutanix-related developer scripts and apps, they will cover the most popular requests from our valuable developer community. Get started with the labs 👉 Labs
The code samples provided here are intended as standalone examples. They can be downloaded, copied and/or modified in any way you see fit. Please be aware that all code samples provided here are unofficial in nature, are provided as examples only, are unsupported and will need to be heavily modified before they can be used in a production environment. Most code samples can be directly accessed from the NutanixDev GitHub code samples repo. Larger samples will be published via dedicated repos when required. Get started with the code samples 👉 Code Samples
The API references shown here are the official documentation for the Nutanix REST APIs. Please use these in conjunction with the code samples, blog posts and lab guides linked here. In addition to the API reference, the NutanixDev GitHub code samples repo provides working code that implements the practices shown in the documentation. You are welcome to use these code samples in any way you see fit, although they will need modification before being used in a production environment. Get started with our product APIs 👉 Product APIs
I have lots of Protection Domains. I need to keep their schedules straight, prevent overlap, and report the schedules to management. I am not the only admin, so I cannot track the configuration manually. Is there a powershell cmdlet that presents this information? I cannot find it. I want to know the schedule and the replication information(sites and how many to retain). I'm not using protection policies, just old school PD. Thanks, Bill Beavis
All, For info there is a lot of great information, scripts, worked code and examples in the official Nutanix GitHub. Check it out here : https://github.com/nutanix Regards to all Andy @andymlloyd
Hi All I have been asked by my dev team for Windows NLB to be enabled, I have had problems with this in a VMware environment, are there any gotchas, alternatives or tips to get this to work? Many thanks E.
Trying to migrate two Windows VMs with Move 3.2 from ESXi to AHV. in the VM Preparation section after adding the credentials "migration rediness" is Pending and the error message shows "2 VMs are not ready for migration." What would cause the VMs not to be ready for migration? the VMs have in production for several months.
Hi, I`m very new to Nutanix and have a question. Does anyone know if there is a way to list all current snapshots via a script? I`d like to find out if there are any lingering snapshots that should be removed. Thanks for any advice you might have.
Hi All I've rather large number of non-managed and managed networks to create on multiple clusters and really am not willing to be creating them manually. I've created PowerShell script to create non managed networks, that was pretty easy. However, I'm finding it a bit more challenging to create managed networks using PowerShell commandlets. I understand that the command should look something like New-NTNXNetwork -Name "vLAN_Name" -VlanId "vLAN_ID" -ipconfig "IpConfigDTO" I can not find any samples of IpConfigDTO format. I understand that IPv4 default gateway address and subnet in CIDR notation should be provided as values but I can't work it out how. Any assistance would be much appreciated. Cheers
Our CVMs are locked down tight, I have no intention of allowing any internet access to PE, all support actions must be done through a webex session where our admin grants control to the support tech. but I have PC set up for NAT so it can communicate outside our private network. my question is, will pulse work strictly through PC or does PE need to be set up for it? Everything i see documented is about PE talking to insights.nutanix.com.
Looking for a simple script to Power on a shutdown Nutanix VM. Perhaps there is already a thread on this but I couldn't locate it if so. Thanks!!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.