Skip to content

Commit 412b322

Browse files
panoslithCopilotsubatoi
authored
Adds clarity on which cluster node to run commands upon MySQL node replacement on GHES cluster (#54152)
Co-authored-by: Copilot <[email protected]> Co-authored-by: Ben Ahmady <[email protected]>
1 parent 99cef81 commit 412b322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: content/admin/monitoring-and-managing-your-instance/configuring-clustering/replacing-a-cluster-node.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,13 @@ If you want to provide the VM for your primary MySQL node with more resources, o
191191
> [!WARNING]
192192
> If you do not wait for MySQL replication to finish, you risk data loss on your instance.
193193

194-
1. To set the current MySQL primary node to read-only mode, run the following command from of the instance's nodes.
194+
1. To set the current MySQL primary node to read-only mode, run the following command from the MySQL primary node.
195195

196196
```shell copy
197197
echo "SET GLOBAL super_read_only = 1;" | sudo mysql
198198
```
199199

200-
1. Wait until Global Transaction Identifiers (GTIDs) set on the primary and replica MySQL nodes are identical. To check the GTIDs, run the following command from any of the instance's nodes.
200+
1. Wait until Global Transaction Identifiers (GTIDs) set on the primary and replica MySQL nodes are identical. To check the GTIDs, run the following command from any cluster node.
201201

202202
```shell copy
203203
ghe-cluster-each -r mysql -- 'echo "SELECT @@global.gtid_executed;" | sudo mysql'

0 commit comments

Comments
 (0)