473,385 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Failover of DB2 Tools Catalog on MSCS

Does anyone know how to correctly setup the Administration DB for fail
over clustering on a MSCS server running DB2.
Problem I have when I follow IBM's docs is that I install the Tools
catalog on the first node but when I failover the cluster to the second

node - DB2's Task Center no longer works since the Tools Catalog still
points to the first node. Is there anyway to re-catalog the tools db so

that it appears under the Virtual hostname/IP of the Cluster?
So I have:-
DB2nodeA - this is the first node in the MS cluster and I install
Administration Server here as per IBM's doc.
DB2nodeB - this is the second node in the MS Cluster
DB2Virt - this is the MS Cluster 'Virtual' name
Failover of node from A to B results in the Admin Server (Tools DB) and

all the jobs in the Task Center still referencing node A and rendering
it useless. Has anyone had any experience on a fix for this?

Jan 26 '06 #1
8 4121
Also cluster DB2 Admin server
when seting up new job, try to use the cluster node, instead of the
physical server.

ar********@gmail.com wrote:
Does anyone know how to correctly setup the Administration DB for fail
over clustering on a MSCS server running DB2.
Problem I have when I follow IBM's docs is that I install the Tools
catalog on the first node but when I failover the cluster to the second

node - DB2's Task Center no longer works since the Tools Catalog still
points to the first node. Is there anyway to re-catalog the tools db so

that it appears under the Virtual hostname/IP of the Cluster?
So I have:-
DB2nodeA - this is the first node in the MS cluster and I install
Administration Server here as per IBM's doc.
DB2nodeB - this is the second node in the MS Cluster
DB2Virt - this is the MS Cluster 'Virtual' name
Failover of node from A to B results in the Admin Server (Tools DB) and

all the jobs in the Task Center still referencing node A and rendering
it useless. Has anyone had any experience on a fix for this?


Jan 26 '06 #2
Could you possibly expand upon the steps?

I did actually cluster the Admin server too, but when you failover the
node from A to B - the admin server still thinks its on node A, If I go
to Control Center all my DBs appear under 'Node A' rather than Cluster
Virtual Name.

When i catalog the cluster name it appears as a cataloged system in
control center, but Db2 won't allow me to connect to it or catalog any
DBs underneath it.

Jan 26 '06 #3
1. list all your resource including DB2 from Cluster Admin.
2. When your client connect to DB2, which IP do they use?
3. When y create a new task, What system y use?

ar********@gmail.com wrote:
Could you possibly expand upon the steps?

I did actually cluster the Admin server too, but when you failover the
node from A to B - the admin server still thinks its on node A, If I go
to Control Center all my DBs appear under 'Node A' rather than Cluster
Virtual Name.

When i catalog the cluster name it appears as a cataloged system in
control center, but Db2 won't allow me to connect to it or catalog any
DBs underneath it.


Jan 27 '06 #4
I had a similar problem with my cluster on solaris and the solution was
that db2as wasn't in /var/db2/global.reg on serverB... I used db2greg
to add it but as the manuals says :"You should only use this tool if
requested to do so by DB2 Customer Support" so either contact IBM
support to get some help or just do it....
I didn't get any help from IBM support or the Presale support for DB2
to solve the problem so I fixed it myself...Note that I worked for IBM
with DB2 support earlier in my career so I have some experience with
these kind of tools...

Jan 30 '06 #5
1. I have DB2 Group with:
DB2 Resource
DB2DAS00
DB2CLUST (net name - with net value of DB2SRV)
Public IP
Disk H:

2. Clients connect via DB2 Cluster Net name value which I set to DB2SRV

3. When I create DB2 Task I terminal service to cluster (DB2SRV) and
create job but in task center -> when you choose Scheduler system from
drop down it says 'Node A' and this is the problem. If node fails over
in the middle of the night my scheduled jobs will fail to run because
they reference Node A rather than the Virtual Cluster Name.

Jan 31 '06 #6
Manullyt change all your tasks of "run system", from "Node A" to
"DB2SRV", also "DB2 instance and partition". When the job run, it will
depends on the cluster, instead of the physical node.
The tools db has also to be in the clustered instance, when fail over
happens, the tools db is still in the cluster.
When fail over to "Node B", you have to use schedule system "DB2SRV".
By this time, you will not be able to create a new task same as in
"Node A", scheduler system has to be changed, same as the run system.

ar********@gmail.com wrote:
1. I have DB2 Group with:
DB2 Resource
DB2DAS00
DB2CLUST (net name - with net value of DB2SRV)
Public IP
Disk H:

2. Clients connect via DB2 Cluster Net name value which I set to DB2SRV

3. When I create DB2 Task I terminal service to cluster (DB2SRV) and
create job but in task center -> when you choose Scheduler system from
drop down it says 'Node A' and this is the problem. If node fails over
in the middle of the night my scheduled jobs will fail to run because
they reference Node A rather than the Virtual Cluster Name.


Jan 31 '06 #7
DB2SRV does not appear as an option - so do i need to catalog this as a
node? These are the steps that I take to create the cluster - correct
me if I am doing something wrong here:

1. Create cluster - with 2 nodes - NodeA and NodeB

2. Install DB2 on each node.

3. Issue db2idrop db2 - from NodeB to remove the DB2 instance on this
node

4. Run db2mscs -f:db2mscs.cfg from NodeA with the following cfg file
parameters:-
DB2_INSTANCE=DB2
CLUSTER_NAME=DB2CLS
DB2_LOGON_USERNAME=db2adm
DB2_LOGON_PASSWORD=****
GROUP_NAME=DB2 Group
IP_NAME=IP Address for DB2
IP_ADDRESS=172.16.1.100
IP_SUBNET=255.255.255.0
IP_NETWORK=Public
NETNAME_NAME=DB2CLUST
NETNAME_VALUE=DB2SRV
NETNAME_DEPENDENCY=IP Address for DB2
DISK_NAME=Disk X:

5. From Cluster Admin specfiy NodeA as preferred owner of DB2 Group

6. Cluster Admin Server - Set on NodeA DB2DAS00 service to manual

7. Stop Db2 Admin service on all nodes

8. Issue db2admin drop on NodeB

9. Run - db2mscs -f:db2mscs.admin on NodeA - cfg:-
DAS_INSTANCE=DB2DAS00
CLUSTER_NAME=DB2CLS
DB2_LOGON_USERNAME=db2adm
DB2_LOGON_PASSWORD=****
GROUP_NAME=DB2 Group
DISK_NAME=Disk X:

10. On NodeB issue - db2set -g db2adminserver=DB2DAS00

And thats it - I don't see any refernce to the DB2SRV Cluster name
anywhere on DB2 Task Center or Control Center. So whenever I fail the
node over - it thinks its NodeA - no matter which node I am on. I'm not
sure if I need to catalog something here or change some system
parameters or something to make this work like it should....

Feb 3 '06 #8
I did follow the same step as y. But when setup task, manullyt change
all tasks of "run system", from "Node A" to "DB2SRV", also "DB2
instance and partition".

ar********@gmail.com wrote:
DB2SRV does not appear as an option - so do i need to catalog this as a
node? These are the steps that I take to create the cluster - correct
me if I am doing something wrong here:

1. Create cluster - with 2 nodes - NodeA and NodeB

2. Install DB2 on each node.

3. Issue db2idrop db2 - from NodeB to remove the DB2 instance on this
node

4. Run db2mscs -f:db2mscs.cfg from NodeA with the following cfg file
parameters:-
DB2_INSTANCE=DB2
CLUSTER_NAME=DB2CLS
DB2_LOGON_USERNAME=db2adm
DB2_LOGON_PASSWORD=****
GROUP_NAME=DB2 Group
IP_NAME=IP Address for DB2
IP_ADDRESS=172.16.1.100
IP_SUBNET=255.255.255.0
IP_NETWORK=Public
NETNAME_NAME=DB2CLUST
NETNAME_VALUE=DB2SRV
NETNAME_DEPENDENCY=IP Address for DB2
DISK_NAME=Disk X:

5. From Cluster Admin specfiy NodeA as preferred owner of DB2 Group

6. Cluster Admin Server - Set on NodeA DB2DAS00 service to manual

7. Stop Db2 Admin service on all nodes

8. Issue db2admin drop on NodeB

9. Run - db2mscs -f:db2mscs.admin on NodeA - cfg:-
DAS_INSTANCE=DB2DAS00
CLUSTER_NAME=DB2CLS
DB2_LOGON_USERNAME=db2adm
DB2_LOGON_PASSWORD=****
GROUP_NAME=DB2 Group
DISK_NAME=Disk X:

10. On NodeB issue - db2set -g db2adminserver=DB2DAS00

And thats it - I don't see any refernce to the DB2SRV Cluster name
anywhere on DB2 Task Center or Control Center. So whenever I fail the
node over - it thinks its NodeA - no matter which node I am on. I'm not
sure if I need to catalog something here or change some system
parameters or something to make this work like it should....


Feb 6 '06 #9

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

Similar topics

0
by: Kexiao Liao | last post by:
Hi, I have two db2 Version8.1 instances running on IBM AIX 5.2 platform. Db2inst1 is migrated from V7.2 and db2inst2 is the instance to be created while install db2 Version8.1. The db2 V7.2 DAS...
3
by: sea | last post by:
I had stopped all database services before running the setup program for upgrading from 7.2 to 8.1. During the installation process though, I got a message to the effect saying the tools server...
0
by: datapro01 | last post by:
Running db2 8.1.1 on AIX 5.1 Recently created a Tools catalog and db on a test database server. Since then a shell script that runs the offline backups has been failing with the db2dasstm...
5
by: uspensky | last post by:
We are trying to setup a system to system failover cluster using two nodes (x346) which each have a single hba running to seperate controllers on the DS400. For full redundnancy, IBM recommends...
1
by: theSpinel | last post by:
Is it possible to failover a single or a selected number of databases onto a standby server? We're currently log shipping about 12 databases to a standby and I was wondering if it was possible to...
2
by: sandeep.manthena | last post by:
Hi everyone, Can anyone answers my questions. My server is AIX and is 5.2 and the db2 udb of V 8.1 Fixpak 9. What exactly is the tools catalog for? How it is uaseful in performing automatic...
0
by: aj | last post by:
DB2 LUW 8.2 FP14 Red Hat AS 2.1 Help gurus: I'm seeing this in my db2diag.log: 2007-08-28-15.57.58.858627-240 E8785115G359 LEVEL: Warning (OS) PID : 18117 TID :...
3
by: afreema | last post by:
I am interested in failover for DB2 Version 9 on an AIX environment. Can you give me any recommendations?
0
by: Vinod Sadanandan | last post by:
Fast-Start Failover An Overview In Dataguard Environment ============================================================================= This article describes the automatic fast start failover...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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 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.