CI name alternating between DNS entries

B_30
Kilo Contributor

Hi,

While discovering AIX servers, we've had an interesting observation. When we review the History for many of our AIX servers (Particularly those that have multiple DNS hostnames tied to the same IP address by design), we observe that the Name value is alternated between two values and often switches between each discovery.

 

Ie. DNS returns following for host 172.123.123.1111:

(host1.demo.com, host2.demo.com)

Thereafter, the name value of the AIX server CI will frequently alternate between 'host1' and 'host2'.

 

Our system properties are configured to resolve DNS to populate Name.

Appreciate any guidance/insight anyone may have towards resolving this in the simplest manner.

5 REPLIES 5

Armelle Nedelec
Tera Contributor

you can chose what is the name using Discovery / Properties :

the following properties will help you define the name you want to keep

DNS or NetBIOS is trusted host name source

SSH is trusted host name source

WMI is trusted host name source

SNMP is trusted host name source:

Include domain name in host name

Hi Armelle,

 

Thanks for your response. We already have it configured to: 

DNS or NetBIOS is trusted host name source

 

DNS is resolving two names for us. These systems have two multiple resolvable DNS names to the same IP address, by design. 

Armelle Nedelec
Tera Contributor

We chose the host name for this reason (ssh/wmi/snmp) . you can include the domain name if needed. 

you're then sure to have an unique name for your servers. The DNS name will be kept in cmdb_ci_dns_name anyway.

Michael de Boer
Giga Guru

Are "host1" and "host2" two different servers?
Could it be that this IP address is a cluster IP address and switching between "host1" and "host2"?

If so, discover the hosts on there real "own" ip address and exclude the cluster ip address from the discovery range

Regards,

Michael

Regards,
Michael

Please mark the suggestion as helpful/like, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided has resolved your query.