HP StorageWorks Storage Mirroring for Linux User's Guide (T2558-96078, February 2008)

5 - 15
5. Add a new rule by using the repset rule add command.
6. If you decide that you do not like the changes you have just made, you can use the repset resync command to
restore the previously saved settings, undoing your modifications.
7. Save the replication set by using the repset save 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 pathVolume, directory, wild card, and/or file name
INCLUDEInclude the specified path in the replication set
EXCLUDE—Exclude the specified path in the replication set
RECURSIVE—All subdirectories and files are recursively included or excluded
NONRECURSIVE—All subdirectories and files are non-recursively included or excluded
repset—Name of the replication set
Examples
repset rule add /var/spool/customerDB to “Customer Data”
Notes The default settings for this command are include and recursive.
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.
Verify what files can be included by reviewing Managing Replication Sets Through the Management
Console
on page 5-4.
NOTE: You will lose any changes that you have made if you use the repset resync command.
Command REPSET RESYNC
Description Retrieves the last saved replication set settings from the source.
Syntax
REPSET RESYNC
Command REPSET SAVE
Description Saves all replication set rules for the currently selected source
Syntax
REPSET SAVE