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