Question & Answer
Question
Here is a description how to configure a Tivoli Storage Manager server to server communication using virtual volumes.
Answer
A server to server communication can be used to backup data from one Tivoli Storage Manager server (source server) to an other Tivoli Storage Manager server (target server) like backup db, migration, DRM.
An usage example of BACKUP DB will illustrate this.
The following nomenclature will be used:
On the source server:
Source Server: SRV_S
Device Class from type server: DEVC_S
IP address of SRV_T: 10.10.10.10
On the target server:
Node from type server: NODE_S
Target Server: SRV_T
Policy Domain: PDO_T
Policy Set: POL_T
Management Class: MGM_T
Used Device Class: DEVC_T
Storage Pool: STG_T
1. Definitions on the source server
1.1 Define target server SRV_T
define server SRV_T password=srv_t
hladdress=10.10.10.01 lladdress=1500
delgraceperiod=2 nodename=NODE_S
Note: The option "delgraceperiod" will be explained in Appendix A of this document
1.2 Define Server Device Class
define devclass DEVC_S devtype=server servername=SRV_T maxcapacity=10G
Note: The option "maxcapacity" will be explained in Appendix B of this document
2. Definitions on the target server:
In this example a Disk Storage Pool will be used
2.1 Define Storage Pool
define stgpool STG_T DISK
Note: A sequential access Storage Pool can also be used
2.2 Define a Policy Domain
define domain PDO_T
2.3 Define Policy Set
define policyset PDO_T POL_T
2.4 Define Management Class
define mgmtclass PDO_T POL_T MGM_T
2.5 Assign this Management Class as Default
assign defmgmtclass PDO_T POL_T MGM_T
2.5 Define Archive Copy Group
define copygroup PDO_T POL_T MGM_T type=archive destination=STG_T
2.6 Validate Policy Set
validate policyset PDO_T POL_T
2.7 Activate Policy Set Set
activate olicyset PDO_T POL_T
2.8 Register Node NODE_S from type server
register node NODE_S password domain=POD_T type=server
3. BACKUP DB from source server
backup db devclass=DEVC_S type=full
The following messages were reported in the actlog on the source server
ANR2017I Administrator ADMIN issued command: BACKUP DB devclass=devc_s t=f (SESSION: 1)
ANR0984I Process 4 for DATABASE BACKUP started in the BACKGROUND at 02:56:00 PM. (SESSION: 1, PROCESS: 4)
ANR2280I Full database backup started as process 4. (SESSION: 1, PROCESS: 4)
ANR8340I SERVER volume SRV_T.DBB.250600160 mounted. (SESSION: 1, PROCESS: 4)
ANR0513I Process 4 opened output volume SRV_T.DBB.250600160. (SESSION: 1, PROCESS: 4)
ANR1360I Output volume SRV_T.DBB.250600160 opened (sequence number 1). (SESSION: 1, PROCESS: 4)
ANR1361I Output volume SRV_T.DBB.250600160 closed. (SESSION: 1, PROCESS: 4)
ANR0515I Process 4 closed volume SRV_T.DBB.250600160. (SESSION: 1, PROCESS: 4) 08/18/2009 14:56:02 ANR0403I Session 7 ended for n
ANR4550I Full database backup (process 4) complete, 386 pages copied. (SESSION: 1, PROCESS: 4)
ANR0985I Process 4 for DATABASE BACKUP running in the BACKGROUND completed with completion state SUCCESS at 02:56:03 PM. (SESSION
The following messages were reported in the actlog on the target server
ANR0406I Session 9 started for node NODE_S (Linux/i386) (Tcp/Ip 10.10.10.09(37443)). (SESSION: 9)
ANR0403I Session 9 ended for node NODE_S (Linux/i386). (SESSION: 9)
Appendix A: Grace Deletion Period
Option: DELgraceperiod
Specifies a number of days that an object remains on the target server after it has been marked for deletion.
Possible values are 0-9999. The default is 5.
This value should be set as the same as the "reusedelay"
(Delay Period for Volume Reuse)) value in the storage pool and the number of days DB BACKUP's are held.
Appendix B: Maxcapacity
Option: MAXCAPacity
Specifies the maximum size for objects created on the target server.
The maxcapacity (Est/Max Capacity (MB)) has a value of 500 MB as default, if it
is not set in the define devclass command.
Here are two important points of interest:
1. Each virtual volume has the size of the defined value of 500 MB.
Using the server to server communication for example for
BACKUP STGPOOL or BACKUP DB, the whole size has empirically several gigabytes.
So the default value of 500 MB is in this case small, so many virtual volumes will be defined.
Chose a greater value of the MAXCAPacity option if fewer volumes are desired.
2. After starting a process at the source server, the available space in the storage pool at the target server will be checked.
The defined value of maxcapacity in the server device class on the source server must fit well into the storage pool.
If this is not the case, the following error occurred on the source server:
ANR4383E Session failure, target server SRV_T has aborted current transaction; reason: No storage space. (SESSION: 1, PROCESS: 2)
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21656088