10-25-2008 05:56 AM
I'm tring to configure DB2 using Veritas™ Cluster Server Agent for DB2 Installation and Configuration Guide for Linux 5.0 Maintenance Pack 3
On Pg 25 it says:
Install the database instances on the shared storage only on the one node where
the instance’s home directory is currently mounted.
Then on Pg 26 it says:
On each system, create a file named $DB2InstHome/.rhosts, and place a "+"
character within it.
what am I missing?, if I create the instance on only the 1 active node, the other node doesn't have the same $DB2InstHome since it's on shared storage and only available to 1 server at a time.
Do I need to create a seperate home/dir on each node and put the db2 inst id there?
01-22-2009 01:13 PM
I will be installing db2 for use with Veritas Cluster Server Agent.
Did you get this figured out? Was the end result that the database instance directories should reside on shared storage?
01-23-2009 06:42 AM
01-25-2009 10:44 AM
Hi,
I received the following info from our VCS DB2 Agent Engineering.
Regards
Manuel
slonkoski:
On Pg 25 it says:
Install the database instances on the shared storage only on the one node where the instance's home directory is currently mounted.
<SYMC> The later versions of DB2 version 8 and above) seems to save some metadata on the local system where the database instance is installed. So if the instance is installed on the shared disk on sys A, some metatdata is also saved on sys A local Sys B will not save this metadata so user may still need to re-install the same database instance on the second node just to let DB2 to save this metatdata on the second node as well. Otherwise DB2 doesn't seem to know that the instance is already installed on the shared disk on sys B.
Do I need to create a seperate home/dir on each node and put the db2 inst id there?
<SYMC> Yes. DB2 requires that you need to be able to rsh from one system to another using the instance login WITHOUT prompting for the password.
neilECM:
Did you get this figured out? Was the end result that the database instance directories should reside on shared storage?
<SYMC> The instance home directory which is the mount point for the shared storage should be on the local system.
02-06-2009 03:45 PM
@M. Braun wrote:Hi,
I received the following info from our VCS DB2 Agent Engineering.
Regards
Manuel
slonkoski:
On Pg 25 it says:
Install the database instances on the shared storage only on the one node where the instance's home directory is currently mounted.<SYMC> The later versions of DB2 version 8 and above) seems to save some metadata on the local system where the database instance is installed. So if the instance is installed on the shared disk on sys A, some metatdata is also saved on sys A local Sys B will not save this metadata so user may still need to re-install the same database instance on the second node just to let DB2 to save this metatdata on the second node as well. Otherwise DB2 doesn't seem to know that the instance is already installed on the shared disk on sys B.
Do I need to create a seperate home/dir on each node and put the db2 inst id there?
Thank you for the feedback.
If I understand this correctly, the order of operations will be:
install db2 binaries on sys A
during install of db2 binaries on sys A, create the instance on shared disk
drop the instance
install db2 binaries on sys B
during install of db2 binaries on sys B, create the instance on shared disk
Now sys A and sys B will each have the metadata as discussed?<SYMC> Yes. DB2 requires that you need to be able to rsh from one system to another using the instance login WITHOUT prompting for the password.
neilECM:
Did you get this figured out? Was the end result that the database instance directories should reside on shared storage?
<SYMC> The instance home directory which is the mount point for the shared storage should be on the local system.
If we must have a separate home dir (/home/db2inst1) on each node, and /home/db2inst1 is shared storage how is this possible? Or do you mean /home/db2inst1 just must be mounted locally to each machine?
02-09-2009 01:34 PM