Skip to content

Commit

Permalink
Merge pull request #124 from sassoftware/staging
Browse files Browse the repository at this point in the history
Monthly Release - February
  • Loading branch information
jarpat authored Mar 1, 2022
2 parents 8a04c30 + bd092f6 commit 4288b17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ Create and manage the required cloud resources. Perform one of the following ste
- run [Terraform](docs/user/TerraformUsage.md) directly on your workstation
- run the [Docker container](docs/user/DockerUsage.md) (recommended)

### Increase the Max Prepared Transactions for External Postgres Database

If you are using an external Postgres server, you will need to ensure that the max prepared transactions is at least 1024. You can verify this information by opening the AWS Console and navigating to the RDS Service. Select your Postgres instance, open the Configuration tab, and click on the link to the database's parameter group. Search for the 'max_prepared_transactions' parameter.

If the max prepared transactions is less than 1024, you will need to update the value. Click on the "Edit Parameters" button and change the value to 1024. Once you save your changes, you will need to wait for the database to apply the changes. This can be found back on the configuration tab. After it has been applied, you will need to reboot the database.

## Troubleshooting

See the [Troubleshooting](./docs/Troubleshooting.md) page for information about possible issues that you might encounter.
Expand Down
5 changes: 4 additions & 1 deletion files/cloud-init/nfs/cloud-config
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ runcmd:
- update-initramfs -u
# Update /etc/fstab
#
- echo "/dev/md0 /export ext4 defaults,nofail,x-systemd.requires=cloud-init.service,barrier=0,discard 0 2" >>/etc/fstab
- device=`lsblk -r | grep raid0 | cut -d " " -f1`
- mntDir='/export'
- deviceUUID=`sudo blkid /dev/$device | sed -r 's/.*UUID="([^"]*).*"/\1/g'`
- echo "UUID=$deviceUUID $mntDir auto defaults,acl,nofail 0 2" | sudo tee -a /etc/fstab > /dev/null
- mount -a
#
# Update /etc/exports
Expand Down

0 comments on commit 4288b17

Please sign in to comment.