If there are multiple backends, how does Trident select which backend to use?
Applies to
Answer
Additional Information
Trident Backend Selection:
• Filters backends by PVC/StorageClass requirements (protocol, size, parameters, labels).
• Any backend without enough free space for the request is excluded.
• If multiple matches, Trident picks one randomly — it does not check CPU load, performance metrics, or number of existing volumes.
ONTAP Aggregate Selection:
• If aggregates are defined in the Trident backend, that aggregate is always used.
• If not, ONTAP chooses from the SVM’s aggr_list using its internal placement logic (free space, load distribution, etc.).
PVC → Aggregate Selection Flow:
1. PVC created → Trident checks StorageClass and filters eligible backends.
2. Backend chosen → If multiple remain, selection is random.
3. Aggregate chosen →
• aggregates: set in backend → Trident uses it.
• Not set → ONTAP picks from SVM’s aggr_list.
