- Flexera Community
- :
- FlexNet Manager
- :
- FlexNet Manager Forum
- :
- AWS servers hosted in is showing on-premise by FlexNet Inventory agent
- 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
AWS servers hosted in is showing on-premise by FlexNet Inventory agent
Hi Forum,
We have few servers hosted in AWS and the FlexNet inventory agent is installed for gathering inventory. We are observing that few of the servers show us alert the the Virtual machine does not have a host and the VM properties under the device properties show host affinity enabled, and it doesn't display cloud hosting property, it doesn't display under the cloud service provider inventory as well and it shows its hosted on premise.
Please suggest identifying the cause and remediate this and we are on Prem 2020 R1, thanks
Regards,
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
Hi @winvarma
During the inventory process the agent ask the AWS API about it's own instance id. Its that little extra thing that from my understanding tells FNMS that the EC2 is actually hosted in AWS.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@winvarma - Do you have other sources of inventory for these AWS instances? Population of the Hosted In attribute is only set by the Flexera Agent.
If you look at the History tab of one of these instances, do you see the Hosted By field being changed by something?
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kclausen ,
we have only FlexNet inventory agent for inventory gathering and we don't have other source of inventory for AWS hosted servers and there is no Hosted by option available in the whole history for servers where this issue exists.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, @winvarma. I don't have any other ideas unless those specific instances have an older version of agent that did not capture the Hosted By field.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @kclausen , we are using FlexNet agent version 15.0 and let me confirm as we have other version of agents like 12.4 which might be installed on these servers and if that is the case i will upgrade the agent to latest version.
Thank you
Regards
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @winvarma v16.3 I believe was the first version that was able to interrogate the AWS API.
As that version has been depreciated, all v17 agents support interrogating the AWS API for EC2 instances.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kclausen with the AWS API that Flexera calls >
- http://169.254.169.254/latest/meta-data/instance-id returns the unique identifier for the AWS EC2 instance.
- http://169.254.169.254/latest/dynamic/instance-identity/document
Do you know if that is an AWS default field ie can it be switched off? We have a separate issue where a handful of devices don't retrieve their correct status, we believe it's because they cannot connect to the 169.254.169.254 address, but we're not able at this time retrieve logging to determine whether this is the root cause.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@bmaudlin - it is possible that access to the Amazon EC2 metadata service is blocked in some way. For example, firewall settings on the instance could be configured to block access - see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html#instance-metadata-limiting-access. I expect something like that would likely defeat the FlexNet inventory agent's ability to get instance metadata to be able to identify the cloud service provider for the instance.
Take a look in the inventory agent log (tracker.log) - this may give some insight into whether the agent has been able to connect to the metadata service.
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@winvarma Have you tested to logon to the EC2 and execute the api to see if you can fetch the instanceID manually? Could be that your EC2 do not have the rights to call the service to get its instanceID
