Introduction
Terraform Enterprise installation is performed by Replicated. It creates a certain set of directories for application binaries with particular users and groups. This article is aimed to provide a reference point of information in relation to file system directories.
Use Case
In a failure scenario such as Terraform Enterprise failed to start up or the application experiences a file system issue, this article can be used as a reference page.
Replicated
The default locations of Replicated installed on the host machine are identical across installation types. They are created with the particular user and group listed in the below table:
Directory | User | Group |
---|---|---|
/var/lib/replicated | replicated | docker |
/var/lib/replicated-operator | replicated | docker |
Storage location of the mounted disk installation
The location is configurable via disk_path. The value can be retrieved using replicatedctl
command as shown below:
replicatedctl app-config export
The command prints out the application configuration where the disk_path
should be displayed in the output with the storage location.
"disk_path": {
"value": "/data"
},
Docker
By default, the Replicated installer manages to install Docker when the compatible version is available on the Linux distribution, it also depends on how software repositories are configured, using the installation option no-docker
forcefully change the default behaviour for the Replicated installer to skip Docker installation. The command docker info
can be used to display the information of the installed Docker and the installed location appears at the Docker Root Dir
output. The common installed directory of Docker is /var/lib/docker
.
Additional information
Please contact HashiCorp Support if further assistance required.