Simplify cloud operations and optimize costs with confidence.
Recently active
Hi,We run an out of hours monitoring service here that automatically contacts an engineer when a specific email address receives an alert.The problem is, I don’t want to be alerted to every event - only Critical or events that affect the running of the cluster (e.g. Disk Failure, Node Failure, CVM failure) to the out of hours, but we do want normal alerts to come through to another email address.How would I go about customizing alerts to a) go to a specific address and b) only critical events are sent?The e-mail config for alerts seems to cover all events which is great for in-hours but not for on-call. Custom alerts don’t seem to cover the events above.
Hello,I would need help. I want to build a VM image via terraform. I always get an error message when deploying. I can not delete the created image.I get the following error message when deploying and when deleting:INTERNAL_ERROR: Attribute _app_blueprint_template not set, progress_message: Delete Image "TestImage".I can't set the attribute and need help. Anybody have an idea ?
I started a 1-click ESXi HyperVisor upgrade of a 7-node cluster which progressed well and had already successfully upgraded 4 of the nodes, when one of the hosts wasn’t able to enter maintenance mode because one of the VMs was spending too long consolidating a snapshot. After many hours had passed, the remaining 1-click update tasks all appeared to have aborted. I manually resolved the issue involving the guest, and then started the 1-click update again. It prompted for vCenter details, and then created new hypervisor update tasks to update the remainder of the ESXi hosts.These also completed successfully.All Hypervisor update Tasks appear to be completed, and all the ESXi hosts are updated.All NCC checks also pass OK. The cluster is healthy, the Health Icon is green, and Data Resiliencey is OK.Howerver, the CVMs all still believe there is a Hypervisor upgrade in progress:nutanix@NTNX:~$ ncli host ls | egrep 'upgrade|99825' Hypervisor Version : VMware ESXi 6.7.0 build-1749
Hello,I’m using prism_services_java.jar that I’ve extracted from the SDK. My issue is that there is no documentation for the Java API, and I don’t know how to use VMAdministration.getVMs() I guess the parameters match the REST API, but I need the documentation to make it work.Any help is appreciated, thanks.
I used Rest API V1 to get the VM information. There is information named stats in the acquired information. But I can't find a description of the items in stats. Does anyone know the website or any information that has this information?
One of our customer upgraded AOS before prism central. What would be the impact of upgrading prism central after AOS considering it’s not the proper upgrade scenario ?2X3 nodes cluster : AOS 5.15.4 LTS ESXI 6.7U3 build 17167734 Prism Central 5.16
HiI have a Ubuntu 20.04 LTS Installation on Nutanix AOS which serves as a template This Ubuntu Tempate installation is a basic Ubuntu installation (clicked through basic installation, cloud-init installed) Now i want users to be able to deploy a new VM as a clone from this Ubuntu template and passing via “Custom Script” option the cloud-init script in Prism GUIUnfortunatly this does not work - the “Custom Script” cloud-init instructions are not applied during creation of the clone.Do i possibly have to modify something inside the Ubuntu Template installation (ex. cloud-init datasource or similiar, /etc/cloud/cloud.cfg or whatever)?Doesnt matter where i look the existing documentation (cloud-init, nutanix, ubuntu) etc. seems to be rather incomplete.I had a working example in the past with Centos 7 deplyoment with Nutanix,cloud-init and deploying via Custom Script option in Prism element - but i cant get it running with UbuntuP.sI’m aware of this article https://portal.nutanix.com/page/d
Is there a way in Prism Central to pull the cpu sockets/core for each host? I have 87 hosts in 18 clusters. Many of these clusters are running ESXi and I can at least reference RVTools data to get this info however 6 of these clusters are AHV and I don’t know the NIACtool well enough to know if it can pull from multiple clusters at once. So I was hoping to get this inventory info centrally from Prism Central.
The REST API for creating vm clone is working fine but after vm cloned. It was in powered off state.Is there any way to set power on state via API 3 (in API 2 it was there, but its old and deprecated not work)ORAny other way to create VM or clone so that it will be in power on state after vm creation.
hi,After login to prism , i open API Reference and login with credentions.Then i go to VMs-->Clone Section to clone vm via API.I get the vm uuid via two method which on i think i get same uuid1)ssh to cvm and giving “acli vm.list”2)While console url, using uuid=”string”Both have same uuid. So i used to clone vm via api but i get error as “Given input is invalid. VM UUID cannot be specified, use idempotence identifiers to get the UUID”I also tried get existing and create new idempotence identifiers but on executing it in clone vm it gives error “uuid not existed”.Please suggest me ,i think uuid is correct but then what causing the error.Please help.
Can i change default port of Prism Web Console i.e 9440 to 443. Is there any documentation for it.So that my cluster public url looks Like : https://[clusterip or domain]/consoleIn most places port 9440 is blocked that’s why i want to change it.
Hello, I created a custom role in PC to allow users to manage and create VMs. However, I am unable to add users into the custom role and it seems that it cannot even find the user that I created when I’m at the new user section. I’ve seen in some video tutorials that it will suggest a user once you start typing in the name but in my case it kept saying No results.Just for added info, I am able to login to the new user that I created.
Hi,For my user, i want to create a web page where i can implement API Post data to clone a vm via clicking on a button .User just have to enter his credentials, vm uuid to be cloned is already decided by web developer inserted in web page already.Is there any way to implement API data in web page where on clicking html button ,post data will be sent to serverORIs there any Powersehll cmdlet script to create vm and launch console.?
Hello!Is here anyone who knows whether it’s possible to create a role which has only permission to access security entities? For example, is it possible to create a user which can only create/modify/delete rules for Flow?I didn’t find anything regarding this in standard permissions list when trying to create a new role. Maybe there is such possibility via API?Please advice.Thanks!
Hi.I’m setting up SNMP in Nutanix for inventory purposes and in the inventory tool I need to specify which level of AES to use; AES-128, AES-192 or AES-256.I’ve tried all of them and still can’t get any information out of the cluster.If I use a tool like Paesslers SNMP Tester I can connect, but I don’t know what version of AES that uses either.
A common networking configuration for servers is to have two network cables going up to redundant upstream switches. The default bond configuration for these two connections is Active-Standby. This means that only one upstream connection would be used at a time. However, utilizing the Link Aggregation Control Protocol (LACP) found on both the upstream network switch and AHV servers would allow for both upstream connections to be used concurrently.Previously, to change from the default bond configuration to LACP, the command line interface for each host was the only option. Now, this configuration change can be done directly from the Prism Interface starting in AOS 5.19.For more information about this, following the “Creating or Updating a Virtual Switch” section in the Support Portal.
Say you have 20+ PE clusters registered on PC and want to check the NCC versions installed on those clusters to keep a track as it can get really tedious to go to each PE cluster and check isn’t it. Not to worry there is an amazing feature on PC to save you from all this hassle i.e the amazing “REPORTS”. So using Reports on PC, we can create a Data Table to get the NCC versions of the registered PE clusters on PC and what not. Now this data table can be downloaded in CSV or PDF format or even be emailed to the concerned recipients.Reports on PC More information about Repots can be found hereThe Reports dashboard on PC allows you to create and run reports about the entities and metrics of your choice.I would strongly suggest you all to go and try out this amazing feature of Prism Central and see it yourself that how much of your time it can save, from making EXCEL sheets and maintaining data.Go to Operations → Reports and create a new Report:Create a new report and this page would pop u
Hey everyone, I’m new to scripting with APIs so forgive such a novice question. I’m trying to create a script for powering on specific VMs in my AHV cluster. But the Restful API explorer isn’t that helpful at explaining what I need to create my script and the only thing that has come close are powershell scripts. (https://next.nutanix.com/how-it-works-22/script-to-power-on-vm-33106) (The Question)How would I go about creating this? I already have the UUID’s of my VMs.
Hi all.I’m trying to get my Calm decision tasks to do what I want but I’m getting nowhere fast. :/How can I get a decision task to choose either ‘True’ or ‘False’ at the end of execution?Thanks!
On Prism Central, to access the details page for a VM, go to the VMs List tab and click the VM name. The VM name and the following set of tabs appear on the left: SummaryConsoleData ProtectionAlertsEventsMetricsNICsDisksSnapshotsCategories. Click the Summary tab to display the information on the right. The VM Efficiency Parameter displays the efficiency state for the selected VM. If the efficiency is not good, an additional field may appear that specifies the problem. For example, if the VM is constrained, a Constrained field appears that identifies the constrained resource such as the CPU or memory. The below values are seen for VM Efficiency: Bully Over ProvisionedConstrainedInactive VM GoodThere is an additional value that may show up in VM efficiency - NA.There are two cases where data might show up as NA : At least 21 days of metrics are not present for us to create a baselining. Hence we cannot determine the efficiency of the VM. We have exactly 21 days of data and the VM eff
Hello, all. We’ve had our Nutanix cluster up for all of a month, and I just noticed our Prism Central instance is no longer reporting any inefficient VMs in the cluster (whereas just a week or two ago it had started to accumulate a list of VMs it had decided were overprovisioned or bullies).And when I look at a particular VM, on the main properties page it shows “Efficiency - MeasurementDisabled.”Can anyone tell me why this might happen? Thank you.
Hello,How to set RBAC on K8S with Calm, I created a new cluster Kubernetes and I want to add rbac permission for some users with task ...is it possible? thanks a lotCecilia
Hello.IHAC trying to do an image upload to their Prism Central via this call:curl -k -u user:pass -T "utils/isos/Core-11.1.iso" -X PUT --header "Content-Type: application/octet-stream" --header "Accept: application/json" "https://pc-IP:9440/api/nutanix/v3/images/4ae2fa8d-264b-4191-a56f-0ccd49894b9b/file"But the call returns this error:{ "api_version": "3.1", "code": 500, "message_list": [ { "message": "Internal Server Error. Failed to stream image: Oops - Server error", "reason": "INTERNAL_ERROR" } ], "state": "ERROR"}Since the error message is not clear, we are not sure what is wrong with the call, and there’s also no much information in the API Explorer (https://www.nutanix.dev/reference/prism_element/v2/api/images/post-images-createimage/) Does anyone knows how to upload an image to PC via API V3.0? What does this error refer to?Customer is using PC pc2020.09.01 and also 5.17.1Is it possible to set the storage container? because everything goes to SelfStorage co
During a support case, an engineer might inquire about the version of one or more Nutanix products for which the case has been opened. If the version inquiry is done through email, you may need to find the version of a product without live assistance.While most versions can be found from the Prism or the product’s graphical UI, there are some product versions that can be found via the CLI if necessary. For example, Foundation and Calm versions can also be found using the CLI.KB 8926 provides a single resource for finding any version of a Nutanix Product. This KB can be found in the Support Portal.
When you see an alert about one of the NICs being down the first thought is “oh-oh!”. There is more than one NIC in the host and the traffic will switch over to the other interface or the bandwidth is now reduced (when LACP is enabled, for example). If the environment is not running at the brink of its capacity then a loss of one of the network interfaces should not cause an immediate impact. The issue is detected by NCC health check nic_link_down_check which runs every hour and generates the alert if any issues are found. In the majority of cases using networking troubleshooting logic is enough (make sure the interface is physically connected, devices on both ends are configured correctly and are functioning properly).In some cases, however, the alert may be a false positive. If an interface used to be connected or, in some instances, after cluster expansion on a new node. Eliminate the possibility of the alert being true first. Verify physical connectivity of the host to the switch.
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.