Save 
Join IIUG
 for   
 

Informix News
29 July 09 - Wall Street Journal - IBM to Acquire SPSS, Adding to Acquisitions... Read
11 February 09 - InformationWeek - IBM Drifts Slowly Toward Mainstream Cloud Computing... Read
11 February 09 - CNNMoney.com - IBM to Deliver Software via Cloud Computing With Amazon Web Services... Read
07 January 09 - Huliq News - IBM Power Servers Helps Bank of Chengdu Build Up Core Banking System.. Read
04 December 08 - Steeleye - Multicarta achieves 99.997% uptime for its Informix-based Credit Card Authorization Centre... Read
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read





End of Support Dates

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: Logical Log files MISSING

Posted By: VIKAS HIVARKAR
Date: Tuesday, 14 October 2008, at 7:42 a.m.

In Response To: Re: Logical Log files MISSING (Martin Fuerderer)

Hi,

I've started capturing the logs for "ontape -a -d" from alarmprogram.sh
$BACKUP_CMD 1>>$LOG 2>&1

Fortunately since last level 0 backup we have not missed any logical log archive file and that's just my manual obervation also no any message yet as mentioned by Martin in the $LOG file.
I want to know that why a alarm is not raised when the logical log file archive is missed, we have set the ALARMADMIN=3

Another Issue
I've started the logical log archive file copy using scp from my prod server to a remote host as DR ( i know this is not the way to do DR but...)
for this i've added the scp command in the alarmprogram.sh script just after

if ( `test x${BACKUPLOGS} = xY` ) then
# $BACKUP_CMD 2>&1 >> /dev/null

$BACKUP_CMD 1>>$LOG 2>&1

EXIT_STATUS=$?

printf " '$BACKUP_CMD' has been executed and returned CODE=%s\n\n" $EXIT_STATUS >> $MAILBODY

else

echo "Script will not backup the logical logs."

LOGFILE=`ls -ltr $LOGPATH |tail -1 | awk -F" " '{print $9}'`

scp -q $LOGPATH/$LOGFILE $RHOST:$LOGPATH >>$LOG 2>>$ERRLOG &

fi

I tested the above logic on a less heavy transaction server for 7 days and found that all the logs are copying with out any issue or missing file ( ofcourse i dont know why nothing is written to the $LOG file ).

I've implemented this on the prod server but now when i see this for the prod server, there are many log files missing on the remote server ( firstly i thought there is an issue with scp but now as files are missing on prod server It is realy hard to figure out what ALL is wrong )

I see some logical log files on the Remote host server ( logical log files scp from prod server)with name such as

-rw-r----- 1 informix informix 20578304 Oct 13 22:46 proddb_1_Log0000021398
-rw-r----- 1 informix informix 20578304 Oct 13 22:46 proddb_1_Log0000021396
-rw-r----- 1 informix informix 12713984 Oct 13 22:46 ONTL_proddb_1_Mon_Oct_13_22_46_09_2008
-rw-r----- 1 informix informix 20578304 Oct 13 22:46 proddb_1_Log0000021394
-rw-r----- 1 informix informix 18481152 Oct 13 22:46 ONTL_proddb_1_Mon_Oct_13_22_45_53_2008
-rw-r----- 1 informix informix 20578304 Oct 13 22:46 proddb_1_Log0000021392
-rw-r----- 1 informix informix 20578304 Oct 13 22:45 proddb_1_Log0000021390
-rw-r----- 1 informix informix 20578304 Oct 13 22:45 proddb_1_Log0000021389

What are these ONTL_proddb_1_Mon_Oct_13_22_46_09_2008 files?
All the logs from 21389 to 21398 are available on the prod server.

Have i configured the scp with alarmprogarm.sh in a bad manner or is this some thing very messy..

Regards,
Vikas

----------------------------------
------------

Hi,

most likely (> 98%), the problem is what Davis described
in his answer (see below). If you want to be 100% sure,
then you have to modify your alarm program script (or
whatever script/program actually executes the ontape
command) to capture the output of the ontape processes
in a file. If you see messages indicating that some
temporary file cannot be renamed and/or removed
because it does not exist (errno 2), then this is the
described problem.

Besides taking a level-0 archive when the situation of
log file backup loss occured, you may consider the
following to improve the situation:

a) in your script/program add some code to first
check whether an "ontape -a -d" command is already
being executed (e.g. using "ps ..." output). If so, then
do not start a new "ontape -a -d". The one that is
running will backup all the used log files anyway
(except the current log file).
Note: this is not 100% error proof as there still is a

gap between checking for a running "ontape -a -d"

process and starting a new one.

b) Capture all ontape output (stdout and stderr) to a
file and put in your alarm program some additional
code to check this file for above dscribed errors.
If such an error is detected, write a warning (to online.log
or whatever) because now surely it is time to do a
level-0 archive ...
Note: this may also not bee 100% error proof. An error

may still slip your attention. It highly depends on the

implementation of the error checking/scanning ...

c) The respective defect is: idsdb00165611 (for IDS 11.10).
While in the upcoming 11.50.xC3 this is fixed already,
you may contact IBM Informix Tech Support (check
your contract) to get a fix of this problem for
your IDS 11.10 ...

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.