Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to safely bring down db2 before rebooting the server.

Status
Not open for further replies.

ddiamond

Programmer
Apr 22, 2005
918
US
I issued the command db2stop. Is it now safe to reboot the server, or is there any other commands I need to issue in order to shut down db2? What is the difference between db2stop and db2 terminate?
 
AFAIK the proper method is to make sure that you kill/drop all sessions, applications and users by using DB2 TERMINATE / DB2 FORCE APPLICATION ALL
then stop databases with DB2STOP.
If on Windows terminate DB2 services
then stop instance with DB2STOP

But I'm only familiar with Windows installations and it's a while back now...

Ties Blom

 
Thanks Ties. That seemed to work. It was a windows installation. I was afraid I might have database corruption because my client would hang whenever I tried to drop a specific table. But after rebooting the server, it seems to be working fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top