Hello! I am starting to work with the data replication API. However, I’m not having much luck. After creating the connection and the replication, the data just stays on the replication queue, it doesn’t get replicated.
I’m currently writing from my PC to an Influx database hosted on VM 1 (10.102.11.86)
I’m trying to replicate data from VM 1 to VM 2 (10.102.11.85) .
Here’s the command to create the connection:
influx remote create --host http://localhost:8086 --org MYORG --token --name secondary --remote-url http//10.102.11.95:8086 --remote-api-token --remote-org-id 77d13f6a08470322
output:
ID Name Org ID Remote URL Remote Org ID Allow Insecure TLS
09e44866f9c33000 secondary 3977f266669f66c7 http//10.102.11.95:8086 77d13f6a08470322 false
Here’s the command to create the replication:
influx replication create --host http://localhost:8086 --org MYORG --token --name primary_to_secondary_events_replication --remote-id 09e44866f9c33000 --local-bucket-id 5600814ea57ce942 --remote-bucket-id 7becfe4fcc63fd34
output:
ID Name Org ID Remote ID Local Bucket ID Remote Bucket ID Current Queue Bytes Max Queue Bytes Latest Status Code Drop Non-Retryable Data
09e44bb51f91d000 primary_to_secondary_events_replication 3977f266669f66c7 09e44866f9c33000 5600814ea57ce942 7becfe4fcc63fd34 0 67108860 0 false
However, the data just piles up in the queue and doesn’t replicate.
Here’s the output of the replication list command:
ID Name Org ID Remote ID Local Bucket ID Remote Bucket ID Current Queue Bytes Max Queue Bytes Latest Status Code
Drop Non-Retryable Data
09e44bb51f91d000 primary_to_secondary_events_replication 3977f266669f66c7 09e44866f9c33000 5600814ea57ce942 7becfe4fcc63fd34 32519 67108860 0
The current queue value (32519 above) just keeps going up and no data is replicated to the Influx DB on VM 2.
I know it’s not a firewall issue because the firewalls are down on both servers. I can ping each machine from the other. I can also log into the Influx UI on both systems.
Any ideas why the replication isn’t working?