- 15 Nov 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Creating an Archive Pool
- Updated on 15 Nov 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
- Using SSH, log in as
root
to your CTERA Portal primary database server. - In the command line, enter the following command to create the database archive pool:
portal-storage-util.sh create_db_archive_pool device
Where device is the name of the disk on which the database archive pool is created.
For example:portal-storage-util.sh create_db_archive_pool sdd
NoteThis command creates both a logical volume and an LVM volume group using the specified device. Multiple devices can be specified. For example:
portal-storage-util.sh create_db_archive_pool sdd sde sdf
The logical volume size can be extended at a later time, as described in Extending the Database Archive Pool.
When using NFS storage, use the following command to create the database archive pool: portal-storage-util.sh create_db_archive_pool -nfs <NFS_IP>:/export/db_archive_dir
where NFS_IP is the IP address of the NFS mount point.
When PostgreSQL streaming replication is required, also create an archive pool on the secondary, replication, server, using the above procedure but logging in to the secondary, replication server. See Using PostgreSQL Streaming Replication for details about PostgreSQL streaming replication.