Nutanix

Version

  • Linux Control Center 2.10.X or higher

  • Nutanix Prism Central and/or Element pc.2022.6.0.10 or higher

  • AOS Version 6.5.2 LTS or higher

Requirements

  • NGT Agent

  • User with permission to list VM information

  • User with permission to create Recovery points

  • Hosts in the LCC database previously configured

Overview

This guide provides information and step-by-step instructions for integrating Linux Control Center with Nutanix Prism and/or Element.

Integration with Nutanix Prism is classified as a Rollback Item within the scope of Linux Control Center. A Rollback Item generally aims to initiate a backup task, create a snapshot, recovery point or similar item within the integration scenario, in order to guarantee the rollback of a system if a modification generates some unexpected behavior in your technology park.

Objective

Create a Recovery Point for a server managed by the Linux Control Center, which has been properly identified in Nutanix Prism.

Integration flow

  1. Configuring Nutanix Prism;

  2. Defining which actions will generate a Recovery Point;

  3. Searching for information on virtual machines;

  4. Identifying the servers managed by the Linux Control Center that are present in Nutanix Prism;

  5. Requesting an action;

  6. Generating a Recovery Point;

  7. Logging in to the server via SSH;

  8. Executing commands;

Minimum permissions for integration

These are the minimum permissions required for a Nutanix Prism user to integrate with Linux Control Center.

  1. To create the profile correctly, you must assign a local Nutanix Prism user or an Active Directory to a Nutanix Role according to the official documentation in the link below;

  • If you choose to use an AD user instead of the local Nutanix Prism user, it is necessary that the user has Domain Admin permission.

https://portal.nutanix.com/page/documents/details?targetId=Nutanix-Security-Guide-v6_8:mul-security-authentication-pc-t.html

  1. After joining Nutanix Prism to Active Directory, click Config

  1. Click Local User Management and click New User

  1. Create a user with a Viewer profile in Nutanix with the following settings;

  • User Admin: Disabled

  • Prism Central Admin: Disabled

  1. Click on the left side button to open the menu and click on Administration and then on Roles

  1. Click on Create Role

  • We suggest the name Linux Control Center for better identification.

  1. Enable the permissions as below; App: Access Console VM, View VMVM Recovery Point: Snapshot VM, View VM Recovery Point, Allow VM Recovery Point CreationVM: Access Console VM, View VM

  1. This will be the result of the Role Assignment when it is finished.

  1. Then, go back to settings and click on Role Mapping and click on New Mapping

  1. Create the Role Mapping with the following settings;

  • Specify the user created previously and use it in the next steps to configure the integration with the Linux Control Center.

Integrating Nutanix Prism with LCC

Performing the integration

  1. Click Config in the left side menu of the LCC

  1. Click Nutanix

  1. On the Nutanix configuration page, click Add.

  1. Provide all the necessary settings to authenticate to Nutanix Prism.

  • Enter the Nutanix URL in the URL field.

  • Enter the Nutanix user in the Username field.

  • Enter the Nutanix password in the Password field.

  • Define whether the integration will be with Nutanix Prism Central or Nutanix Prism Element in the Integration button.

  • If the Nutanix Prism Central and/or Element solution does not use a valid digital certificate, enable the Ignore SSL option.

  1. Click Save.

  1. After saving, click Test Connection to authenticate with Nutanix Prism

Synchronizing Nutanix Prism Hosts

  1. After saving the previous configuration and the icon confirming the Status of the connection, click on the integration item.

  1. Within the Nutanix Prism integration screen, click on the Hosts tab and click on Sync to synchronize with the Nutanix Prism hosts.

  1. The sync action will authenticate to the Nutanix API and attempt to obtain the IP Address and Hostname of the existing Virtual Machines.

  2. The list of Virtual Machines returned will match the Hosts already existing in Linux Control Center and, if successful, the Host will be marked with Nutanix integration and Linux Control Center will be able to perform the Rollback feature.

  3. At the end of the Synchronization, you will be able to see the Hosts in the same Hosts tab in the Nutanix Prism integration configuration.

  4. Click on the Actions tab and define which actions will trigger the creation of Recovery Point on the previously selected machines and then click Save.

Validating the recovery point

  1. Click Hosts in the left pane of the Linux Control Center

  1. Click on the Host that was previously configured/enabled in the Nutanix Prism solution integration configuration screen.

  1. After selecting the Host, perform one of the action(s) that was enabled in the Nutanix Prism solution integration configuration screen.

  1. Click on the selected host and then click on the Rollback tab. You will be able to see the list of Recovery Points in Rollback Items.

  1. In Nutanix Prism, if the Recovery Point is successful, an event will be created as "Create VM recovery point".

Last updated