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

12 - 1
12 X Server Settings
Server Settings
While only a subset of the server settings are available through the Management Console, all of the Storage Mirroring server
settings are accessible through the text clients. You can retrieve the value of a setting or you can update the value of a setting.
Retrieving setting values—To retrieve the current value of a setting, use the Storage Mirroring get command. This
command will return the value of the specified setting from the specified server.
Updating setting values—To update the value of a setting, use the Storage Mirroring set command. This command will
modify the value of the specified setting on the specified server.
The following table lists all of the Storage Mirroring server settings.
Command GET
Description Requests the value of a Storage Mirroring program setting from the specified server
Syntax
GET <setting> [machine]
Options setting—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
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 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.