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 IBM Spectrum Protect 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.
Any values that you edit are removed or updated the next time you log in to the primary server.

Supported Clients

This option is valid for all clients.

Options File

Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsThis option is placed within a server stanza in the dsm.sys file.

Windows operating systemsThis option is placed in the client options file (dsm.opt).

Syntax

Read syntax diagramSkip visual syntax diagramMYREPLICATIONServerrepl_servername

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.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsOptions file:
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsThe following example demonstrates how to specify options for three different servers in the dsm.sys file, and how to reference the secondary server.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsConnection information for multiple secondary server is presented in stanzas. Each stanza is identified by the replservername option and the name of the secondary server.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsThe servername stanza must contain the myreplicationserver option, which points to the secondary server that is specified by the replservername stanza.
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsOnly 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
Windows operating systemsOptions file:
Windows operating systemsThe following example demonstrates how to specify options for the secondary server in the dsm.opt file, and how to reference the secondary server.
Windows operating systemsThe connection information for the secondary server is located within the REPLSERVERName stanza.
Windows operating systemsThe 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