Login or Register to Ask a Question and Join Our Community

[Tip] HACMP 7.1.3 and DB/2-Installation

Thread Tools Search this Thread
Operating Systems AIX [Tip] HACMP 7.1.3 and DB/2-Installation
# 1  
Old 10-15-2015
[Tip] HACMP 7.1.3 and DB/2-Installation

We just found out that the installation of DB/2 on a HACMP- (PowerHA-) Cluster running v7.1.3 is not possible due to a bug in HACMP. DB/2-version was 10.5 but this seems to apply to 10.1 too (and probably other versions as well).

The error message the DB/2-installer issues is something like:

Do you want to install the DB2 pureScale Feature? [yes/no]
DB2 installation is being initialized.

The DB2 installer detected that an RSCT peer domain is online.  Bring the peer
domain offline in order to allow the DB2 installer to update the TSA
installation.  For more information, see the DB2 Information Center at:

A major error occurred while installing "DB2 Enterprise Server Edition " on
this computer. The installation cannot continue. If the problem persists
contact your technical service representative.

For more information see the DB2 installation log at

The problem is that the RSCT peer domain is created by the HACMP software during the cluster creation and cannot simply be disabled. You can check for the existence of it with the command

root@system # lsrpdomain

Googling for a workaround I found this in the usenet group comp.databases.ibm-db2, entry by Mr. Greig Wise:

Stop PowerHA and wait till the cluster manager is in INIT state, then run this script:

touch /usr/es/sbin/cluster/etc/emgr.$$
clctrl -stop -m <nodename>

but this didn't help us either because the peer domain simply didn't go away.

Solution: before installing DB/2 delete all configured ressource groups of the cluster, then stop it. This will bring down the RSCT daemons, namely ctrmc. After installing DB/2 you can recreate the ressource groups and bring the cluster online again.

PS: Don't bother to report this bug to IBM: that has already been done.

I hope this helps.

These 2 Users Gave Thanks to bakunin For This Post:
# 2  
Old 10-16-2015

i found some hints in my RMC/RSCT documentation but i dont know if them would help in your case:

RSCT Peer Domain Commands:
mkrpdomain - Create a peer domain
rmrpdomain - Remove a peer domain
lsrpdomain - List characteristics of a peer domain
startrpdomain - Bring a peer domain online
stoprpdomain - Bring a peer domain offline

Stopping ctrmc will not stop the ressource managers.
For proper restart use:
rmcctrl -z
rmcctrl -A

This User Gave Thanks to -=XrAy=- For This Post:
# 3  
Old 10-16-2015
I had a lengthy reply - but it never made it out - sigh.

Just note that RSCT activity is normal, even necessary, to have DLPAR aka Dynamic Resource Management working.

root@x062:[/]oslevel -s
root@x062:[/]lssrc -a | grep rsct
 ctrmc            rsct             6160584      active
 IBM.HostRM       rsct_rm          6947044      active
 IBM.DRM          rsct_rm          7078142      active
 IBM.MgmtDomainRM rsct_rm          6684680      active
 IBM.ServiceRM    rsct_rm          5963970      active
 ctcas            rsct                          inoperative
 IBM.ERRM         rsct_rm                       inoperative
 IBM.AuditRM      rsct_rm                       inoperative
 IBM.FSRM         rsct_rm                       inoperative
 IBM.SensorRM     rsct_rm                       inoperative
 IBM.ConfigRM     rsct_rm                       inoperative
 IBM.WLMRM        rsct_rm                       inoperative
 IBM.StorageRM    rsct_rm                       inoperative
 IBM.LPRM         rsct_rm                       inoperative
 IBM.MicroSensorRM rsct_rm                       inoperative

As much has changed in RSCT between the different versions of AIX 5.3 and AIX 7.1 (soon to include AIX 7.2) - your mileage may vary. In any case, ctrmc is supposed to be active all the time. And for years, the cluster manager demon that PowerHA installs is supposed to be active - all the time (in state ST_idle perhaps!).

For a lot of bla bla about what ctrmc is doing try:
root@x062:[/]lssrc -s ctrmc -l

My experience with DB2 and installs on AIX is that DB2 (read software group) does add specific stuff for AIX (they use neither installp nor rpm for their install method) - and when AIX changes enough that there modification/specification no longer fits - install may fail, or - more frequently - a warning message that is no longer applicable.

If the install is "uninstalling" itself, rather than just complaining check around in the sub-directory (was named db2_setup if I recall correctly) and see if you can find the test, change the logic (or comment it out) - and see if it works.

Please note - the last time I was doing modifications like this it was still db2 version 9.something.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Tip] A better echo

Often it has been said that echo is neither portable nor correct. Here is an input.txt: line1 line2 -n line4 -en line6 -x line8 Then the following fails with BSD/Linux/bash: while IFS= read line do echo "$line" done < input.txt It is elegantly improved by means of an echo... (2 Replies)
Discussion started by: MadeInGermany
2 Replies

2. Shell Programming and Scripting

Search tip.

How do I find a key word in multiple files.. in a directory.. ? cat *.doc | grep -i myword? (7 Replies)
Discussion started by: hamon
7 Replies

3. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

hi, when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies

4. Shell Programming and Scripting

Regexp tip

Hello, I'm just starting working on it. I'd like to get a tip For istance if I have a file like: a b c d e f .... and I wanna get: 1a & 2b & 3c 0d & 8e & 4f ..... I would like to use sed and come up with a regular expression that works.... (3 Replies)
Discussion started by: Dedalus
3 Replies

5. Solaris

Solaris; tip

plz explain TIP in solaris in detail. (11 Replies)
Discussion started by: karman0931
11 Replies

6. Shell Programming and Scripting

Little bit of a help or just a tip

I am about to do a script that change the COST so i dont need to change each cost. The output looks like this. "OL_ID OL_LINK_COST ----------- ------------ 51 10 52 10 53 10 54 10 55 ... (3 Replies)
Discussion started by: maskot
3 Replies

7. Solaris

tip into 280R

I need to use tip from machine A serial port to machine B serial port. Can someone point me to an example of the correct cable to use? Thanks. (1 Reply)
Discussion started by: dangral
1 Replies

8. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies

9. UNIX for Dummies Questions & Answers

one teaching Tip

Student have huge interest about why so many expert choose use UNIX than MS Windows. I consider that SHARE & OPEN is key point.:) (2 Replies)
Discussion started by: 111000
2 Replies
Login or Register to Ask a Question

Featured Tech Videos