Unix Technical Forum

RE: alarmprogram.bat and ontape

This is a discussion on RE: alarmprogram.bat and ontape within the Informix forums, part of the Database Server Software category; --> you need to add code in alarmprogram.bat to check for "event class id" (second argument passed to the alarm ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 09:36 PM
Savio Pinto (s)
 
Posts: n/a
Default RE: alarmprogram.bat and ontape


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
[mailtowner-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 Needed
but 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com