Setting up a schedule on the workstation with the Oracle Server
Use this procedure to define a schedule on the workstation with the Oracle Server.
About this task
This example assumes the following setup:
- The IBM® Storage
Protect backup
archive client is installed on the Oracle Server in the following
directory:
C:\Program Files\Tivoli\TSM\baclient - The Data Protection for Oracle for the Oracle
server is installed in the following directory:
C:\Program Files\Tivoli\TSM\AgentOBA64 - The options files in each of these directories are updated so that the communication parameters point to the IBM Storage Protect server.
Procedure
To set up a schedule on the workstation with the Oracle
Server:
Results
Note: If you want to use the IBM Storage Protect
server scheduling
mode:
- Ensure that the Data Protection for Oracle options
file has the tcpclientaddress and tcpclientport options
specified. If you want to run more than one scheduler service, use
the same tcpclientaddress. However, you must
use different values for tcpclientport in addition
to the different node names. Scheduling Data Protection for Oracle with
the regular Windows backup
archive client is an example of running more than one scheduler service.
Server-prompted scheduling is supported only when TCP/IP communication is being used. By default, Data Protection for Oracle uses the polling schedule mode.
- If any changes that affect the scheduler service are made to the Data Protection for Oracle options
file, the scheduler service must be restarted to pick up the changes.
For example, changes to the IBM Storage Protect
server address,
schedule mode, or the TCP/IP address or port. The restart is done
by entering these commands:
net stop "TSM Oracle Bkup Scheduler" net start "TSM Oracle Bkup Scheduler" - The file named dsmsched.log contains status information for the IBM Storage
Protect scheduler service. Though the
default directory is
\Tivoli\TSM\baclient\sched\dsmsched.log, you can specify a different directory, such as\Tivoli\TSM\AgentOBA64\sched\dsmsched.logwith the schedlogname option in the Data Protection for Oracle options file. - If an IBM Storage
Protect scheduler
service is already installed on your workstation for the regular backups of the Windows system, you must install another with a unique name to run the
schedules that are defined for Data Protection for Oracle. The IBM Storage
Protect scheduler service needs a
different node name than the regular IBM Storage
Protect backup archive client. If the
path you want to use has a space in it, for example
C:\Program Files\Tivoli\TSM\baclient, you can place quotation marks around the section of the path name that contains a spaceC:\"Program Files"\. You can also use the short form of the path name. The short form of a path name is made up of the first six characters in the path, followed by a tilde (~) and the unique identifier. The following is an example of the short form of the path name:C:\Progr~1\Tivoli\TSM\baclient
The orcsched.cmd file must contain
these variables with the following values:
- oracle_sid
- Specify the Oracle system identifier for the instance to be used in the scheduled backup. A value of ilr is used in the example.
- ora_exe
- Specify the complete path and file name of the Oracle RMAN executable file. A value of c:\oracle\ora91\bin\rman.exe is used in the example.
- cmdfile
- Specify the complete path and file name of the Oracle command file. A value of C:\rman\bkdb.rmn is used in the example.