Associating a Tier Tiering Rule with a Volume
About this task
You can associate a tier tiering rule with a new volume or with an already tiering-enabled volume using the Control System, CLI, and the REST API.
Associating a Tier Tiering Rule with a Volume Using the Control System
Procedure
                    Perform the steps in the following topics to associate a tier, tiering
                        rule, and/or schedule with:
                    
                
Associating a Tier Tiering Rule with a Volume Using the CLI
Procedure
                    Run the following command to associate a tier tiering rule with:
                    
                
- A new volume:
                            
For more information, see$maprcli volume create -name <vol_name> -path <vol_mount_path> -tieringenable true -tiername <tier_name> -tieringrule <rule_name>volume create. - An already tiering-enabled volume:
                            
For more information, see$maprcli volume modify -name <vol_name> -tiername <tier_name> -tieringrule <rule_name>volume modify. 
NOTE
 You cannot change the tier type or the tier for a volume after it is set.Associating a Tier Tiering Rule with a Volume Using the REST API
Procedure
                    Send a request of type POST to associate a tier tiering rule with:
                    
                
- A new volume. For example:
                            
For more information, seecurl -X POST 'https://<host>:8443/rest/volume/create?name=<vol_name>&path=<vol_mount_path>&tieringenable=true&tiername=<tier_name>&tieringrule=<rule_name>' --user <username>:<password>volume create. - An already tiering-enabled volume. For example:
                            
For more information, seecurl -X POST 'https://<host>:8443/rest/volume/modify?name=<vol_name>&tiername=<tier_name>&tieringrule=<rule_name>' --user <username>:<password>volume modify. 
NOTE
 Volume's data tiering properties like tiername, ectopology, ecscheme, etc. cannot be modified
                            after they are set.