Storage Management
204
Titan SiliconServer
INCLUDE (<PATH /Temp> AND <FILENAME *.mp3>)
EXCLUDE (<ACTIVE_WITHIN 14>)
EXCLUDE (<FILE_SIZE_UNDER 2MB>)
The above rule is interpreted as:
IF path name includes /Temp AND filename is *.mp3 THEN MIGRATE.
IF file is active less than 14 days AND less than 2MB in size THEN EXCLUDE.
In scenario A, all the .mp3 files under Temp will be migrated based on the first INCLUDE
statement. Statements 2 and 3 are disregarded since they follow the more inclusive INCLUDE
statement that has already added what rules 2 and 3 are trying to exclude.
Rule Scenario B
If the same rules were ordered differently:
EXCLUDE (<FILE_SIZE_UNDER 2MB>)
EXCLUDE (<ACTIVE_WITHIN 14>)
INCLUDE (<PATH /Temp> AND <FILENAME *.mp3>)
The above rule is interpreted as:
IF file is under 2 MB in size AND active less than 14 days THEN EXCLUDE.
IF path name includes /Temp AND filename is *.mp3 THEN MIGRATE.
While Scenario A includes all .mp3 files from the folder /Temp, in Scenario B, only the .mp3
files greater than 2 MB in size that have been inactive for over 14 days will be migrated. Looking
at the different migration results of scenarios A and B, the importance in statement ordering
should be evident.
Tip:
To create rules that are specific and detailed:
1. Start with a simple INCLUDE statement that is specific about what
should be migrated, such as:
INCLUDE
(<PATH
/Temp> AND <FILENAME *.mp3>)
2. Refine the INCLUDE statement by adding exceptions to the rule with
restrictive EXCLUDE statements. But add these EXCLUDE statements
above
the INCLUDE, such as:
EXCLUDE (<FILE_SIZE_UNDER 2MB>)
EXCLUDE (<ACTIVE_WITHIN 14>)
3. The rule should finally appear this way:
EXCLUDE (<FILE_SIZE_UNDER 2MB>)
EXCLUDE (<ACTIVE_WITHIN 14>)
INCLUDE (<PATH /Temp> AND <FILENAME *.mp3>)
Содержание Titan SiliconServer
Страница 1: ...Titan SiliconServer System Administration Manual ...
Страница 12: ...Table of Contents xii Titan SiliconServer ...
Страница 308: ...File Services 296 Titan SiliconServer 4 Click OK To access available iSCSI Targets 1 Click on the Available Targets tab ...
Страница 411: ...Status Monitoring 399 Titan SiliconServer 3 Click details ...