Manage vCenter
vCenters are central management platforms that allow you to control hosts, virtual machines, and storage backends.
Add vCenter
You can add and manage multiple vCenters with one instance of ONTAP tools for VMware vCenter 10.0.
Steps
-
Launch
https://loadBalanceIP:8443/virtualization/ui/
from browser with ONTAP tools administrator credentials provided during deployment. -
Select vCenters from the sidebar
-
Select ADD to onboard vCenters with vCenter IP Address/Hostname, username, password, and port.
-
Navigate to Storage Backend page and select Add to onboard storage backend (ONTAP Cluster) with Hostname, username, password, and port.
Associate or Dissociate storage backend with vCenter
vCenter listing page shows the associated number of storage backends. Each vCenter has option to Associate or Disassociate a storage backend This task help you to create mapping between storage backend and onboarded vCenter globally.
Steps
-
Launch
https://loadBalanceIP:8443/virtualization/ui/
from browser with ONTAP tools administrator credentials provided during deployment. -
Select vCenters from the sidebar.
-
Click on the vertical ellipsis against the vCenter that you want to associate or dissociate with storage backends.
-
Select Associate or Dissociate storage backend depending on what action you want to perform.
Modify vCenter
Follow the steps below to modify the vCenters.
-
Launch
https://loadBalanceIP:8443/virtualization/ui/
from browser with ONTAP tools administrator credentials provided during deployment. -
Select vCenters from the sidebar
-
Click on the vertical ellipsis against the vCenter that you want modify and select Modify.
-
Modify the vCenter details and select Modify.
Remove vCenter
You need to remove all the storage backends attached to the vCenter before removing it.
-
Launch
https://loadBalanceIP:8443/virtualization/ui/
from browser with ONTAP tools administrator credentials provided during deployment. -
Select vCenters from the sidebar
-
Click on the vertical ellipsis against the vCenter that you want remove and select Remove.
Once you remove the vCenter, it will no longer be maintained by the application.
Manage Storage threshold
Use the following Get threshold API to retrieve the configured storage threshold limits for volume and aggregate.
GET/virtualization/api/v1/vcenters/{vcguid}/storage-thresholds
Examples: Get the Storage thresholds per vcenter by vcenter guid
GET "/api/v1/vcenters/beded9ad-6bbb-4c9e-b4c6-691250bfe2da/storage-thresholds"
Use the following PATCH configure alarm for volume and aggregate to generate notification when configured threshold limits are reached.
PATCH/virtualization/api/v1/vcenters/{vcguid}/storage-thresholds
Examples: Update the Storage thresholds per vcenter by vcenter guid. Default limits are 80% for nearly-full and 90% for full. Modifying all threshold settings
{{{}PATCH "/api/v1/vcenters/beded9ad-6bbb-4c9e-b4c6-691250bfe2da/storage-thresholds" Request Body { "volume": { "nearly_full_percent": 80, "full_percent": 90 } , "aggregate": { "nearly_full_percent": 80, "full_percent": 90 } }{}}}{}