HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

5 - 1
5 X Simulating a Connection
Simulating a Connection
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.
2. Specify it as the active replication set by using the repset use command.
NOTE: As noted in the Scripting Guide Introduction on page 1-1, this guide does not explain Storage Mirroring features
and functions, only the scripting aspects of Storage Mirroring. For details on the different features and functions,
see the Storage Mirroring User’s Guide.
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 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.
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.