Streamline Your Infrastructure Management and IT Operations
Recently active
Hi, Is there any way to automate the addition of a VM to the Catalog (for PC Self-Service)? i.e. REST API/acli/ncli/anything? I couldn’t find it and want to confirm.
I want to create to vm’s using REST API by selecting one of Catalog Items.I can create vm via catalog items via Prism Central Dashboard.When i try to create vm via REST API, i can not find any reference to give Catalogs Items vm template there.How to give vm templates in vm creation using REST API?
I’m using AOS 5.15.4 and Prism Central pc.2021.1.0.1. Been trying to Update a VM’s categories using the v3 API PUT operation, but I keep getting the following error:{'api_version': '3.1', 'code': 409, 'message_list': [{'message': 'Edit conflict: please retry change. Entity CAS version mismatch.', 'reason': 'CONCURRENT_REQUESTS_NOT_ALLOWED'}], 'state': 'ERROR'}I’ve seen others get the same error as well, but without any resolution mentioned. Tried a few suggestions (use_categories_mapping = True, machine_type = “PC”, checked spec_version) depending on suggestions in forums/Support Portal, but nothing worked.Also, I’ve noticed (from release notes in various versions) that this error appears now and then with mentions of it being fixed. What is this error and why is it plaguing the v3 API? An update operation with PUT is very useful for automation and customization. Do the versions of PC and PE (mentioned above) that I’m running have this bug which is fixed in a later version of PE (AOS),
Hello!I have an LCM inventory task that seem to be stuck in my cluster. It is stuck at 5% since 2 days ago. Please, help me to solve this issue. The following command shows that there's not LCM process running:$ acli task.list include_completed=false | grep lcm
Hi, we are getting 100’s of copies of a simple PC report (a clone of one of the built in reports). It seems after time change on Sunday AM the reports w/ schedules seem to trigger an hour earlier than they should. So they then run over and over until the time actually triggers. For example:Daily Report scheduled for 7am, runs at 6am (over and over - 718 times last count) until 7am (it runs over a bit, eg. 7:05am which I assume is just it catching up w/ the que). I have deleted the reports, created brand new ones, setup new schedules, checked time on PC CVM (is correct). Tried to restart services/cluster stop/reboot, etc. Even tried updating PC to 2021.1.0.1 (which fixed a PDF reporting issue we had, but not this one). Anyone else having this issue?
Hi,I created a custom network(does not have internet access) in PC and assign it to an android vm but its fluctuating. It is not connecting to that network. (Also tried by creating diffrent subent, same issuse ).While this issue occurs only in Android Vm, Not in Linux,Windows VM.Linux and Windows VM were easily connected without any issue.See GIF for more clarification.
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.
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
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.