Re: Logging to Disk
Posted in 1999
I really was looking for some scripts for Windows NT like those for Unix.
Our server IDS/UD 9.14.TC3 on Windows NT with SP3 doesn't interrupt
ontape -c neither with CTRL-C nor with DEL
Any help?
heidi
-----Original Message-----
From: Art S. Kagel <kagel@bloomberg.net>
To: informix-list@iiug.org <informix-list@iiug.org>
Date: Tuesday, October 26, 1999 18:45
Subject: Re: Logging to Disk
>Katherine Schneider wrote:
>>
>> But what is logging is continuous (ie, ontape -c)? how do you keep ontape
from
>> writing to the same file specified in LTAPEDEV-and hence over-writing
your log
>> file? Make up a script to periodically go in and rename the file?
>
>For continuous log backup (ontape -c) ontape opens the file once at the
>start and just keeps writing log after log to it so that is safe. Anytime
>you stop the ontape -c (and you MUST if you run ontape -s to do a full or
>partial archive and plan to say Yes to the question about backing up the
>current log file) you must rename the file and create an empty one to
>replace it so the next ontape -c writes to the new file instead of
>overwriting the old one.
>
>Art S. Kagel
>
>> Katherine Schneider
>>
>> "Art S. Kagel" wrote:
>>
>> > The LTAPEDEV always names the same file. After an archive of logs
>> > completes, rename the file and create a new empty file for the next
>> > archive with the same name. I habitually rename the log archive file
as
>> > "logfile.<last log number>" indicating which log is last in that
archive
>> > file. It is known to contain the logs from the last file until the
named
>> > log number.
>> >
>> > Art S. Kagel
>> >
>> > Heidemarie Fernandez wrote:
>> > >
>> > > How could i alternate the log file in Windows NT without restarting
the
>> > > Informix Server
>> > >
>> > > Thanks for your help in advance
>> > >
>> > > heidi
>> > > -----Original Message-----
>> > > From: Paul watson <watsop@russellcorp.co.uk>
>> > > To: bak@fadavis.com <bak@fadavis.com>
>> > > Cc: informix-list@iiug.org <informix-list@iiug.org>
>> > > Date: Monday, October 25, 1999 14:31
>> > > Subject: Re: Logging to Disk
>> > >
>> > > >Yes, create a file, use onmonitor etc to alter the LTAPEDEV
parameter and
>> > > stop and restart
>> > > >the engine
>> > > >
>> > > >Alternatively touch a link file and then alter the link when you
want to
>> > > move from tape to
>> > > >disk or vice versus. This way you don't need to stop and restart
the
>> > > engine
>> > > >
>> > > >
>> > > >
>> > > >Paul Watson
>> > > >WF Software Ltd
>> > > >Tel: +44 1436 674729
>> > > >Fax: +44 1436 678729
>> > > >www.wfsoftware.com/informix
>> > > ># If you broke it, hide the evidence
>> > > >
>> > > >>>> "Brian Krause" <bak@fadavis.com> 10/25/99 01:00PM >>>
>> > > >I would like to have the logs go to disk rather than a tape drive.
Is this
>> > > >possible? How?
>> > > >
>> > > >
>> > > >
>> > >
>**********************************************************************
>> > > >This email and any files transmitted with it are confidential and
>> > > >intended solely for the use of the individual or entity to whom they
>> > > >are addressed. If you have received this email in error please
notify
>> > > >the system manager.
>> > > >
>> > > >This footnote also confirms that this email message has been swept
by
>> > > >MIMEsweeper for the presence of computer viruses.
>> > > >
>> > > >www.mimesweeper.com
>> > >
>**********************************************************************