Back to Redis

File Locations

content/operate/rs/installing-upgrading/install/plan-deployment/file-locations.md

latest2.2 KB
Original Source

{{<warning>}} To ensure that Redis Software functions properly, be careful with the files in the application directories. If you modify or delete the application files, Redis Software might not work as expected. {{</warning>}}

Application directories

The directories that Redis Software installs into are:

PathDescription
/opt/redislabsMain installation directory for all Redis Software binaries
/opt/redislabs/binBinaries for all the utilities for command-line access and management, such as [rladmin]({{< relref "/operate/rs/references/cli-utilities/rladmin" >}}) or [redis-cli]({{< relref "/operate/rs/references/cli-utilities/redis-cli" >}})
/opt/redislabs/configSystem configuration files
/opt/redislabs/libSystem library files
/opt/redislabs/sbinSystem binaries for tweaking provisioning

Configuration and data directories

The default directories that Redis Software uses for data and metadata are:

PathDescription
/var/opt/redislabsDefault storage location for the cluster data, system logs, backups, and ephemeral, persisted data
/var/opt/redislabs/logSystem logs for Redis Software
/var/opt/redislabs/runSocket files for Redis Software
/etc/opt/redislabsDefault location for cluster manager configuration and certificates
/tmpThe /tmp filesystem is for temporary files and should be sized according to this formula: <number-of-cluster-nodes> * <size-of-/var/opt/redislabs/log-filesystem>

You can change these file locations for:

  • [Ephemeral and persistence storage]({{< relref "/operate/rs/clusters/new-cluster-setup.md" >}}) during cluster setup
  • [Socket files]({{< relref "/operate/rs/installing-upgrading/configuring/change-location-socket-files.md" >}}) after cluster setup

{{< note >}} To specify custom paths for ephemeral and persistent storage during cluster setup, you must install Redis Software using [custom installation directories]({{< relref "/operate/rs/installing-upgrading/install/customize-install-directories" >}}). If you use the default installation, you cannot specify custom storage paths and will receive a "path not mounted" error. {{< /note >}}