Provisioning and Orchestration Across Multicloud
Recently active
Is there any kind of integration between Calm and VMware NSX-T? I would like to understand if there is the possibility to “completely automate” deployment of VMs (integration with vsphere) and network services.
Hi all!I’m writing a runbook with tasks that needs to use different endpoints from different Nutanix Projects. This seems to be impossible, so I want to check in with the community to see if I’m doing something wrong. :)I can create an endpoint without “assigning” it to a specific project, but this doesn’t matter since I have to define a project when creating a runbook. This means that I can only use endpoints that are assigned to the project the runbook is using.An endpoint can only be assigned to one project so assigning an endpoint to multiple projects is not an option.One possible (as well as very clunky and cumbersome) workaround would be to create identical endpoints for every project that needs access to it, but all endpoints must be uniquely named which makes this even more of a nightmare.Is what I want to do at all possible?Thanks.
Hi.There is no example of a schema for the Launch marketplace item API call due to the schema being too large.Can someone please provide me with either a schema that I can use “as-is” for launching a blueprint via the marketplace or an example schema that I can base my call on?Thanks!
Hi all,I have noticed 8 of categories are needed for creating a vm. "api_version": "3.1.0", "metadata": { "categories": { "CalmApplication": "test_single_vm_6", "CalmClusterUuid": "593a823c-975f-455d-9b37-9aa61181accb", "CalmDeployment": "42615561_deployment", "CalmPackage": "Package1", "CalmProject": "my-calm", "CalmService": "Service1", "CalmUser": "admin", "OSType": "Linux", "Project": "default" }, "kind": "vm", "name": "vm-0-220421-054929" }I have some errors when lunching a blueprint. ERROR: Category key creation failed at the AHV due to the following reasons: ERROR: Category key creation failed at the AHV due to the following reasons: ERROR: Category key creation failed at the AHV due to the following reasons: ERROR: Category key creation failed at the AHV due to the following reasons: ERROR: Category key creation failed at the AHV due to the fol
Use LCM to display the software and firmware versions of the entities in the cluster.ProcedureIn Prism Central, click the gearbox icon to open the Settings page and select Life Cycle Management in the sidebar. Prism Central opens the Life Cycle Manager page. Click to enlarge Click Options > Perform Inventory. If you do not have auto-update enabled, and a new version of the LCM framework is available, LCM shows a warning message: Click to enlarge Click OK. The LCM displays all discovered entities. To view the current Calm and Epsilon versions, click View All. Click to enlarge The entity shows the current version, as well as the date and time of the most recent update. Click All Updates to return to the Life Cycle Manager page. Upgrading Calm with the Life Cycle Manager Use LCM to upgrade Calm and Epsilon to the latest available versions. LCM allows you to upgrade Calm or Epsilon independently or simultaneously. Configure rules in your external firewall to allow LCM updates. F
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
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
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.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.
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+)
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" } ] }}
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 am looking to build a blueprint where I would like to include some optional services. How can I disable a service based on a variable.
https://next.nutanix.com/calm-application-management-55/os-patching-automation-with-calm-39677With reference to my previous thread, I have below doubts pertaining to achieving automation of Windows hosts patching over Nutanix AHV infra.Process would be like - Take a snapshot of the server, deploy the updates, test the server services are functioning as expected, if not restore the snapshot.Can it be achieved without using Calm? I mean by only using Ansible/Chef along with WSUS? What will be overall workflow for this? Any other 3rd party tools I will need to use for the same?I am looking for open source and cost effective approach here.Any Help/Direction will be highly appreciated.
Hi!I have a script in a runbook that dynamically executes a background job using another script, also placed on disk, but there is no output from that background job even if I explicitly ask for the result with Receive-Job.Here’s the code I run to execute the external script as a background job and then get the results:$job = Start-Job -FilePath $pathToScriptReceive-Job $jobThe runbook executes without problems but there is no output. If I use the following method to invoke the external script I get the expected output from the runbook:& $pathToScriptI would like to use background jobs though as there are benefits to that I’d like to use. Can I use background jobs with Calm and if so, how?Thanks.
Folks,I have below queries with respect to Calm functionalities,Can Ansible be completely replaced with Calm in Nutanix automation area? If not, what kind of Ansible tasks can Calm handle? And if I have to differentiate between both, what would be pointers? What other competitive (opensource) products are there in market which gives similar functionalities as Calm?Please help to understand.
I want to use the replica number in the hostname. Is this possible ? I can’t seem to find the variable to use.
Hi Experts,https://next.nutanix.com/calm-application-automation-55/automating-soc-processes-with-calm-39678Continuing from above thread as it is in closed state now.I would like to know if same can be achieved with below firewall/security components are deployed at customer premises with Nutanix infra.Sophos UTM SG450 - Version 9.707-2Sophos UTM Manager Version 5PALO ALTO 850 - Version 9.1.10 Looking for some direction and supportive to move ahead.
I have been trying to make work the blueprint in:https://next.nutanix.com/community-blog-154/self-service-in-the-era-of-dbaas-32849But everytime i get an error about the databaseparameterid. Does anyone have a new version of this blueprint or something i could use?
Showback allows you to configure and monitor the resources cost of your application blueprint. Perform the following procedure to enable showbackBefore we begin:Ensure that Showback is applicable for Nutanix and VMware through vCenter platformsProcedure: Log on to Prism Central as an administrator. From the Prism Central UI, click Services > Calm Click the Settings icon on the left pane. Under the General tab, click the Enable showback toggle button. The Enable Showback window is displayed. Click the supported provider for which you want to define the cost. Configure the cost of the following resources. vCPU: In the vCPU field, enter the cost of vCPU consumption for each hour in dollars. The default value is $0.01 for each vCPU for each hour. Memory: In the Memory field, enter the cost of memory consumption for each hour in dollars. The default value is $0.01 for each GB of usage for each hour. Storage : In the Storage field, enter the cost of storage consumpti
Hi all,I have a requirement to automate patching of Operating systems (Windows and Linux) For example - the process would be, Take a snapshot of the server, deploy the updates, test the server services are functioning as expected, if not restore the snapshot.Customer is using ManageEngine Desktop Central which is being used to deploy software and patch client computers.Is it possible to integrate Calm with ManageEngine Desktop Central to achive above automation ?If not what would be alternate way and its overall workflow ? I am looking for direction and some supportive.
Hi Experts,We have a requirement to automate SOC process as much as possible,For example - using ticketing system (JIRA), when a request is raised to block a large list of IP's or domains, the ticket should be implemented automatically with out human intervention.Need to understand,If it is possible to integrate CALM with JIRA workflow ? and how ? If it is possible to automate block/release process of IPs/Domains at security devices with the help of CALM? and how ? What other security related tasks we can achieve with the help of CALM here.Looking for some direction and supportive to move ahead.
How do I get the Hostname/IP of a service running in an application?I assume that by querying the api for the app object /apps/{uuid}, I would get the list of the services and therefore get the uuid of the vm. But I can seem to find the vm uuid.Any ideas ?
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.