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

13 - 25
Modifying the log file settings through the text clients
1. To determine the current location where the log file is stored, use the get command with the StatsFileName option.
2. To modify the statistics log file name, use the set command with the StatsFileName option. The default is
statistic.sts, but you can use any valid file name.
3. To determine the maximum size of the statistics log file, use the get command with the StatsMaxFileSize option.
4. To modify the maximum size of the statistics log file, use the set command with the StatsMaxFileSize option. The
default is
10485760 (10 MB).
5. To determine the current interval for writing to the statistics file, use the get command with the
StatsWriteInterval option.
6. To modify the interval for writing to the statistics file, use the set command with the StatsWriteInterval option.
The default size is 5. Valid values are between 0 and 65535.
Command GET
Description The Text Client/DTCL sends a request to Storage Mirroring to return the value of a Storage
Mirroring program setting. The setting is retrieved by Storage Mirroring from the registry.
Syntax
GET <option> [machine]
Options option—See Storage Mirroring Text Client program settings on page 14-11.
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.
Command SET
Description The Text Client/DTCL sends a request to Storage Mirroring to modify the value of a Storage
Mirroring program setting. The setting is immediately applied and is then forwarded to the registry
where it is also applied.
Syntax
SET <option>=<value> [machine]
Options option—See Storage Mirroring Text Client program settings on page 14-11.
value—See Storage Mirroring Text Client program settings on page 14-11.
machine—Name of the machine
Examples
set netport=1500
set VerifyLogName=”HA server.log”
set DefaultAddress=”129.12.34.3”
Notes Some settings, although immediately applied to Storage Mirroring, will not take effect until the
client or daemon is restarted. For example, the Text Client must be closed and reopened for a
change to ClientLogName to take effect. And the daemon must be restarted to cause a change in
the modules loaded if the LoadSourceTarget setting is changed. See
Storage Mirroring Text Client
program settings on page 14-11 for details on each configuration option.
If you do not specify a machine name, the value from the current source will be updated. If you
have not identified an active source, no changes will be made.
Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.