Provisioning and Orchestration Across Multicloud
Most views
I know in Calm you can create variables in the service, and then use those variables throughout the config using @@{service.variable}@@. However, it doesn't seem like you can use those in cloud-init scripts. I'd like to be able to pass a variable that the user sets at the time of deployment (the IP address), which would then be used in the cloud-init script. I've tried something like this, to no avail: code:#cloud-confighostname: HAProxy1fqdn: HAProxy1.domain.comssh_pwauth: yeswrite_files: - path: /etc/sysconfig/network-scripts/ifcfg-eth0 content: | DEVICE=eth0 BOOTPROTO="none" IPADDR="@@{HAProxy1.IP_Address}@@" PREFIX="24" GATEWAY="172.25.51.254" DOMAIN="VIPCUSTOMERS.COM VTINFO.COM" DEFROUTE="yes" ONBOOT="yes" DNS1="172.25.51.10" DNS2="172.25.51.2" IPV4_FAILURE_FATAL="yes" IPV6INIT="no"runcmd: - [ifdown, eth0] - [ifup, eth0] Where HAProxy1.IP_Address is a user defined variable. Any thoughts on how I might a
Hi, I was successful on setting up prism central on the community edition all working good. Further i extended the cluster capability by enabling Calm. I am able to access the calm UI and see all the functions available. As a next step i tried to deploy hycu blueprint from market place also tried to deploy one VM from my on disk image. Both get failed with below error. Please help. HTTPConnectionPool(host='172.16.xx.xx', port=4120): Max retries exceeded with url: /api/1/entities/get_by_name?name=Application-hycu--74b677a5-5cd9-4c49-9cb4-196e2d5e3be4 (Caused by ProtocolError('Connection aborted.', BadStatusLine("''",))) Regards, Aravind
Is there any API to get VM UUID given VM name or any work around to get that? Is it possible to delete a VM given only VM name with API? Thanks in advance. Regards, Pawan
Overview Integrating Nutanix Calm and Ansible is straightforward. This series walk you through the different steps to get your integration ready. Part 1 focuses on Inventory Management, how your new servers and applications get registered in Ansible for day 1 provisioning and day 2 operations management. Code The blueprint and code used in this part can be found here. Requirement Ansible Tower or Ansible AWX Enjoy the video and let us know if you have any question!
Hello, I'm curious if anyone else has had issue getting Windows authentication with WS-man setup within CALM for the Login Check and remote execution of scripts. I have followed the docs and redone the setup a few times for validation, but the login check still fails with a vague error that just says to check out WINRM troubleshooting help. What's odd is that after I provision the Windows image, I can manually invoke commands for remote execution and login with the following command against the newly provisioned IP: PS C:\Users\Administrator> Invoke-Command -ComputerName 10.32.4.246 -ScriptBlock { $PSVersionTable.PSversion } -Credential administrator@domain.com My Karan service is installed and configured with a domain administrator, all PS commands in the document have been run as "administrator" on the Karan server and the target base Windows image as required. CredSSP has been run on the Karan server to allow all hosts as Trusted Hosts and the command to enable Cre
Hi everyone! i created a blueprint of a centOS machine that installs docker, things were fine and it worked. now i published the blueprint in the marketplace and used it to create an application, it doesn't work anymore and it gives me the following error: Nutanix calm script execution has failed with error authentication by password failed. please refer kb-6098 for possible failure reasons. Notes : _ the blueprint sets the parameter PasswordAuthentication to yes in the /etc/ssh/sshd_config file using cloud init, this works fine. My question is : why i get this error and why the blueprint doesn't work as before after publishing it in the marketplace. Thank you in advance.
I deployed a Nutanix Cluster (AOS version 5.8) with ESXi 6.5. And I deployed a Prism Central 5.8 on it. There're some articles on internet, saying App Management supports ESXi, starting from PrismCentral version 5.7. Is it true? In my case, I can't find Self Service & Apps from the pull-down list, when I click question mark icon in the main menu on PrismCentral 5.8. I did see "PC Scale out", "Enable app management" and "Microsegmentation", but not "Self Service & Apps". When I click "Enable app management", I see the following error. Precheck failures: Host Cluster Registered Please check that the cluster on which this Prism Central is hosted is registered to it. I had already registered my Nutanix cluster into this PrismCentral. It looks to me that App management or self service doesn't support ESXi, correct? Or is there anything I missed?
Hi I have a calm blue print which the user can use to create an app which does some processing depending on the value of variables specified by the user and stores the result in persistent storage. But then the user has to remeber to delete the application. Is there any way to get the blue print to delete the application affter it has done the processing? I can shutdown the VM by having the service start call service stop with a task to execute "shutdown -h +1" but that still leaves the app
Using CALM, it seems the best way to deploy VMs is from a VM image that you add to the Image Configuration store. However, when using Prism Central, it doesn't seem this is possible with ACLI to create an image from an AHV VM. How are people taking an AHV VM in PC inventory and making an image out of it so that you can add it to the image configuration repository? Thanks!
Hi When a blueprint creates an appliction the values of the variables are displayed on the overview page of the application. However if the variables contain calm macros, for example @ @{address}@@ then that text is display and not the value of the macro. I have a blueprint which creates a web service that the user who runs the blueprint needs to connect to using their web browser. My idea was to have the URL in a variable so it would appear in the overview page and the user could just copy and paste it into their browser. It would be even better if the blueprint could open the web page for the user.
Hi All, New here so I’m not sure this is the right place. Is there playbook or way to automate disk expansion? Can it expand the disk then trigger powershell to expand in the vm? Thank you, Doug
Hi, I have a Blueprint with two VM (Names: APACHE and MYSQL) and would like to put on both servers an entry into /etc/hosts as "ip - hostname" I put on every package the following commands: echo "@@{APACHE.address}@@ @@{APACHE.name}@@ @@{APACHE.name}@@.localdomain" >> /etc/hosts echo "@@{MYSQL.address}@@ @@{MYSQL.name}@@ @@{MYSQL.name}@@.localdomain" >> /etc/hosts But I get the following errors: Application Profile Default > Action Create Found cycles in tasks Application Profile Default > Action Delete Found cycles in tasks Application Profile Default > Action Soft Delete Found cycles in tasks Deployment 6b297d3c_deployment > Action Create Found cycles in tasks Deployment 6b297d3c_deployment > Action Delete Found cycles in tasks Deployment 6b297d3c_deployment > Action Soft Delete Found cycles in tasks How can I assign variables between servers? thanks!
Hi all, I am working on a DevOps platform for a client and considering recommending Calm to automate the provision of TeamCity builds if the build queue meets a condition (i.e. if 15 builds in queue then spin up 5 build agents and add them to the pool). Has anyone done this with Calm ?
Hi All, I am in the progress of launching a blueprint via CALM. However encountered the IP not found error. How do we add the IP address to the Blueprint VM Configuration? Have filled up all possible network related fields: Network adapters (NICS) : NIC 1 - VLAN0 Connection: Address - NIC 1 From the logs: Waiting for 60 seconds to finish the guest customization Reapplying micro segmentation categories Waiting for VM a2b28676-fa5d-4ab3-a1bb-04cdc9351727 to get an IP ERROR: Failed to get an IP for the VM a2b28676-fa5d-4ab3-a1bb-04cdc9351727 It seems that it is stuck in the Guest customization issue. Should I be adding an ip address in the script? Thank you!
I am looking at a way to programmaticly add a Directory User to a Project, as part of a blueprint. Blueprint has a macro for the user identity in question. I just need to be able to set that user as a Project User, and ultimately VM Owner. I have the VM Owner, but they need to be a prior Project User, and adding domain users, to project users, sounds like a bad idea.
Hi Everyone, The application blueprint in calm I can select a VM templates from image service but when I going to make deploy I can't choose container target and My VMs are create in image container. 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.
Hi Everyone, Using CALM, I start a VM but can install an Apache (yum install httpd) via script. I see the error: "script execution has failed with error Domain name not found" My template is a CentOS without a domain. What's the exactly error?
Hi! I have a problem. When I try to create, delete or do a other action I always get the SYS_FAILURE but the Tasks goes through and work perfectly. After that I try to delete the action that was created but there I get again the SYS_FAILURE I work with VMware. There I cant find an error the VMs are created and deleted when I do the specific Action, so it has to be a Calm configuration error. Has anyone experienced this in some way? Thanks for your response!
We're new to using Calm for automation/orchestration and I'm looking to get additional information/guidance on how we can leverage the Nutanix REST APIs during our virtual workload PreCreate/PostDelete tasks. I under how to work with the HTTP Task itself, but I'm not quite sure how to chain them together in such a way that it would work. They function as I would want individually, via the Test functionality for each HTTP Task.The first three cases we're trying to get to work to get our feet wet include: During Package Install, leverage Prism Central REST APIv3 vms to GET the complete spec of the newly created VM; modify that Response to update the Description; and set (PUT) the updated Spec with the modified Description as desired. During Package Install, graceful shutdown of the new virtual workload and removal of the second CD-ROM drive that is added (ide.3) to hold the 'unattend.xml' file. During Package Install, leverage Prism Element REST APIv2 protection_domains/{nam
Nutanix Technology Champion (NTC) David Brett wrote a great blog on building your first Nutanix blueprint. It's super detailed and I thought I would share in hopes that it would inspire you to try it out. Nutanix Calm – Creating Your First Citrix Blueprint You can download Nutanix Community Edition and install Prism Central to try out Calm. Have you used Calm? Have any blueprints to share? Share your story in this forum.
I need to define a NIC for my windows substrate as a variable.current workflow:User selects subnet string from predefined variable >Pre-Create Parses and sets the subnet variable to the json from previous step. The NIC can be connected toone of n(x) subnets that are defined in the following escript:subnet1 = { "name": "name", "uuid": "redacted_uuid" }subnet2 = { "name": "name", "uuid": "redacted_uuid" }subnet3 = { "name": "name", "uuid": "redacted_uuid" }subnets = { "Preprod": subnet1, "Preprod": subnet2, "Prod-IaaS": subnet3 }print("{}".format(json.dumps(subnets.get("@@{appSubnet}@@"))))Output: @@{setSubnet}@@Profile Configuration: This is where it breaks:
Overview Integrating Nutanix Calm and Ansible is straightforward. This series walk you through the different steps to get your integration ready. Part 2 focuses on Launching a Job Template (a.k.a. Ansible playbook), how your new servers and applications get the software installed. Code The blueprint and code used in this part can be found here. Requirement Ansible Tower or Ansible AWX Blog series Part 1: Inventory Management Enjoy the video and let us know if you have any question!
Nutanix Calm allows you to deploy and manage applications on Public and Private clouds with the click of a button. In this video, Michael Haigh walks you through adding VMware vCenter as a cloud provider to be utilized with Calm.
Nutanix recently announced the release of Nutanix Calm, an application orchestration and lifecycle management product in the Nutanix Enterprise Cloud platform. In this demo, we show you how a custom application blueprint created in vRealize Automation (vRA) can be reproduced on Nutanix Calm. Here, the original application was provisioned on vSphere through the vRealize portal, and we demonstrate the same application provisioned on AHV through Prism Central. In addition, external integrations that were custom developed in vRealize Orchestrator (vRO) to automate customer specific processes can be leveraged as-is within the Calm blueprints. In this demo we demonstrate leveraging existing vRO integrations in: IPAM integration with InfoBlox, loadbalancer deployment and management with F5, Chef cookbooks to deploy NGINX and MongoDB, and ServiceNow ticketing integration. We also demonstrate additional lifecycle operations that can be easily implemented for the application, to help
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.