Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

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

IDS Forum

RE: HDR problem - ontape -p

Posted By: GRUBER, CARL M
Date: Monday, 27 June 2005, at 10:03 a.m.

In Response To: RE: HDR problem - ontape -p (Support Informix )

Does anyone know how to get off of this email forum?

-----Original Message-----
From: forum.subscriber@iiug.org [mailto:forum.subscriber@iiug.org] On
Behalf Of Support Inf....
Sent: Monday, June 27, 2005 5:43 AM
To: ids@iiug.org
Subject: RE: HDR problem - ontape -p [5262]

1] When I do ontape -p , it does ask me "take logical backup [Y/N] ?"
What should I do ?

answer No.
This means that your secondary server has been initialised and has
some
logs that are not been backuped. Your secondary server may be new,
without
a first initialisation. We do a complete restore, don't we ?

2] Why doesnt the restore complete ? Have you wait enough time ? do you
see
disk activity with iostat or something else ?

I have made 2 litte informixservers and constructs HDR between them.
So i
knew which behaviour and messages to expect.

3] The level-0 backup on primary takes around 10 hours , should the
restore
take more than that or how much time should the "ontape -p" run ?

Almost more, if both servers have the same hardware and same
applications.
My experience :the restore of the logs take a long, long time.

4] When it does complete, whats should be the status of the informix
server
i.e. "onstat - " should show what output ?

After completion the secondary server will always stays in Recovery Mode
(Read Only). I'm not so sure from the "Read Only" in the banner.



I've tested HDR in informix7.3 as follows :

on primary :
ontape -s -L 0
onmode -d primary g_oebarrep # set as primary

on secondary :
ontape -p (in log file : Recovery mode)
onmode -d secondary g_oebar (in log : DR: Start failure recover from
tape)
ontape -l
rollforward should start at log 6
another tape : N
(in log DR: in log failure recover from disk)

the secondary log files :
14:48:29 Event alarms enabled. ALARMPROG =
'/usr/informix/etc/no_log.sh'
14:48:29 VP pid=41056 priority fixed at 65, former = 65
14:48:29 VP pid=39526 priority fixed at 65, former = 65
14:48:34 DR: DRAUTO is 0 (Off)
14:48:34 Informix Dynamic Server Version 7.31.UD2 Software Serial
Number
AAD#A244485
14:48:34 Dynamically allocated new virtual shared memory segment (size
8192KB)
14:48:34 Informix Dynamic Server Initialized -- Shared Memory
Initialized.
14:48:35 Dataskip is now OFF for all dbspaces
14:48:35 Restartable Restore has been DISABLED
14:48:35 Recovery Mode
14:48:37 Physical Restore of rootdbs started.

14:48:47 Checkpoint Completed: duration was 0 seconds.
14:48:47 Checkpoint loguniq 6, logpos 0x2b018

14:48:47 Physical Restore of rootdbs Completed.
14:48:47 Checkpoint Completed: duration was 0 seconds.
14:48:47 Checkpoint loguniq 6, logpos 0x2b018

14:48:47 Physical Restore of datadbs started.

14:49:17 Checkpoint Completed: duration was 0 seconds.
14:49:17 Checkpoint loguniq 6, logpos 0x2b018

14:49:17 Physical Restore of datadbs Completed.
14:49:17 Checkpoint Completed: duration was 0 seconds.
14:49:17 Checkpoint loguniq 6, logpos 0x2b018

14:55:53 DR: new type = secondary, primary server name = oebar
14:55:53 DR: Trying to connect to primary server ...
14:55:58 DR: Secondary server connected
14:55:59 DR: Start failure recovery from tape ...
14:56:35 Logical Recovery Started.
14:56:35 Start Logical Recovery - Start Log 6, End Log ?
14:56:35 Starting Log Position - 6 0x2b018
14:56:35 Clearing the physical and logical logs has started
14:57:28 Cleared 11 MB of the physical and logical logs in 53 seconds
14:57:29 Checkpoint Completed: duration was 1 seconds.



-----Original Message-----
From: nobody@ace.iiug.org [mailto:nobody@ace.iiug.org]
Sent: 27 June 2005 08:47
To: ids@iiug.org
Subject: HDR problem - ontape -p [5257]


1] When I do ontape -p , it does ask me "take logical backup [Y/N] ?"

What should I do ?
I gave "N" and proceeded with the cold restore.

Is the above right action ?

2] Why doesnt the restore complete ?

3] The level-0 backup on primary takes around 10 hours , should the
restore
take more than that or how much time should the "ontape -p" run ?

4] When it does complete, whats should be the status of the informix
server
i.e. "onstat - " should show what output ?

PLEASE give the answers pointwise .

Thanks in advance for ur help/suggestions ...

Regards,
Sagar

------_=_NextPart_001_01C57B15.3D6F2130
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: HDR problem - ontape -p [5257] </TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>1] When I do ontape -p , it does ask me &quot;take =
logical backup [Y/N] ?&quot; </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; What should I do ? </FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; answer No.</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; This means that your secondary server =
has been initialised and has some logs that are not been =
backuped.&nbsp; Your secondary server may be new, without a first =
initialisation. We do a complete restore, don't we ?&nbsp; </FONT></P>

<P><FONT SIZE=3D2>2] Why doesnt the restore complete ?&nbsp; Have you =
wait enough time ? do you see disk activity with iostat or something =
else ?</FONT></P>

<P><FONT SIZE=3D2>&nbsp; I have made 2 litte informixservers and =
constructs HDR between them. So i knew which behaviour and messages to =
expect.</FONT></P>

<P><FONT SIZE=3D2>3] The level-0 backup on primary takes around 10 =
hours , should the restore take more than that or how much time should =
the &quot;ontape -p&quot; run ?</FONT></P>

<P><FONT SIZE=3D2>Almost more, if both servers have the same hardware =
and same applications.&nbsp; My experience :the restore of the logs =
take a long, long time.</FONT></P>

<P><FONT SIZE=3D2>4] When it does complete, whats should be the status =
of the informix server i.e. &quot;onstat -&nbsp; &quot; should show =
what output ?</FONT>
</P>

<P><FONT SIZE=3D2>After completion the secondary server will always =
stays in Recovery Mode (Read Only).&nbsp; I'm not so sure from the =
&quot;Read Only&quot; in the banner. </FONT></P>
<BR>
<BR>

<P><FONT SIZE=3D2>I've tested HDR in informix7.3 as follows :</FONT>
</P>

<P><FONT SIZE=3D2>on primary : </FONT>
<BR><FONT SIZE=3D2>ontape -s -L 0</FONT>
<BR><FONT SIZE=3D2>onmode -d primary g_oebarrep&nbsp;&nbsp; # set as =
primary</FONT>
</P>

<P><FONT SIZE=3D2>on secondary :</FONT>
<BR><FONT SIZE=3D2>ontape -p&nbsp;&nbsp;&nbsp; (in log file : Recovery =
mode)</FONT>
<BR><FONT SIZE=3D2>onmode -d secondary g_oebar&nbsp;&nbsp;&nbsp; (in =
log : DR: Start failure recover from tape)</FONT>
<BR><FONT SIZE=3D2>ontape -l </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rollforward =
should start at log 6</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; another tape : =
N</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
=
sp;&nbsp;&nbsp;&nbsp; (in log DR: in log failure recover from =
disk)</FONT>
</P>

<P><FONT SIZE=3D2>the secondary log files :</FONT>
<BR><FONT SIZE=3D2>14:48:29&nbsp; Event alarms enabled.&nbsp; ALARMPROG
=
=3D '/usr/informix/etc/no_log.sh'</FONT>
<BR><FONT SIZE=3D2>14:48:29&nbsp; VP pid=3D41056 priority fixed at 65, =
former =3D 65</FONT>
<BR><FONT SIZE=3D2>14:48:29&nbsp; VP pid=3D39526 priority fixed at 65, =
former =3D 65</FONT>
<BR><FONT SIZE=3D2>14:48:34&nbsp; DR: DRAUTO is 0 (Off)</FONT>
<BR><FONT SIZE=3D2>14:48:34&nbsp; Informix Dynamic Server Version =
7.31.UD2&nbsp;&nbsp;&nbsp; Software Serial Number AAD#A244485</FONT>
<BR><FONT SIZE=3D2>14:48:34&nbsp; Dynamically allocated new virtual =
shared memory segment (size 8192KB)</FONT>
<BR><FONT SIZE=3D2>14:48:34&nbsp; Informix Dynamic Server Initialized =
-- Shared Memory Initialized.</FONT>
<BR><FONT SIZE=3D2>14:48:35&nbsp; Dataskip is now OFF for all =
dbspaces</FONT>
<BR><FONT SIZE=3D2>14:48:35&nbsp; Restartable Restore has been =
DISABLED</FONT>
<BR><FONT SIZE=3D2>14:48:35&nbsp; Recovery Mode</FONT>
<BR><FONT SIZE=3D2>14:48:37&nbsp; Physical Restore of rootdbs =
started.</FONT>
</P>

<P><FONT SIZE=3D2>14:48:47&nbsp; Checkpoint Completed:&nbsp; duration =
was 0 seconds.</FONT>
<BR><FONT SIZE=3D2>14:48:47&nbsp; Checkpoint loguniq 6, logpos
0x2b018</=
FONT>
</P>

<P><FONT SIZE=3D2>14:48:47&nbsp; Physical Restore of rootdbs =
Completed.</FONT>
<BR><FONT SIZE=3D2>14:48:47&nbsp; Checkpoint Completed:&nbsp; duration =
was 0 seconds.</FONT>
<BR><FONT SIZE=3D2>14:48:47&nbsp; Checkpoint loguniq 6, logpos =
0x2b018</FONT>
</P>

<P><FONT SIZE=3D2>14:48:47&nbsp; Physical Restore of datadbs =
started.</FONT>
</P>

<P><FONT SIZE=3D2>14:49:17&nbsp; Checkpoint Completed:&nbsp; duration =
was 0 seconds.</FONT>
<BR><FONT SIZE=3D2>14:49:17&nbsp; Checkpoint loguniq 6, logpos =
0x2b018</FONT>
</P>

<P><FONT SIZE=3D2>14:49:17&nbsp; Physical Restore of datadbs =
Completed.</FONT>
<BR><FONT SIZE=3D2>14:49:17&nbsp; Checkpoint Completed:&nbsp; duration =
was 0 seconds.</FONT>
<BR><FONT SIZE=3D2>14:49:17&nbsp; Checkpoint loguniq 6, logpos =
0x2b018</FONT>
</P>

<P><FONT SIZE=3D2>14:55:53&nbsp; DR: new type =3D secondary, primary =
server name =3D oebar </FONT>
<BR><FONT SIZE=3D2>14:55:53&nbsp; DR: Trying to connect to primary =
server ...</FONT>
<BR><FONT SIZE=3D2>14:55:58&nbsp; DR: Secondary server connected</FONT>
<BR><FONT SIZE=3D2>14:55:59&nbsp; DR: Start failure recovery from tape =
.. </FONT>
<BR><FONT SIZE=3D2>14:56:35&nbsp; Logical Recovery Started.</FONT>
<BR><FONT SIZE=3D2>14:56:35&nbsp; Start Logical Recovery - Start Log 6,
=
End Log ?</FONT>
<BR><FONT SIZE=3D2>14:56:35&nbsp; Starting Log Position - 6 =
0x2b018</FONT>
<BR><FONT SIZE=3D2>14:56:35&nbsp; Clearing the physical and logical =
logs has started</FONT>
<BR><FONT SIZE=3D2>14:57:28&nbsp; Cleared 11 MB of the physical and =
logical logs in 53 seconds</FONT>
<BR><FONT SIZE=3D2>14:57:29&nbsp; Checkpoint Completed:&nbsp; duration =
was 1 seconds.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: nobody@ace.iiug.org [<A =
HREF=3D"mailto:nobody@ace.iiug.org">mailto:nobody@ace.iiug.org</A>] =
</FONT>
<BR><FONT SIZE=3D2>Sent: 27 June 2005 08:47</FONT>
<BR><FONT SIZE=3D2>To: ids@iiug.org</FONT>
<BR><FONT SIZE=3D2>Subject: HDR problem - ontape -p [5257] </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>1] When I do ontape -p , it does ask me &quot;take =
logical backup [Y/N] ?&quot; </FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; What should I do ? </FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
=
sp;&nbsp;&nbsp; I gave &quot;N&quot; and proceeded with the cold =
restore.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; Is the above right action ?</FONT>
</P>

<P><FONT SIZE=3D2>2] Why doesnt the restore complete ?</FONT>
</P>

<P><FONT SIZE=3D2>3] The level-0 backup on primary takes around 10 =
hours , should the restore take more than that or how much time should =
the &quot;ontape -p&quot; run ?</FONT></P>

<P><FONT SIZE=3D2>4] When it does complete, whats should be the status =
of the informix server i.e. &quot;onstat -&nbsp; &quot; should show =
what output ?</FONT>
</P>

<P><FONT SIZE=3D2>PLEASE give the answers pointwise .</FONT>
</P>

<P><FONT SIZE=3D2>Thanks in&nbsp; advance for ur help/suggestions =
..</FONT>
</P>

<P><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>Sagar</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C57B15.3D6F2130--




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.