Perform Oracle backups in a clustered environment.
When you perform a backup in an Oracle clustered environment, you must set the CvClientName SBT parameter to the virtual client name in the CommCell Console. For information on required and optional SBT parameters, see SBT Parameters.
Before You Begin
-
If you run the RMAN script on a UNIX environment, relink the SBT library or use PARMS in the Allocate Channel Command.
-
Set the CvClientName SBT parameter to the virtual client name in the CommCell Console.
-
Use a unique backup piece format to avoid conflicting backup piece names.
-
Optional: To have the CommCell Console authenticate the job, configure the parameters for CommCell Console third-party job authentication.
Procedure
-
On the RMAN command line, run the following sample script, substituting any required or optional Oracle SBT parameters.
For information on required and optional SBT parameters, see SBT Parameters.
run { allocate channel ch1 type 'sbt_tape' PARMS="SBT_LIBRARY=software_installation_path/Base/libobk.so,BLKSIZE=1048576, ENV=(CvClientName=virtual_client_name)”; allocate channel ch2 type 'sbt_tape' PARMS="SBT_LIBRARY=software_installation_path/Base/libobk.so,BLKSIZE=1048576, ENV=(CvClientName=virtual_client_name)”; setlimit channel ch1 maxopenfiles 8; setlimit channel ch2 maxopenfiles 8; backup incremental level = 0 filesperset = 4 format '%d_%U_%t' database include current controlfile; }