About this task
InfiniMetrics is installed with a disk space of 30GB. As InfiniMetrics gathers more InfiniBox/InfiniGuard data and the amount of stored data accumulates, there may be a need for more disk space.
Past InfiniMetrics versions
Prerequisites
- An up and running InfiniMetrics appliance
- Access rights to the virtual machine that hosts InfiniMetrics
Instructions
- On the vCenter, expand the disk space of the InfiniMetrics virtual machine.
On the console, run the following command:
root@localhost:~# infinimetrics expand-disk
The command's output (example with two systems) is:
Stopping service infinimetrics_1242 Stopping service infinimetrics_2271 2019-10-23 11:54:12,041 INFO root b'\xe2\x97\x8f postgresql.service - PostgreSQL RDBMS\n Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)\n Active: active (exited) since Wed 2019-10-23 11:52:49 UTC; 1min 22s ago\n Process: 1043 ExecStart=/bin/true (code=exited, status=0/SUCCESS)\n Main PID: 1043 (code=exited, status=0/SUCCESS)\n\nOct 23 11:52:49 rbelio-post294 systemd[1]: Starting PostgreSQL RDBMS...\nOct 23 11:52:49 rbelio-post294 systemd[1]: Started PostgreSQL RDBMS.\n' INFO: 2019-10-23 11:54:13,907 - rescaning disks 2019-10-23 11:54:13,907 INFO infinimetrics.scripts.expand_disk rescaning disks INFO: 2019-10-23 11:54:15,415 - found device holding clickhouse database: /dev/sda6 2019-10-23 11:54:15,415 INFO infinimetrics.scripts.expand_disk found device holding clickhouse database: /dev/sda6 INFO: 2019-10-23 11:54:15,448 - found extended partition /dev/sda2, going to resize it first 2019-10-23 11:54:15,448 INFO infinimetrics.scripts.expand_disk found extended partition /dev/sda2, going to resize it first INFO: 2019-10-23 11:54:15,798 - device /dev/sda2 was resized. 2019-10-23 11:54:15,798 INFO infinimetrics.scripts.expand_disk device /dev/sda2 was resized. INFO: 2019-10-23 11:54:16,319 - device /dev/sda6 was resized. 2019-10-23 11:54:16,319 INFO infinimetrics.scripts.expand_disk device /dev/sda6 was resized. INFO: 2019-10-23 11:54:16,320 - Resizing FS. 2019-10-23 11:54:16,320 INFO infinimetrics.scripts.expand_disk Resizing FS. INFO: 2019-10-23 11:54:16,320 - This might take a while ( depends on disk new size ) 2019-10-23 11:54:16,320 INFO infinimetrics.scripts.expand_disk This might take a while ( depends on disk new size ) INFO: 2019-10-23 11:54:16,321 - Please don't exit/break 2019-10-23 11:54:16,321 INFO infinimetrics.scripts.expand_disk Please don't exit/break 2019-10-23 11:54:17,145 INFO root b'\xe2\x97\x8f postgresql.service - PostgreSQL RDBMS\n Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)\n Active: active (exited) since Wed 2019-10-23 11:52:49 UTC; 1min 27s ago\n Process: 1043 ExecStart=/bin/true (code=exited, status=0/SUCCESS)\n Main PID: 1043 (code=exited, status=0/SUCCESS)\n\nOct 23 11:52:49 rbelio-post294 systemd[1]: Starting PostgreSQL RDBMS...\nOct 23 11:52:49 rbelio-post294 systemd[1]: Started PostgreSQL RDBMS.\n' Starting service for ibox1242 (1242) OK Starting service for ibox2271 (2271) OK 2019-10-23 11:54:19,772 INFO heartbeat Heartbeat command is starting... 2019-10-23 11:54:19,775 INFO root Collecting common data 2019-10-23 11:54:19,916 INFO heartbeat ============ System 1242 (ibox1242) =========== 2019-10-23 11:54:19,924 INFO root Collecting System totals 2019-10-23 11:54:19,964 INFO root Collecting NAS totals 2019-10-23 11:54:19,977 INFO root Collecting IO by size 2019-10-23 11:54:20,007 INFO root Collecting Read performance 2019-10-23 11:54:20,025 INFO root Collecting NAS IO by size 2019-10-23 11:54:20,099 INFO heartbeat ============ System 2271 (ibox2271) =========== 2019-10-23 11:54:20,106 INFO root Collecting System totals 2019-10-23 11:54:20,137 INFO root Collecting NAS totals 2019-10-23 11:54:20,156 INFO root Collecting IO by size 2019-10-23 11:54:20,184 INFO root Collecting Read performance 2019-10-23 11:54:20,195 INFO root Collecting NAS IO by size 2019-10-23 11:54:20,267 INFO heartbeat Heartbeat command finished INFO: 2019-10-23 11:54:20,267 - SUCCESS 2019-10-23 11:54:20,267 INFO infinimetrics.scripts.expand_disk SUCCESS
Related tasks
- Connecting to the virtual machine console - see the InfiniMetrics user guide
Comments