Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Avamar for Oracle 19.10 User Guide

PDF

Allocating multiple channels

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

  1. Disable the file cache by adding the following entry to the avtar flag file:
    --enable-filecache=false
  2. 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'

  3. Repeat the allocate channel command to allocate more channels, if required.
  4. 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.

    send channel='c0' '"--flagfile=/oracle/my-avtar-flags.txt"
    "--bindir=install-dir/bin" "--cacheprefix=orcl-c0"';
    send channel='c1' '"--flagfile=/oracle/my-avtar-flags.txt"
    "--bindir=install-dir/bin" "--cacheprefix=orcl-c1"';
    send channel='c2' '"--flagfile=/oracle/my-avtar-flags.txt"
    "--bindir=install-dir/bin" "--cacheprefix=orcl-c2"';

    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.
  5. 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.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  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: <>()\