Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Increase TimescaleDB PVC Size

Use the steps detailed in this topic to manually increase the size for TimescaleDB persistent volume claim (PVC).

The minimum recommended system requirements to deploy a Paragon Automation cluster is described in Paragon Automation System Requirements. If you want to scale up your cluster you can increase the hardware resources that are required on each node VM when you are creating the VMs for the first time as per your requirement. If you have already deployed your cluster, use the information detailed in this topic to increase storage size, specifically Ceph and consequently TimescaleDB PVC.

Ceph storage is used for both object storage and the PVC for the pods. ~50% of Ceph storage is allocated for TimescaleDB PVC.

To increase the size of the PVC, perform the following steps:

  1. Increase Ceph storage.

  2. Update the allocation quota for Timescale DB PVC in Ceph storage.

  3. Increase the Timescale DB PVC size.

Increase Ceph Storage

Increase the total Ceph storage size.

  1. Increase the virtual disk size from your ESXi server.

    Ceph uses the second disk attached to the node virtual machine (VMs). Ensure that you resize the correct virtual disk. You do not need to reboot the VM.

  2. Verify the new virtual disk size.
    1. Log in to the Linux root shell of the node VM.

    2. Use the lsblk command to verify that the OS detects the new disk size. For example:

      In this example, the OS detects that the vdb was increased from 50-GB to 55-GB.

  3. Restart Ceph OSD to detect the size change. For example:
    1. Verify the existing OSD size.

      1. Launch the Rook tools pod.

      2. Retrieve the current OSD size.

        In this example, you are modifying the OSD on vm4. Here, we still see original size, which is ~50-GB (USED+AVAIL).

    2. Go back to the Linux root shell and determine the OSD pod that runs on the node for which the disk size is to be increased (vm4).

    3. Restart the pod.

    4. Verify the new size.

      1. Launch the Rook tools pod and execute ceph osd status again.

        Here, the OSD on vm4 has increased to ~55-GB.

      2. Verify that the total size has also increased.

        Here, the total size has increased from 200-GB to 205-GB.

    Note:

    In this example, you increased the size of Ceph storage on one node VM. We recommend that you increase the size on all the node VMs to make the storage value consistent across all the nodes. Repeat these steps for the remaining three VMs.

Update Timescale DB PVC Quota

If you increase the total size of Ceph storage, you must update the allocation quota between object storage and PVC. Use Paragon Shell to increase the allocation quota. For example:

Increase Timescale DB PVC

You can increase the PVC size for TimescaleDB by using Paragon Shell. When you are installing Paragon Automation afresh, override the default PVC size and add the set paragon cluster custom-config keyValue paa-timescaledb-storage-size string size configuration before deploying the Paragon Automation cluster.

  1. Log in to the installer node VM.

  2. Configure the new PVC size in configure mode. For example:

  3. Deploy the Paragon Automation cluster as usual.