diff --git a/content/operate/rs/installing-upgrading/configuring/change-location-socket-files.md b/content/operate/rs/installing-upgrading/configuring/change-location-socket-files.md index a765fed9c..a7fea584e 100644 --- a/content/operate/rs/installing-upgrading/configuring/change-location-socket-files.md +++ b/content/operate/rs/installing-upgrading/configuring/change-location-socket-files.md @@ -22,23 +22,30 @@ The default location was changed in case you run any maintenance procedures that {{}} When you upgrade Redis Enterprise Software from an earlier version to 5.2.2 or later, the socket files -are not moved to the new location by default. You need to either specify a custom location -for the socket files during [installation]({{< relref "/operate/rs/installing-upgrading" >}}) or use the [following procedure](#change-socket-file-locations) after installation. +are not moved to the new location by default. You need to specify the socket file location [during installation](#during-install) or change the location [after cluster setup](#after-cluster-setup). -## Change socket file locations +## Specify socket file location during install {#during-install} -To change the location of the socket files: +To specify the socket file location during a new installation, follow the [Install Redis Enterprise Software on Linux]({{}}) instructions, but use the `-s` [installation script option]({{}}): -1. On each node in the cluster, run: +```sh +sudo ./install.sh -s +``` + +## Change socket file location after cluster setup {#after-cluster-setup} + +To change the socket file location on an existing cluster: + +1. On any node in the cluster, run [`rladmin status nodes`]({{}}) to view all nodes joined to the cluster and identify the node with the `master` role: ```sh - sudo rlutil create_socket_path socket_path=/var/opt/redislabs/run + rladmin status nodes ``` -1. Identify the node with the `master` role by running the following command on any node in the cluster: +1. On each node in the cluster, run: ```sh - rladmin status nodes + sudo rlutil create_socket_path socket_path=/var/opt/redislabs/run ``` 1. On the master node, change the socket file location: @@ -53,10 +60,10 @@ To change the location of the socket files: sudo service rlec_supervisor restart ``` -1. Restart each database in the cluster to update the socket file location: +1. [Restart]({{}}) each database in the cluster to update the socket file location: ```sh - rladmin restart db + rladmin restart db ``` {{< warning >}}