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 > DB2 instance start on multiple node

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-11, 06:12
arunmahendran arunmahendran is offline
Registered User
 
Join Date: Sep 2011
Posts: 22
DB2 instance start on multiple node

Hi

Please help me to resolve this situation

I have a DB2 instance(db2inst1) with 2 Databases(consider DB1 and DB2) and the instance home and databases are in a shared disk.

Can i start the db2inst1 on 2 nodes at the same time??

If yes, can I access both the databases from both the nodes?

Thanks
Arun
Reply With Quote
  #2 (permalink)  
Old 09-16-11, 08:07
smith43017 smith43017 is offline
Registered User
 
Join Date: Sep 2006
Posts: 92
Arun,

One instance means one node.

Before you mentioned about are are having 2 databases in one instacne. Where is second node came form?

Did I unsderstand your question correctly?
Reply With Quote
  #3 (permalink)  
Old 09-16-11, 09:25
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
No, you cannot access the same database from 2 different servers, unless you have DB2 PureScale (DB2 9.8). You can set up a shared disk system with 2 nodes for high availability, and point the applications to the second node if the first node goes down, usually by using a virtual IP address for the database that gets moved by a system administrator, who also starts DB2 on the other node when the first node is no longer available or DB2 is stopped on the first node. This is not used much anymore since the advent of HADR.

In addition to PureScale, there is DPF (Database Partitioning Feature) that "sort of" supports multiple node access, but that is more of a parallel database (or sharding) solution than what you are probably thinking of, since the database data is spread across the mutliple nodes and does not use shared disk for the data.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #4 (permalink)  
Old 09-16-11, 10:55
arunmahendran arunmahendran is offline
Registered User
 
Join Date: Sep 2011
Posts: 22
@Smith:

Thanks smith for replying..

In this situation, both instance and database reside in a shared disk which is shared between two nodes.

@Marcus:

Thanks for the answer.

I understood what you have explained above..

whether each Database can be seperately on 2 nodes at the same time( like DB1 on node1 and DB2 on node2) ??
Reply With Quote
  #5 (permalink)  
Old 09-16-11, 13:20
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I believe it will prevent you from starting the same instance on two different nodes, even if you don't connect to a db, but not 100% certain since it has been a long time since I used a shared disk system like that (before HADR became available).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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