tier command

Purpose

Performs the tier-related operations in a shared storage pool.

Syntax

To create a tier in a shared storage pool:

tier -create [-clustername ClusterName] [-sp StoragePool] -tier TierName: PhysicalVolume ...

To create a tier in a shared storage pool, by passing physical volumes in a file:

tier -create [-clustername ClusterName] [-sp StoragePool] -file -tier TierName: FileName

To remove a tier from the shared storage pool:

tier -remove [-clustername ClusterName] [-sp StoragePool] -tier TierName

To modify the properties of a tier in a shared storage pool:

tier -modify [-clustername ClusterName] [-sp StoragePool] -tier TierName -attr Attribute=Value

To list tiers in a shared storage pool:

tier -list [-clustername ClusterName] [-sp StoragePool] [-verbose | -field FieldName ...] [-fmt delimiter [-header]]

Description

The tier command is used to perform tier-related operations in a shared storage pool.

Flags

Flag name Description
-attr Specifies a tier attribute and a value.
-clustername Specifies the name of the cluster.
-create Creates a new user tier in a shared storage pool.
-field Specifies a list of fields to be displayed.
-file Specifies that a file name has to be provided with the -create flag. The file must contain physical volume names separated by a white space.
-fmt Separates the output with a user-specified delimiter character.
-header Specifies to display field names in the formatted listing output.
-list Lists tiers in a shared storage pool.
-modify Modifies the properties of a tier.
-remove Removes tier from a shared storage pool.
-sp Specifies the name of a shared storage pool.
-tier Specifies the name of a tier.
-verbose Displays detailed information about the tier.

Examples

  1. To create a tier, type the following command:
    tier –create –tier prod_tier: hdisk3 hdisk4

    The system displays the output as follows:

    'prod_tier’ tier has been created successfully.
  2. To create a tier with the names of the physical volume specified in a file, type the following command:
    tier –create –file –tier test_tier: pvFile

    The system displays the output as follows:

    'test_tier’ tier has been created successfully.
  3. To create a tier with the physical volume that is in use, type the following command:
    tier –create –tier test_tier2: hdisk4 hdisk5

    The system displays the output as follows:

    ‘test_tier2’ tier has been created with lesser capacity.
    PV is currently in use hdisk4
  4. To list the tiers from a shared storage pool, type the following command:
    tier –list

    The system displays the output as follows:

    Add this example instaed of the highlighted one.
    POOL_NAME: testsp
    TIER_NAME SIZE(MB) FREE_SPACE(MB) MIRROR_STATE
    Default    10112   8000         NOT_MIRRORED
    prod_tier  10110   8000         SYNCED
    test_tier  10110   8000         SYNCED
    test_tier2 10110   8000         SYNCED
  5. To list the tiers with detailed information, type the following command:
    tier –list -verbose

    The system displays the output as follows:

    POOL_NAME: testsp
    TIER_NAME: Default
    TIER_TYPE: CO_MINGLED
    TIER_SIZE(MB): 10112
    FREE_SPACE(MB): 8000
    OVERCOMMIT_SIZE(MB): 0
    TOTAL_LUS: 5
    TOTAL_LU_SIZE: 2112
    FG_COUNT: 1
    MIRROR_STATE: NOT_MIRRORED
    ERASURE_CODE: NONE
    
    POOL_NAME: testsp
    TIER_NAME: prod_tier
    TIER_TYPE: USER
    TIER_SIZE: 10110
    FREE_SPACE: 8000
    OVERCOMMIT_SIZE: 0
    TOTAL_LUS: 3
    TOTAL_LU_SIZE: 2110
    FG_COUNT: 2
    MIRROR_STATE: SYNCED
    ERASURE_CODE: MIRROR2
    
    POOL_NAME: testsp
    TIER_NAME: test_tier2
    TIER_TYPE: USER
    TIER_SIZE: 10110
    FREE_SPACE: 8000
    OVERCOMMIT_SIZE: 0
    TOTAL_LUS: 3
    TOTAL_LU_SIZE: 2110
    FG_COUNT: 2
    MIRROR_STATE: SYNCED
    ERASURE_CODE: MIRROR2
    
    POOL_NAME: testsp
    TIER_NAME: test_tier
    TIER_TYPE: USER
    TIER_SIZE: 10110
    FREE_SPACE: 8000
    OVERCOMMIT_SIZE: 0
    TOTAL_LUS: 3
    TOTAL_LU_SIZE: 2110
    FG_COUNT: 2
    MIRROR_STATE: SYNCED
    ERASURE_CODE: MIRROR2
  6. To list the tiers in a formatted output, type the following command:
    tier –list –fmt , 

    The system displays the output as follows:

    testsp,Default,10112,8000,NOT_MIRRORED
    testsp,prod_tier,10110,8000,SYNCED
    testsp,test_tier,10110,8000,SYNCED
    testsp,test_tier2,10110,8000,SYNCED
  7. To list detailed information about tiers in a formatted output, type the following command:
    tier –list –fmt , -verbose

    The system displays the output as follows:

    testsp,SYSTEM,CO_MINGLED,10112,8000,0,5,2112,1,NOT_MIRRORED,NONE
    testsp,prod_tier,USER,10110,8000,0,3,2110,1,SYNCED,MIRROR2
    testsp,test_tier,USER,10110,8000,0,3,2110,1,SYNCED,MIRROR2
    testsp,test_tier2,USER,10110,8000,0,3,2110,1,SYNCED,MIRROR2
  8. To list only the tier name and the total logical units, type the following command:
    tier –list –field tier_name total_lus

    The system displays the output as follows:

    TIER_NAME: SYSTEM
    TOTAL_LUS: 5
    
    TIER_NAME: prod_tier
    TOTAL_LUS: 3
    
    TIER_NAME: test_tier
    TOTAL_LUS: 3
    
    TIER_NAME: test_tier2
    TOTAL_LUS: 3 
  9. To list only the tier name and the total logical units in a formatted output, type the following command:
    tier –list –field tier_name total_lus –fmt

    The system displays the output as follows:

    SYSTEM,5
    prod_tier,3
    test_tier,3
    test_tier2,3
  10. To list the tiers in a formatted output with the header information, type the following command:
    tier –list –fmt , -header

    The system displays the output as follows:

    POOL_NAME,TIER_NAME,SIZE,FREE_SPACE,MIRROR_STATEl
    testsp,SYSTEM,10112,8000,NOT_MIRRORED
    testsp,prod_tier,10110,8000,SYNCED
    testsp,test_tier,10110,8000,SYNCED
    testsp,test_tier2,10110,8000,SYNCED



Last updated: Wed, November 18, 2020