Identify the XDR settings applied to the cluster

I have to identify the XDR settings of a cluster, which is spun up using Ansible playbook and may have a dynamic XDR configuration applied.

Is there a way to identify the XDR settings applied to a cluster?

I tried the following command and can see that the XDR is enabled.

asinfo -v "get-config:context=xdr";

This shows that XDR is enabled and other parameters. However is there a way to find the dc-node-addresses setup for XDR?

You can use this command to get the remote DC seed nodes: asinfo -v “get-config:context=xdr;dc=DC1”

1 Like

@neelp I get the following output.

$ asinfo -v 'get-config:context=xdr;dc=dc1'
enable-xdr=false;enable-change-notification=false;forward-xdr-writes=false;xdr-delete-shipping-enabled=true;
xdr-nsup-deletes-enabled=false;xdr-shipping-enabled=true;xdr-ship-bins=false;xdr-write-timeout=10000;xdr-client-threads=3;xdr-max-ship-throughput=0;
xdr-max-ship-bandwidth=0;xdr-hotkey-time-ms=100;xdr-read-threads=4;xdr-info-timeout=10000;xdr-compression-threshold=0;xdr-digestlog-iowait-ms=500;xdr-digestlog-size=0;\xdr-min-digestlog-free-pct=0;xdr-digestlog-path=NULL

Does this indicate that the XDR is setup as just a placeholder, and there are no nodes for replication?

I think that for the older XDR (this seems to be a 4.X XDR configuration), the get-dc-config command would be what you are looking for. As XDR is an Enterprise feature, you should be able to have someone on your side reach out to Aerospike Support as well.

1 Like

This topic was automatically closed 84 days after the last reply. New replies are no longer allowed.

© 2021 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.