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

13 - 42
Set
Set Local
Command SET
Description Modifies the value of a Storage Mirroring program setting for the specified server
Syntax
SET <option>=<value> [machine]
Options option—See the table Storage Mirroring Server Settings on page 12-2 for a complete list of the
Storage Mirroring program settings
value—See the table Storage Mirroring Server Settings on page 12-2 for a complete list of the
Storage Mirroring program settings
machine—Name of the machine
Examples
set netport=1100
set DefaultAddress="129.12.34.3"
Notes
Some settings, although immediately applied to Storage Mirroring, will not take effect until the
client or service is restarted. For example, the Text Client must be closed and reopened for a
change to ClientLogName to take effect. And the service must be restarted to cause a change in
the modules loaded if the LoadSourceTarget setting is changed.
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.
Options that contain non-alphanumeric characters must be enclosed in quotation marks.
Command SETLOCAL
Description Modifies the value of a Storage Mirroring program setting for the local machine
Syntax
SETLOCAL <option>=<value>
Options option—See the table Storage Mirroring Server Settings on page 12-2 for a complete list of the
Storage Mirroring program settings
value—See the table Storage Mirroring Server Settings on page 12-2 for a complete list of the
Storage Mirroring program settings
Examples
setlocal netport=1100
setlocal VerifyLogName="HA server.log"
setlocal DefaultAddress="129.12.34.3"
Notes Some settings, although immediately applied to Storage Mirroring, will not take effect until the
client or service is restarted. For example, the Text Client must be closed and reopened for a
change to ClientLogName to take effect. And the service must be restarted to cause a change in
the modules loaded if the LoadSourceTarget setting is changed.
Program setting values that contain non-alphanumeric characters must be enclosed in quotation
marks.