It may sometimes be useful to know which nodes are being shipped to for a datacenter in XDR. For example, a
misconfiguration here can lead to records being silently shipped to the wrong destination so that the correct destination is not updated by XDR with no obvious cause.
Because the seed nodes can be configured dynamically, and do not necessarily
reflect the actual composition of the destination cluster, simply looking in
aerospike.conf may not be adequate.
asadm to check the active configuration on all nodes. The command varies depending on theAerospike server version.
asadm -e "enable; asinfo -v 'get-config:context=xdr;dc=west1' -l"
Either of these will work:
asadm -e "asinfo -v get-dc-config -l" # OR asadm -e "show config dc like nodes -flip"
XDR DC DATACENTER SEED NODES