Xpand recommends using a separate volume to store the Xpand logs as opposed to using the same volume as the database data. This prevents having the database and the logs compete for storage space and IO. With AWS, it is easy to add a small EBS volume to handle the logs. Here is how to proceed using the AWS console and ssh access to each Xpand node:
In the AWS console EC2> Volumes, select "Create Volume", and use the settings below:
Click Create. The volume will take a minute before it is available. Create a volume for each Xpand node.
Once ready, you can attach the volume to your Xpand instance:
Once every node has an EBS volume attached, it needs to be set up on each node individually.
Find the EBS volume. Below we are using an m3.xl instance with 2 ephemeral disks (xvdb and xvdc) that are in a raid0 (md0) used as a data volume.
Stop the database (this will stop the database on the node, and if clustered, on every node of the cluster).
Format the volume with ext4.
Create mount point, label the volume, update fstab, and mount the volume.
Move the old log directory to the new one.
Create a symlink to the old directory (avoids config changes).
Check that everything worked.
Proceed with step 3 through 6 on all the other Xpand nodes.
Start the database.