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 > db2stop

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-05, 08:52
AnilKale AnilKale is offline
Registered User
 
Join Date: Feb 2005
Posts: 118
db2stop

Hi All !

let's say I have three instances of db2 on a linux o/s
1. db2inst1
2. db2inst2
3. db2inst3

let us say I am currently connected using the id for db2inst1, which makes it my current instance.
in that case a db2stop would stop db2inst1
now my question is:
is it possible to issue a db2stop for say db2inst2 or db2inst3 ? if yes, what do I have to do ? if not, how would I issue a db2stop for db2inst2 or db2inst3.

thanks.
Anil
Reply With Quote
  #2 (permalink)  
Old 11-02-05, 09:42
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
If you read the manual, you would have found that only the "current" instance can be stopped. That means that only the instance owner (db2inst1, db2inst2, db2inst3) can shutdown their own instance.

Andy
Reply With Quote
  #3 (permalink)  
Old 11-02-05, 10:06
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I think you can also change the DB2INSTANCE environment variable to point to the appropriate instance and, if your login id is in the SYSADM group for that instance, db2stop will work.
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