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 > after quiesce,how can i get the current status of database or instance???

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-31-09, 09:37
xiaomage79 xiaomage79 is offline
Registered User
 
Join Date: May 2009
Posts: 9
after quiesce,how can i get the current status of database or instance???

db2 => quiesce database immediate
DB20000I The QUIESCE DATABASE command completed successfully.

after this operation

how can i get the current status of database???


db2 => quiesce instance db2inst1 user db2inst1 immediate


after this operation

how can i get the current status of instance???
Reply With Quote
  #2 (permalink)  
Old 05-31-09, 14:58
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
for db:
db2 get snapshot for database on <db name> | grep -i quiesce
Database status = Quiesced



for instance:
db2 get snapshot for dbm | grep -i quiesce
Database manager status = Quiesced
Reply With Quote
  #3 (permalink)  
Old 06-02-09, 04:28
xiaomage79 xiaomage79 is offline
Registered User
 
Join Date: May 2009
Posts: 9
thank you

now that's OK

db2 => get snapshot for db on mydb
Database Snapshot

Database name = MYDB
Database path = /data/db2home/db2inst1/db2inst1/NODE0000/SQL00001/
Input database alias = MYDB
Database status = Quiesced
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