473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

UDB 8.1 replication

Mag
Hello,

I am new, and trying to learn DB2. I am trying to setup a simple
master-slave replication. Is there a way around using Replication
center? I want to stay away from the GUIs much as possible.

TIA

Jun 4 '06 #1
7 3371
"Mag" <ma******@gmail.com> wrote in message
news:11*********************@c74g2000cwc.googlegro ups.com...
Hello,

I am new, and trying to learn DB2. I am trying to setup a simple
master-slave replication. Is there a way around using Replication
center? I want to stay away from the GUIs much as possible.

TIA


Use the GUI to create the scripts and save them for execution. Some of the
stuff is a bit too complicated to do from scratch unless you want to spend
many days reading the manual.
Jun 4 '06 #2
Mag wrote:
Hello,

I am new, and trying to learn DB2. I am trying to setup a simple
master-slave replication. Is there a way around using Replication
center? I want to stay away from the GUIs much as possible.

TIA

I don't know why you would want to do something like this and NOT use
the GUI ... it will greatly simplify your effort.

Larry Edelstein
Jun 4 '06 #3
Mag
Thanks for all of your kind replies.

The reason why I would like to do it via command line is because, my
db2cc is not working.

When I try to start db2cc

export DB2USELOCALJRE=TRUE
export JAVA_HOME=/opt/IBMJava2-142
db2 update dbm cfg using JDK_PATH /opt/IBMJava2-142

I keep getting :

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't find
library db2jcmn (libdb2jcmn.so) in sun.boot.library.path or
java.library.path
sun.boot.library.path=/opt/IBMJava2-142/jre/bin
java.library.path=/opt/IBMJava2-142/jre/bin:/opt/IBMJava2-142/jre/bin/classic:/opt/IBMJava2-142/jre/bin:/usr/lib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :2044)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
at
com.ibm.db2.common.objmodels.dbobjs.DB2Level.<clin it>(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1

Larry wrote:
Mag wrote:
Hello,

I am new, and trying to learn DB2. I am trying to setup a simple
master-slave replication. Is there a way around using Replication
center? I want to stay away from the GUIs much as possible.

TIA

I don't know why you would want to do something like this and NOT use
the GUI ... it will greatly simplify your effort.

Larry Edelstein


Jun 4 '06 #4
"Mag" <ma******@gmail.com> wrote in message
news:11*********************@c74g2000cwc.googlegro ups.com...
Thanks for all of your kind replies.

The reason why I would like to do it via command line is because, my
db2cc is not working.

When I try to start db2cc

export DB2USELOCALJRE=TRUE
export JAVA_HOME=/opt/IBMJava2-142
db2 update dbm cfg using JDK_PATH /opt/IBMJava2-142

I keep getting :

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't find
library db2jcmn (libdb2jcmn.so) in sun.boot.library.path or
java.library.path
sun.boot.library.path=/opt/IBMJava2-142/jre/bin
java.library.path=/opt/IBMJava2-142/jre/bin:/opt/IBMJava2-142/jre/bin/classic:/opt/IBMJava2-142/jre/bin:/usr/lib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :2044)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
at
com.ibm.db2.common.objmodels.dbobjs.DB2Level.<clin it>(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1


I had a little trouble using the Replication GUI running on Windows in an
early release of an 8.1 remote database running on AIX. So I set up the
replication a local DB2 database running on Windows and created the scripts
using the GUI, then ran the scripts on AIX.
Jun 4 '06 #5
Mag wrote:
Thanks for all of your kind replies.

The reason why I would like to do it via command line is because, my
db2cc is not working.

When I try to start db2cc

export DB2USELOCALJRE=TRUE
export JAVA_HOME=/opt/IBMJava2-142
db2 update dbm cfg using JDK_PATH /opt/IBMJava2-142

I keep getting :

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't find
library db2jcmn (libdb2jcmn.so) in sun.boot.library.path or
java.library.path
sun.boot.library.path=/opt/IBMJava2-142/jre/bin
java.library.path=/opt/IBMJava2-142/jre/bin:/opt/IBMJava2-142/jre/bin/classic:/opt/IBMJava2-142/jre/bin:/usr/lib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :2044)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
at
com.ibm.db2.common.objmodels.dbobjs.DB2Level.<clin it>(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1

Larry wrote:
Mag wrote:

Hello,

I am new, and trying to learn DB2. I am trying to setup a simple
master-slave replication. Is there a way around using Replication
center? I want to stay away from the GUIs much as possible.

TIA


I don't know why you would want to do something like this and NOT use
the GUI ... it will greatly simplify your effort.

Larry Edelstein


Perhaps someone can help you here, but have you tried opening a case
with IBM?

Someone that I found who had a similar problem corrected it by finding
that LIBPATH was being unset in his profile. Someone else corrected a
similar problem by extending ld_library_path_64 with with ..
/sqllib/lib. Otherwise, have you checked your Sun patch levels and have
you applied the latest DB2 fixpak?

Larry Edelstein

Jun 4 '06 #6
You can use ASNCLP

cheers...
Shashi Mannepalli

Larry wrote:
Mag wrote:
Thanks for all of your kind replies.

The reason why I would like to do it via command line is because, my
db2cc is not working.

When I try to start db2cc

export DB2USELOCALJRE=TRUE
export JAVA_HOME=/opt/IBMJava2-142
db2 update dbm cfg using JDK_PATH /opt/IBMJava2-142

I keep getting :

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't find
library db2jcmn (libdb2jcmn.so) in sun.boot.library.path or
java.library.path
sun.boot.library.path=/opt/IBMJava2-142/jre/bin
java.library.path=/opt/IBMJava2-142/jre/bin:/opt/IBMJava2-142/jre/bin/classic:/opt/IBMJava2-142/jre/bin:/usr/lib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :2044)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
at
com.ibm.db2.common.objmodels.dbobjs.DB2Level.<clin it>(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1

Larry wrote:
Mag wrote:
Hello,

I am new, and trying to learn DB2. I am trying to setup a simple
master-slave replication. Is there a way around using Replication
center? I want to stay away from the GUIs much as possible.

TIA
I don't know why you would want to do something like this and NOT use
the GUI ... it will greatly simplify your effort.

Larry Edelstein


Perhaps someone can help you here, but have you tried opening a case
with IBM?

Someone that I found who had a similar problem corrected it by finding
that LIBPATH was being unset in his profile. Someone else corrected a
similar problem by extending ld_library_path_64 with with ..
/sqllib/lib. Otherwise, have you checked your Sun patch levels and have
you applied the latest DB2 fixpak?

Larry Edelstein


Jun 4 '06 #7
Mag
Got it "working". On the local system still the same message, however
on a remote system, I export DISPLAY, and all is working well.

Thanks everyone for their help!

Shashi Mannepalli wrote:
You can use ASNCLP

cheers...
Shashi Mannepalli

Larry wrote:
Mag wrote:
Thanks for all of your kind replies.

The reason why I would like to do it via command line is because, my
db2cc is not working.

When I try to start db2cc

export DB2USELOCALJRE=TRUE
export JAVA_HOME=/opt/IBMJava2-142
db2 update dbm cfg using JDK_PATH /opt/IBMJava2-142

I keep getting :

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't find
library db2jcmn (libdb2jcmn.so) in sun.boot.library.path or
java.library.path
sun.boot.library.path=/opt/IBMJava2-142/jre/bin
java.library.path=/opt/IBMJava2-142/jre/bin:/opt/IBMJava2-142/jre/bin/classic:/opt/IBMJava2-142/jre/bin:/usr/lib
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :2044)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
at
com.ibm.db2.common.objmodels.dbobjs.DB2Level.<clin it>(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1

Larry wrote:

>Mag wrote:
>
>
>>Hello,
>>
>>I am new, and trying to learn DB2. I am trying to setup a simple
>>master-slave replication. Is there a way around using Replication
>>center? I want to stay away from the GUIs much as possible.
>>
>>TIA
>>
>
>I don't know why you would want to do something like this and NOT use
>the GUI ... it will greatly simplify your effort.
>
>Larry Edelstein

Perhaps someone can help you here, but have you tried opening a case
with IBM?

Someone that I found who had a similar problem corrected it by finding
that LIBPATH was being unset in his profile. Someone else corrected a
similar problem by extending ld_library_path_64 with with ..
/sqllib/lib. Otherwise, have you checked your Sun patch levels and have
you applied the latest DB2 fixpak?

Larry Edelstein


Jun 5 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Cherrish Vaidiyan | last post by:
Hello, I have certain doubts regarding replication of Oracle 9i in Red Hat Linux 9. 1) I want to implement asynchronous/synchronous multimaster replication.I have heard about Replication...
0
by: Cherrish Vaidiyan | last post by:
Frank <fbortel@nescape.net> wrote in message news:<bqgb99$a04$1@news1.tilbu1.nb.home.nl>... > Cherrish Vaidiyan wrote: > > Hello, > > > > I have certain doubts regarding replication of Oracle 9i ...
3
by: steve | last post by:
Hi, several years ago , I implemented the oracle replication system. At that time our database was ported from an old Fox pro application. ( K , no laughing at the back). As the foxpro...
1
by: Craig HB | last post by:
I have a distributed inventory control database that I am going to migrate from Access to SQL Server. I am going to use SQL Server Replication to keep the data current. There will one SQL Server...
6
by: John | last post by:
Hi We have an access app (front-end+backend) running on the company network. I am trying to setup replication for laptop users who go into field and need the data synched between their laptops...
3
by: dlesandrini | last post by:
I need advice about my decision to go with Replication in general. This post was placed on the Microsoft Replication newsgroup, but I really value the feedback that comes from this group as well. ...
56
by: Raphi | last post by:
Hi, I've been using an Access application I wrote for an office with the front-end stored on all computers and the back-end on one of them serving as an Access file server. Now we're moving...
9
by: David W. Fenton | last post by:
See: Updated version of the Microsoft Jet 4.0 Service Pack 8 replication files is available in the Download Center http://support.microsoft.com/?scid=kb;en-us;321076 This includes the Jet 4...
3
by: Gert van der Kooij | last post by:
Hi, Our SQL Replication is between DB2 databases on Windows servers. I'm searching for the document which tells me how to migrate our SQL Replication environment from V8 to V9 (we also need to...
2
by: Query Builder | last post by:
Hi, I have transactional replication set up on on of our MS SQL 2000 (SP4) Std Edition database server Because of an unfortunate scenario, I had to restore one of the publication databases. I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.