Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 06:25 AM
Markus Enders
Guest
 
Posts: n/a
Default Migrating from Solaris to Linux

Hi everybody,

currently we use DB2 7.1 on several Solaris machines. Now we are
planning, to migrate to SUSE Linux (newest version).
I wonder, if we can keep our DB2 version 7.1, or if we need to upgrade
to version 8. How are your experiences running DB2 in version 7.1 on Linux.

How difficult is the migration from Solaris to Linux concerning DB2? Are
there some pitfalls or can I simply install the DB2, create my database
(tables and views) and than export the database (using db2move) on the
Solaris machine and import it under Linux (using db2move)?
Has anybody done this before?

I'm curious especially about the JDBC driver. It seems, that for
different DB2 versions, you need different JDBC drivers. Is this also
the case, when moving from one OS to the other?
If so, is it possible to use different JDBC drivers (for different
versions) in one Java/Tomcat-Instance? How?

Any answers are welcome...
Thanks & Ciao
Markus

  #2  
Old November 12th, 2005, 06:25 AM
Blair Adamache
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

The JDK's are listed here under Platform Support:

http://www-306.ibm.com/software/data...db/ad/v8/java/

For you it mteans moving from a Javasoft JDK to an IBM JDK.

Markus Enders wrote:
[color=blue]
> Hi everybody,
>
> currently we use DB2 7.1 on several Solaris machines. Now we are
> planning, to migrate to SUSE Linux (newest version).
> I wonder, if we can keep our DB2 version 7.1, or if we need to upgrade
> to version 8. How are your experiences running DB2 in version 7.1 on Linux.
>
> How difficult is the migration from Solaris to Linux concerning DB2? Are
> there some pitfalls or can I simply install the DB2, create my database
> (tables and views) and than export the database (using db2move) on the
> Solaris machine and import it under Linux (using db2move)?
> Has anybody done this before?
>
> I'm curious especially about the JDBC driver. It seems, that for
> different DB2 versions, you need different JDBC drivers. Is this also
> the case, when moving from one OS to the other?
> If so, is it possible to use different JDBC drivers (for different
> versions) in one Java/Tomcat-Instance? How?
>
> Any answers are welcome...
> Thanks & Ciao
> Markus
>[/color]

  #3  
Old November 12th, 2005, 06:26 AM
Fan Ruo Xin
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

If you use db2 udb v7.x (64bit). AFAIK, there is no JVM 64bit (even IBM jvm)
on Linux.

"Blair Adamache" <badamache@2muchspam.yahoo.com> wrote in message
news:bvm52m$9jj$1@hanover.torolab.ibm.com...[color=blue]
> The JDK's are listed here under Platform Support:
>
> http://www-306.ibm.com/software/data...db/ad/v8/java/
>
> For you it mteans moving from a Javasoft JDK to an IBM JDK.
>
> Markus Enders wrote:
>[color=green]
> > Hi everybody,
> >
> > currently we use DB2 7.1 on several Solaris machines. Now we are
> > planning, to migrate to SUSE Linux (newest version).
> > I wonder, if we can keep our DB2 version 7.1, or if we need to upgrade
> > to version 8. How are your experiences running DB2 in version 7.1 on[/color][/color]
Linux.[color=blue][color=green]
> >
> > How difficult is the migration from Solaris to Linux concerning DB2? Are
> > there some pitfalls or can I simply install the DB2, create my database
> > (tables and views) and than export the database (using db2move) on the
> > Solaris machine and import it under Linux (using db2move)?
> > Has anybody done this before?
> >
> > I'm curious especially about the JDBC driver. It seems, that for
> > different DB2 versions, you need different JDBC drivers. Is this also
> > the case, when moving from one OS to the other?
> > If so, is it possible to use different JDBC drivers (for different
> > versions) in one Java/Tomcat-Instance? How?
> >
> > Any answers are welcome...
> > Thanks & Ciao
> > Markus
> >[/color]
>[/color]


  #4  
Old November 12th, 2005, 06:26 AM
Markus Enders
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

Hi Blair,

Blair Adamache wrote:
[color=blue]
> The JDK's are listed here under Platform Support:
>
> http://www-306.ibm.com/software/data...db/ad/v8/java/[/color]


Thanks for posting this link - it was very interesting. But as far as I
understand it describes the current situation for DB V8. But we want to
use the older 7.1. version.
Any information about this old version?

[color=blue]
> For you it mteans moving from a Javasoft JDK to an IBM JDK.[/color]


That's very good to know.

Ciao
Markus

[color=blue]
> Markus Enders wrote:
>[color=green]
>> Hi everybody,
>>
>> currently we use DB2 7.1 on several Solaris machines. Now we are
>> planning, to migrate to SUSE Linux (newest version).
>> I wonder, if we can keep our DB2 version 7.1, or if we need to upgrade
>> to version 8. How are your experiences running DB2 in version 7.1 on
>> Linux.
>>
>> How difficult is the migration from Solaris to Linux concerning DB2?
>> Are there some pitfalls or can I simply install the DB2, create my
>> database (tables and views) and than export the database (using
>> db2move) on the Solaris machine and import it under Linux (using
>> db2move)?
>> Has anybody done this before?
>>
>> I'm curious especially about the JDBC driver. It seems, that for
>> different DB2 versions, you need different JDBC drivers. Is this also
>> the case, when moving from one OS to the other?
>> If so, is it possible to use different JDBC drivers (for different
>> versions) in one Java/Tomcat-Instance? How?
>>
>> Any answers are welcome...
>> Thanks & Ciao
>> Markus
>>[/color]
>[/color]

  #5  
Old November 12th, 2005, 06:26 AM
Knut Stolze
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

Markus Enders <enders@mail.sub.uni-goettingen.de> wrote:
[color=blue][color=green]
>> The JDK's are listed here under Platform Support:
>>
>> http://www-306.ibm.com/software/data...db/ad/v8/java/[/color]
>
>
> Thanks for posting this link - it was very interesting. But as far as I
> understand it describes the current situation for DB V8. But we want to
> use the older 7.1. version.
> Any information about this old version?[/color]

Just follow the link that is provided on the V8 site and you will get there:
http://www-306.ibm.com/software/data...d/v7/java.html

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
  #6  
Old November 12th, 2005, 06:26 AM
Markus Enders
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

Hi Knut,

Knut Stolze wrote:

[color=blue]
> Just follow the link that is provided on the V8 site and you will get there:
> http://www-306.ibm.com/software/data...d/v7/java.html[/color]

Thanks a lot.
Do you or anybody else knows of some special hints or pitfalls when
installing the older 7.1 version of DB2 on the newest Suse Linux
Enterprise 8 version?
Or aren't there any problems (would be nice to hear ;-)?

Thanks, Ciao
Markus

  #7  
Old November 12th, 2005, 06:27 AM
Philip Nelson
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

On Tue, 03 Feb 2004 16:30:47 +0100, Markus Enders wrote:
[color=blue]
> Hi Knut,
>
> Knut Stolze wrote:
>
>[color=green]
>> Just follow the link that is provided on the V8 site and you will get there:
>> http://www-306.ibm.com/software/data...d/v7/java.html[/color]
>
> Thanks a lot.
> Do you or anybody else knows of some special hints or pitfalls when
> installing the older 7.1 version of DB2 on the newest Suse Linux
> Enterprise 8 version?
> Or aren't there any problems (would be nice to hear ;-)?
>
> Thanks, Ciao
> Markus[/color]

Markus,

Some things to note about installing V7 on Linux in general -

1) Look at the DB2-HOWTO from http://www.tldp.org
2) You'll need to install package pdksh (Korn shell)
3) You'll probably need to up the MSGMNI kernel parameter (V8 does this
automatically)

All of this is explained in the docs and the HOWTO.

(suggest you
apply the latest
fixpacks to bring you up to date : you need FP3 to take you to V7.2 level
followed by the latest which I think is FP11) -

However, I'd strongly suggest you take this opportunity to move to V8, as
V7.2 has less than a couple of months of support left (expires March 31st)
and V7.1 is already not supported.

Since you are talking about an OS shift you'll need to use db2move to get
the data across (you can't restore a backup from Solaris on Linux).


  #8  
Old November 12th, 2005, 06:27 AM
Philip Nelson
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

On Tue, 03 Feb 2004 16:30:47 +0100, Markus Enders wrote:
[color=blue]
> Hi Knut,
>
> Knut Stolze wrote:
>
>[color=green]
>> Just follow the link that is provided on the V8 site and you will get there:
>> http://www-306.ibm.com/software/data...d/v7/java.html[/color]
>
> Thanks a lot.
> Do you or anybody else knows of some special hints or pitfalls when
> installing the older 7.1 version of DB2 on the newest Suse Linux
> Enterprise 8 version?
> Or aren't there any problems (would be nice to hear ;-)?
>
> Thanks, Ciao
> Markus[/color]

And to finish typing what I meant to before hitting "Send" by mistake -

And to provide some cheer, my experience of DB2 on Linux has overall been
a happier one than on Solaris.

Perhaps this is because the Linux sysadmins I've worked with are more
switched on than the Solaris ones, but I don't think that is the only
reason.

My V7 Linux heavy-duty experience has been using Red Hat V7.2, but the V8
installs I'm involved in are mainly going to be SLES (SuSE Linux
Enterprise Server) V8. This is mainly due to the fact that DB2 wasn't
supported on the latest Red Hat Enterprise Server when testing V8.

I've also run V7 and V8 happily on "unsupported" versions of Linux such as
Mandrake and Debian, the latter being quite a challenge to get running as
it uses a different package management system. Obviously you wouldn't do
that in your production environment, but on your test laptop ...

If you need any help with DB2 on Linux don't hesitate to contact me
through my website http://www.scotdb.com

You might also want to pick up my paper (presented to IDUG Europe in
October) "DB2 on Linux : Ready for Prime Time" which is on the Downloads
page of my site.

Phil Nelson
  #9  
Old November 12th, 2005, 06:27 AM
Markus Enders
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

Hi Philip,

Philip Nelson wrote:

s,[color=blue]
>
> Some things to note about installing V7 on Linux in general -
>
> 1) Look at the DB2-HOWTO from http://www.tldp.org[/color]


Found it already. But I couldn't find special information which DB2
version runs under which SuSE Linux version.

[color=blue]
> 2) You'll need to install package pdksh (Korn shell)[/color]


Good to know.

[color=blue]
> (suggest you
> apply the latest
> fixpacks to bring you up to date : you need FP3 to take you to V7.2 level
> followed by the latest which I think is FP11) -[/color]


What about the client drivers (ODBC and JDBC)? We will still use the
older DB2 V71. on other Solaris systems but need to access the older and
the newer (Linux) version from the same clients.
As I understood, every new version needs its own db2 driver (can't us
V7.1 db2 ODBC driver to access DB2 V8). Can I install both drivers (JDBC
and ODBC) on the same computer (windows).
Or are there any problems?

[color=blue]
> Since you are talking about an OS shift you'll need to use db2move to get
> the data across (you can't restore a backup from Solaris on Linux).[/color]


Yeah, that's something I found out already transfering data from Linux
to Windows ;-)

Thanks a lot
Ciao
Markus

  #10  
Old November 12th, 2005, 06:28 AM
Knut Stolze
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

Markus Enders <enders@mail.sub.uni-goettingen.de> wrote:
[color=blue][color=green]
>> Some things to note about installing V7 on Linux in general -
>>
>> 1) Look at the DB2-HOWTO from http://www.tldp.org[/color]
>
> Found it already. But I couldn't find special information which DB2
> version runs under which SuSE Linux version.[/color]

Have a look here: http://www-306.ibm.com/software/data...inux/validate/

There is also a link on this site that leads you to the information for V7.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
  #11  
Old November 12th, 2005, 06:28 AM
Markus Enders
Guest
 
Posts: n/a
Default Re: Migrating from Solaris to Linux

Hi Knut, Hi Philip,

thanks a lot for your answers. They were very helpful. U guess, we would
try, V7.1 running on Suse Enterprise 8 (though this is not supported
officially, only Enterprise 7 is) - if it fails, we'll upgrade DB2.

Thanks a lot
Ciao
Markus

Knut Stolze wrote:
[color=blue]
> Markus Enders <enders@mail.sub.uni-goettingen.de> wrote:
>
>[color=green][color=darkred]
>>>Some things to note about installing V7 on Linux in general -
>>>
>>>1) Look at the DB2-HOWTO from http://www.tldp.org
>>>[/color]
>>Found it already. But I couldn't find special information which DB2
>>version runs under which SuSE Linux version.
>>[/color]
>
> Have a look here: http://www-306.ibm.com/software/data...inux/validate/
>
> There is also a link on this site that leads you to the information for V7.
>
>[/color]

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.