Start of Content Area

Procedure documentation Preparing for Emergency Logical-Log Backup with SAPDBA (Informix 6.0)  Locate the document in its SAP Library structure

Use

You can use SAPDBA for Informix to perform an emergency logical-log backup when the logical log is full. For more information, see Emergency Logical-Log Backup with SAPDBA (Informix 6.0).

Caution

Perform this procedure before an emergency logical-log backup becomes necessary. Otherwise, you need more time to create the backup when the logical log is full, so extending the downtime during which the database cannot operate.

The preparations in this procedure are part of Configuration of ON-Archive using the SAP Scripts for ON-Archive. If you have completed the configuration and are using the SAP scripts, then you do not have to perform this procedure.

If you are not using the SAP scripts and your logical log is full, refer to Emergency Logical-Log Backup without SAP Scripts (ON-Archive).

Prerequisites

Procedure

  1. Check that the script arcpanic (used in the emergency backup process) is in the directory /usr/sap/<SID>/sys/exe/run . For more information, see "Copying Scripts" in Preparing SAP Scripts for ON-Archive.
  2. Check that $INFORMIXDIR/bin is in the path for user informix .
  3. Define the tape device for emergency logical-log backup. To do this, edit the ON-Archive configuration file – normally called config.arc and found in directory $INFORMIXDIR/etc – as user informix . Refer to Editing the config.arc File for ON-Archive. Make an entry like the following (the script arcpanic expects the name DATARTR_VOP ):
  4. DEVICE DATARTR_VOP = /dev/rmt/0hc

    For more information, see Defining Devices for ON-Archive with SAP Scripts.

    After editing the file, you need to restart the ON-Archive cataloger for the changes to take effect, as follows:

    stop_oncatlgr (it does not matter if the cataloger was not running)

    start_oncatlgr

  5. Define the volume set for emergency logical-log backup, by entering the following at the command line:
  6. $ onarchive 'DEFINE/VSET=ONDATARTRLOG/DEVICE_TYPE=DATARTR_VOP/DRIVER=TAPE/ACCESSIBILITY=0/CLASS=SYSTEM'

  7. Define the tape volume for emergency logical-log backup, by entering the following at the command line:

$ onarchive 'DEFINE/VOLUME/VSET=ONDATARTRLOG/LABEL=ONDAT1'

For more information, see Setting Up Volume Sets and Volumes for ON-Archive with SAP Scripts.

Result

You are now ready to perform an emergency logical-log backup with SAPDBA.

 

See also:

Informix documentation