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: Informix Database testing

Posted By: Alexandre Marini
Date: Wednesday, 24 July 2013, at 12:11 p.m.

In Response To: Re: Informix Database testing (medkba)

Hello.
You´re facing this issue mainly because the primary (rootdbs) chunk is not found by your operational system:
Cannot Open Primary Chunk '/db/ewso/root/root1', errno = 2

The errno.h description for that OS error is:
#define ENOENT 2 /* No such file or directory */

As Art Kagel suggested, you should have done a copy in a blocking way in Informix, to ensure data is not modified.

Remember that you can always do a backup + restore on the other side, and then you can enable an ER between the two servers, to check+repair your tables. The last part (ER) can even being done between different servers, an OSes. That way, you can migrate everything online, with a minimun, or even none downtime of your applications.

Regards.

Alexandre Marini
IBM Informix Certified Professional v10 / v11.50 / v11.70 / v12.10

IBM Information Management Informix Technical Professional

IBM Infosphere DataStage Technical Professional
Informix Senior DBA - Orizon Brasil
BRIUG website administrator
Informix independent consultant

> To: ids@iiug.org
> From: medkba@gmail.com
> Subject: Re: Informix Database testing [30922]
> Date: Wed, 24 Jul 2013 11:32:28 -0400
>
> Thank you for the confirmation.
>
> Any way, I have to start informix database but I got the below errors. It
> means that we cannot bring up database
>
> informix@whx003n$ oninit -v
> Checking group membership to determine server run mode...succeeded
> Reading configuration file '/informixIDS/etc/onconPROD82'...succeeded
> Creating /INFORMIXTMP/.infxdirs...succeeded
> Checking config parameters...succeeded
> Allocating and attaching to shared memory...succeeded
> Creating resident pool 221846 kbytes...succeeded
> Allocating 800016 kbytes for buffer pool of 2K page size...succeeded
> Creating infos file "/informixIDS/etc/.infos.prod08_amk82"...succeeded
> Linking conf file "/informixIDS/etc/.conf.prod08_amk82"...succeeded
> Initializing rhead structure...succeeded
> Writing to infos file...succeeded
> Initialization of Encryption...succeeded
> Initializing ASF...succeeded
> Initializing Dictionary Cache and SPL Routine Cache...succeeded
> Bringing up ADM VP...succeeded
> Creating VP classes...succeeded
> Onlining 5 additional cpu vps...succeeded
> Onlining 4 IO vps...succeeded
> Forking main_loop thread...succeeded
> Initializing DR structures...succeeded
> Forking 1 'ipcshm' listener threads...succeeded
> Forking 1 'soctcp' listener threads...succeeded
> Starting tracing...succeeded
> Initializing 127 flushers...succeeded
> oninit: Fatal error in shared memory initialization
> WARNING: server initialization failed, or possibly timed out (if -w was
> used).
> Check the message log, online.log, for errors.
>
> informix@whx003n$ onstat -m
>
> shared memory not initialized for INFORMIXSERVER 'prod08_ews82'
>
> Message Log File: /log/informix/IDS/online.log
>
> 23:17:00 Event alarms enabled. ALARMPROG =
> '/app/informix_server/IDS1150FC9/etc/no_log.sh'
>
> 23:17:00 Booting Language <c> from module <>
>
> 23:17:00 Loading Module <CNULL>
>
> 23:17:00 Booting Language <builtin> from module <>
>
> 23:17:00 Loading Module <BUILTINNULL>
>
> 23:17:06 DR: DRAUTO is 0 (Off)
>
> 23:17:06 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
>
> 23:17:06 Fast poll /dev/poll enabled.
>
> 23:17:07 Warning: shared-memory connection file
> '/INFORMIXTMP/.inf.informix_sv' is overwritten. This file might
>
> belong to another instance of IDS server. If the service name of the IDS
>
> database server is not unique in the environment of the host computer where
>
> the database server resides, rename the service.
>
> 23:17:07 IBM Informix Dynamic Server Version 11.50.FC9 Software Serial
> Number AAA#B000000
>
> 23:17:07 Warning: stat() failed for chunk file /db/ewso/root/root1
>
> 23:17:07 Cannot Open Primary Chunk '/db/ewso/root/root1', errno = 2
>
> 23:17:07 oninit: Fatal error in shared memory initialization
>
> 23:17:07 IBM Informix Dynamic Server Stopped.
>
> 23:17:07 mt_shm_remove: WARNING: may not have removed all/correct segments
>
> Thank you very much
>
> On Wed, Jul 24, 2013 at 11:20 PM, Art Kagel <art.kagel@gmail.com> wrote:
>
> > Yes, exactly. Not necessarily corruption, however, there will be data in
> > memory that was never written to disk including index pages modified by
> > transactions. That will mean that even if the server starts up, your data
> > may not be accessible because there will be data records not listed in the
> > on-disk copy of the index pages that were modified. Similarly, indexes may
> > point to data row locations that were deleted or even overwritten by
> > completely different rows after deletion. Referential integrity may have
> > been broken when new child rows were flushed to disk but their new parent
> > rows were not, etc.
> >
> > DO NOT TRUST THAT COPY!
> >
> > Art
> >
> > Art S. Kagel
> > Advanced DataTools (www.advancedatatools.com)
> > Blog: http://informix-myview.blogspot.com/
> >
> > Disclaimer: Please keep in mind that my own opinions are my own opinions
> > and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
> > other organization with which I am associated either explicitly,
> > implicitly, or by inference. Neither do those opinions reflect those of
> > other individuals affiliated with any entity with which I am affiliated nor
> > those of the entities themselves.
> >
> > On Wed, Jul 24, 2013 at 11:06 AM, medkba <medkba@gmail.com> wrote:
> >
> > > Server administrator copied from source server to destination server.
> > What
> > > I understand if the database online and we copied informix db files to
> > > destination server and we may not startup database due to data file
> > corrupt
> > > or some other reason. Am I correct?
> > >
> > > Thank you very much
> > >
> > > On Wed, Jul 24, 2013 at 10:54 PM, Art Kagel <art.kagel@gmail.com> wrote:
> > >
> > > > ?? I'm not sure that I understand the question, but I'll try to answer
> > > > with a guess.
> > > >
> > > > The only way to copy the server safely while it is online (without
> > > blocking
> > > > it) and be able to restore the files to another machine and bring the
> > > copy
> > > > up is to use ontape or onbar to make a full archive of the source
> > server,
> > > > restore that archive to the target machine, modify the sqlhosts file
> > (and
> > > > possibly the onconfig file). Then you can start up the copy.
> > > >
> > > > Art
> > > >
> > > > Art S. Kagel
> > > > Advanced DataTools (www.advancedatatools.com)
> > > > Blog: http://informix-myview.blogspot.com/
> > > >
> > > > Disclaimer: Please keep in mind that my own opinions are my own
> > opinions
> > > > and do not reflect on my employer, Advanced DataTools, the IIUG, nor
> > any
> > > > other organization with which I am associated either explicitly,
> > > > implicitly, or by inference. Neither do those opinions reflect those of
> > > > other individuals affiliated with any entity with which I am affiliated
> > > nor
> > > > those of the entities themselves.
> > > >
> > > > On Wed, Jul 24, 2013 at 10:44 AM, medkba <medkba@gmail.com> wrote:
> > > >
> > > > > Art,
> > > > >
> > > > > If it is source database online at the same copy to destination
> > source
> > > > then
> > > > > we cannot able to bring up destination server.
> > > > >
> > > > > No issue if partial data copy to destination server.
> > > > >
> > > > > Is it possible to bring up destination server database?
> > > > >
> > > > > Thank you very much
> > > > >
> > > > > On Wed, Jul 24, 2013 at 10:26 PM, Art Kagel <art.kagel@gmail.com>
> > > wrote:
> > > > >
> > > > > > No. As I stated in my last, the source server has to be either
> > > > completely
> > > > > > offline, or have completed a full checkpoint, having flushed
> > > everything
> > > > > > modified in memory to disk, and blocked from further modifications
> > on
> > > > > disk
> > > > > > in order for a file level copy to succeed in producing a usable
> > copy
> > > of
> > > > > the
> > > > > > server's storage. The checkpoint and block are accomplished with
> > the
> > > > > > onmode -c block command and the block released with onmode -c
> > > unblock.
> > > > > > While the server is blocked, transactions can continue against
> > > memory,
> > > > > > however, eventually, if the block lasts for a long time and the
> > > server
> > > > is
> > > > > > busy, then when all buffer cache pages become dirty (ie modified)
> > and
> > > > new
> > > > > > data needs to be read in from disk, all transactions and most
> > queries
> > > > > will
> > > > > > also be blocked until the server block is released.
> > > > > >
> > > > > > Art
> > > > > >
> > > > > > Art S. Kagel
> > > > > > Advanced DataTools (www.advancedatatools.com)
> > > > > > Blog: http://informix-myview.blogspot.com/
> > > > > >
> > > > > > Disclaimer: Please keep in mind that my own opinions are my own
> > > > opinions
> > > > > > and do not reflect on my employer, Advanced DataTools, the IIUG,
> > nor
> > > > any
> > > > > > other organization with which I am associated either explicitly,
> > > > > > implicitly, or by inference. Neither do those opinions reflect
> > those
> > > of
> > > > > > other individuals affiliated with any entity with which I am
> > > affiliated
> > > > > nor
> > > > > > those of the entities themselves.
> > > > > >
> > > > > > On Wed, Jul 24, 2013 at 10:16 AM, medkba <medkba@gmail.com> wrote:
> > > > > >
> > > > > > > Hi All,
> > > > > > >
> > > > > > > Source database is up and running at the same time Storage
> > > > > administrator
> > > > > > > copy all the data (binary, raw device and other files) to
> > > destination
> > > > > > > server but the OS and version and patch both are same as source
> > and
> > > > > > > destination.
> > > > > > >
> > > > > > > I am having doubt if the the database online. Is it copy properly
> > > on
> >
> > > > the
> > > > > > > destination server and able to up the database or not.
> > > > > > >
> > > > > > > My informix verison is 11.50 FC9 HP-UX
> > > > > > >
> > > > > > > SQLHOSTS file i have changed destination server name but the
> > source
> > > > > file
> > > > > > is
> > > > > > > up and running.
> > > > > > >
> > > > > > > Is it ok to change only the destination server name on the
> > SQLHOSTS
> > > > > file?
> > > > > > > or miss out some other information to startup the database.
> > > > > > >
> > > > > > > Please advise
> > > > > > >
> > > > > > > Than
> k you very much
> > > > > > >
> > > > > > > Regards
> > > > > > > Baskaran
> > > > > > >
> > > > > > > On Wed, Jul 24, 2013 at 10:07 PM, Art Kagel <art.kagel@gmail.com
> > >
> > > > > wrote:
> > > > > > >
> > > > > > > > IF and only IF the source database engine was offline or
> > blocked
> > > > > > (onmode
> > > > > > > -c
> > > > > > > > block) can a copy of the chunk files result in an engine that
> > > will
> > > > > run
> > > > > > > > properly unless you are very very lucky!
> > > > > > > >
> > > > > > > > That said, you will have to change the hostname in the sqlhosts
> > > > file,
> > > > > > > but,
> > > > > > > > assuming that the chunk files were restored to the same path
> > they
> > > > > came
> > > > > > > from
> > > > > > > > or that the links for the chunk paths were properly linked up
> > to
> > > > the
> > > > > > > > corresponding copy, then unless you want to change the
> > servername
> > > > or
> > > > > > have
> > > > > > > > another server online on that machine and need to change the
> > > > > > > servernumber,
> > > > > > > > all should work.
> > > > > > > >
> > > > > > > > Art
> > > > > > > >
> > > > > > > > Art S. Kagel
> > > > > > > > Advanced DataTools (www.advancedatatools.com)
> > > > > > > > Blog: http://informix-myview.blogspot.com/
> > > > > > > >
> > > > > > > > Disclaimer: Please keep in mind that my own opinions are my own
> > > > > > opinions
> > > > > > > > and do not reflect on my employer, Advanced DataTools, the
> > IIUG,
> > > > nor
> > > > > > any
> > > > > > > > other organization with which I am associated either
> > explicitly,
> > > > > > > > implicitly, or by inference. Neither do those opinions reflect
> > > > those
> > > > > of
> > > > > > > > other individuals affiliated with any entity with which I am
> > > > > affiliated
> > > > > > > nor
> > > > > > > > those of the entities themselves.
> > > > > > > >
> > > > > > > > On Wed, Jul 24, 2013 at 4:54 AM, medkba <medkba@gmail.com>
> > > wrote:
> > > > > > > >
> > > > > > > > > Hi All,
> > > > > > > > >
> > > > > > > > > We are having one server running informix database and system
> > > > admin
> > > > > > > > copied
> > > > > > > > > all the files (binary with data) to other server same
> > > > > configruation.
> > > > > > > > >
> > > > > > > > > Do I need to change any configuration before startup
> > database?
> > > > > > > > >
> > > > > > > > > Any standard practice needs to do this
> > > > > > > > >
> > > > > > > > > Thank you very much
> > > > > > > > >
> > > > > > > > > Regards
> > > > > > > > > Baskaran
> > > > > > > > >
> > > > > > > > > --089e0158ab6cae68cd04e23e0d42
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > > > > > > > Forum Note: Use "Reply" to post a response in the discussion
> > > > forum.
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > --001a1133e414b78fef04e2426d01
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > > > > > > Forum Note: Use "Reply" to post a response in the discussion
> > > forum.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > --001a11c34dec850cdf04e24289bd
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > > > > > Forum Note: Use "Reply" to post a response in the discussion
> > forum.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --047d7b3439a478642e04e242afdc
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > > >
> > > > > >
> > > > >
> > > > > --089e013c6b84fe6a4804e242d954
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > > >
> > > > >
> > > >
> > > > --089e013d1cf8fbd75304e2431237
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > > >
> > > >
> > >
> > > --089e013d100c631aec04e243408f
> > >
> > >
> > >
> > >
> >
> >
> *******************************************************************************
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> > >
> >
> > --089e013d1cf885696504e24372ac
> >
> >
> >
> >
> *******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --14dae93d9300df4a3604e2439ce1
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>

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.