The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
SOLUTIONS ARE PROVIDED ON AN "AS IS" BASIS. NEITHER FLEXERA NOR ITS SUPPLIERS MAKE ANY WARRANTIES, EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. LICENSEE MAY HAVE OTHER STATUTORY RIGHTS. HOWEVER, TO THE FULL EXTENT PERMITTED BY LAW, THE DURATION OF STATUTORILY REQUIRED WARRANTIES, IF ANY, WILL BE LIMITED TO THE SHORTER OF (I) THE STATUTORILY REQUIRED PERIOD OR (II) THIRTY (30) DAYS FROM LICENSEE’S ACCEPTANCE OF THE AGREEMENT.
The code is in attached Word document
This document gives the details for collecting data from Nutanix or Red Hat RHEV cluster and integrating the data into FNMS / Flexera One ITAM
The integration also creates Virtual Machines that would not be inventoried but assumes the full inventory is coming from an inventory tool (FNMS agent, SCCM) that include applications inventory. This creation is native in the Spreadsheet adapter design, you can choose to ignore the VMs that have no detailed inventory…
The approach is to read the data in the Cluster Management source (Nutanix Prims / Cluster REST APIs or RHEV mySQL database) and generate the files (Cluster.csv, Compuiter.csv, used as a pivot format) that will be located in the folder that a specific Inventory Spreadsheet Adapter, created from the Beacon UI will read.
The solution works for both on premise and cloud instances.
The spreadsheet adapter expects each column of the templates to exist in the file that will be consumed, but does not require all files of the templates (file evidence, installer evidences etc.) to be present. This, the two integrations below provide the minimum number of files (computers and clusters) but all the columns (very often empty) in the spreadsheet. Note that these are the 2021R1 templates and that an implementation in a future version of FNMS may require to re-align the queries selections with the current template.
To be noted the ComputerID or HostComputerID can be stings in ImportedComputer. The UUID for the sources have been used in these two integrations, in the absence on database ID (integer or bingint).
The read operation will be typically scheduled (from the Windows Scheduler) once a day at 3:00 PM, the Beacon Spreadsheet adapter will be scheduled at 5:00 PM (before the Inventory import and reconcile task that runs once a day typically at 10:00 PM or 00:00.
There are prerequisites that need to be applied in the two integrations
There are ways to encrypt password in PowerShell, please refer to a PowerShell expert to do this.
May 25, 2022 02:47 PM - edited Jun 28, 2022 04:14 AM
Hi @nrousseau1 ,
Great work, Nice to see that we have something now for to inventory Nutanix environment. Just one question. Is this Flexera officially supporting script i.e. incase if we have any issue with script while extracting the inventory from Nutanix can we raise a case with Flexera support for the assistance? or is it just out of the box adapter which needs to be used at our own risk?
Regards
Sasi
@sasikumar_r - Please refer to the Disclaimer at the top of this article.
SOLUTIONS ARE PROVIDED ON AN "AS IS" BASIS. NEITHER FLEXERA NOR ITS SUPPLIERS MAKE ANY WARRANTIES, EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. LICENSEE MAY HAVE OTHER STATUTORY RIGHTS. HOWEVER, TO THE FULL EXTENT PERMITTED BY LAW, THE DURATION OF STATUTORILY REQUIRED WARRANTIES, IF ANY, WILL BE LIMITED TO THE SHORTER OF (I) THE STATUTORILY REQUIRED PERIOD OR (II) THIRTY (30) DAYS FROM LICENSEE’S ACCEPTANCE OF THE AGREEMENT.
Hello @sasikumar_r ,
Thanks for the feedback.
If you have questions or issues, you can answer to this post... or contact me nrousseau@flexera.com.
That's said, the biggest issues I have seen with customers can hardly be addressed by me: the level of rights of the user running the PowerShell query on the Prism AND the clusters is critical and access right issues can be painful. I would say the Nutanix admins will probably be in their comfort zone here.
The second issue that could happen is that depending on the version of FNMS you are using, the Spreadsheet template may have more columns. In that case, a very explicit error about a missing column in the template will be visible and you can re-align the PowerShel query by adding an other
"MissingNewFieldInSpreadsheetAdapter" = ""
I hope it helps!
Nicolas
Hi @nrousseau1 ,
Thank you so much for your response!
Sure, we will try the script (keeping those 2 points in mind) and will reach out to you in this page if incase of any issues.
Regards
Sasi
There are currently 2 ideas tracked related to Nutanix:
Hi, @nrousseau1 we got SSL error when connecting to Nutanix using the script, to find that out I needed to run by disabling try/catch section on row #114. I did not catch shot of the error, but that seemed to be the cause. On the server 1.2 TLS was enforced so it should be OK and the script seems to have
Hello Antti,
Sorry to hear that, this is the first time I get this error reported. Not sure if it depends on the level of security set on the Nutanix Prism and maybe a missing public key.
I would open a Nutanix ticket as this is more a "Can't call your Nutanix Prism API" issue than a Flexera one.
Best regards,
Nicolas
@nrousseau1 customer eventually upgraded Nutanix Prism as well as the server from old in Win Srv 2012 R2 and the script then worked without any SSL errors.
Is there any chance we might see some attention around a native Flexera-supported solution to this quite popular technology? With the acquisition of Snow Software, which does support a connection with Nutanix Prism, I would hope that the idea #112 from 2020 might have some development.
Hello @staudk27 ,
I will let @janborchers or @VidaS answer to this one. This connector was quite high in the list but not planned.
Product Management team may have more insights on this Nutanix connector planning.
Thanks and best regards!
Nicolas