A cloud administrator manages a Compute Engine virtual machine running a stateful database application on a standard persistent disk (`pd-standard`). Due to increasing transaction volume, the database is experiencing disk I/O bottlenecks. The administrator needs to increase both disk IOPS and throughput with minimal operational impact and without recreating the VM or detaching the disk. Which action should the administrator take to achieve this requirement following Google Cloud best practices?
- Increase the size of the existing persistent disk while it remains attached to the VM, and then expand the file system within the guest operating system.Cevap
- BReconfigure the VM instance provisioning model to Spot VM to automatically unlock higher baseline IOPS tiers for standard persistent disks.
- CSubmit a quota increase request for Compute Engine Disk IOPS in the IAM & Admin Console prior to expanding disk capacity.
- DGrant the primitive Owner role to the VM instance service account to allow dynamic hypervisor IOPS allocation.
Cevap
Increase the size of the existing persistent disk while attached to the running VM, and then expand the file system from within the guest operating system.
In Compute Engine, persistent disk performance (IOPS and throughput) scales linearly with the size of the disk. Disks can be expanded online without detaching them or stopping the virtual machine. Once the disk capacity is increased via the Cloud Console or gcloud CLI, the administrator only needs to resize the file system within the guest OS to gain the additional capacity and higher I/O performance limits.
Adım Adım Çözüm
Anahtar Kavram
Online Persistent Disk Resizing and Performance Scaling
Tahmini Süre:2m 0s