Modify VM Configuration in KVM
If you want to upgrade the VM from VM configuration option 1 to VM configuration option 2 as mentioned in Juniper Security Director System Requirements for KVM, perform the following:
In this procedure, we've used virsh. You can choose any tool that is available. You can upgrade memory or CPU through CLI commands or from Virtual Machine Manager graphical console.
Shutdown the Juniper Security Director VM. Run
virsh shutdown <vm-name>CLI command.Upgrade the memory. Run the following CLI commands. For example:
virsh setmaxmem <vm-name> 208G --configvirsh setmem <vm-name> 208G --config
Upgrade the CPU. Run the following CLI commands. For example:
virsh setvcpus <vm-name> 40 --config --maximumvirsh setvcpus <vm-name> 40 –-config
Resize disk images. Run the following CLI commands. For example:
qemu-img resize <path-to-disk-1.qcow2> 525Gqemu-img resize <path-to-disk-2.qcow2> 3.5T
Start the Juniper Security Director VM. Run
virsh start <vm-name>command.