Before you can establish a connection, you must create a replication set.
-
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 Carbonite Availability 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.
-
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.
-
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>]
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 "/data" to DataFiles
- repset rule add "/temp" exc rec 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.
- Repeat the
repset rule add command to completely define your replication set.
-
If you need to see the devices available, use the
device list command.
Command
DEVICE LIST
Description
Displays the block devices available on a machine
Syntax
DEVICE LIST <filter> [ON <machine>]
Options
- filter—Use one of the following options for the device filter
- ALL—Lists all unique devices on the specified machine. If there is no
machine specified, the source, if designated, will be tried first. The
target, if designated, will be tried second.
- OKSOURCE—List all devices on the specified source that are
replication capable. If a target is specified, an error will be returned.
- OKTARGET—List all devices on the specified target that are capable of
being used as a target path. If a source is specified, an error will be
returned.
- machine—Name of the machine
Examples
device list all on alpha
Notes
Machine names, except for IP addresses, that contain non-alphanumeric characters must be enclosed in quotation marks.
-
If you need to remove a rule, use the
repset rule remove command.
Command
REPSET RULE REMOVE
Description
Removes a rule from a replication set
Syntax
REPSET RULE REMove <path> [FROM <repset>]
Options
- path—Volume, directory, wild card, and/or file name
- repset—Name of the replication set
Examples
- repset rule remove "/data" from DataFiles
- repset rule rem "/temp"
Notes
- 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.
-
After you have added all of the rules, save the replication set by using the
repset save command.
Command
REPSET SAVE
Description
Saves all replication set rules for the currently selected source
Syntax
REPSET SAVE