Prepare storage devices
This step describes the requirements for the data storage devices.
Block storage
Data in an Exasol database is stored on data volumes, which are assigned to disks defined as block storage devices on each host. The storage devices (disks) must be prepared before you continue with the installation.
How to add physical and logical devices on the hosts is not covered in this documentation. To know how to add and mount disks, refer to the documentation for your operating system.
In the following stage (the installation stage) you will learn how to specify the disks in the deployment configuration. The installation script will then automatically create Exasol data volumes on these disks.
Do not create a file system on the data disks. The database stores persistent data using block storage with a specific structure for Exasol databases. If there is already a file system on the disk, the installation will fail.
Do not use the device where the operating system resides for database storage, as this could potentially lead to a system crash if the device runs our of disk space.
The storage devices must have persistent block device names. We recommend using volume management with LVM2.
The naming and order of the block storage devices must be identical on all nodes.
Storage device requirements
Supported storage types/technologies
- Sparse file devices hosted on a filesystem like ext4 or XFS (NFS is not supported)
- Block devices (local storage SAS, SSD, NVMe, virtual disks, or remote storage iSCSI/SAN)
- LVM2
- LUKS
Additional storage requirements
-
Use at least 4 storage drives with minimum 250 MBps read/write capacity per drive.
-
OS and storage disks should have RAID 1 or similar fault tolerance.
-
OS disks must have at least 150 GiB free disk space after installation.
-
For swap partitions, use the size recommended by the OS vendor.
To learn how to calculate the required size for storage devices, see Sizing Guidelines.
Logical volume manager
We recommend using a logical volume manager to manage the storage devices used for block storage.
To check if a system is using a logical volume manager, use the command lsblk
to list all block devices. If the output shows devices that are named sd*
(sda
, sdb
, sdc
, and so on), the system is not using a logical volume manager. For example:
# this system is not using a volume manager:
lsblk -p
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
/dev/sda 8:0 0 388.5M 1 disk
/dev/sdb 8:16 0 4G 0 disk [SWAP]
/dev/sdc 8:32 0 256G 0 disk /mnt/wslg/distro
# this system is using a logical volume manager:
lsblk -p
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
/dev/loop1 7:1 0 91.9M 1 loop
/dev/nvme0n1 259:0 0 100G 0 disk
|-/dev/nvme0n1p1 259:4 0 99.9G 0 part /etc/ssh
|-/dev/nvme0n1p14 259:5 0 4M 0 part
`-/dev/nvme0n1p15 259:6 0 106M 0 part
/dev/nvme3n1 259:1 0 50G 0 disk
If you install Exasol for a non-root user, the data disks must be writeable for the user. For more information, see Rootless Installation.
Installation directory
Exasol is installed in the home directory of the installation user on each database node. For example, if the username is exasol
, Exasol is installed under /home/exasol/
.
The partition where the home directory of the installation user is mounted must have at least 20 GiB free space available for the installation.
Next step: Download software
You have now completed all the necessary preparations and can continue to install Exasol on the database hosts. In the following steps you will download Exasol Deployment Tool (c4), create a deployment configuration, and then use c4 to deploy Exasol on all hosts over the private network.