RE: alarmprogram.bat and ontape
Posted in 2004
you need to add code in alarmprogram.bat to check for "event class id"
(second argument passed to the alarm program), and to backup the logs when
this value is 23. also make sure the following config parameters are set
LTAPEDEV, LTAPEBLK and LTAPESIZE
-----Original Message-----
From: owner-informix-list@iiug.org
[mailto:owner-informix-list@iiug.org]On Behalf Of Bill Hamilton
Sent: Monday, March 01, 2004 1:47 PM
To: informix-list
Subject: alarmprogram.bat and ontape
In alarmprogram.bat, I set:
SET BACKUPLOGS=Y
SET BACKUP_CMD=ontape -a
the onconfig file has
ALARMPROGRAM C:\\PROGRA~1\\Informix\\etc\\alarmprogram.bat
When the logs filled up, the log file showed
15:38:44 Logical Log Files are Full -- Backup is Neededbut a backup did NOT start.
The IDS email'ed me a message, that the logs were full, but ontape did not
run.
Is this because ontape has no "-y" switch and cannot run from bat file ?
sending to informix-list
sending to informix-list