HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

23 of 332
Calculating replication set size
1. Use the repset calculate command to manually calculate the size of a replication
set.
Command REPSET CALCULATE
Description Calculates the size of a replication set
Syntax REPSET CALCulate [repset]
Options repset—Name of the replication set
Examples
repset calculate DataFiles
repset calc DataFiles
Notes
If a replication set name is not specified, the active replication
set will be used.
The results of the calculation are logged to the Storage
Mirroring Recover log file.
Replication set names that contain non-alphanumeric
characters must be enclosed in quotation marks.
2. Use the CalculateOnConnect option with the get and set commands to calculate
the size of the replication set automatically upon connection.
Command GET
Description
Requests the value of a Storage Mirroring Recover program setting
from the specified server
Syntax GET <setting> [machine]
Options
setting—See Server settings for a complete list of the
Storage Mirroring Recover program settings
machine—Name of the machine
Examples
get netport
get VerifyLogName
get DefaultAddress
Notes
If you do not specify a machine name, the value from the
current source will be returned. If you have not identified an
active source, no data will be returned.
Machine names that contain non-alphanumeric characters
must be enclosed in quotation marks.