DDBEA: AIX backup stops when starting to obtain the local server hostname
Summary: Advanced Interactive eXecutive (AIX) backups stop when starting to obtain the local server hostname or lg_getlocalhost() function when the IPv4 and IPv6 dual stacks are enabled.
Symptoms
Backups stop or fail with no additional error messages even after enabling debug.
An example shows this display:
(pid = 6292048) (10/09/21 21:34:50) checkDedupSettingsInternal: NSR_DEDUP_BACKUP=FALSE (pid = 6292048) (10/09/21 21:34:50) setMinDDBoostVersion: Entering. (pid = 6292048) (10/09/21 21:34:50) setMinDDBoostVersion: Exiting. (pid = 6292048) (10/09/21 21:34:50) checkDedupSettingsInternal: Exiting. (pid = 6292048) (10/09/21 21:34:50) nsrdb2_check_init_input: enabling index optimizations (pid = 6292048) (10/09/21 21:34:50) nsrdb2_check_init_input: starting to obtain the local hostname for the server.
/etc/hosts is well configured, and name resolution can be passed.
Cause
If this issue occurs in an AIX environment, it may be related to their configuration when enabling an IPv4 and IPv6 dual-stack setup. Running the ifconfig -a command should display "::1" configured for the network interface card (NIC).
wbaurr60:/# ifconfig -a
en0: flags=1e084863,814c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
inet 10.xxx.xx199 netmask 0xffffff00 broadcast 10.xxx.xx.255
inet 10.xxx.xx.200 netmask 0xffffff00 broadcast 10.xxx.xx.255
tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/64
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
inet6 ::1 The loop back interface has ::1 which is inet6 based.
Data Domain DD Boost for Enterprise Applications (DDBEA) code requires all IP addresses bound to all interfaces be addressed. Therefore, "::1" for the application must be able to resolve "::1" to hostname. This is a kind of wrong configuration for DDBEA code.
Resolution
To keep the current network setting, update the '/etc/netsvc.conf' file:
hosts = local,bind4