You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Change socket file location for an existing cluster {#after-cluster-setup}
35
35
36
-
Changing the socket file location is not supported for bootstrapped nodes.
36
+
Directly changing the socket file location directly is not supported for bootstrapped nodes. If you need to change the socket file location for an existing cluster, use one of the following methods instead:
37
37
38
-
To change the socket file location for an existing cluster:
38
+
-[Replace nodes](#replace-nodes)
39
39
40
-
1. Create a new cluster with the new socket file path. To do so, follow the [Install Redis Enterprise Software on Linux]({{<relref "/operate/rs/installing-upgrading/install/install-on-linux">}}) instructions, but use the `-s`[installation script option]({{<relref "/operate/rs/installing-upgrading/install/install-script">}}):
40
+
-[Migrate the cluster using Replica Of](#migrate-replica-of)
41
+
42
+
### Replace nodes {#replace-nodes}
43
+
44
+
To change the socket file location for all nodes in a cluster, follow these steps:
45
+
46
+
1. Install Redis Enterprise Software on a new node with the new socket file location. Follow the [Install Redis Enterprise Software on Linux]({{<relref "/operate/rs/installing-upgrading/install/install-on-linux">}}) instructions, but use the -s [installation script option]({{<relref "/operate/rs/installing-upgrading/install/install-script">}}):
47
+
48
+
```sh
49
+
sudo ./install.sh -s </path/to/socket/files>
50
+
```
51
+
52
+
1. [Add the new node]({{<relref "/operate/rs/clusters/add-node">}}) to the existing cluster.
53
+
54
+
1. [Remove a node]({{<relref "/operate/rs/clusters/remove-node#remove-a-node">}}) with the old socket file location.
55
+
56
+
1. Repeat the previous steps until all nodes with the old socket file location have been replaced.
57
+
58
+
### Migrate cluster using Replica Of {#migrate-replica-of}
59
+
60
+
To migrate an existing cluster to a new cluster with a different socket file location:
61
+
62
+
1. Create a new cluster with the new socket file location. To do so, follow the [Install Redis Enterprise Software on Linux]({{<relref "/operate/rs/installing-upgrading/install/install-on-linux">}}) instructions, but use the `-s` [installation script option]({{<relref "/operate/rs/installing-upgrading/install/install-script">}}):
41
63
42
64
```
43
65
sudo ./install.sh -s </path/to/socket/files>
44
66
```
45
67
46
-
1. Use Replica Of to migrate your databases from the original cluster to the new cluster. For detailed steps, see the procedure to [configure Replica Of with different Redis Software clusters]({{<relref "/operate/rs/databases/import-export/replica-of/create#different-cluster">}}).
68
+
1. Use Replica Of to migrate your databases from the original cluster to the new cluster. For detailed steps, see the procedure to [configure Replica Of with different Redis Enterprise Software clusters]({{<relref "/operate/rs/databases/import-export/replica-of/create#different-cluster">}}).
0 commit comments