Unix Technical Forum

questions on db2 workgroup server edition on MSCS

This is a discussion on questions on db2 workgroup server edition on MSCS within the DB2 forums, part of the Database Server Software category; --> Hi, I have some problems understanding how to configure db2 on a microsoft cluster (MSCS). I have installed db2 ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 02:07 PM
John Hopfield
 
Posts: n/a
Default questions on db2 workgroup server edition on MSCS

Hi,

I have some problems understanding how to configure db2 on a microsoft
cluster (MSCS).
I have installed db2 on the two nodes (node a, node b)
I have launched the db2mscs utility to migrate the db2 instance on the
cluster (it creates the db2group correctly).
I restore a db into DB2 instance from a backup image.
Everything seems to be ok. (...i have configured a client to connect
to the db using the network name of the cluster and the connection is
ok...when i "move group" everything it's working)

But...

I have some questions:

1) From a generic client i want to connect to db2 server for db-
administration. I must specify the network name of the cluster or the
ip of the active node?

2) The scheduler (task manager) ask me the name of the Db2 server. ( i
want to set some tasks like runstats and backup) When i specify the
network name of the cluster the task manager answers with an error (it
doesn't find the network resource).

3)I don't know how to configure the tools catalog and the
administration server for working in a MSCS scenario.

I look into HADR documentation and other manuals but i don't find
anything useful.

Can you help me?
(sorry for bad english... )

JH

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 02:07 PM
jammann.ch@gmail.com
 
Posts: n/a
Default Re: questions on db2 workgroup server edition on MSCS

On 8 Okt., 17:43, John Hopfield <Hopfi...@freemail.it> wrote:
> Hi,
>
> I have some problems understanding how to configure db2 on a microsoft
> cluster (MSCS).
> I have installed db2 on the two nodes (node a, node b)
> I have launched the db2mscs utility to migrate the db2 instance on the
> cluster (it creates the db2group correctly).
> I restore a db into DB2 instance from a backup image.
> Everything seems to be ok. (...i have configured a client to connect
> to the db using the network name of the cluster and the connection is
> ok...when i "move group" everything it's working)
>
> But...
>
> I have some questions:
>
> 1) From a generic client i want to connect to db2 server for db-
> administration. I must specify the network name of the cluster or the
> ip of the active node?
>
> 2) The scheduler (task manager) ask me the name of the Db2 server. ( i
> want to set some tasks like runstats and backup) When i specify the
> network name of the cluster the task manager answers with an error (it
> doesn't find the network resource).
>
> 3)I don't know how to configure the tools catalog and the
> administration server for working in a MSCS scenario.
>
> I look into HADR documentation and other manuals but i don't find
> anything useful.
>
> Can you help me?
> (sorry for bad english... )
>
> JH


hi,
which DB2-Version ? (i'm running v8, v9 may be different)

did you migrate the Admin-Instance also:
something like:
DAS_INSTANCE = DB2DAS00
in the db2mscs.cfg file you used for running db2mscs ?

the doku for db2 in mscs is pretty nonexistent (last week i was in a
ibm-course "High Availability and Desaster Recovery" and still i have
pretty the same questions as you!!)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 02:07 PM
John Hopfield
 
Posts: n/a
Default Re: questions on db2 workgroup server edition on MSCS

On 10 Ott, 13:16, jammann...@gmail.com wrote:

I have db2 v8.2 Workgroup Server (fixpack 14).

> did you migrate the Admin-Instance also:
> something like:
> DAS_INSTANCE = DB2DAS00
> in the db2mscs.cfg file you used for running db2mscs ?


Yes. I migrate the DAS_INSTANCE after migrating the DB2 instance
with a .cfg configuration file like this:

DAS_INSTANCE=DB2DAS00
CLUSTER_NAME=DB2CLS
DB2_LOGON_USERNAME=db2adm
DB2_LOGON_PASSWORD=****
GROUP_NAME=DB2 Group
DISK_NAME=Disk X:

But something seem to be incorrect...

For example: when i go into "Task center" and i specify the cluster
name
(or the IP of the cluster) , Task center don't find the TOOLS0
(TOOLS1...TOOLS2...ecc..)
database. (...after that error, it implicitly catalog a NODE of the
cluster....es: NODEA)
But i have created the tools catalog with the name TOOLSDB.
I don't know why "Task center" want to use TOOLS0....

So i don't know if my scheduled tasks will run correctly...

Maybe i MUST specify two times the scheduled tasks? (for NodeA *and*
for NodeB)?

>
> the doku for db2 in mscs is pretty nonexistent (last week i was in a
> ibm-course "High Availability and Desaster Recovery" and still i have
> pretty the same questions as you!!)


Oh mamma...

Tnx
JH

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 02:07 PM
jammann.ch@gmail.com
 
Posts: n/a
Default Re: questions on db2 workgroup server edition on MSCS

On 10 Okt., 15:34, John Hopfield <Hopfi...@freemail.it> wrote:

> For example: when i go into "Task center" and i specify the cluster
> name
> (or the IP of the cluster) , Task center don't find the TOOLS0
> (TOOLS1...TOOLS2...ecc..)
> database. (...after that error, it implicitly catalog a NODE of the
> cluster....es: NODEA)
> But i have created the tools catalog with the name TOOLSDB.
> I don't know why "Task center" want to use TOOLS0....
> So i don't know if my scheduled tasks will run correctly...


yeah its a mess!
whats your admin cfg ?

mine is (shorted):

db2 get admin cfg

Admin Server Configuration

Name of the DB2 Server System (DB2SYSTEM) = DB2CLS
Scheduler Mode (SCHED_ENABLE) = ON
Tools Catalog Database (TOOLSCAT_DB) = toolsdb
Tools Catalog Database Instance (TOOLSCAT_INST) = DB2
Tools Catalog Database Schema (TOOLSCAT_SCHEMA) = TOOLSCAT
Scheduler User ID = XXXX (the
db2user)
--------------------------------------------------------
in task center i always select "NODEA" (because the instance was -
befor the migration - created there) as scheduler-system (okay ist
illlogical) even when the Cluster is physical on NODEB and that works!
as runsystem i have to take "DB2CLS"

thats all trial-an-error, maybe i'm also doing something wrong but i
got the impression that db2 is not very well adapted do mscs (at least
in how the tools works / have to be configured)



> Maybe i MUST specify two times the scheduled tasks? (for NodeA *and*
> for NodeB)?


No. the setup above works (at least for me)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 02:07 PM
John Hopfield
 
Posts: n/a
Default Re: questions on db2 workgroup server edition on MSCS

On 10 Ott, 16:02, jammann...@gmail.com wrote:
> in task center i always select "NODEA" (because the instance was -
> befor the migration - created there) as scheduler-system (okay ist
> illlogical) even when the Cluster is physical on NODEB and that works!
> as runsystem i have to take "DB2CLS"
>


thanks a lot! it works.
i can create a scheduled task from "task center" directly on the
active node
specifying DB2CLUSTER as "runsystem".
After the failover i find the same scheduled task into NODEB and it
works.

> thats all trial-an-error, maybe i'm also doing something wrong but i
> got the impression that db2 is not very well adapted do mscs (at least
> in how the tools works / have to be configured)
>


i think that DB2 works well...but the documentation is sometime too
much complex for me.

Saluti
JH



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com