473,770 Members | 2,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New to Db2 - installation question

My company is making the switch to DB2 from Oracle. I have been working
with Oracle for the last 10 years or so and still very very new to DB2.

One question that has come up recently within our team is the location
of the software. It appears that at a minimum there has to be a link to
/usr/opt/something (Off the top of my head I do not recall the exact
directory).

Using db2_install it appears (from the doc) that you can specify an
alternate directory for the location of the software however you are
still going to get the link to /usr/opt.

Is my understanding correct?

If that is the case it would seem its not possible to install seperate
copies of the software/binaries if you wanted to put a second instance
on a machine. They are always going to share the link in /usr/opt and
thus be using the same software. Which really eliminates one of the
reasons you would have a second instance (upgrading them seperately).
Sure you could just use a second machine but the direction of this
company has been to use fewer bigger servers.

The reason this came up was due to a question about clustering 2
database servers in an active/passive manner ( I believe the db2 doc
refers to this is a hot standby). We might have 2 or more instances on
1 cluster (see above fewer bigger machines) that potentially could be
running on 1 machine. Seems this is doable but with only 1 copy of the
software because of the /usr/opt link.

The argument then comes up are multiple instances on the same
instance/cluster really a good idea.

Hope this makes sense I havae been reading a lot of DB2 documentation
and have a lot of terms spinning in my head (Not to mention the Oracle
to Db2 terms that are differant).

Scott

Aug 8 '06 #1
7 2023

sc*********@com cast.net wrote:
My company is making the switch to DB2 from Oracle. I have been working
with Oracle for the last 10 years or so and still very very new to DB2.
Snipped a bunch of stuff in the previous post

Sorry I guess I should mention OS and versions in case it makes a
difference.
OS is Aix and 8.2 of DB2.

Aug 8 '06 #2
sc*********@com cast.net wrote:
sc*********@com cast.net wrote:
>My company is making the switch to DB2 from Oracle. I have been working
with Oracle for the last 10 years or so and still very very new to DB2.

Snipped a bunch of stuff in the previous post

Sorry I guess I should mention OS and versions in case it makes a
difference.
OS is Aix and 8.2 of DB2.
In DB2 V8.2 on AIX you can have an alternate install path.
This is a lot simpler in DB2 9. You can install as many copies of DB2
with different paths and release levels as you wish.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Aug 8 '06 #3
<sc*********@co mcast.netwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
My company is making the switch to DB2 from Oracle. I have been working
with Oracle for the last 10 years or so and still very very new to DB2.

One question that has come up recently within our team is the location
of the software. It appears that at a minimum there has to be a link to
/usr/opt/something (Off the top of my head I do not recall the exact
directory).

Using db2_install it appears (from the doc) that you can specify an
alternate directory for the location of the software however you are
still going to get the link to /usr/opt.

Is my understanding correct?

If that is the case it would seem its not possible to install seperate
copies of the software/binaries if you wanted to put a second instance
on a machine. They are always going to share the link in /usr/opt and
thus be using the same software. Which really eliminates one of the
reasons you would have a second instance (upgrading them seperately).
Sure you could just use a second machine but the direction of this
company has been to use fewer bigger servers.

The reason this came up was due to a question about clustering 2
database servers in an active/passive manner ( I believe the db2 doc
refers to this is a hot standby). We might have 2 or more instances on
1 cluster (see above fewer bigger machines) that potentially could be
running on 1 machine. Seems this is doable but with only 1 copy of the
software because of the /usr/opt link.

The argument then comes up are multiple instances on the same
instance/cluster really a good idea.

Hope this makes sense I havae been reading a lot of DB2 documentation
and have a lot of terms spinning in my head (Not to mention the Oracle
to Db2 terms that are differant).

Scott
DB2 has the following installed "components " on UNIX or Linux install:

- Installed binaries for the base code without any fixpack (use the default
directory to save yourself some grief).

- Fixpacks installed on top of the base code. If you do not use alternate
fixpacks (available with ESE only) then all fixpacks update the base code
and all instances are at the same fixpack level (unless you are running two
different versions such as 8.1 and 9.1).

- Alternate Fixpacks. If you have ESE and use alternate fixpacks, the
alternate fixpack installs on a different directory than the base code to
enable you to choose which fixpack to use with which instance. Let DB2
install choose the install directory.

- Instance - A DB2 instance is not a separate install of the binaries. You
can easily create multiple instances on a server, and this may be a good
idea for many reasons. Each instance has symbolic links to the binaries you
are using (wither the base code updated by any fixpacks, or alternate
fixpacks if you chose that method). Each instance can be a separate release
or fixpack (if you use alternate fixpacks). What determines the
release/fixpack level of the instance is what directory path you use to
create the instance from (if you are using alternate fixpacks or have
different major release levels installed). So you can have multiple
instances even though they all point the same binaries via symbolic links.
For simplicity, the instance is "created" on the home directory of the
instance owner user id (you may need to create the user id in advance unless
you use the GUI install). When you create an instance, DB2 will update the
user profile of the instance owner to automatically point to the instance
named by that user id when that user first logs on. Other local users who
logon to the database server directly must have the profile created for them
manually (remote users just need the appropriate client).

- Database - You can create one or more databases in each instance.

Now to your other question. Based on your need for a standby database
server, I would look at HADR, which is included for free with ESE and priced
separately for WSE, and Express versions. Check out the "Data Recovery and
High Availability Guide and Reference."

Aug 8 '06 #4
"Serge Rielau" <sr*****@ca.ibm .comwrote in message
news:4j******** ****@individual .net...
In DB2 V8.2 on AIX you can have an alternate install path.
This is a lot simpler in DB2 9. You can install as many copies of DB2 with
different paths and release levels as you wish.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Unless one is using DPF, I don't know of any good reason to not use the
default install path.

I don't care what software you are installing, sooner or later the gods will
seek their revenge for not using the default install path.
Aug 8 '06 #5

Just add on to Mark's comment, DB2 UDB family packaging can be obtained
from Paul's dW article --
http://www-128.ibm.com/developerwork...kopoulos1.html

Aug 8 '06 #6
Sorry I guess I should mention OS and versions in case it makes a
difference.
OS is Aix and 8.2 of DB2.
In DB2 V8.2 on AIX you can have an alternate install path.
This is a lot simpler in DB2 9. You can install as many copies of DB2
with different paths and release levels as you wish.

Cheers
Serge

--
>From what you said it sounds like its possible with 8.2 but does that
still force the link to /usr/opt/XXXX?

Some of the other comments hinted at it not being a good idea to vary
from the default installation path.

Can anyone expand on that a bit more of why its a bad idea (Keeping in
mind I am still new to DB2 and struggling with the terms a little
bit.). A pointer to the correct documentation would be fine as well. I
have struggled with the documentation and finding what I am looking for
although I am getting better
Scott

Aug 8 '06 #7
sc*********@com cast.net wrote:
Sorry I guess I should mention OS and versions in case it makes a
difference.
OS is Aix and 8.2 of DB2.
In DB2 V8.2 on AIX you can have an alternate install path.
This is a lot simpler in DB2 9. You can install as many copies of DB2
with different paths and release levels as you wish.

Cheers
Serge

--

From what you said it sounds like its possible with 8.2 but does that
still force the link to /usr/opt/XXXX?
First, a bit of background. The ability to install somewhere other than the
default path is only available to Solaris with DB2 v8, with the limitation
of the default install path being a symlink to the real install path. This
ability was developed for all platforms in DB2 v9, and the limitation
removed simultaneously.

Back to v8. You can install the "regular" version of the product, which is
fully upgradable via fixpak. As you're on AIX, there is no option as to
where it gets installed: it goes in /usr/opt/db2_08_01. (There is a
symlink whitepaper for v7 which applies to v8 as well, if you search for it
on IBM's website, but all it does is show you how to do what is already
being done on Solaris.)

If you're using ESE, you can use "alternate" fixpaks (AFP). With AFP, you
install a new copy of DB2 at a particular fixpak level. It goes into a new
path (/usr/opt/db2_08_FP#). The AFPs cannot be directly upgraded via
fixpak. Instead, you will need to install the new AFP to its new install
path, and then use db2iupdt from the new install path to update the
instance to the new base path, which will reset its symlinks, and thus
upgrade the instance. You can also use db2iupdt to reset an instance back
to the main path, if you have anything installed there (some DB2 users do
not bother with the main install path).

Note that AFPs have a few restrictions, too. Primary among them is a lack
of support for anything that isn't ESE. So, if you want to use Websphere
Information Integrator, or DB2 Query Patroller, or DB2 Text Extenders,
well, AFP is not for you.
Some of the other comments hinted at it not being a good idea to vary
from the default installation path.
You can't really do that in v8 anyway. In v9, it's fully supported, and as
long as you use the DB2-owned installation methods (there are 4 methods of
installation, one of which is a manual install, the other three are
automated to varying degrees, and thus a bit more reliable), I see no
reason why you shouldn't use the paths you want as appropriate.
Can anyone expand on that a bit more of why its a bad idea (Keeping in
mind I am still new to DB2 and struggling with the terms a little
bit.). A pointer to the correct documentation would be fine as well. I
have struggled with the documentation and finding what I am looking for
although I am getting better
As you are just looking at moving to DB2 now, my suggestion would be to
start with DB2 v9. Though v8 will continue to be supported for some time,
the Oracle concept of installing a bunch of copies to have individual
upgrade options was implemented in DB2 v9. You can still have multiple
instances set up pointing to a single copy of DB2, but you'll no longer be
tied to that the way that v8 was.
Aug 8 '06 #8

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

Similar topics

2
3463
by: mirandacascade | last post by:
O/S: Windows XP Home (with Service Pack 2) Downloaded python-2.4.msi from python.org (10,632KB). When I double click on the file from Windows Explorer, the installation process presents the window in which I am prompted to either install for all users (the default) or install for just me. I selected the defaulted value. Installation process presents a window in which the user may select the directory for python 2.4 files. I selected...
3
2057
by: Rob Brown | last post by:
I put together an installation program and it works great the first time. The problem I have is that we want the users to be able to rerun the installation without needing to uninstall the older package first. How can I set up the package to overlay the existing installation without forcing the user to run an uninstall first? Thanks, Rob Brown
5
2089
by: InstallAware | last post by:
For Press Inquiries: Sinan Karaca InstallAware Software Corporation 336 Guerrero Street, San Francisco CA 94103 415 358 4094 (voice/fax) sinank@installaware.com http://www.installaware.com/ InstallAware First (and Only) Installation Toolkit to Support .NET 2.0
6
8619
by: cat | last post by:
Hi Folks, We are going to start a grand new project, which is DB2v7 FP10a sitting on AIX4.3.3 on M80 server. Here is my question, 1) According to Fixpack installation guide, I have to install Fixpack1(Pre-request of Fixpack 3 installation), Fixpack 3(Pre-request of Fixpack 10a) in order to successful install Fixpack 10a.Question is do I have to follow this sequence or there is a way jump to fixpack 10a.
5
1101
by: Joe Delphi | last post by:
Hi, I purchased the ASP.NET Programming with Visual Basic .NET book from Microsoft Press by G. Andrew Duthie. It comes with a companion CD-ROM that contains examples. I am unable to open any of the projects from the CD-ROM inside the IDE. I keep getting a message that says that I need to re-run the .NET installation and this time - install the web components. I have attempted to re-run the installation, but the installation does...
5
1171
by: Jim | last post by:
Please don't laugh--I'm serious about this-- I finally got around to installing the copy of VBNet I bought last summer. I didn't see any installation instructions in the box--just a bunch of advertisements, a couple posters and a beginning programming book. So I put the Visual Studio CD in the hard drive. It said it couldn't install because it was missing some supporting files. So I put the VBNet CD in and the message box told me...
0
2202
by: Pavan | last post by:
I have my .NET code published in two servers http://server1/<ApplicationName>/Publish.htm and http://server2/<ApplicationName>/Publish.htm, and if i open IE on the client machine and type the link (http://server1/<ApplicationName>/Publish.htm) it would install the application in the client machine from server1. 1) Changing the server location on the same client machine (i.e. http://server2/<ApplicationName>/Publish.htm) should override...
16
2325
by: Jeremy S. | last post by:
I'm about to install VS.NET 2005 and SQL Server 2005 on a new/clean development machine (XP Pro/SP2 etc). Is the order of installation important (i.e., which product should I install first)? Thanks!
16
1844
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I'm looking for a way to programmatically retrieve the following if possible: Windows Installation Key or COA from the registry Windows installed applications, like: MS Office 97-2003 MS FrontPage MS Word MS Works
2
1728
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have no idea where to post this question, or even if its appropriate for me to post it here. I don't know if installing a VB.Net program has caused the problem I'm having or not. All I know is I did install a VB.Net program on my desktop computer and lately its been acting very strangely. It could also be the result of something else, but I'm not sure. The symptom I'm having is the following. When I start up my desktop computer I am...
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10254
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7451
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.