Steps to Increase Size of a vRA 8.x Appliance after 8.2 and Higher
(BTW, KB 79925 is a good resource on this for how to workaround disk expansion not working in 8.0 and 8.1)
1. Before you resize, check for clutter, aka log bundles.
$ ssh root@vraappliance.mindwatering.net
root@vraappliance [~]# ls -l -h *tar
... 966M Nov 29, 2021 log-bundle-20210...
...
... 1.5G Jan 3 log-bundle-202201...
...
root@vraappliance [~]# rm log-bundle-2021*.tar -l *tar
root@vraappliance [~]# rm log-bundle-202201*.tar -l *tar
...
root@vraappliance [~]# rm log-bundle-202205*.tar -l *tar
How much is the free space, now:
Hint: Because of all the docker entries, df is many pages long. Use pipe to filter.
root@vraappliance [~]# df -h | grep "/var/log"
/dev/mapper/logs_vg-log ... 90% /var/log
root@vraappliance [~]# vracli disk-mgr
...
/dev/sdc(/var/log):
Total: 22.48GiB
Free: 2.44GiB(9.21%)
...
2. Increase the size in vSphere Web Client:
vSphere Web Client --> Locate VM --> right-click VM name, choose Edit Settings
Locate Disk 3. Disk 3 should be /dev/sdc or /var/logs, and increase the size, for example, from 24 GB to 46 GB.
Click OK to save.
2. SSH into the vRA appliance
$ ssh root@vraappliance.mindwatering.net
<enter pwd>
This time, run vracli to increase the size:
root@vraappliance [~]# vracli disk-mgr resize
2022-09-30 12:07:01,010 [INFO] Resetting automatic resize scan schedule...
2022-09-30 12:07:01,010 [INFO] Reset successful. Automatic resize of any device where it is applicable will commence in the next minute.
2b. Wait about a minute and review the size, again:
root@vraappliance [~]# vracli disk-mgr
...
/dev/sdc(/var/log):
Total: 43.49GiB
Free: 22.44GiB(49.2%)
...
2c. Verify with df:
root@vraappliance [~]# df -h | grep "/var/log"
/dev/mapper/logs_vg-log 43.2G 21.9G 51% /var/log
2d. Log-out
root@vraappliance [~]# exit
previous page
|