Split-Mirror online backup scenario
This scenario starts with the SAP R/3 system TS1 running on the Primary server. The Backup server has TS1 stopped and DB2 file systems for data and logs unmounted.
Attention: This scenario is currently not supported for databases that contain SMS tablespaces.
1.
2.Issue the suspend command on the Primary database:
db2 “connect to ts1”
db2 “set write suspend for database”
3.Execute the FlashCopy task ts1db from the Primary server as root user:
/usr/opt/ibm2105cli/rsExecuteTask.sh
Wait for rsExecuteTask to return.
Note: If you are at DB2 UDB V7 FP4 and above, you do not have to copy the logs for this scenario
4.Issue the resume command from the same connection as used in Step 2: db2 “set write resume for database”
5.Mount the data and log filesystems on the Backup server:
mount /db2/TS1/db2ts1/NODE0000 mount /db2/TS1/sapdata1 mount /db2/TS1/sapdata2 mount /db2/TS1/sapdata3 mount /db2/TS1/sapdata4 mount /db2/TS1/sapdata5 mount /db2/TS1/sapdata6 mount /db2/TS1/sapdata7 mount /db2/TS1/log_dir
Note: If you are on DB2 UDB V7 FP4 and above, you do not need to mount the /db2/TS1/log_dir file system.
6.Start the DB2 instance on the Backup server: db2start
31 |