Describes how to create a sotrage tier using the Control System and the CLI.
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, filesystem 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 Ezmeral Data Fabric
does not enforce minimum number of copies for writes to
succeed.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.
$maprcli tier create -name <tier_name> -type cold -url <tier_url> -credential <credentials_file_path>
For using the -credential option, 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_str option as follows:
$maprcli tier create -name <tier_name> -type cold -url <tier_url> -credential_str '<credential_string>'$maprcli tier create -name <tier_name> -type ectier# curl -k -X POST 'https://abc.sj.us:8443/rest/tier/create?name=egColdTier&type=cold&url=s3.amazonaws.com&credential=credentials.txt' --user mapr:mapr
{"timestamp":1525724933919,"timeofday":"2018-05-07 01:28:53.919 GMT-0700 PM","status":"OK","total":0,"data":[],"messages":["Successfully created tier: 'egColdTier'"]}# curl -k -X POST 'https://abc.sj.us:8443/rest/tier/create?name=egWarmTier&type=ectier' --user mapr:mapr
{"timestamp":1525725105206,"timeofday":"2018-05-07 01:31:45.206 GMT-0700 PM","status":"OK","total":0,"data":[],"messages":["Successfully created tier: 'egWarmTier'"]}tier create.