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.
Please note that all third-party solutions that interact with the LCC must be configured correctly. Inconsistent data from these solutions cannot be processed or presented reliably by the LCC.
Objective
Create a Recovery Point for a server managed by the Linux Control Center, which has been properly identified in Nutanix Prism.
Integration flow
Configuring Nutanix Prism;
Defining which actions will generate a Recovery Point;
Searching for information on virtual machines;
Identifying the servers managed by the Linux Control Center that are present in Nutanix Prism;
Requesting an action;
Generating a Recovery Point;
Logging in to the server via SSH;
Executing commands;

It is important to note that Linux Control Center operates with the minimum permissions required on third-party systems, so Recovery Points are not managed in Nutanix Prism, and the team must be responsible for managing resources, such as available storage space for Recovery Points and other operations in the life cycle of a Recovery Point within your corporation.
Minimum permissions for integration
These are the minimum permissions required for a Nutanix Prism user to integrate with Linux Control Center.
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.
After joining Nutanix Prism to Active Directory, click Config
Click Local User Management and click New User
Create a user with a Viewer profile in Nutanix with the following settings;
User Admin: Disabled
Prism Central Admin: Disabled
Click on the left side button to open the menu and click on Administration and then on Roles
Click on Create Role
We suggest the name Linux Control Center for better identification.
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
This will be the result of the Role Assignment when it is finished.
Then, go back to settings and click on Role Mapping and click on New Mapping
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
Click Config in the left side menu of the LCC
Click Nutanix
On the Nutanix configuration page, click Add.
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.
Click Save.
After saving, click Test Connection to authenticate with Nutanix Prism
Synchronizing Nutanix Prism Hosts
After saving the previous configuration and the icon confirming the Status of the connection, click on the integration item.
Within the Nutanix Prism integration screen, click on the Hosts tab and click on Sync to synchronize with the Nutanix Prism hosts.
The sync action will authenticate to the Nutanix API and attempt to obtain the IP Address and Hostname of the existing Virtual Machines.
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.
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.
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
Click Hosts in the left pane of the Linux Control Center
Click on the Host that was previously configured/enabled in the Nutanix Prism solution integration configuration screen.
After selecting the Host, perform one of the action(s) that was enabled in the Nutanix Prism solution integration configuration screen.
When executing an action that was previously configured in the integration, the creation of a Recovery Point for that virtual machine will be requested from Nutanix Prism. The requested action will only be executed after the creation of the Recovery Point. In case of an error in the creation of the Recovery Point, the execution of the action will be interrupted and its status will be "error".
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.
In Nutanix Prism, if the Recovery Point is successful, an event will be created as "Create VM recovery point".
Last updated