Rebalance vVols datastores
ONTAP tools supports a command to rebalance FlexVol volumes in your datacenter. The main goal is to enable even space utilization among FlexVol volumes. ONTAP tools redistributes vVols among existing volumes based on space usage, thin provisioning, LUN count, and storage capability profiles.
The rebalancing of vVols datastore is performed by LUN move or file move. The criteria considered during vVols rebalancing are as follows:
-
NFS vVol datastores are not supported
-
Existing FlexVol volumes will not be resized and neither will new FlexVol volumes be added
-
Only FlexVol volumes that have same storage capability or volume attributes are rebalanced
-
FlexVol volumes with highest space utilization are considered for rebalancing
-
All vVols associated with a virtual machine are moved to the same FlexVol volumes
-
LUN and File count limit is retained
-
Rebalance is not performed if the delta between the FlexVol volumes space utilization is 10%
The rebalance command removes empty FlexVol volumes to provide space for other datastores. Thus, the command enables you to remove unwanted FlexVol volumes so that they can be removed from the datastore. The command intends to move all the vVols associated with a virtual machine to same FlexVol volume. There is a precheck performed by the command before rebalance is started to minimize failures. But even with successful precheck, the rebalance operation might fail for one or more vVols. When this happens, then there is no rollback of the rebalance operation. So, vVols associated with a virtual machine might be placed on different FlexVol volumes and will result in warning logs.
|
-
Generate the Web-CLI token from the maintenance console:
-
Login to maint console.
-
Select option 1 Appliance Configuration.
-
Select option 12 Generate Web-Cli Authentication token.
-
-
Get the container name and FlexVol Volumes name from vCenter or from the Web-CLI. To get the list of FlexVol Volumes attached to the container, run the command container list from Web-CLI. You can find the details of the container rebalance command on the Web-CLI Page.
You need to provide the container name to perform rebalance across all FlexVol volumes attached to that container. However, if FlexVol volume parameter is provided then rebalance is performed only across the provided FlexVol volume. |
-
Login from Web-CLI using URL
https://<OTV-IP>:9083/
-
Run the command: container rebalance -container_name=<container-name>