KVM Specific Management
- 1 Minute to read
- Print
- PDF
KVM Specific Management
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Increasing the Data or Archive Pool Size
Note
CTERA recommends changing the storage with the help of CTERA support CTERA Support.
To increase the storage:
- For each CTERA Portal instance you have installed, stop CTERA Portal services, by doing the following:
- Open an SSH session to the CTERA Portal instance.
- Log in as
root
user. - Run the command to stop the CTERA Portal services:
portal-manage.sh stop
- On the primary database server, or the replication, secondary, server, create a new disk using the following command:
qemu-img create -f qcow2 /<path>/<newdisk>.qcow2 <diskSize>
where path is the path to the new disk image, newdisk is the name for the disk and diskSize is the size of the disk.
The volume is created. This can take a few minutes. - Change the permissions for the disk using the following command:
chmod 777
- Run
fdisk -l
to identify the device for the new disk. - Attach the new disk to the portal server using the following command:
virsh attach-disk <name> /<path>/<newdisk>.qcow2 <vdc> --cache none --persistent
where:
name is the name assigned to the CTERA Portal server VM.
path is the path to the new dis image.
newdisk is the name of the new disk.
vdc is the free device for the disk, identified by fdisk.
--cache none is the disk cache mode and is optional.
--persistent ensures that the disk remains attached after the VM is rebooted. - Extend the storage, by doing the following:
- Run the following command to extend the data pool:
portal-storage-util.sh extend_storage <deviceName>
where device is the device name identified when you ranfdisk -l
- Run the following command to extend the archive pool:
portal-storage-util.sh extend_db_archive_pool <device>
where device is the device name identified when you ranfdisk -l
- Run the following command to extend the data pool:
- For each CTERA Portal instance you installed, starting from the CTERA Portal main database and proceeding to the application servers, start CTERA Portal services by doing the following:
- Log in as
root
user to each CTERA Portal server over SSH. - Run the following command to start the portal services:
portal-manage.sh start
- Log in as
Was this article helpful?