Resizing Disk After OCSM Installation

Perform the following tasks to resize the disk after OCSM Installation.

  1. Run the df -kh, verify the added space on the VM.
  2. Check the database and UI for the traffic that was run prior to the upgrade. Look for the user and IP address using User Tracking and IP Tracking.
  3. Verify that the data exists in Calls table. All data present before resize is still available in the system.
  4. Verify the size of root partition from the VM system. The disk with the column Mounted On which has the / value is the root partition. Make a note this value. The size that is displayed is based on the configuration.
  5. Verify the disk_quota.conf file values for each partition size. You can find the file under: /opt/oracle/ocsm/etc/iptego/disk_quota.conf.
  6. Run the following command to resize the disk space:
    /opt/oracle/ocsm/usr/share/pld/scripts/admin/change-disk-usage.py -d1 <new-size> -d2 <new size>
  7. Note: Use d2 if dual disks are being used.
  8. If the new disk space is lesser than the previous size, then data is deleted. Ensure that the size is larger than the preconfigured size.
  9. Disk space is added to the partition as configured. Verify the changes from the file:

    cat /opt/oracle/ocsm/etc/iptego/disk_quota.conf