The initial vCPU, memory, and disk resources available to a Service Instance VM are determined by the vCPU & Memory and Storage values that you selected when you created the service instance.
If you find that the Service Instance VM requires more or less resources, you can scale the vCPU and memory resource configuration up or down at runtime. Scaling the vCPU or memory is independent of the storage size; you can similarly and independently increase the size of the virtual disk in use by the VM.
Sufficient resources must be available to scale the compute configuration or to extend the virtual disk; Data Management for VMware Tanzu returns an error if there are insufficient resources to satisfy the request.
Only the owner of the Service Instance VM, and the Organization Administrator , have the privileges required to change the resources allotted to the VM.
Depending upon the configuration of your Organization, you either explicitly select the new vCPU and memory amounts, or you choose from a predefined set of instance plans that provide vCPU/memory amount combinations.
Scaling vCPU or memory resources is an on-demand operation. When you initiate the operation, Data Management for VMware Tanzu powers down the Service Instance VM, applies the new resource settings, and then powers the VM back up. In addition to the service being offline during this period, the downtime affects currently running management tasks as follows:
Before scaling the compute resources of a Service Instance VM, ensure that any currently running management and service tasks first complete, or are nonessential.
Perform the following procedure to scale up or down the vCPU or memory resources allotted to a Service Instance VM:
Select Databases from the left navigation pane.
This action displays the Databases view, a table that lists the provisioned database instances.
Examine the databases listed in the table, identify the database whose resource properties you wish to update, and navigate to that table row.
Click the database Instance Name.
The database information Details tab displays.
Select the VM Settings tab.
This action displays information about the VM Configuration and the Environment in which the Service Instance VM runs.
Click the ACTIONS button in the top right corner of the view, and select Change Compute Configuration from the drop-down menu.
The Change Compute Configuration dialog displays. The fields available in the dialog will differ based on the configuration of your Organization.
Enter the the number of vCPUs and the amount of memory (in GBs) (You must provide both values.), or select from the predefined instance plan vCPU & Memory combinations.
Click SAVE to initiate the resource configuration changes.
Data Management for VMware Tanzu generates a management operation of type SCALE_DB_CONFIG.
Monitor the progress of the task in the Operations tab or in the Database Operations view:
You may choose to extend the virtual disk size of a Service Instance VM when your data storage requirements for the service change. Data Management for VMware Tanzu supports only extending the disk size; you can not reduce the size of the virtual disk.
Extending disk is an on-demand operation; Data Management for VMware Tanzu immediately initiates the task, and performs the operation without any downtime to the VM or the service.
By default, Data Management for VMware Tanzu backs up the service before extending the virtual disk. While it is not recommended, you can omit this step if you choose.
Before extending the virtual disk of a Service Instance VM, ensure that the VM has no snapshots. The Determining if a virtual machine running on a snapshot and Managing snapshots in vSphere Web Client knowledge base articles may provide assistance here.
Perform the following procedure to increase the virtual disk size of a Service Instance VM:
Select Databases from the left navigation pane.
This action displays the Databases view, a table that lists the provisioned database instances.
Examine the databases listed in the table, identify the database whose properties you wish to update, and navigate to that table row.
Click the database Instance Name.
The database information Details tab displays.
Select the VM Settings tab.
This action displays information about the VM Configuration and the Environment in which the Service Instance VM runs.
Click the ACTIONS button in the top right corner of the view, and select Extend Disk from the drop-down menu.
The Database Disk Extension dialog displays.
Examine the current Free Space in GB, and specify the amount to extend the disk size by in Extend Size in GB.
If you choose to omit the backup step, click to un-check Backup Required.
Click SAVE to initiate disk extension.
Data Management for VMware Tanzu generates a management operation of type EXTEND_DB_DISK. If a backup is required, it also generates a BACKUP_DB operation type.
Monitor the progress of the task(s) in the Operations tab or in the Database Operations view.