Running out of storage due to large Public Cloud Bills
book
Article ID: 338643
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms:
If the the unzipped file of AWS or Azure Bill is large, the VA will run out of storage to store it.
This effects the Data-Collection for public cloud. It will also affect the other processes as they will not get storage.
In monit summary, you see:
rootfs │ resource limit reached │ Filesystem
Environment
VMware vRealize Business for Cloud 7.5.x
Resolution
Increase the size of the VA:
To increase the available disk space: 1. Shut down the VMware vRealize Business appliance. 2. Add a new hard disk to the vRealize Business appliance. 3. Power on the appliance. 4. Connect to the appliance using SSH. 5. List all disks and identify the device ID of the new disk added by running this command in the shell client:
fdisk -lu
Note: By default, the device ID for the new disk is /dev/sdb.
Access the disk utility for the new disk:
6. Run this command
fdisk /dev/sdb
a) Press n then press Enter for new partition. b) Press p then press Enter for primary partition. c) Press 1 as the partition number. d) Accept the default start block and the default end block(use the default by pressing enter twice for start and for end) e) Press w to write the partition table to disk. f) Create a new partition on the new disk.
7. Create an ext3 file system on the new disk using this command:
mkfs -t ext3 /dev/sdb1
8. Mount the newly created partition with the required location by running this command: a) If the bill size of Aws/Azure is large and from their respective logs we see it is running out of storage, them mount data-collector temp location with new disk as mentioned in following command: mount /dev/sdb1 /usr/local/tomcat/itbm-data-collector/temp/
9. Use below command to confirm that new partition is mounted properly or not
mount -l (This command will give you the list of all mounted partition).
check the below line in the output of the above command. /dev/sdb1 on /usr/local/tomcat/itbm-data-collector/temp type ext3 (rw,relatime,data=ordered)
10. Open the file using vi vi /etc/fstab Add the following line /dev/sdb1 /usr/local/tomcat/itbm-data-collector/temp ext3 defaults 1 1
This step will ensure the disk is not unmounted if the VA is restarted