| |
|
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
|
 |
|

09-28-09, 11:37
|
|
Registered User
|
|
Join Date: Sep 2009
Posts: 7
|
|
|
Db2 synchronization between 2 servers
|
|
Hi,
in our environment, we have 2 Solaris servers with DB2 V 9.1 fp 7.
There is a process which writes data into DB2, but the second server being just a backup server for all the applications of first server (including DB2) there is no data written into second DB2.
The structure and tablespace of both machines are same except for the DB mount file system.
Here I need to have all the data on the first machine to be replicated to second machine once in a day.
Being a newbie to Db2 the concept is very difficult for me to implement with, can I set up HADR or need to write some db2 commands to get the data from first server and populate to second server???
Could you please help me in achieving this?
Thanks,
Arun
|
|

09-28-09, 12:53
|
|
:-)
|
|
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
|
|
Looks like a case for HADR to me.
|
|

09-28-09, 13:24
|
|
Registered User
|
|
Join Date: Sep 2009
Posts: 7
|
|
|
|
Hi Nick, thank you very much for the response, would you be able to help me in setting up this HADR. Being Solaris I believe there are not clients for DB2, but I have DB2 client setup on Windows machine on the same network where I have catalogued both of the Solaris servers db2 to see over the console client. now please guide me....
|
|

09-28-09, 14:18
|
|
:-)
|
|
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
|
|
|
|

09-29-09, 05:30
|
|
Registered User
|
|
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
|
|
|
|

09-29-09, 05:30
|
|
Registered User
|
|
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
|
|
|
|

09-29-09, 11:13
|
|
Registered User
|
|
Join Date: Sep 2009
Posts: 7
|
|
Looks like need to buy HADR license for this, which might take time for the process. So is it possible anyway using db2 commands/scripts though I know that it would not be efficient? objective is to synchronize once in a day not ncessarily immediately, so any ways?
|
|

09-29-09, 11:41
|
|
∞∞∞∞∞∞
|
|
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
|
|
|
|

09-29-09, 15:53
|
|
Registered User
|
|
Join Date: May 2003
Location: USA
Posts: 5,196
|
|
Quote:
|
Originally Posted by arun26081983
Looks like need to buy HADR license for this, which might take time for the process. So is it possible anyway using db2 commands/scripts though I know that it would not be efficient? objective is to synchronize once in a day not ncessarily immediately, so any ways?
|
HADR is included for free in ESE (Enterprise Server Edition), and starting with version 9.5 it is also included for free in WSE (Workgroup Server Edition).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
|
|

09-30-09, 04:55
|
|
Registered User
|
|
Join Date: Sep 2009
Posts: 7
|
|
that sounds good but mine is DB2 V 9.1 fp 7, so I think HADR will not be included for free. I will look at the option of log shipping. meanwhile any other ways using any commands?
|
|

10-02-09, 07:29
|
|
Registered User
|
|
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
|
|
|
|

10-07-09, 13:27
|
|
Registered User
|
|
Join Date: Sep 2009
Posts: 7
|
|
I have attached the db2 configuration from both machines, could somebody help me in doing the log shipping for replication/synchronization of DB2 servers.
|
|

10-07-09, 19:04
|
|
Registered User
|
|
Join Date: May 2003
Location: USA
Posts: 5,196
|
|
Quote:
|
Originally Posted by dr_te_z
|
Doesn't quite work as advertised. IBM was on the verge of buying Xkoto, but found out at the last minute that there are a bunch of SQL statements not supported.
IBM may announce other options shortly.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
|
|

10-07-09, 20:52
|
|
∞∞∞∞∞∞
|
|
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
|
|
Quote:
|
Originally Posted by Marcus_A
IBM may announce other options shortly.
|
Do you know if this will replace xkoto?
|
|

10-08-09, 03:46
|
|
Registered User
|
|
Join Date: May 2003
Location: USA
Posts: 5,196
|
|
Quote:
|
Originally Posted by db2girl
Do you know if this will replace xkoto?
|
Not exactly. That is all I can say at the moment.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|