Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

Table A-14
dbdst_preset_policy command options
DescriptionOption
Indicates the directory on which the placement policy will
be applied.
-d directory
Enforces the file system of the specified directory. Use this
option if there was an error in the previous enforcement
that has been corrected and needs to be enforced again.
-e
Removes all pattern-based placement policies related to
this directory.
-R
Lists the existing file placement that is set to the specified
directory.
-l
Specifies file patterns and class assignment. This option
will automatically place files in the desired class as soon as
they are created. Existing files and newly created files will
be moved immediately to the class specified.
-P pattern_spec
Specifies a file that contains a particular class and pattern.
New files with this pattern will be placed in the class
immediately. Existing files will be moved as well.
-f pattern_file
Specifies that existing files should be moved to the
designated class in a one-time move to be scheduled at a
later time, such as the sweeptime specified in the
dbdst_admin command.
-E
To create a preset policy
Use the dbdst_preset_policy command as follows:
$ /opt/VRTS/bin/dbdst_preset_policy -S $ORACLE_SID -d directory \
-P pattern_spec
For example:
$ /opt/VRTS/bin/dbdst_preset_policy -S FLAS10r2 -d /snap_data10r2 \
/FLAS10r2 -P "PRIMARY=*.dbf:MEDIUM=*.log"
Assign placement policy file successful on filesystem /snap_data10r2
Begin enforcing filesystem /snap_data10r2 ...
Enforce placement policy successful on filesystem /snap_data10r2
389Veritas Storage Foundation for Oracle Command Line Interface
About the command line interface