Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DPOD's Big Data Store is located on a dedicated hard drive. Occasionally, the disk space allocated for the Store needs to be increased. Reasons for that include an increase in TPS, or a requirement to retain history for longer periods of time.

The process to increase the disk space allocated to DPOD's Store entails the two stages detailed below:

...

Increase the Data Disk and File System

Physical Server

Use the server vendor's RAID management software to extend the existing RAID Disk (LUN) or add new RAID Disk (new LUN), in order to increase the data disk and file system sizes for the physical server.

...

With a virtual deployment, there are two options available for increasing DPOD's Store disk space:

Anchor
Extend an existing disk
Extend an existing disk
Extend the existing Virtual Disk

...

  1. Verify the current size of the /data mount point:

    Code Block
    df -h /data

    The system output should resemble the following:

  2. Verify the new disk size:

    Code Block
    fdisk -l |grep /dev/sdd

    The system output should resemble the following:

  3. Create a new partition with the new size:

    Code Block
    fdisk /dev/sdd


    1. Press p to print the partition table and ensure there are no existing partitions. 
    2. Press n to create a new primary partition.
    3. Press p for primary.
    4. Press 1 for the partition number
    5. Press Enter twice
    6. Press t to change the system's partition ID.
    7. Type 8e to change the Hex Code of the partition for Linux LVM.
    8. Press w to write the changes to the partition table.
    9. Reboot the system:

      Code Block
      reboot


    10. When the system is back up, ensure the new partition is created:

      Code Block
      fdisk -l |grep /dev/sdd

       The system output should resemble  the following:

    11. Stop the application by running app-util.sh and selecting option 2 (stop all)
    12. Create a new LVM Physical Volume (PV):

      Code Block
      pvcreate /dev/sdd1


    13. Extend the LVM Volume Group (VG):

      Code Block
      vgextend vg_data /dev/sdd1


    14.  Extend the LVM logical volume (LV): 

      Code Block
      lvextend -l +100%FREE /dev/vg_data/lv_data


    15.  Identify the /data file system type (for CentOS 7.2 based appliances the type is xfs): 

      Code Block
      cat /etc/fstab |grep /data

       The system output should resemble the following:


    16.  Resize the file system. Select the correct command below for your file system type:

      Code Block
      titleext4
      resize2fs /dev/vg_data/lv_data


      Code Block
      titlexfs
      xfs_growfs /dev/vg_data/lv_data

      The system output should resemble the following:


    17. To display the new size of the /data mount point:

      Code Block
      df -h /data

      The system output should resemble the following:

...

Update

...

the Store Configuration File

Starting with v1.0.4, DPOD is shipped with a script that performs all the necessary steps to update the Store configuration file.

...

Code Block
languagebash
themeMidnight
 /app/scripts/update_store_allocation.sh -l 1


Info

The script is available on DPOD v1.0.4 and above. If you are using earlier version please contact DPOD support and the script will be provided.

...