Myreplicationserver
The myreplicationserver option specifies which secondary server stanza that the client uses during a failover.
The secondary server stanza is identified by the replservername option and contains connection information about the secondary server.
This option is set by the Tivoli® Storage Manager server administrator for the client node. During the normal (non-failover) logon process, the option is sent to the client and is saved in the client options file.
Do not edit this option during normal operations.
Edit this option only during situations
such as the following ones:
- The primary server is offline and the information for the secondary server is not in the options file.
- The secondary server information is out-of-date or incorrect.
Supported Clients
This option is valid for all clients.
Options File
This option is placed within a server stanza in the dsm.sys file.
This option is placed in the client options file (dsm.opt).
Parameters
- repl_servername
- Specifies the name of the stanza for the secondary server to be used during a failover. This value is usually the name of the secondary server, not the host name of the server. Also, the value of the repl_servername parameter is not case-sensitive, but the value must match the value that is specified for the REPLSERVERName option.
Examples
- Options file:
- MYREPLICATIONServer TargetReplicationServer1
- Command line:
- Does not apply.
- Options file:
- The following example demonstrates how to specify options for
three different servers in the dsm.sys file,
and how to reference the secondary server.
Connection information for multiple secondary server is
presented in stanzas. Each stanza is identified by the replservername option
and the name of the secondary server.
The servername stanza must contain the myreplicationserver option,
which points to the secondary server that
is specified by the replservername stanza. Only
one secondary server can
be specified per servername stanza.
REPLSERVERNAME TargetReplicationServer1 REPLTCPSERVERADDRESS TargetReplicationServer1 REPLTCPPORT 1505 REPLSSLPORT 1506 REPLSERVERGUID 91.0f.ef.90.5c.cc.11.e1.ae.34.08.00.00.00.00.00 REPLSERVERNAME TargetReplicationServer2 REPLTCPSERVERADDRESS TargetReplicationServer2 REPLTCPPORT 1505 REPLSSLPORT 1506 REPLSERVERGUID 91.0f.ef.90.5c.cc.11.e1.ae.34.08.00.00.00.00.02 SErvername server_a COMMMethod TCPip TCPPort 1500 TCPServeraddress server_hostname1.example.com PASSWORDAccess prompt MYREPLICATIONServer TargetReplicationServer1 SErvername server_b COMMMethod TCPip TCPPort 1500 TCPServeraddress server_hostname2.example.com PASSWORDAccess generate INCLExcl /adm/tsm/archive.excl MYREPLICATIONServer TargetReplicationServer2 SErvername server_c COMMMethod TCPip TCPPort 1500 TCPServeraddress server_hostname3.example.com PASSWORDAccess generate MYREPLICATIONServer TargetReplicationServer1
- Options file:
- The following example demonstrates how to specify options for
the secondary server in
the dsm.opt file, and how to reference the secondary server.
The connection information for the secondary server is
located within the REPLSERVERName stanza. The MYREPLICATIONServer option
points to the secondary server name
that is specified by the REPLSERVERName stanza.
REPLSERVERNAME TargetReplicationServer1 REPLTCPSERVERADDRESS TargetReplicationServer1 REPLTCPPORT 1505 REPLSSLPORT 1506 REPLSERVERGUID 91.0f.ef.90.5c.cc.11.e1.ae.34.08.00.00.00.00.00 COMMMethod TCPip TCPPort 1500 TCPServeraddress server_hostname1.example.com PASSWORDAccess prompt MYREPLICATIONServer TargetReplicationServer1 MYPRIMARYSERVER Server1