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.
Hello,
I would like to force a set of Linux based computers to be reported as an Virtual Machine.
Currently the machines are being reported as computer type, but this is wrong. Of course I can make a script to correct this type. But this is unwanted as every time when a computer reports back the computer type is reverted back.
So instead of writing a script, I would like to somehow manipulate the agent when doing a scan. Is there perhaps a way to force the agent in the config.ini or ndtrack.ini to always hardcoded report as VM or other type? I am looking for something simmular as the ComputerDomain paramater that can be included, but then instead ComputerType paramater
Thanks and Regards
Ronald
Jan 07, 2020 08:01 AM - edited Jan 07, 2020 08:02 AM
Hi Ronald,
As far as I know, being a VM is not an attribute the agent collects or the ndi contains. It is really the conclusion from one or more findings. As Kirk mentioned, Manucfacturer and Model are usually part of the logic. Also mentioned, the connection between host an guest mark hosts as "VMHost" and guests as "VM".
I guess there might be ways to place data in the DB to create a "sustainable" way of changing the effective inventory type. Do you have something to automatically identify the affected VMs?
Best regards,
Markward
Jan 07, 2020 03:19 PM
Various heuristics are used during the inventory import process to identify the type of inventory device records. It isn't really something that is intended or open for being changed, and it is only intended that the "virtual machine" type be used for virtualization technologies which FNMS directly supports and can detect itself. You can see some of the heuristics that are used by looking at the WriteVirtualMachines writer procedure in ImportProcedures/Inventory/Writer/VirtualMachine.xml. (This is one of the more intractable procedures, so put on your steel capped boots and hard hat on before entering!)
I would not be nervous about trying to do something outside of the import process to change inventory device types. If you really wanted to give it a shot, I would do a lot of testing to look out for strange and unexpected side effects occurring from such an approach. Consider possibilities like types being flipped back and forth between different values based on which batch process has run most recently, the impact on custom properties (you can have different custom properties for different computer types), and maybe other things.
Jan 07, 2020 07:04 PM
@Ronny_OO7 - What type of Hypervisor technology is in place for these Linux machines?
FlexNet Manager normally determines this from the Manufacturer Name of the device. For example, if the Manufacturer Name is 'microsoft' or 'vmware', it knows that these devices are virtual machines.
Jan 07, 2020 08:13 AM
Jan 07, 2020 09:02 AM
You must run the agent on each Linux server that is a Virtual Machine, and you also must run the agent on the Linux server that is the KVM Hypervisor. FNMS will then use all of this information to link the VMs to the Host.
Jan 07, 2020 09:08 AM
Jan 07, 2020 01:33 PM
Hi Ronald,
As far as I know, being a VM is not an attribute the agent collects or the ndi contains. It is really the conclusion from one or more findings. As Kirk mentioned, Manucfacturer and Model are usually part of the logic. Also mentioned, the connection between host an guest mark hosts as "VMHost" and guests as "VM".
I guess there might be ways to place data in the DB to create a "sustainable" way of changing the effective inventory type. Do you have something to automatically identify the affected VMs?
Best regards,
Markward
Jan 07, 2020 03:19 PM
Various heuristics are used during the inventory import process to identify the type of inventory device records. It isn't really something that is intended or open for being changed, and it is only intended that the "virtual machine" type be used for virtualization technologies which FNMS directly supports and can detect itself. You can see some of the heuristics that are used by looking at the WriteVirtualMachines writer procedure in ImportProcedures/Inventory/Writer/VirtualMachine.xml. (This is one of the more intractable procedures, so put on your steel capped boots and hard hat on before entering!)
I would not be nervous about trying to do something outside of the import process to change inventory device types. If you really wanted to give it a shot, I would do a lot of testing to look out for strange and unexpected side effects occurring from such an approach. Consider possibilities like types being flipped back and forth between different values based on which batch process has run most recently, the impact on custom properties (you can have different custom properties for different computer types), and maybe other things.
Jan 07, 2020 07:04 PM
Jan 08, 2020 02:52 AM
Jan 08, 2020 02:51 AM