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

7 - 18
Setting auto-remirror
In the event of a source machine failure or if the Storage Mirroring daemon stops, data integrity between the source and target
cannot be guaranteed. To resolve this issue, the Storage Mirroring auto-reconnect process automatically reestablishes any
source/target connections that existed prior to Storage Mirroring being unavailable. After an auto-reconnect, an
auto-remirror will ensure that data is identical on the source and target machines. The default installation will configure the
source to perform an auto-remirror if needed.
1. To determine the current auto-remirror setting, use the get command with the AutoRemirror option.
2. To modify the auto-remirror setting, use the set command with the AutoRemirror option. The AutoRemirror
option is set to 1 for enabled or 0 for disabled. By default, auto-remirror is enabled.
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.