====== Stgpool container tiering (STGRULE) ======
Move data from a **directory container to a cloud container**, base on rules.
Use this command to define a storage rule for one or more storage pools. The storage rule schedules tiering between container storage pools. You can define one or more storage rules for a target container storage pool.
When using **TIERBYAge**, the TIERDelay determine the age of file to move to Cloud, default is 30 days\\
Else you can move only inactive versions of files using **TIERBYState**
target_stgpool(Required)
Specifies the name of the target cloud-container storage pool.
SRCPools(Required)
Specifies the name of the source directory-container storage pools.
>>-DEFine STGRULE--rule_name--target_stgpool-------------------->
>--ACTiontype--=--+-TIERBYAge---+------------------------------->
+-TIERBYState-+
'-NOTiering---'
.-,------------------------. (1)
V | .-TIERDelay--=--30-----.
>------SRCPools--=--source_pool-+----+----------------------+--->
'-TIERDelay--=--delay--'
.-MAXPRocess--=--8------. .-DURation--=--NOLimit-.
>--+-----------------------+--+----------------------+---------->
'-MAXPRocess--=--number-' '-DURation--=--minutes-'
.-STARTTime--=--current_time-. .-ACTIVE--=--No------.
>--+----------------------------+--+--------------------+------->
'-STARTTime--=--time---------' '-ACTIVE--=--+-No--+-'
'-Yes-'
>--+-----------------------------+-----------------------------><
'-DESCription--=--description-'
=== Define an exception to a storage rule ===
>>-DEFine SUBRule--parent_rule_name--subrule_name--------------->
.-,---------.
V |
>------node_name-+------ACTiontype--=--+-TIERBYAge---+---------->
+-TIERBYSTate-+
'-NOTiering---'
.-TIERDelay--=--30----. (1) .-MAXPRocess--=--4------.
>--+---------------------+------+-----------------------+------->
'-TIERDelay--=--delay-' '-MAXPRocess--=--number-'
.-FIlespace--=--*------------------.
>--+----------------------------------+------------------------->
'-FIlespace--=--+-filespace_name-+-'
'-fsid-----------'
.-NAMEType--=--SERVER------.
>--+--------------------------+--------------------------------->
'-NAMEType--=--+-SERVER--+-'
+-UNIcode-+
'-FSID----'
.-CODEType--=--BOTH-----------.
>--+-----------------------------+-----------------------------><
'-CODEType--=--+-UNIcode----+-'
+-NONUNIcode-+
'-BOTH-------'