Connecting Tech Pros Worldwide Forums | Help | Site Map

DB2 Clustering

chmmr
Guest
 
Posts: n/a
#1: Oct 5 '06
Hi,

I am currently in the process of gathering info/experiences for an
incoming Linux DB2 clustering phase we actually know nothing about
(since we are doing it for the first time ever), so I would really
appreciate if you could share some of your experience here or recommend
some additional websites/literature aside from IBM Developerworks -
specifically, if there are some caveats or things to look out for during
the process, etc....

Also, if it really is a straightforward procedure, I would like to hear
that too (that would mean I am to simply follow the Developerworks
instructions 'as-is').

Much abliged

Ian
Guest
 
Posts: n/a
#2: Oct 5 '06

re: DB2 Clustering


chmmr wrote:
Quote:
Hi,
>
I am currently in the process of gathering info/experiences for an
incoming Linux DB2 clustering phase we actually know nothing about
(since we are doing it for the first time ever), so I would really
appreciate if you could share some of your experience here or recommend
some additional websites/literature aside from IBM Developerworks -
specifically, if there are some caveats or things to look out for during
the process, etc....
It would help if you gave some more details. Clustering is ambiguous,
and could refer to high-availability clusters (using a tool like Veritas
Cluster or SteelEye, or even using HADR), or it could refer to a
database running with the database parititioning feature (DPF).


Mark A
Guest
 
Posts: n/a
#3: Oct 5 '06

re: DB2 Clustering


Ian wrote:
Quote:
It would help if you gave some more details. Clustering is ambiguous,
and could refer to high-availability clusters (using a tool like Veritas
Cluster or SteelEye, or even using HADR), or it could refer to a
database running with the database parititioning feature (DPF).
Clustering can also mean defining a clustering index, or using
Multi-dimensional Clustering (MDC).

Even if you are referring to using multiple nodes, you need to specify
if you are want to cluster for high availability or for scalability.

Ian
Guest
 
Posts: n/a
#4: Oct 5 '06

re: DB2 Clustering


Mark A wrote:
Quote:
Ian wrote:
Quote:
>It would help if you gave some more details. Clustering is ambiguous,
>and could refer to high-availability clusters (using a tool like Veritas
>Cluster or SteelEye, or even using HADR), or it could refer to a
>database running with the database parititioning feature (DPF).
>
Clustering can also mean defining a clustering index, or using
Multi-dimensional Clustering (MDC).
>
Even if you are referring to using multiple nodes, you need to specify
if you are want to cluster for high availability or for scalability.
>
Indeed. I just assumed when he referred to "Linux DB2 Clustering" the
OP meant something beyond clustering inside the database.


chmmr
Guest
 
Posts: n/a
#5: Oct 6 '06

re: DB2 Clustering


Ian wrote:
Quote:
chmmr wrote:
Quote:
>Hi,
>>
>I am currently in the process of gathering info/experiences for an
>incoming Linux DB2 clustering phase we actually know nothing about
>(since we are doing it for the first time ever), so I would really
>appreciate if you could share some of your experience here or
>recommend some additional websites/literature aside from IBM
>Developerworks - specifically, if there are some caveats or things to
>look out for during the process, etc....
>
It would help if you gave some more details. Clustering is ambiguous,
and could refer to high-availability clusters (using a tool like Veritas
Cluster or SteelEye, or even using HADR), or it could refer to a
database running with the database parititioning feature (DPF).
>
>
Sorry for being imprecise - I was referring to the DPF feature of the DB2.
chmmr
Guest
 
Posts: n/a
#6: Oct 6 '06

re: DB2 Clustering


Mark A wrote:
Quote:
Even if you are referring to using multiple nodes, you need to specify
if you are want to cluster for high availability or for scalability.
I understand that but I have no information on this - I was just given a
task to study the DPF feature and 'be informed' on that issue.

So if you have additional info/links on HA vs SC intricacies, please do
post it.

Truth be told, the DPF is pretty much a black box for me (aside from
what I can gather from Developerworks) so any info is greatly appreciated.
Mark A
Guest
 
Posts: n/a
#7: Oct 6 '06

re: DB2 Clustering


chmmr wrote:
Quote:
Sorry for being imprecise - I was referring to the DPF feature of the DB2.
DPF is primarily designed for massive parallel processing of large data
warehouse databases. It can be used for HA, but is not really designed
for that purpose. IBM has other HA high availability solutions that are
probably more appropriate for most applications.

At the moment, HADR is probably the best HA solution for DB2, but IBM
"may be" announcing some new HA solutions for DB2 in the not too
distant future..

Ian
Guest
 
Posts: n/a
#8: Oct 6 '06

re: DB2 Clustering


Mark A wrote:
Quote:
DPF is primarily designed for massive parallel processing of large data
warehouse databases. It can be used for HA, but is not really designed
for that purpose.

Huh? What do you mean it "can be used for HA" ? I read that as
implying that DPF can provide high availability by itself.
Ian
Guest
 
Posts: n/a
#9: Oct 6 '06

re: DB2 Clustering


chmmr wrote:
Quote:
Ian wrote:
Quote:
>chmmr wrote:
Quote:
>>Hi,
>>>
>>I am currently in the process of gathering info/experiences for an
>>incoming Linux DB2 clustering phase we actually know nothing about
>>(since we are doing it for the first time ever), so I would really
>>appreciate if you could share some of your experience here or
>>recommend some additional websites/literature aside from IBM
>>Developerworks - specifically, if there are some caveats or things to
>>look out for during the process, etc....
>>
>It would help if you gave some more details. Clustering is ambiguous,
>and could refer to high-availability clusters (using a tool like
>Veritas Cluster or SteelEye, or even using HADR), or it could refer to a
>database running with the database parititioning feature (DPF).
>>
>>
>
Sorry for being imprecise - I was referring to the DPF feature of the DB2.

This is much too broad of a topic. DPF is fairly straightforward and
easy to use if you have a solid understanding what you're dealing with.

However, this understanding is critical, and DBAs make lots of critical
(but simple) errors when they don't really understand.


Larry
Guest
 
Posts: n/a
#10: Oct 7 '06

re: DB2 Clustering


http://www-128.ibm.com/developerwork...e/dm-0601poon/
http://www-128.ibm.com/developerwork.../dm-0403chong/
http://www-128.ibm.com/developerwork...0608mcinerney/
http://www-128.ibm.com/developerwork...-0504mcarthur/

Larry Edelstein

Ian wrote:
Quote:
chmmr wrote:
>
Quote:
>Ian wrote:
>>
Quote:
>>chmmr wrote:
>>>
>>>Hi,
>>>>
>>>I am currently in the process of gathering info/experiences for an
>>>incoming Linux DB2 clustering phase we actually know nothing about
>>>(since we are doing it for the first time ever), so I would really
>>>appreciate if you could share some of your experience here or
>>>recommend some additional websites/literature aside from IBM
>>>Developerworks - specifically, if there are some caveats or things
>>>to look out for during the process, etc....
>>>
>>>
>>It would help if you gave some more details. Clustering is ambiguous,
>>and could refer to high-availability clusters (using a tool like
>>Veritas Cluster or SteelEye, or even using HADR), or it could refer to a
>>database running with the database parititioning feature (DPF).
>>>
>>>
>>
>Sorry for being imprecise - I was referring to the DPF feature of the
>DB2.
>
>
>
This is much too broad of a topic. DPF is fairly straightforward and
easy to use if you have a solid understanding what you're dealing with.
>
However, this understanding is critical, and DBAs make lots of critical
(but simple) errors when they don't really understand.
>
>
chmmr
Guest
 
Posts: n/a
#11: Oct 9 '06

re: DB2 Clustering


Mark A wrote:
Quote:
Ian wrote:
Quote:
>It would help if you gave some more details. Clustering is ambiguous,
>and could refer to high-availability clusters (using a tool like Veritas
>Cluster or SteelEye, or even using HADR), or it could refer to a
>database running with the database parititioning feature (DPF).
>
Clustering can also mean defining a clustering index, or using
Multi-dimensional Clustering (MDC).
>
Even if you are referring to using multiple nodes, you need to specify
if you are want to cluster for high availability or for scalability.
>
Thank you very much for all your replys, currently we're investigating a
problem with instance-owning users on one of the machines that (will)
participate in the cluster.

Perhaps what I forgot to mention we're trying to build a Linux DB2 Cluster.

In particular, after stopping all the related services (be it via
db2stop or pkill) and deinstalling the DB2 product (./deinstall
scripta), I cannot find where does DB2 store its information about
instance-owners.

What happens is that, with each consecutive installation, I can't get
rid of the db2inst(X) user that was valid in the previous installtion.
So, now we have users db2inst1, db2inst2.....db2inst4, even though we've
thouroughly checked everything db2-related that we know of, deleted
the users via userdel command and deleted the groups with groupdel plus
editing/confirming with the /etc/groups and gshadow files to make sure
all groups are really gone.

So, what we do know now is that, OS-wise, those users and groups are gone.

And the reason we're trying to get rid of these users is that, during
GUI installation, when I try to use the existing user, during the final
phase of installation, ./db2setup fails to switch to that user and I am
forced to abort and reinstall with a different instance-owning username.
All other users perform "normally" and are deleted after deinstallation.

Right now, being left with no options, I've removed the DB2 and all
traces of it and am doing a disk-wide string search for "db2inst4"
string (which, I remind you, is one of the users that are still reported
as 'used' by the db2setup script).

Since this will take a long time, any help is appreciated.
chmmr
Guest
 
Posts: n/a
#12: Oct 9 '06

re: DB2 Clustering


chmmr wrote:
Quote:
Mark A wrote:
Quote:
>Ian wrote:
Quote:
>>It would help if you gave some more details. Clustering is ambiguous,
>>and could refer to high-availability clusters (using a tool like Veritas
>>Cluster or SteelEye, or even using HADR), or it could refer to a
>>database running with the database parititioning feature (DPF).
>>
>Clustering can also mean defining a clustering index, or using
>Multi-dimensional Clustering (MDC).
>>
>Even if you are referring to using multiple nodes, you need to specify
>if you are want to cluster for high availability or for scalability.
>>
>
Thank you very much for all your replys, currently we're investigating a
problem with instance-owning users on one of the machines that (will)
participate in the cluster.
>
Perhaps what I forgot to mention we're trying to build a Linux DB2 Cluster.
>
In particular, after stopping all the related services (be it via
db2stop or pkill) and deinstalling the DB2 product (./deinstall
scripta), I cannot find where does DB2 store its information about
instance-owners.
>
What happens is that, with each consecutive installation, I can't get
rid of the db2inst(X) user that was valid in the previous installtion.
So, now we have users db2inst1, db2inst2.....db2inst4, even though we've
thouroughly checked everything db2-related that we know of, deleted the
users via userdel command and deleted the groups with groupdel plus
editing/confirming with the /etc/groups and gshadow files to make sure
all groups are really gone.
>
So, what we do know now is that, OS-wise, those users and groups are gone.
>
And the reason we're trying to get rid of these users is that, during
GUI installation, when I try to use the existing user, during the final
phase of installation, ./db2setup fails to switch to that user and I am
forced to abort and reinstall with a different instance-owning username.
All other users perform "normally" and are deleted after deinstallation.
>
Right now, being left with no options, I've removed the DB2 and all
traces of it and am doing a disk-wide string search for "db2inst4"
string (which, I remind you, is one of the users that are still reported
as 'used' by the db2setup script).
>
Since this will take a long time, any help is appreciated.
Just a quick drop-by to say I've successfully solved this problem.

It seems DB2 stores its Global Registry variables in /var/db2. Contrary
to my expectations these are *not* deleted upon a db2 deinstallation and
should be moved/deleted manually.

So, the solution was to move /var/db2 to a directory of an arbitrary name.
Closed Thread


Similar DB2 Database bytes