HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

3 - 2
2. Specify it as the active replication set by using the repset use command.
3. Define a replication set rule by using the repset rule add command.
4. Repeat the repset rule add command to completely define your replication set.
Command REPSET USE
Description Specifies a replication set as the active replication set
Syntax
REPSET USE <repset>
Options repset—Name of the replication set
Examples
repset use DataFiles
Notes Replication set names that contain non-alphanumeric characters must be
enclosed in quotation marks.
Command REPSET RULE ADD
Description Adds a rule to a replication set. A rule is the specification of a path including
volume, directories, wild cards, and/or file names.
Syntax
REPSET RULE ADD <path> [INCLUDE|EXCLUDE]
[, RECURSIVE|NONRECURSIVE] [TO <
repset>]
Options
path—Volume, directory, wild card, and/or file name
INCLUDE—Include the specified path in the replication set
EXCLUDE—Exclude the specified path in the replication set
RECURSIVE—All subdirectories and files of the specified path are
recursively included or excluded
NONRECURSIVE—No subdirectories and files of the specified path are
included or excluded
repset—Name of the replication set
Examples
repset rule add "c:\data" to DataFiles
Notes
The default settings for this command are include and recursive.
The options include/exclude and recursive/nonrecursive can be used in
any combination and in any order. The first option does not require a
comma, but the second option does require a comma before the option.
If you do not specify a replication set name, the current replication set
will be used.
Options that contain non-alphanumeric characters must be enclosed in
quotation marks.