HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

16 of 332
Creating a replication set
Before you can establish a connection, you must create a replication set.
1. Use the repset create command to create a new replication set.
Command REPSET CREATE
Description Creates a replication set
Syntax REPSET CREATE <name>
Options nameβ€”Name of the replication set
Examples repset create DataFiles
Notes
● The name of the replication set should not be a Storage
Mirroring Recover keyword. These are any DTCL command
(source, target, and so on.) or any DTCL shortcut command
(env, mon, rep, and so on).
● Replication set names that contain non-alphanumeric
characters must be enclosed in quotation marks.
2. Specify it as the active replication set by using the repset use command.
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.
3. Define a replication set rule by using the repset rule add command.
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>]