Simplify cloud operations and optimize costs with confidence.
Recently active
You can upgrade to newer versions of Calm without performing a VM upgrade. Upgrades to most minor releases and few major releases are done using the LCM method.LCM performs inventory and Calm/Epsilon upgrade operations fail using the default LCM URL. The workaround is to replace the LCM repository URL to http://download.nutanix.com/lcm/saas under the LCM > Settings.To upgrade Calm VM using the LCM method, do the following: Procedure Click Administration > LCM to open the LCM page. Click Perform Inventory.A confirmation window appears. Click Proceed.The Perform Inventory process can take several minutes depending on your cluster size. Once completed, you can view the available updates in the Software page. Select the check-box next to the Calm VM version that you want to upgrade. Then, click Update.Note that the Epsilon check-box also gets selected. Epsilon is the orchestration engine used by Calm. A confirmation window appears.Once the update process begins, it cannot be st
Firstly I am new to Nutanix and still have a lot (everything?) to learn on the subject. I have a single Nutanix cluster running AHV and a number of VMs in production, when the cluster was setup (by a contractor) a Prism Central trial was also setup. To be honest, with a single cluster I have not found any real need to Central so now the trial is up I was wanting to decommission it.The PC VM is also being reported as a ‘bully’ in the cluster so another reason to get rid. Obviously I could just switch it off, but I’m sure that there is more to it than that to safely and cleanly remove the PC instance. Considering my newbie status does anyone have any specific articles they know of, or even better some instructions I can follow to safely and cleanly remove PC from the environment please?
I am upading VM through restAPI, VM is getting updated but after showing warning on VM grid as below. Request: Method: Put{ "spec": { "name": "Mahesh-Win7-Flow-0002", "resources": { "power_state": "ON", "hardware_clock_timezone": "Asia/Calcutta" } }, "metadata": { "kind": "vm", "categories_mapping": { "Environment": [ "Production", "Testing" ], "Team": [ "Dev-Junior" ], "Department": [ "Dev" ] }, "categories": { "Environment": "Production", "Team": "Dev-Junior", "Department": "Dev" }, "use_categories_mapping": true, "entity_version": "", "spec_version": 20, "spec_hash": "" }}Response : "status": { "name": "Mahesh-Win7-Flow-0002", "state": "ERROR", "execution_context": { "task_uuid": [ "7c606
Since updating to Calm 3.3.1 ssh keys for user auth that worked with my blueprints in Calm 3.2.6 are being rejected with an error message that the key is not encrypted. The keys were created with Windows 10 openssh and worked just fine until the update. Can anyone tell me how to create ssh keys that Calm 3.3.1 will accept?
Hi all!In an attempt to solve a problem with “round-tripping” JSON I’ve concluded that the only fix is to use PowerShell 7 since the ConvertTo-Json cmdlet in version 7 allows me to escape the troublesome characters.This solution might just be me robbing Peter to pay Paul though as I now face the issue of getting Calm to use PowerShell 7 instead of the default 5.1 (a.k.a. Windows PowerShell).I’ve gone so far to set the default PowerShell remote endpoint (windows.powershell) to point to PSH 7, which works if I do a traditional Enter-PSSession but not if I execute a PowerShell script in a Calm runbook.Which leads up to the title of this topic, how does Calm execute PowerShell on an endpoint?Since it’s using port 5985 it should be WinRM/WSMAN/remote PowerShell, but it completely ignores the fact that the default PSH remote endpoint is pointing to PSH 7.Is it using another endpoint? Or is it not using WinRM after all?
Hi all!This might not be a Nutanix Calm specific problem, but since I’m experiencing the problem within Calm I’m posting a question here (as well). :)I'm grabbing a VM definition using GET https://${PCHostAddress}:9440/api/nutanix/v3/vms/$VMUUID. I convert the payload to an object using ConvertFrom-Json, manipulate it using .Remove() to remove the Status section (among other things), and convert it back to JSON with ConvertTo-Json.When I send the modified payload back using PUT https://${PCHostAddress}:9440/api/nutanix/v3/vms/$VMUUID, I get a "(400) Bad Request." Thinking I screwed something up when modifying the payload, I removed the part of the code that changes the object but still got the same error, even though I'm "just" converting the unmodified payload from and to JSON.Sending back the payload without converting from and to JSON results in a "(422) UNPROCESSABLE ENTITY”, as it should.In this case the -Depth parameter isn't the culprit as far as I can tell (I've added -Depth 10
Has any one upgraded Prism Central to 2021.9.0.3 yet? If so how did it go? Any problems or gotchas thus far?
Hi!I need help wrapping my head around how the while loop in Calm works. The documentation is unfortunately not helpful at all. :/The first thing I can’t understand is why a while loop has a fixed number of iterations. This to me is a for loop. A while loop runs while a condition isn’t met.The second thing that’s confusing is the exit condition that I can set to Success, Failure, or Don’t Care. I guess that Don’t Care turns the while loop into an actual for loop?The Success or Failure condition is as far as I can tell completely out of my hands as this is based on the result of the execution of the task(s) within the loop and not a parameter I control. Do I have to fail a task on purpose to keep the loop going if I choose Success as my exit condition?What happens if I have multiple tasks in the loop, do all tasks need to fail or succeed for the exit condition to trigger?Is it possible at all to set a parameter in one of my scripts and then use that as an exit condition?Thanks.
Hi,Recently we updated our 2 clusters to latest firmware and software, as indicated by the LCM inventory check. All running well and up-to-dated. But after a feel day we realize some issues:The data protection was not working, all VM loses they category In one cluster try to start a lot of tasks for removing stretch for the entities VMs, and always fail and starts again. The web console became very slowly. All NGTs present as need to upgrade or not installed, when we tried to re-install the issue was could not mount the NGT. In some ones we could goes in the OS, eject the unity and re-install it, but others no. Some VMs starts to present issues like freeze, and when we tried to restart (either by the OS or the web console command) they crash.Because of this we tried to shutdown entirely one cluster, that no have any VM, when we do this the CVM and PE VM start normally, but the PC VM no. When we try to start it by the PE web console the result was that there is no enough resources avail
Hi!I want to use the Prism Central API to create and connect a vdsik to a VM. The only examples and topics I’ve seen for creating and attaching vdisks uses the Prism Element API, i.e. using a specific CVM as the endpoint.I don’t want to use a specific CVM as this is to be an orchestrated task triggered by our ITSM system. We can’t rely on a specific CVM to be available and would much rather use Prism Central.However, I can’t find any API calls that seem to be able to create and attach a vdisk. Maybe the PUT /vms/{uuid} call is capable of this but I can’t see any mention of this in the documentation.Is there a way to do this with Prism Central?
This was answered 3 years ago and it was being “looked into” was anything created to be able to export Configuration from Prism Central? Where it was answered 3 years ago:https://next.nutanix.com/prism-infrastructure-management-26/export-import-backup-prism-central-element-configuration-17740 Thank you
In Prism Central, only the "VMs Disk Usage" field is output as "No data available". Is there a solution or issue? Version pc.2021.9.0.2Version 5.15.7 LTS
Hi.I’ve verified with this post and this post that I’m sending the parameters correctly and that the variables in my runbook are set to Runtime. I’m also doing a POST call but I still get an internal server error with the message "'NoneType' object has no attribute 'get'".Here’s the body of my call:{ "spec": { "args": [ { "name": "email", "value": "mema@tlke.se" }, { "name": "displayName", "value": "Mom MEmem" }, { "name": "userName", "value": "momemom" }, { "name": "accountName", "value": "MAM, MSM 1" }, { "name": "ticketID", "value": "794" } ] } } } }The runbook has multiple tasks, does that change how I send arguments to it?Thanks.
Hi Guys,I’m trying to enable client authentication through certificate on Prism Element (CE Edition), in order to establish a 2 ways authentication (Client -> Server and Server -> Client). I followed the documentation related to this configuration. https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Security-Guide-v6_0:mul-security-authentication-client-pc-t.htmlLet me sum up my current configuration:Prism element WebUI has a certificate delivered by a local CA. Under the menu Authentication > Client , I’ve enabled “Client Chain Certificate” and “Enable Client Authentication”. The chain contains ( root CA + client certificate ). The client certificate, is a “Client Certificate” that support authentication, the common name is set and subjAltName also ( CN = UPN = client@domain.local ) When I try to query the api, I get this error message:{"message":"An Authentication object was not found in the SecurityContext"}It seems that Prism doesn’t see the client certi
Hi,Anyone using flow microsegmentation?The security policy does not display the traffic after the setup.Created categories Assign vmTag policy Place under monitoring No results on the isolation traffic shown.
Hi,I changed the hostname of my AHV hosts… In PE, it is all well displayed… However, in Prism Central on the properties of the VM, the old name is still displayed. How to correct this? Regards,Bart
Is there Calm plug-in available for JIRA Service Desk like it is available for ServiceDesk. Need this to automate ITSM/ITOM processes in Nutanix infra. Use case - automating windows patch management workflow from JIRA Service Desk by integrating it with Calm and patching tool (ManageEngine’s Patch Manager+)
It seems that when updating AOS Nutanix is creating backups of /home/apache/www/ called PrismUI.tar.gz . Those are then stored in /home/apache/www/console/ . It further seems they tried (but failed) to exclude this console directory. (Don't have the exact tar command line any more but I guess Nutanix can find it) This means that later backups include all previous ones, recursively. I.e. backup #1 is OK. But backup #2 will include #1. Backup #3 will even include #1 and #2 (including another copy of #1). And so on. Which means the file size of subsequent backups grows FAST. For one Cluster the file grew from the usual ~125 MB to over 3GB. This in turn leads to the backup being rejected and recreated constantly. Probably bad for the SSDs.This happened on all Versions I was able to check: ESXi: 5.20.1.1, 5.20.2 AHV: 5.18.1.2 5.19.0.5 6.0.1 6.0.1.6 6.0.1.7 6.0.2Here the most egregious example:$ sudo find / /home/ -xdev -iname PrismUI.tar.gz | xargs -d'\n' ls -lah-rwxr-x---. 1 nutanix apache
In my PrismCentral, I am trying to label my VMs so that I can filter on them. When I try to label the VM, it doesn’t work. I can create the Labels and I can tag the VM with it but it’s as if the label is not applied to the VM. Is there a nCLI command that I can use to assign an existing label to a VM?
I have an error trying to launch the console from a Linux VM. This VM migrated from a Hyper-V cluster to an AHV cluster through Move. I have correctly configured DNS. The VM is on, I can access via SSH.Could you tell me what else I can verify before opening a case for this issue.PS: I can launch the console of a VM created in the AHV cluster.
I have the same question as in topic (https://next.nutanix.com/calm-application-management-55/passing-variables-to-calm-runbooks-39356)I have created a runbook, configured a variable under the “Configuration” section of the runbook.I can launch the runbook via API, but it does not pass the value.I tried passing the below sample as the body of the request.What am I missing ? { "spec": { "args": [ { "name": "VariableName", "value": "value" } ] }}
In Prism Central, the resource usage of VMs in the cluster is displayed, but the disk usage is not. I think is that the disk usage may be display after a few moment of time has passed. Is it normal if the resource utilization of all VMs should be displayed immediately? Or how long does it take to display?For example, is there a document saying "In Prism Central, the CPU and MEM usage of the VM are output immediately, but in the case of disk usage, it takes some time to be output"? In the current Prism Element, the resource usage of VMs is immediately reflected. All resource usage rates such as CUP, MEM, and DISK are output.However, in Prism Central, just disk usage rate cannot be display.
Hi all.I’ve been searching all over the Internet, and the Nutanix documentation, to figure out how to pass variables from one task in a runbook to the next. I know that I need to print it to the console in the format “statusMessage = ‘This is the status message’” but so far I’ve tried with Write-Host, Write-Output, and Write without any luck.I’ve also tried using both @@{statusMessage}@@ and @@{Task1.statusMessage}@@ in the next step without any difference.How am I supposed to do this, and why isn’t it properly documented?Thanks.
I have started trying to use powershell 7 to perform queries against Prism Central.I have been able to install powershell 7 as well as install the nutanix.cli moduleI am able to establish a connection to a prism central instance.Server : server.domain.netVersion : pc.2020.9.0.1UserName : account@domainAcceptInvalidSSLCerts : TrueForcedConnection : False However when I try some basic commands such as get-cluster and get-vm I get the error“Get-Cluster: Object reference not set to an instance of an object.” If someone has an example of a script that works in there environment they can share I can see if I am doing something wrong.
How to analyze the ram and cpu occupation of a virtual machine on NUTANIX over a period.
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.