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

3 - 6
Storage Mirroring Ports
Both the text clients and the Storage Mirroring server use ports to communicate with each other.
Text client ports
The Storage Mirroring text clients use two ports for Storage Mirroring communications.
netport—The text clients use this port to send commands to a Storage Mirroring server.
unetport—The text clients use this port to listen for heartbeats sent from a Storage Mirroring server.
1. To determine the current netport setting on a Storage Mirroring text client, use the get command with the netport
option. The default port number is
1500.
2. To modify the netport setting on a Storage Mirroring text client, use the set command with the netport option. The
netport option can be any number from 1025-65535 that you want to assign to the port.
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”