Download "user manual"

Transcript
To define a standby server for your active server, open a CLI command window on your active
server and run the setstdby CLI command, as described in the following steps:
1. Run csmcli.bat from your default Tivoli Storage Productivity Center for Replication
installation directory TPC_Install\Program Files\IBM\TPC\cli. The command opens a
CLI window. If you did not set up the CLI properties file, the CLI prompts you to enter a
username and password for logging on to the server. On AIX and Linux servers, you must
run the csmcli.sh script from the default Tivoli Storage Productivity Center for Replication
installation directory /opt/IBM/TPC.
2. Run the lshaservers command to verify that your active server is not already connected
to a standby server, as shown in Example 3-20.
Example 3-20 List HA servers
csmcli> lshaservers
Server
Role
Status
Port
==========================================================
SSCTCP42-T.windows.ssclab-lj-si.net ACTIVE No Standby 9561
csmcli>
3. Run the setstdby command the set the standby server. Through the CLI, you are informed
that this operation overwrites the contents of the standby server database, and you are
prompted to confirm that you want to continue, as shown in Example 3-21.
Example 3-21 Adding standby server
csmcli> setstdby -password 12345678 -server 172.31.149.2 -username Administrator
IWNR3111W [Aug 15, 2013 12:56:01 AM] This command will define another management
server as a standby for this server. This will overwrite the configuration of the
specified standby. Do you want to continue? [y/n]:y
IWNR3020I [Aug 15, 2013 12:56:05 AM] Connection to the active high-availability
server at 172.31.83.171 making the server IICTPCRT1-PRI.windows.ssclab-lj-si.net a
standby was successful.
csmcli>
4. Run the lshaserves command again to confirm that your active server now has a standby
server, as shown in Example 3-22.
Example 3-22 New standby server
csmcli> lshaservers
Server
Role
Status
Port
=============================================================
SSCTCP42-T.windows.ssclab-lj-si.net ACTIVE Synchronized 9561
IICTPCRT1-PRI
STANDBY Synchronized 9561
csmcli>
The standby server is successfully defined for your active Tivoli Storage Productivity Center
for Replication server.
3.8.2 Takeover
If your active Tivoli Storage Productivity Center for Replication server fails (or if there is a
planned failover), you must perform a takeover of the active server role on your standby Tivoli
Storage Productivity Center for Replication server.
116
Tivoli Storage Productivity Center for Replication for Open Systems