Configuring the client for automated failover
You can manually configure the client to automatically fail over to the secondary server.
Before you begin
Before you begin the configuration:
- Ensure that the client node participates in node replication on the primary server.
- Ensure that the client meets the requirements for automated client failover.
- Use this procedure only if the connection information for the secondary server is not current or if it is not in the client options file.
About this task
You might manually configure the client for automated
failover in the following situations:
- The secondary server configuration was changed and the primary server is down before the client logs on to the server. When you manually add the connection information, the client is enabled for failover to the secondary server.
- You accidentally erased some or all of the secondary server connection information in the client options file.Tip: Instead of manually configuring the client options file, you can run the dsmc q session command, which prompts you to log on to the primary server. The connection information for the secondary server is sent automatically to the client options file.
Procedure
To manually configure the client for automated failover, complete the following steps:
Example
After you configured the client for automated client failover, and the client attempts to log on
to the server, the following sample command output is
displayed:
IBM Spectrum Protect
Command Line Backup-Archive Client Interface
Client Version 8, Release 1, Level 0.0
Client date/time: 12/16/2016 12:05:35
(c) Copyright by IBM Corporation and other(s) 1990, 2016. All Rights Reserved.
Node Name: MY_NODE_NAME
ANS2106I Connection to primary IBM Spectrum Protect server 192.0.2.1 failed
ANS2107I Attempting to connect to secondary server TARGET at 192.0.2.9 : 1501
Node Name: MY_NODE_NAME
Session established with server TARGET: Windows
Server Version 8, Release 1, Level 0.0
Server date/time: 12/16/2016 12:05:35 Last access: 12/15/2016 09:55:56
Session established in failover mode to secondary server
ANS2108I Connected to secondary server TARGET.
What to do next
You can restore or retrieve any replicated data in failover mode.