Calm: Projects

Overview

Note

Review What Is Calm before proceeding with the lab to familiarize yourself with the UI and common terminology used in Nutanix Calm.

Estimated time to complete: 15 MINUTES

In this exercise you will configure a Project to contain your Blueprints and Applications created throughout the Bootcamp.

Creating A Project

Projects are the logical construct that integrate Calm with Nutanix’s native Self-Service Portal (SSP) capabilities, allowing an administrator to assign both infrastructure resources and the roles/permissions of Active Directory users/groups to specific Blueprints and Applications. By using different projects assigned to different clusters and users, administrators can ensure that workloads are deployed the right way each time. For example, a developer can be a Project Admin for a dev/test project, so they have full control to deploy to their development clusters or to a cloud, while having Read Only access to production projects, allowing them access to logs but no ability to alter production workloads.

Configure users, cluster and network to use

  1. Within the Calm UI, Select proj-icon Projects from the sidebar.

    ../../_images/projects1.png
  2. Click + Create Project

  3. Fill out the following fields:

    • Project Name - initials-Calm

    • Description - initials-Calm

  4. Under Users, Groups, and Roles, click + User.

  5. Fill out the following fields and click Save:

    • Name - SSP Admins

    • Role - Project Admin

  6. Click + User, fill out the following fields and click Save:

    • Name - SSP Developers

    • Role - Developer

  7. Click + User, fill out the following fields and click Save:

    • Name - SSP Power Users

    • Role - Consumer

  8. Click + User, fill out the following fields and click Save:

    • Name - SSP Basic Users

    • Role - Operator

    ../../_images/projects_name_users.png

    Note

    Click here to view the complete matrix of default SSP roles and associated permissions.

  9. Under Infrastructure, click the blue Select Provider button, and then Nutanix.

  10. In the box that appears, click the white Select Clusters & Subnets button, and in the pop-up, select your AHV cluster. Once your cluster is selected, choose the Primary network, and if available, the Secondary network, and click Confirm.

    ../../_images/projects_cluster_subnet_selection.png
  11. Within the Selected Subnets table, select for the Primary network to make it the default virtual network for VMs in the Calm project.

    ../../_images/projects_infrastructure.png
  12. Click Save & Configure Environment.


Configure Environment

Now that we have set the users, their roles, which cluster and networks to use, we need to tell the project about the environment. In this part of the project we tell Calm the following per O/S.

  1. VM Name using Calm macros

  2. VM Resources (CPU, Cores per vCPU, Memory)

  3. Guest customization (CloudInit or Sysprep)

  4. Disks configuration

  5. Boot configuration

  6. vGPU use

  7. Network adapters

  8. Need of a serial port

  9. Connection configuration including general credentials

Note

These parameters are set as DEFAULT parameters. Meaning you can change them in the Blueprints you are going to create and deploy.

As we are mostly using the Linux O/S in this workshop we are just configuring these parameters.

  1. In the Enviroment part we’re assigning the parameters needed for Calm to be able to deploy VMs

    ../../_images/environment.png
  2. In the VM Configuration area, provide the vCPU, Cores per vCPU and the Memory (GiB) fields with the value of 1

  3. Under DISKS (1) Select the CentOS7.qcow2 under the Image field. Leave the other options in this area of the configuration.

    ../../_images/disk.png
  4. Under NETWORK ADAPTERS (NICS)(1) Select your Cluster name and Primary as the network. Make sure you have the Private IP set as Dynamic.

    ../../_images/network.png
  5. At the CONNECTION area, click on the Credential and select Add New Credential. As we are using in the Blueprints new setting, we still need to provide them to the Project.

    ../../_images/credential.png
  6. In the new screen use root as the user and nutanix/4u as the password.

    ../../_images/credential-2.png
  7. Click Save to save the project.

  8. After a few seconds, the system saves the project and configure itself so it can use the configuration, you should see that the Exclamation mark behind Environment should not be shown as we had before (see step 1).

    ../../_images/environment-2.png

Proceed to the next module of this workshop. The environment preparations have been completed.


Takeaways

  • Nutanix Calm is a fully integrated component of the Nutanix stack. Easily enabled, highly available out of the box in a Scale Out Prism Central deployment, and takes advantage of non-disruptive One Click upgrades for new features and fixes.

  • By using different projects assigned to different clusters and users, administrators can ensure that workloads are deployed the right way each time. For example, a developer can be a Project Admin for a dev/test project, so they have full control to deploy to their development clusters or to a cloud, while having Read Only access to production projects, allowing them access to logs but no ability to alter production workloads.