Creating a Storage Tier
Describes how to create a sotrage tier using the Control System and the CLI.
About this task
For a primer on Data Tiering, see Data Tiering.
You can create a tier using the Control System and the CLI.
When you create a tier, file system creates a volume,
whose mount point is
/var/mapr/tier/mapr.internal.tier.<tiername>, for the tier.
For warm tier volumes automatically created using the ecenable
parameter or the Control System, by default, a corresponding tier volume named
mapr.internal.tier.autoec.<volName>.<creationTime> is
created in the /var/mapr/autoectier path. The tier volume is
visible and stores all the metadata tables and information on all the jobs running
on the tier. Do not modify, move, or remove this volume.
enforceminreplicationforio parameter) requires minimum number
of copies of the tier volume for writes to succeed. If the number of cluster nodes
is less than five, HPE Data Fabric does not
enforce minimum number of copies for writes to succeed.Creating a Warm Tier Using the Control System
About this task
When you create a volume enabled for erasure coding, the control system automatically creates a warm tier and associates the volume with that tier. See Creating a Volume for more information. You cannot create a warm tier separately using the Control System.
Creating a Cold Tier Using the Control System
About this task
Procedure
Creating a Tier Using the CLI and the REST API
About this task
- Cold tier:
For using the$maprcli tier create -name <tier_name> -type cold -url <tier_url> -credential <credentials_file_path>-credentialoption, you must have the credential file already set up as described in Setting up a Credentials File for Connecting to a Cold Tier Using the CLI or REST API. On the other hand, if you do not have the file already set up, use the-credential_stroption as follows:$maprcli tier create -name <tier_name> -type cold -url <tier_url> -credential_str '<credential_string>' - Warm tier with default values:
$maprcli tier create -name <tier_name> -type ectierNOTEYou can associate the same tier with multiple volumes with different erasure coding scheme.
- Cold Tier:
# curl -X POST 'https://server.sj.us:8443/rest/tier/create?name=egColdTier&type=cold&url=s3.amazonaws.com&credential=credentials.txt' --user <username>:<password> {"timestamp":1525724933919,"timeofday":"2018-05-07 01:28:53.919 GMT-0700 PM","status":"OK","total":0,"data":[],"messages":["Successfully created tier: 'egColdTier'"]} - Warm tier:
# curl -X POST 'https://server.sj.us:8443/rest/tier/create?name=egWarmTier&type=ectier' --user <username>:<password> {"timestamp":1525725105206,"timeofday":"2018-05-07 01:31:45.206 GMT-0700 PM","status":"OK","total":0,"data":[],"messages":["Successfully created tier: 'egWarmTier'"]}NOTEYou can associate the same tier with multiple volumes with different erasure coding scheme.
tier create.