Hi,
Is there someone on earth (or elsewhere ;-)) who knows how to install a
DB2 V9.1 database engine in a High Availability cluster environment?
I need help on that particular point.
Best regards,
Bruno LIVERNAIS 13 5357
On May 2, 7:01 am, Bruno LIVERNAIS <brunoN...@Mlivernais.orgwrote:
Hi,
Is there someone on earth (or elsewhere ;-)) who knows how to install a
DB2 V9.1 database engine in a High Availability cluster environment?
I need help on that particular point.
Best regards,
Bruno LIVERNAIS
You are going to have to clarify exactly what you mean by "High
Availability cluster environment"
This could vary depending on if you are using HACMP, HADR, VCS, etc,
etc.
Mark A a écrit :
You are going to have to clarify exactly what you mean by "High
Availability cluster environment"
This could vary depending on if you are using HACMP, HADR, VCS, etc,
etc.
My environment is hp MC/ServiceGuard. This HA cluster is a shared
nothing config with one package (a.k.a. resource). So it's an
active/passive config.
I've installed DB2 ESE V9.1 on the first node, with db2setup but without
creating an instance. Then I've copied config files (passwd, group,
services, etc...) on the other node. After that I've installed DB2 ESE
V9.1 on the other node, just like I've done on previous node.
Then I've created an instance on the first node and check that
db2start/db2stop is correctly working. But when I stop DB2 (db2stop) on
the first node, switch the package on the other. I can't start DB2 (db2)
with that message :
[root@node2 ~]# su db2r01 -c /db2/R01/sqllib/adm/db2start
SQL1092N "DB2R01 " does not have the authority to perform the
requested command.
That's the trick... Please help!!
Thanks
Bruno LIVERNAIS wrote:
>
Then I've created an instance on the first node and check that
db2start/db2stop is correctly working. But when I stop DB2 (db2stop) on
the first node, switch the package on the other. I can't start DB2 (db2)
with that message :
[root@node2 ~]# su db2r01 -c /db2/R01/sqllib/adm/db2start
SQL1092N "DB2R01 " does not have the authority to perform the
requested command.
I'm not familiar with HP/UX or ServiceGuard. But, I'm assuming that it
takes care of failing over all of the necessary file systems (i.e.
"switching the package").
Given this, can you start DB2 manually by first logging in as db2r01
(su - db2r01) and then running 'db2start' ?
Ian a écrit :
Bruno LIVERNAIS wrote:
>> Then I've created an instance on the first node and check that db2start/db2stop is correctly working. But when I stop DB2 (db2stop) on the first node, switch the package on the other. I can't start DB2 (db2) with that message :
[root@node2 ~]# su db2r01 -c /db2/R01/sqllib/adm/db2start SQL1092N "DB2R01 " does not have the authority to perform the requested command.
I'm not familiar with HP/UX or ServiceGuard. But, I'm assuming that it
takes care of failing over all of the necessary file systems (i.e.
"switching the package").
Given this, can you start DB2 manually by first logging in as db2r01
(su - db2r01) and then running 'db2start' ?
On node1 :
1. Install DB2 with db2setup with instance creation (db2r01)
2. db2start and db2stop are successfull
3. Create the database (connection test is successfull)
4. Switch LVM volumes on node2
On node2:
1. Install DB2 with db2setup with instance creation (db2r01)
2. db2start and db2stop are successfull
3. ????
On step 3, I can not create the database because it reports an existing
one (hopefully :-))... But I can not connect either because the database
alias name or database name "R01" could not be found.
So what do I have to do to have access to my database on node2???
Bruno LIVERNAIS wrote:
>
On node1 :
1. Install DB2 with db2setup with instance creation (db2r01)
2. db2start and db2stop are successfull
3. Create the database (connection test is successfull)
4. Switch LVM volumes on node2
On node2:
1. Install DB2 with db2setup with instance creation (db2r01)
2. db2start and db2stop are successfull
3. ????
On step 3, I can not create the database because it reports an existing
one (hopefully :-))... But I can not connect either because the database
alias name or database name "R01" could not be found.
So what do I have to do to have access to my database on node2???
Typically in an HA environment you don't create an instance on the
standby node. The instance (and all of its associated resources)
all get failed over to the standby.
My guess is that you are missing a file system (or multiple file
systems) that your database is using.
Since you are creating the database as part of this exercise, I assume
that you know where the database is storing its data. So, you should
verify that the database path and all storage paths / tablespace
containers are included in your "package".
If you need additional help let's take this offline.
Ian
Ian a écrit :
Bruno LIVERNAIS wrote:
>> On node1 : 1. Install DB2 with db2setup with instance creation (db2r01) 2. db2start and db2stop are successfull 3. Create the database (connection test is successfull) 4. Switch LVM volumes on node2
On node2: 1. Install DB2 with db2setup with instance creation (db2r01) 2. db2start and db2stop are successfull 3. ????
On step 3, I can not create the database because it reports an existing one (hopefully :-))... But I can not connect either because the database alias name or database name "R01" could not be found.
So what do I have to do to have access to my database on node2???
Typically in an HA environment you don't create an instance on the
standby node. The instance (and all of its associated resources)
all get failed over to the standby.
When I failover my "package", all related filesystems are unmounted from
node1 and mounted on node2. Then when I want to start DB2, it fails
because it does not know my database (and instance)... Be sure that all
datafiles are stored on the shared volume.
Bruno LIVERNAIS wrote:
Ian a écrit :
When I failover my "package", all related filesystems are unmounted from
node1 and mounted on node2. Then when I want to start DB2, it fails
because it does not know my database (and instance)... Be sure that all
datafiles are stored on the shared volume.
Does this include the instance owner's home directory?
Ian a écrit :
Bruno LIVERNAIS wrote:
>Ian a écrit :
When I failover my "package", all related filesystems are unmounted from node1 and mounted on node2. Then when I want to start DB2, it fails because it does not know my database (and instance)... Be sure that all datafiles are stored on the shared volume.
Does this include the instance owner's home directory?
Should it do so ?
Well, as a conlusion, it appears that DB2 is really not cluster
friendly... And no one is able to demonstrate the opposite!!!!
Bruno LIVERNAIS a écrit :
Hi,
Is there someone on earth (or elsewhere ;-)) who knows how to install a
DB2 V9.1 database engine in a High Availability cluster environment?
I need help on that particular point.
Best regards,
Bruno LIVERNAIS
Bruno LIVERNAIS wrote:
Well, as a conlusion, it appears that DB2 is really not cluster
friendly... And no one is able to demonstrate the opposite!!!!
No one being Ian and Mark? Or have you done some more research into
this? Like looking for Whitepapers, Redbooks, contacting IBM ...
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
On May 10, 11:17 am, Serge Rielau <srie...@ca.ibm.comwrote:
Bruno LIVERNAIS wrote:
Well, as a conlusion, it appears that DB2 is really not cluster
friendly... And no one is able to demonstrate the opposite!!!!
No one being Ian and Mark? Or have you done some more research into
this? Like looking for Whitepapers, Redbooks, contacting IBM ...
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
On both nodes: Install db2 separately.
Node 1:
Create instance
db2start/db2stop
switch LVM (All necessary file systems -- including instance home)
Node 2:
rm -rf ~<InstanceHome>/sqllib (since <InstanceHomedirectory was
also failed over in #3 above)
Re-create the instance with same exact command used on Node 1
db2start/db2stop
Test failover and also db2start/db2stop both manually and via package
(don't forget to check/clean shm segments, if any hanging)
Create db on primary.
Test failover and also db2start/db2stop both manually and via package
Keith Ponnapalli
IBM Certified Advanced Database Administrator - DB2 UDB V8.1 LUW
IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration
INFORMIX Certified Database Administrator
Thanks for that doc. I've already read that one but there is nothing
concerning instance/database creation... and the DB2.sh script does not
work in Linux context.
Serge Rielau a écrit :
Fifth hit on google: http://h71028.www7.hp.com/enterprise...20Software.pdf
There also is a newer version which I have sent you by email assuming
your email works...
Cheers
Serge
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Richard Hanson |
last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I
had just swapped into my Fujitsu LifeBook P1120 (long story <wink>).
Subsequently, I DL'ed the newest Python alpha (2.4a2), and...
|
by: Dave |
last post by:
Hello All,
I've created a problem by not reading instruction and now I don't know what
to do :(
I tried to install 9i on my redhat 9.0 box as myself without going thru the
proper procedure of...
|
by: Henry Reardon |
last post by:
Can someone remind me how to re-install the Development Center? I was
playing with the Environment Settings a bit the other day and, ever since,
it hasn't worked right. I can create a new Project...
|
by: Jeremy S. |
last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows
Service and installing it on the local machine by opening the Visual Studio
Command Prompt and then executing .
Now I...
|
by: Brandon |
last post by:
I've yet to find a decently worded and exampled article outlining how one can
perform more complex operations during MSI installation.
Specifically, I'm looking to copy the source MSI to the...
|
by: IchBin |
last post by:
I remember having problems with pear when I first installed it but got
it running some time ago. This is on a windoze XP SP OS. I did not think
it was correct because it pointed to...
|
by: inetquestion |
last post by:
php has been configured with the following two configure lines and
core's during "make install" on the PEAR section. Is there something
simple i'm missing? Any help would be appreciated.
...
|
by: Bruno LIVERNAIS |
last post by:
Hi,
We are currently installing a DB2 V9 ESE on a Linux server
(RHEL4U4-x86_64). Installation runs successfully on each node. Database
user environment is OK and the instance is well created. To...
|
by: Amber |
last post by:
The installer tells it faild to config db2inst1, the db2setup.err is
as following:
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:60: Engine "clearlooks" is
unsupporte
d, ignoring
Jun 15, 2007...
|
by: shrek123 |
last post by:
Hi,
I am trying to install DBI bundle on my windows machine.
It is giving me following error while i am running Makefile.pl.
####################Error###################################
***...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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,...
|
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...
|
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...
| |