- Flexera Community
- :
- FlexNet Manager
- :
- FlexNet Manager Forum
- :
- Re: Way to force FNMS2019R2 agent to always report as Virtual Machine
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
This thread has been automatically locked due to inactivity.
To continue the discussion, please start a new thread.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is Linux KVM. Do you know where this information is stored and translated?
Do you know if there is such a paramater as I am searching for?
Regards
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks but this doesn't answer my question and solves my issue.the KVM RHEV From RedHat at the customers is kind of built on KVM but not the out of the box KVM that Flexera supports.
Because of this I am looking for a command to include in the ini file so that is always reporting as the set computer type like VM.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response. I guess I got on the the wrong foot. Ill try to solve it with the writers instead at the agent level.
Best Regards
Ronald
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response. I guess Kirk was right then and I got on the the wrong foot. Ill try to solve it with the writers instead at the agent level. Perhaps Model can be used to identify the VMs.
Best Regards
Ronald
