RDSC-4633 How to perform HA failover#2818
Conversation
dcdc014 to
7cba538
Compare
andy-stark-redis
left a comment
There was a problem hiding this comment.
Just a few style suggestions, but otherwise LGTM.
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
| 54.78.220.161 | ||
| ``` | ||
|
|
||
| 2. For each of the IPs returned by the above command, run the following command to block the traffic: |
There was a problem hiding this comment.
Does this mean that you expect dig to return more than one IP address for a hostname? (Presumably you only need to run the command once on the leader node.) If so, maybe say that explicitly in step 1, because it currently says "Identify the database IP", which makes it sound like there is only one address, but "IP" might potentially be plural here.
There was a problem hiding this comment.
It is possible that one hostname points to multiple IPs, for example:
% dig +short example.com
104.18.26.120
104.18.27.120
The idea is that if we have a DNS Round-robin or other load balancing happening at DNS level, we need to block all IPs, to ensure that we can not connect to any of those.
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
content/integrate/redis-data-integration/installation/install-vm.md
Outdated
Show resolved
Hide resolved
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
content/integrate/redis-data-integration/installation/ha-test.md
Outdated
Show resolved
Hide resolved
Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
|
|
||
| To perform HA, you can simulate a connection failure between the leader and the RDI database by blocking the network traffic. You can do this by running the following commands on the leader node: | ||
|
|
||
| 1. Identify the RDI database IP (replace `<hostname>` with your own hostname): |
There was a problem hiding this comment.
@andy-stark-redis I have also added RDI here to make it clear which database we are talking about.
Ticket: https://redislabs.atlassian.net/browse/RDSC-4633
Document how to perform an HA failover test.
Note
Low Risk
Low risk documentation-only change; no product code or behavior is modified. Main risk is operational confusion if the iptables example is followed incorrectly during testing.
Overview
Adds a new doc page,
ha-test.md, describing how to deliberately trigger and observe RDI HA failover by blocking traffic to the RDI database (viaiptables) and watching operator logs, plus cleanup steps.Updates the VM HA installation guide (
install-vm.md) to point readers to the new failover testing instructions.Written by Cursor Bugbot for commit 48e096a. This will update automatically on new commits. Configure here.