Creating an Archive Pool
  • 15 Nov 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Creating an Archive Pool

  • Dark
    Light
  • PDF

  1. Using SSH, log in as root to your CTERA Portal primary database server.
  2. 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
    Note

    This 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.

Note

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.


Was this article helpful?