If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how to catalog db on another server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-09, 13:24
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
how to catalog db on another server

our application server is devxxxx2 with instance db2v8c1, our db server is devdb2 and I created a new db db1 on devdb2 in new instance db2v8s1. There are other instances on devdb2 server - db2v8i1, db2v8q1, etc.

How do I catalog this new db db1 on the application server if we have 3 other instances on the db server? Catalog db command does not specify where remote instance/server is. Pls help (ask more questions if not enough info)
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #2 (permalink)  
Old 02-03-09, 13:53
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Catalog the node first.

Andy
Reply With Quote
  #3 (permalink)  
Old 02-03-09, 14:33
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
there are 4 nodes on devxxxx2 appl server:

devxxxx2: db2 list node directory
Node 1 entry:
Node name = D1DEVDB2
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = devdb2
Service name = 60012
Node 2 entry:
Node name = I1DEVDB2
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = devdb2
Service name = 50000
Node 3 entry:
Node name = PFDEVDB2
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = devdb2
Service name = 50004

Which one should I catalog? Aren't they already cataloged?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #4 (permalink)  
Old 02-03-09, 15:01
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You need to catalog this node : db2v8s1. Then catalog the DB at that node.

Andy
Reply With Quote
  #5 (permalink)  
Old 02-03-09, 15:51
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by ARWinner
You need to catalog this node : db2v8s1. Then catalog the DB at that node.

Andy
I got it - 'instance' is 'node' in this case, right?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #6 (permalink)  
Old 02-03-09, 16:31
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
That would be a correct statement.

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On