[ 
https://issues.apache.org/jira/browse/HDDS-17978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rakesh Radhakrishnan reassigned HDDS-17978:
-------------------------------------------

    Assignee: Rakesh Radhakrishnan

> Configurable storage policies with ordered fallback chains
> ----------------------------------------------------------
>
>                 Key: HDDS-17978
>                 URL: https://issues.apache.org/jira/browse/HDDS-17978
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Rakesh Radhakrishnan
>            Assignee: Rakesh Radhakrishnan
>            Priority: Major
>         Attachments: 01_hld_configurable_storage_policy_proposal.md
>
>
> This task provides advanced configurable storage policies, so that admins can 
> define their own policies and storage types, set a fallback order per 
> workload, and map more S3 storage classes without a code change.
> Admins define storage policies in a JSON file, 
> {_}ozone-storage-policy.json{_}:
> - Declare the storage types the cluster uses. SSD, DISK and ARCHIVE are built 
> in; admins can add their own, e.g. NVME, QLC or TLC, and use the same names 
> on the datanode volumes.
> - Define custom policies next to the built-ins HOT, WARM and COLD, which keep 
> IDs 1-3. Each policy has a creation storage type, an ordered creationFallback 
> list and an ordered replicationFallback list.
> - Set the cluster default policy and the S3 storage-class mapping.
> - Validate the file when it is loaded, rejecting a bad file with a clear 
> message. Sites can plug in their own rules through StoragePolicyValidator. 
> SCM doesn't use datanode volumes whose storage type isn't declared in the 
> file.
> - Apply the file in node-local mode (read by every SCM, OM and S3 Gateway at 
> startup) or in SCM-managed mode (imported once and replicated through SCM HA, 
> so changes need no restart).
> - Replace StorageTier with StorageType; policies reference storage types 
> directly.
> - Set datanode volume storage types with a node default or path rules instead 
> of per-volume [TYPE] tags.
> - Add admin CLI commands: ozone admin storagepolicy validate, add, list, 
> enable, disable and set-default.
> A bucket's allowFallbackStoragePolicy=false always wins over the policy's 
> fallback chain. Without a policy file, behaviour is unchanged.
> Out of scope: volume auto-detect, mixed-replica placement (ONE_SSD), and 
> moving existing data after a policy or hardware change.
> Design: see the attached high-level design document. Open for discussions.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to