473,769 Members | 2,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DB2 Install in HA environment

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
May 2 '07 #1
13 5384
On May 2, 7:01 am, Bruno LIVERNAIS <brunoN...@Mliv ernais.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.

May 3 '07 #2
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
May 3 '07 #3
Ian
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' ?
May 3 '07 #4
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???
May 3 '07 #5
Ian
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
May 3 '07 #6
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.
May 4 '07 #7
Ian
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?

May 4 '07 #8
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 ?
May 9 '07 #9
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
May 10 '07 #10

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

Similar topics

12
2768
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 when trying to install it, I immediately got this error: This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
1
1865
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 creating the oracle user/dba group etc. Didn't work so I had to break down and read to directions :) Now I believe I have things setup properly, I log in as oracle user, all environment variable are properly set, users/groups, permisions are as...
3
1823
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 but that's all I can do; the File and Edit menus are grayed out and I can't seem to find anything that will re-enable them. I upgraded from DB2 (LUW) Version 7.2 to Version 8.2 (FP7) on Friday and applied Fixpack 8 on Saturday. I'm running...
3
57003
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 want to test this service on a Windows Server 2003 box that doesn't have the Visual Studio Command prompt. How do I go about installing the service on the Windows Server 2003 box? Thanks!
8
4566
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 installed directory (in essence saving a backup of it) after the installation has completed. I found a couple articles that use an "installhelper.cs" file w/in the main output project, but I've implemeted this in VS.NET 2k5 / .NET 2.0 with no...
1
13668
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 "C\php\pear\PEAR". I writing a pear front-end GUI and I want to have it installed correctly. It seemed to have some duplication of directories between the lower and upper cased pear dir names. Should there be a "php\pear\PEAR" subdirectory? I thought it should...
4
3706
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. Environment: Solaris 9 php 5.2.1 GNU Make 3.81 gcc 4.1.1
3
5737
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 be sure, we've started the database with db2start =successfull. And then shut it down again successfully too. The tricks appears when we switch the hp MC/ServiceGuard (A.11.16 for Linux) package to the other node... the database does not want...
4
7100
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 6:32:36 PM java.util.prefs.FileSystemPreferences$3 run INFO: Created system preferences directory in java.home.
3
3123
shrek123
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################################### *** You are using a perl configured with threading enabled. *** You should be aware that using multiple threads is *** not recommended for production environments.
0
9589
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
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10222
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
10050
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
9999
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,...
1
7413
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
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
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...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.