Parallel Archive Requirements (ON-Archive) 

To create a parallel archive of your Informix database with ON-Archive , you must have more than one volume set and more than one tape device since the data must be written in multiple streams at the same time. Parallel archive is not possible with ontape .

You can create a parallel archive in either of the following ways:

In either case, you need to meet the following requirements:

  1. Define multiple tape devices
  2. You associate a logical tape device with a physical tape device in the config.arc file: see the DEVICE parameter in Editing the File config.arc for ON-Archive. Define a set of entries similar to the following example (the logical device is on the left, the physical device on the right):

    $ onarchive ‘DEVICE DBTAP0_VOP = /dev/rmt/0m’

    $ onarchive ‘DEVICE DBTAP3_VOP = /dev/rmt/3m’

    $ onarchive ‘DEVICE DBTAP5_VOP = /dev/rmt/5m’

    You also need to have enough tape drives. Make sure that a tape drive is left for logical log backup. Otherwise, you run the risk that logical-log file backup cannot proceed, which may lead to the database stopping.

  3. Define multiple volume sets

The logical devices that you defined in the first step must be assigned to a series of volume sets. Refer to "Parallel Archive" in Setting Up Volume Sets and Volumes for ON-Archive Without SAP Scripts. Define a series of volume sets, as in the following example:

$ onarchive ‘DEFINE/VSET=DBTAP0/DEVICE_TYPE=DBTAP0_VOP/
DRIVER=TAPE/ACCESSIBILITY=0/CLASS=SYSTEM'

$ onarchive 'DEFINE/VSET=DBTAP3/DEVICE_TYPE=DBTAP3_VOP/
DRIVER=TAPE/ACCESSIBILITY=0/CLASS=SYSTEM'

$ onarchive 'DEFINE/VSET=DBTAP5/DEVICE_TYPE=DBTAP5_VOP/
DRIVER=TAPE/ACCESSIBILITY=0/CLASS=SYSTEM'

If you used the example here, you can now start a parallel archive using three separate streams to each of the following volume sets:

You can perform this with CCMS (recommended) or by entering ON-Archive commands manually (more errors possible).