Host Connection by Shell job and Inventory duplicate some node. Request to make discover consistent

Idea ID 2825668

Host Connection by Shell job and Inventory duplicate some node. Request to make discover consistent

We verified this in Solaris, it should be that same for other kinds of Unix.

Host Connection by Shell job uses “ifconfig” command to fetch the NIC list (and the ip_addresses)

Inventory Discovery by Scanner uses ioctl system routine.

So it’s possible that these 2 jobs returns different ip_address list in some scenario.

The reason why Inventory Scanner uses ioctl routine instead of ifconfig (or other commands) is because in most cases ioctl could return more data which is necessary for other features (e.g. detect primary ip address for target device)

On node there are  ipmp groups that only Host Connection by Shell job can discover.

Inventory Discovery by Scanner job doesn’t support ipmp groups because ioctl cannot fetch NICs behind ipmp group.

These different behavior create a duplicate node. 2 discovery should not create 2 different nodes

 

1 Comment
Micro Focus Expert
Micro Focus Expert
Status changed to: Waiting for Votes

Thank you for sharing your idea! It’s open for comments and kudos, and we’re looking forward to input from the community. Once there is enough community traction, it will be further reviewed by the product team

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.