Hello!
I’ve been struggling the past few days to create a replication from one OSS InfluxDB instance to another. However, I’ve had no luck replicating. The replication queue just gets bigger and bigger, apparently not finding a successful recipient. I’ve even turned on wireshark, but there is no IP traffic going from the primary to the secondary or vice-versa.
Is there an error log somewhere that might give me a hint? Btw, this is Windows 10, and I guess replication is a fairly new feature. I’m sure it’s something I’m fat-fingering or missing, but it has been tested on Windows 10, correct?
Also - here are the commands I’ve been using. The seem to be working fine, except, of course, the remote connection is apparently not being made.
============ Remote Create Command ==============
C:\InfluxData\influx>influx remote create --host http://localhost:8086 --org-id 3977f266669f66c7 --token nCdQTHFa4UbFWLUpktlIptb6vKHDQlhwyIPBIZNAUMMGsa05otkfM4tG7FPMqnZ-3SIkH_PaxJNnxOWkZAcwDg== --name secondary --remote-url http//10.102.11.85 --remote-api-token dd_nA-Iw3GZCWXpghejKqQAdzESu740RrYBqkJ3lizIQf6dsL-2PNk_rND26k54Io6OfZDDgXMb5yxnCZREmFA== --remote-org-id 77d13f6a08470322
(Note, I’ve tried this with the remote port number both specified and not specified, neither is working so far).
============ Remote create command output ==============
ID Name Org ID Remote URL Remote Org ID Allow Insecure TLS
09eac7d8998b8000 secondary 3977f266669f66c7 http//10.102.11.85 77d13f6a08470322 false
============ Remote list command ==============
C:\InfluxData\influx>influx remote list --host http://localhost:8086 --org-id 3977f266669f66c7 --token nCdQTHFa4UbFWLUpktlIptb6vKHDQlhwyIPBIZNAUMMGsa05otkfM4tG7FPMqnZ-3SIkH_PaxJNnxOWkZAcwDg==
============ Remote list command output ===============
ID Name Org ID Remote URL Remote Org ID Allow Insecure TLS
09eac7d8998b8000 secondary 3977f266669f66c7 http//10.102.11.85 77d13f6a08470322 false
============ Replication Create Command ==============
C:\InfluxData\influx>influx replication create --host http://localhost:8086 --org-id 3977f266669f66c7 --token nCdQTHFa4UbFWLUpktlIptb6vKHDQlhwyIPBIZNAUMMGsa05otkfM4tG7FPMqnZ-3SIkH_PaxJNnxOWkZAcwDg== --name primary_to_secondary_events_replication --remote-id 09eac7d8998b8000 --local-bucket-id 5600814ea57ce942 --remote-bucket-id 7becfe4fcc63fd34
============ Replication Create command 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
09eaca40e6015000 primary_to_secondary_events_replication 3977f266669f66c7 09eac7d8998b8000 5600814ea57ce942 7becfe4fcc63fd34 0 67108860 0 false
============ Replication list command ==============
C:\InfluxData\influx>influx replication list --host http://localhost:8086 --org-id 3977f266669f66c7 --token nCdQTHFa4UbFWLUpktlIptb6vKHDQlhwyIPBIZNAUMMGsa05otkfM4tG7FPMqnZ-3SIkH_PaxJNnxOWkZAcwDg==
============ Replication list 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
09eaca40e6015000 primary_to_secondary_events_replication 3977f266669f66c7 09eac7d8998b8000 5600814ea57ce942 7becfe4fcc63fd34 4271 67108860 0 false
Any help much appreciated!