Configuring Storage
OpenText recommends that you do not store your information on the root volume, especially your data and catalog directories. Instead, use dedicated EBS volumes for node storage. To take advantage of bursting, limit EBS volumes to 1TB or less. When configuring your storage, make sure to use a supported file system.
For best performance, you can combine multiple EBS volumes into RAID-0. Vertica provides a shell script, which automates the storage configuration process.
Determining Volume Names
Before you combine volumes for storage, make note of your volume names so that you can alter the configure_aws_software_raid.sh
shell script. You can find your volumes with the following commands:
cd /dev
ls
Your volumes start with xvd.
Combining Volumes for Storage
Follow these sample steps to combine your EBS volumes into RAID 0 using the configure_aws_software_raid.sh
shell script.
- Edit the
/opt/vertica/sbin/configure_aws_software_raid.sh
shell file as follows:- Comment out the safety
exit
command at the beginning . - Change the sample volume names to your own volume names, which you noted previously. Add more volumes, if necessary.
- Comment out the safety
- Run the
/opt/vertica/sbin/configure_aws_software_raid.sh
shell file. Running this file creates a RAID 0 volume and mounts it to /vertica/data. - Change the owner of the newly created volume to dbadmin with
chown.
- Repeat steps 1-3 for each node on your cluster.
More Information
For more information about EBS storage, refer to the Amazon documentation.