An RMAN backup script that specifies multiple channels runs multiple instances of the
avtar program in parallel. The maximum number of channels is 10.
About this task
To avoid cache file collisions, specify a separate cache file for each channel including cases where you only use one channel. The
cacheprefix directive determines the name of the cache file. Use a separate set of cache files for each database.
You might lock out processes by allocating too many channels, which can result in a time-out error. If a time-out error occurs, retry the operation by using fewer channels.
Create an RMAN script to use multiple channels.
Steps
Disable the file cache by adding the following entry to the
avtar flag file:
--enable-filecache=false
Create an RMAN script that includes
allocate channel commands similar to the following commands:
allocate channel c0 type sbt PARMS="SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so" format '%d_%U'; allocate channel c1 type sbt PARMS="SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so" format '%d_%U'; allocate channel c2 type sbt PARMS="SBT_LIBRARY=/usr/local/avamar/lib/libobk_avamar64.so" format '%d_%U'
Repeat the
allocate channel command to allocate more channels, if required.
Add a
send command to the RMAN script for each channel. For example, the following
send commands correspond to the channels specified in step 2.
The script specifies a
cacheprefix directive for each channel. If the
send command is split into multiple instances, specify the
cacheprefix directive only once for each channel.
Before running an RMAN script that allocates multiple channels, ensure that the user account has permissions to create files in the
install-dir/var directory or the cache files exists and has the correct permissions.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\