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: sh.addShard

Posted By: FRANK
Date: Friday, 20 March 2015, at 11:51 a.m.

In Response To: Re: sh.addShard (Nagaraju Inturi)

HI,

I think I managed to get it run to some extent.... Some observations
and questions.

(1) mongodb shell response,

mongos> sh.addShard("leslie-dat:9171")
{ "ok" : 1, "name" : "g_ncdcopsjson_tcp" }
mongos>

The above output is Success, correct ?

(2) Online log of both local and remote sites,

Local log,
15:25:43 ER checkpoint logid:6 logpos:0x10c785b4
15:25:43 DDR Log Snooping - Snooping started in log 6
15:25:58 RESYNC: Setting Replicate 32792 to Normal mode
15:25:58 CDR Grouper: Grouper evaluation blocked
15:25:58 CDR Grouper: Grouper evaluation unblocked
15:26:16 ER task ifx_sync_g_ncdcopsjson_tcp successfully completed

cdr check replicateset ifx_internal_set
15:26:26 SMX thread is exiting
15:30:56 Checkpoint Completed: duration was 0 seconds.

Remote log,
15:25:49 ER checkpoint logid:7 logpos:0xeec8018
15:25:49 DDR Log Snooping - Snooping started in log 7
15:25:53 CDR GC: synchronization complete
15:25:58 RESYNC: Setting Replicate 32792 to Normal mode
15:25:58 CDR Grouper: Grouper evaluation blocked
15:25:58 CDR Grouper: Grouper evaluation unblocked
15:26:23 SMX thread is exiting because it received a CLOSE message from a
remote server
15:31:12 Checkpoint Completed: duration was 0 seconds.

The log info told me success or some warning or errors ?

(3) About sqlhosts files

Apparently, it will do massive shuffled of your existing sqlhosts ( could
be modified in unexpected ways.... careful )
It only prefers a minimal or bare line of host definition ( exiting
defined working lines could be messed up)

I am also very curious, it could stripe the port service column, e.g,
from "online9171" to "9171" . The following is a example,

The modified sqlhosts files,
nsofopsjson onipcshm maggie-dat serviceopsjson
g_nsofopsjson_tcp group - - i=1
nsofopsjson_tcp onsoctcp maggie-dat online9171
g=g_nsofopsjson_tcp
g_ncdcopsjson_tcp group - - i=2
ncdcopsjson_tcp onsoctcp leslie-dat 9171
g=g_ncdcopsjson_tcp

The last line actually was ,
ncdcopsjson_tcp onsoctcp leslie-dat online9171
g=g_ncdcopsjson_tcp

(4) cdr list server outputs of local and remote node,

[informix@maggie etc]$ cdr list server
SERVER ID STATE STATUS QUEUE CONNECTION CHANGED
-----------------------------------------------------------------------
g_ncdcopsjson_tcp 2 Active Connected 0 Mar 20 15:25:52
g_nsofopsjson_tcp 1 Active Local 0

[informix@leslie etc]$ cdr list server
SERVER ID STATE STATUS QUEUE CONNECTION CHANGED
-----------------------------------------------------------------------
g_ncdcopsjson_tcp 2 Active Local 0
g_nsofopsjson_tcp 1 Active Connected 0 Mar 20 15:25:51

So, based on above overall info, the shard is created successful or not ?

Thanks
frank

On Thu, Mar 19, 2015 at 8:49 PM, Nagaraju Inturi <nagaraju@us.ibm.com>
wrote:

> Hi Frank,
>
> sh.addShard() internally run 'cdr autoconfig server' command.
> This command sets up sqlhosts file for group entries. Since you already
> have ER group entries defined for local server in your SQLHOSTS files, its
> probably causing problem with ER auto configuration. Can you pls. remove
> existing group entries in your SQLHOSTS file and rerun sh.addShard()
> command ?
>
> Thanks & Regards,
> Nagaraju
>
> From: "FRANK" <yunyaoqu@gmail.com>
> To: ids@iiug.org,
> Date: 03/19/2015 03:16 PM
> Subject: Re: sh.addShard [34853]
> Sent by: ids-bounces@iiug.org
>
> I found sh.addShard() will cause both local and remote sqlhosts to be
> modified.
>
> This is the example,
>
> Original sqlhosts file,
> ========================
> g_ncdcopsjson group - - i=11
> ncdcopsjson_tcp onsoctcp leslie-dat online9171
> g=g_ncdcopsjson
>
> g_nsofopsjson group - - i=12
> nsofopsjson_tcp onsoctcp maggie-dat online9171
> g=g_nsofopsjson
> nsofopsjson onipcshm maggie-dat serviceopsjson
>
> Modified by Informix after running sh.addShard,
> ========================
> g_ncdcopsjson group - - i=11
> nsofopsjson onipcshm maggie-dat serviceopsjson
> g_nsofopsjson group - - i=12
> g_nsofopsjson_tcp group - - i=13
> nsofopsjson_tcp onsoctcp maggie-dat online9171
> g=g_nsofopsjson_tcp
> g_ncdcopsjson_tcp group - - i=14
> ncdcopsjson_tcp onsoctcp leslie-dat 9171
> g=g_ncdcopsjson_tcp
>
> Any idea why the sqlhosts need be modified ? Avoidable ?
>
> Thanks
> Frank
>
> On Wed, Mar 18, 2015 at 7:55 PM, Art Kagel <art.kagel@gmail.com> wrote:
>
> > cdr finderr 37 says that this error code indicates an attempt to connect
> to
> > an undefined server. Odd.
> >
> > Art
> >
> > Art S. Kagel, President and Principal Consultant
> > ASK Database Management
> > www.askdbmgt.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 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, Mar 18, 2015 at 6:53 PM, FRANK <yunyaoqu@gmail.com> wrote:
> >
> > > Hello,
> > >
> > > IDS 12.10 FC4
> > > RHEL Linux
> > >
> > > Used MongoDB shell to create a Shard.
> > >
> > > Did a bunch of configurations, setup, tests...... Eventually, I am
> stuck
> > > here,
> > >
> > > mongos> sh.addShard("leslie-dat:9171")
> > > {
> > >
> > > "code" : null,
> > >
> > > "ok" : 0,
> > >
> > > "errmsg" : "command failed -- undefined server (37) "
> > > }
> > > mongos>
> > >
> > > I run the above sh.addShard command in mongo shell.
> > >
> > > Attached are the two log info of both local and remote node.
> > >
> > > Seems this was the culprit,
> > >
> > > 22:34:30 CDR GC: operation sync cache define remote server failed
> (error
> > > 37).
> > > 22:34:30 CDR GC: synchronization failed (sync abort, shutting down
> CDR)
> > >
> > > Any idea what I should do?
> > >
> > > Thanks
> > > Frank
> > >
> > > Local Log :
> > >
> > > 22:34:21 Building 'syscdr' database ...
> > > 22:34:22 'syscdr' database built successfully.
> > > 22:34:22 CDR queuer initialization complete
> > > 22:34:22 ER checkpoint started
> > > 22:34:22 CDR NIF listening on asf://g_nsofopsjson_tcp
> > > 22:34:23 Checkpoint Completed: duration was 0 seconds.
> > > 22:34:23 Wed Mar 18 - loguniq 6, logpos 0xa84b5b4, timestamp: 0x10bd1c
>
> > > Interval: 115
> > > 22:34:23 Maximum server connections 8
> > > 22:34:23 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns
> > blocked
> > > 0, Plog used 109, Llog used 2671
> > > 22:34:23 ER checkpoint logid:6 logpos:0xa84b5b4
> > > 22:34:23 DDR Log Snooping - Snooping started in log 6
> > > 22:34:33 CDR: Enterprise Replication Auto Configuration aborted. rc=37
>
> > > 22:34:35 SMX thread is exiting
> > >
> > > Remote (leslie-dat) Log :
> > >
> > > 22:34:27 Building 'syscdr' database ...
> > > 22:34:28 'syscdr' database built successfully.
> > > 22:34:30 CDR queuer initialization complete
> > > 22:34:30 ER checkpoint started
> > > 22:34:30 CDR NIF listening on asf://g_ncdcopsjson_tcp
> > > 22:34:30 CDR GC: operation sync cache define remote server failed
> (error
> > > 37).
> > > 22:34:30 CDR GC: synchronization failed (sync abort, shutting down
> CDR)
> > > 22:34:30 Checkpoint Completed: duration was 0 seconds.
> > > 22:34:30 Wed Mar 18 - loguniq 7, logpos 0xa1df018, timestamp: 0x10e384
>
> > > Interval: 211
> > > 22:34:30 Maximum server connections 5
> > > 22:34:30 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns
> > blocked
> > > 0, Plog used 2001, Llog used 2780
> > > 22:34:30 ER checkpoint logid:7 logpos:0xa1df018
> > > 22:34:30 DDR Log Snooping - Snooping started in log 7
> > > 22:34:31 CDR NIF Shutdown: connections all shutdown.
> > > 22:34:31 CDR The NIF sub-component has shut down.
> > > 22:34:32 DDR Log Snooping - Shutdown
> > > 22:34:33 CDR shutdown complete
> > > 22:34:33 CDR: Failed to define Enterprise Replication server rc=37,
> Error
> > > Message=command failed -- undefined server (37)
> > > 22:34:33 SMX thread is exiting because it received a CLOSE message
> from a
> > > remote server
> > >
> > > --001a11475ce8428201051197f232
> > >
> > >
> > >
> > >
> >
> >
>
>
> *******************************************************************************
>
> > > Forum Note: Use "Reply" to post a response in the discussion forum.
> > >
> > >
> >
> > --001a113f94609cd522051198cfb5
> >
> >
> >
> >
>
>
> *******************************************************************************
>
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
>
> --001a1139bcd89db6320511a9db93
>
>
>
> *******************************************************************************
>
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>

--001a11475ce86d2d520511ba4a9b

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.