It is mandatory to keep the localhost entry in resolve.conf file. The different services like dispatcher.service.consul, nomad.service.consul, consul.service.consul need to be resolved by DNS. Otherwise ABIS will throw some errors for example in the dispatcher log like this:
2024-01-17 12:32:46.512 E [] [temp-1] c.i.eafis.idkit.IDKitWrapperBase IDKit (type=service; server=dispatcher.service.consul:21233;) error SOAP_FAILED occured but AfisMQ will retry in PT1S: com.innovatrics.idkit.IDKitException: IDKit error 1212 : SOAP communication failed. (connection
string='type=service; server=dispatcher.service.consul:21233;') (this message occurs at most once per PT60S)There should be the following entry in /etc/resolv.conf for ABIS:[afisadm@adel-demoabis-1c ~]$ cat /etc/resolv.conf# Generated by NetworkManagernameserver 127.0.0.1
To avoid Network Manager making changes in above configuration file, there must be done additional configuration:
NM_CONTROLLED=no inserted in the interface config file:
[root@innovatrics-srv-tst-001 eafis]# cat /etc/sysconfig/network-scripts/ifcfg-eth0# Generated by parse-kickstartIPV6INIT="no"......NM_CONTROLLED=noDNS1="127.0.0.1"
edit network config and add PEERDNS=no
[root@innovatrics-srv-tst-001 eafis]# cat /etc/sysconfig/network# Created by anacondaPEERDNS=no
add this parameter to the NetworkManager.conf:
[root@innovatrics-srv-tst-001 eafis]# cat /etc/NetworkManager/NetworkManager.conf|grep dnsdns=no
issue the following commands:
systemctl restart networksystemctl restart NetworkManager
test it:
[root@innovatrics-srv-tst-001 eafis]# ping dispatcher.service.consulPING dispatcher.service.consul (10.158.0.16) 56(84) bytes of data.64 bytes from innovatrics-srv-tst-001.c.valid-bio.internal (10.158.0.16): icmp_seq=1 ttl=64 time=0.012 ms
Relevant ABIS version: 7.x - 8.x