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.
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.
> 1. I have DB2 Group with:
> DB2 Resource
[quoted text clipped - 10 lines]
> in the middle of the night my scheduled jobs will fail to run because
> they reference Node A rather than the Virtual Cluster Name.
arandhawa1@gmail.com - 03 Feb 2006 18:50 GMT
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....
shenanwei@gmail.com - 06 Feb 2006 21:36 GMT
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".
> 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
[quoted text clipped - 46 lines]
> sure if I need to catalog something here or change some system
> parameters or something to make this work like it should....