HP StorageWorks Storage Mirroring for Linux Getting Started (T2558-96077, February 2008)

18
Text client connection
1. Log on to the Storage Mirroring source machine. This is the machine where the files reside that you wish to protect.
Log on by using the
login command.
2. Log on to the Storage Mirroring target machine. This is the machine that will receive the data and possibly stand in for
the source machine. Log on by using the
login command.
3. Specify your Storage Mirroring source machine by using the source command.
4. Create a new replication set using the repset create command.
Command LOGIN
Description Log on to a Storage Mirroring machine
Syntax
LOGIN <machine> <username> <password> [domain]
Options ! machineName of the machine
! username—Name of the user
! password—Password associated with username.
! domainIf logging in using a domain account, this is the domain name. If logging in using a local
account, this is the machine name.
Examples
login indy administrator ******
Notes ! The login command is not available when scrolling through the Text Client command history.
! Options that contain non-alphanumeric characters must be enclosed in quotation marks.
! The password cannot 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).
Command SOURCE
Description Identifies a machine as the active source machine
Syntax
SOURCE <source_machine>
Options source_machine—Name of the machine
Examples
source indy
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command REPSET CREATE
Description Creates a replication set
Syntax
REPSET CREATE <name>
Options name—Name of the replication set
Examples
! repset create “Customer Data”
! repset create marketing
Notes ! Replication set names that contain non-alphanumeric characters must be enclosed in quotation
marks.
! If the name of the replication set is the same as a word used in a DTCL command (for example,
repset create repset), you will receive an error. If you want to use a word like this, you
must enclose it in quotation marks (
repset create “repset”).