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

4 - 4
Examples connect DataFiles to beta map exact
connect UserData to beta map base d:\UserData\
connect UserFiles to beta map exact orphans, compression 2
Notes
The default settings for this command are mirror, replicate, nomonitor, and noorphans.
The options (no)mirror, (no)replicate, (no)monitor, (no)orphans, and compression can be used in
any combination and in any order. The first option does not require a comma, but the second and
remaining options do require a comma before the option.
Options that contain non-alphanumeric characters must be enclosed in quotation marks.
If you are establishing a connection within a NAT or firewall environment, you will need to specify
the target using the IP address and port number (separated by a colon) of the router. For
example,
connect DataFiles to 10.10.1.57:1105 map exact.
When scripting with this command, if a successful connection is established, the command will
return a positive number, which is the connection ID assigned to that connection.