數據庫掉電應急處理方案

apache服務器(以root身份登錄服務器)

a)啟動apache

/opt/apache/bin/apachectl start

b)啟動mysql 數據庫

Service mysql status

Service mysql start

c)啟動文檔中心後臺

cd /opt/tomcat/bin/

./startup.sh

d)啟動搜索爬蟲

cd /opt/tomcat-crawl/bin

./startup.sh

e)啟動搜索前臺索引

cd /opt/tomcat-solor/bin

./startup.sh

f)檢查服務是否都啟動

ps -ef|grep tomcat


DB2數據庫服務器(以root身份登錄服務器)

a)切換到db2inst1用戶

su db2inst1

b)啟動db2數據庫

db2start

c)啟動後,測試連接是否成功

db2 connect to v6db user db2inst1 using db2inst1


分享到:


相關文章: