Setting Up Parallel Archive (ON-Archive)
Use
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:
Archiving or Backing Up the Database in the DBA Planning Calendar (Informix).
Procedure
Whichever method you choose to create parallel archives, you need to meet the following requirements:
You associate a logical tape device with a physical tape device in the
DEVICE DBTAP0_VOP = /dev/rmt/0m
DEVICE DBTAP3_VOP = /dev/rmt/3m
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 backup cannot proceed, which might cause the database to stop.
The logical devices that you defined in the first step must be assigned to a series of volume sets. Refer to
$ 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'
Result
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 the DBA Planning Calendar in CCMS (recommended) or by entering
ON-Archive commands manually (more errors possible).