How does SteelCentral AppInternals 10.x agent pick the IP address and hostname for the node?

Categories: SteelCentral AppInternals (AppInternals Xpert)
Solution Number: S33487

Issue

We have installed SteelCentral Appinternals 10.x and on server with multiple network interfaces. We would like to how the agent picks the IP address that is being displayed and also the hostname.

Solution

To find out how the agent picks the hostname and the IP address which it needs to use you can run the script named whichip located in the below location
/Panorama/hedzup/mn/bin

The output will look something like below
C:Panorama\hedzup\mn\support>whichip.bat

Attempting to get IP and FQDN by running [host -TtA hostname] command
'host' is not recognized as an internal or external command,
operable program or batch file.

Attempting to get IP and FQDN from addr info
Found addr info entry for x.x.x.x and FQDN [hostname.domain.com]


Selected IP Address: x.x.x.x
Selected FQDN: hostname.domain.com

IP and FQDN were determined by scanning addr info structures.


If the FQDN is not set to what you are looking for, you can do the following:
  • Stop all services on the agent
  • Navigate to below location
    /Panorama/hedzup/mn/userdata
  • Add a file name FQDN_override.txt
  • Edit the file and add the hostname and IP as 2 different lines (look in .fqdn.txt file for the format)
  • Save the changes
  • Start all services back up

If the IP is not ser to what you are looking for, you can do the following:
  • Stop all services on the agent
  • Navigate to below location
    /Panorama/hedzup/mn/userdata
  • Add a file name ip_override.txt
  • Edit the file and add IP which you need
  • Save the changes
  • Start all services back up

NOTE: This is route which agent takes to decide on which IP needs to be used

To determine best IP:
  1. 0.0.0.0, 255.255.255.255, 224.nnn.nnn.nnn – 239.nnn.nnn.nnn will not be considered
  2. 127.nnn.nnn.nnn will be considered but is lowest priority
  3. 169.254.nnn.nnn is considered better than 2)
  4. 192.168.nnn.nnn is considered better than 3)
  5. 172.16.nnn.nnn – 172.31.nnn.nnn is considered better than 4)
  6. 10.nnn.nnn.nnn is considered better than 5)
  7. Any other address not mentioned is considered the best and used.
  8. If all else fails 127.0.0.1 will be used. 

**Please open a technical support case if you run into any issues or have a question

Environment

SteelCentral AppInternals 10.x
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Last Modified: 2019-06-07
Can't find an answer? Create a case