版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、服務(wù)器啟停指南概述此操作手冊(cè)是針對(duì)測(cè)試服務(wù)器上的虛擬機(jī)當(dāng)中的服務(wù)器的操作啟停維護(hù)指南。說明1、所有服務(wù)器中首先需要啟動(dòng)數(shù)據(jù)庫服務(wù)器,數(shù)據(jù)庫服務(wù)器有三臺(tái):215/216/217為結(jié)尾的三臺(tái)(主從同步服務(wù)器,先啟動(dòng)主庫,再啟動(dòng)從庫,再啟動(dòng)mycat)2、所有服務(wù)器的操作,使用secureCRT工具連接,輸入以下對(duì)應(yīng)的連接,用戶名:root,密碼:cshblxjy。進(jìn)行操作。各個(gè)服務(wù)器啟動(dòng)步驟192.168.0.215(主庫mysqlServ1)1、啟動(dòng)順序(/usr/local/mysql)servicemysqldstart#啟動(dòng)mysql數(shù)據(jù)庫root®4nysqlser71serv
2、icernysqldstartstartingwsqld:okroot&mysqlser71幕netstat-tlnap|grepmysql#查看mysql數(shù)據(jù)庫是否啟動(dòng)成功/usr/local/mycat/bin/mycatstart#啟動(dòng)mycatroatmysq1sdr/usr/Iacai/mycatn/mycatstartstart!ngMycat-server.raatanysqlservl#關(guān)閉mycat2、關(guān)閉順序/usr/local/mycat/bin/mycatstoproatmysq1servl-J*/usr/local/mycat/b1n;mycatstopSto
3、ppingMycat-server.stoppedMycat-server.roottSknysqlservl卡#5erviceOK.servicemysqldstop#關(guān)閉mysql數(shù)據(jù)庫rooTnrysq1servlStoppingmysqld:rootLnrysq1Servl192.168.0.216(從庫mysqlServ2)1、啟動(dòng)順序(/usr/local/mysql)servicemysqldstart#啟動(dòng)mysql數(shù)據(jù)庫root&mysqlser;rl二.start!ngniy&ql'root&mysqlser:#servicemysqldst
4、artOK2、關(guān)閉順序servicemysqldstop#關(guān)閉mysql數(shù)據(jù)庫rooTmysqlservlStoppingmysqld:root®jnysqiservlJ#T工*V#serviceW><iuPr>M-rimysqldstop192.168.0.217(從庫mysqlServ3)1、啟動(dòng)順序(/usr/local/mysql)servicemysqldstart#啟動(dòng)mysql數(shù)據(jù)庫r0Dt&4ir/sqlservl-mysqlJ:qlservl:#servicemysqldstartstart!ngroot&mysOK2、關(guān)閉順序T工
5、*V#serviceOKW><iuPr>M-rimysqldstopservicemysqldstop#關(guān)閉mysql數(shù)據(jù)庫rooTmy5qlservlStoppingmysqld:roorLnrysqlServl192.168.0.201(dubboservl)1、啟動(dòng)順序(/usr/local/zk)/usr/local/zk/bin/zkServer.shstart#啟動(dòng)zookkeeper1nJ-,-/0P-FM-k.-"fil!9>*BlB!Ibf,JTroor(app5ervl#/usr/local/2k.blnyzLserver.shstarrJ
6、MXenabledbydefaultUMlngconfig:/usr/'local/zk/bin,/./conf/200.tfgstarringsookecperstartedrootappservlj巽/home/apache-tomcat-7.0.42/bin/startup.sh#啟動(dòng)tomcatr。心m泌enl小h>e-wo-',0J2,i)ir,兄山中油1舊司aTQiNd加;using口笛氏"即ir:hj哈:血蜂不向.用四lllsirg:REJfflE:.心j啊,jM7.QJH團(tuán)映節(jié)p科;hr命二兀降項(xiàng)?。汗ぶ?#39;卜州亞由Eor倒?。河肨Tt呱*
7、:Wijira血楓"*#|ps-ef|grepdubbo查看啟動(dòng)狀態(tài)/home/dubbo-monitor/bin/start.sh#啟動(dòng)dubbor&otapp£rvi#/home/dubba-rnontar/bin/STArt.shSrartingthesimple-monitorOK!PID:8416STDOUT:1ogs/stdout.1ogrooL&appservL|#關(guān)閉dubbo2、關(guān)閉順序:/home/dubbo-monitor/bin/stop.shroQX<a.ppservl#/home/dubbo-morritor/bin/sto
8、p.shDumpingthesimple-monitorOK!DUMP:logs/dunp/2G16053L2302525Topp1ngthesinple-nonitor.OKPID!£416#關(guān)閉zookeeperrooiLappservl#|/usr/local/zk/bin/zkServer.shstopusingconfig:'/usr/1ocal/zk/bin/./conf/zoo.cfgstoppingzoakeeper.stoppedrootappservlT#關(guān)閉tomcat/home/apache-tomcat-7.0.42/bin/shutdown.shr
9、oofcppservl/home/apachc-tomcat-7.0,42zbin/shutdown.shusingusingusingusingusingCATALINA_BA5E:CATALINA_HOME:/home/apac/home/apache-tomcat-7.0.42he-tamcax-7.0.42catalina_tmpdir:/hame/apache-tomcat-7.0.12/tempJRE_HOME:CLA55PATM;root&appservl1#/usr/java/1dkl>7,0_65-"honie/apacne-ronicar-7.0.4
10、2/bin/bootsirap.jar;/horn/apache-Tomcax192.168.0.128(appserv1)1、啟動(dòng)順序(/opt/tomvat/)cd/opt/tomcat/bin./startup.sh#啟動(dòng)tomcatrooL&appservLapt>cdzopr/tomcat/binCroot(aapp5.ervLbin#./srarrup.sh singcatalina_base:/opr/tomcatLisingcatalina_home:/opr/romcat singCATALINA_TN*PDTFl:/opt/'tomcat/tempus
11、ingjre_home:/usr/java/Jdkl.7.0_65 singclasspath:/opr/tomcat/bin/bootstrap-jar:/opt/tomcat/b-ln/tomcat-jijl1.jarroaL(aappservlbln#|2、關(guān)閉順序cd/opt/tomcat/bin./shutdown.sh#關(guān)閉tomcatraotppservlopt#cd/opt/tomcar/binroot&appservlbln#./startup.shUS1ngCATALINA_BASE:usingCATAL1NA_HOM£:US1ngCATAL1NA_TMP
12、DIR:usingjre.homl:u&ingclasspath:raot&appservlbin岸(/pt/tomcat/opr/tomcat/opr/tamcat/tmp/usr/java/jdkl,7.0_65opr/tomcat1bln/boorstrap.jar:opr/tomcat/bin/tomcat-jul1.jir192.168.0.129(appserv2)1、啟動(dòng)順序(/opt/tomcat/)/opt/tomcat/bin/startup.sh#啟動(dòng)tomcatIraoL&appervlaptcd/opr/tamcat/binfroc»
13、t&appervlbinJ#./starrup.shsingcatalina_base:/opt/romcatusingcatalina_home;/opt/tomcatsingCATALIMA_TMPDIR:/opt/tomeat/tempusingJftE_HOM£!/usr/jawa/Jdkl.7.O_65singclasspath:/oprtomcat/bln/bootstrap-jar:/opt/torricat/b1n/tomcat-juli.jarroc»t(iappservlbin#|2、關(guān)閉順序/opt/tomcat/bin/shutdown.sh
14、#關(guān)閉tomcataorppservlept#cd/opt/tomcat/binyaottXappservlbin#./startup,shusingCATAL1NA-BA5E.:/opt/tamcatusrlnqcatalina_mqme:/opt/tomcatLIiingCAT4LINA_TMPDIR:/apt/tomcatftempusing1itE._nciME:/wsr/java/jdkl.7.0_65usingclasspath:/opt/tomcat/bln/boorstrap.jar:/opr/tomcat/bin/tomcat-Juli.jarEraot&appser
15、vlbin#|192.168.0.130(dataredisl)1、啟動(dòng)順序(/usr/local/redis)/usr/local/bin/redis-server/etc/redis.conf#主redis啟動(dòng)rootaxaredlsiredis-slave#/usr/Iocal/bln/redis-sert/er/etc/redis.confrootSlataredlsiredis-&lave*|cd/usr/local/redis-slaveredis-server/usr/local/redis-slave/redis.conf#從redis的啟動(dòng)YootSdararedis
16、lredis-slavej#roordararecl1slredls-slavel#cd/usr/loeal/redis-slaveredis-server/usr/local,.rectis-slave/redis_conf2、關(guān)閉順序/usr/local/bin/redis-clishutdown#主redis關(guān)閉"rootdataredisi>oott&dararedisiMVIMl/usr/local/bin/redis-clishutdownredis-cli-p63791shutdown#從redis的關(guān)閉roor&datareclisicd/Lis
17、r/1ocal/redis-slaverootdataredisiredis-slaveredis-cli-p63791shutdownraotdataredisiredis-slave192.168.0.131(sessionredis1)1、啟動(dòng)順序(/usr/local/redis)/usr/local/bin/redis-server/etc/redis.conf#主redis啟動(dòng)rootaxaredisiredis-slave#/usr/7ocal/bin/redis-server/etc/redis.confaredlsiredls-slave*|cd/usr/local/redi
18、s-slaveredis-server/usr/local/redis-slave/redis.conf#從redis的啟動(dòng)root®datarceHslYoot©darard1sirootedataredlslredis-slave*redls-slave#cd/ijsr/loeal/rtdis-slavcredis-server/usr/local,.redle-e!ave/redis.conf2、關(guān)閉順序/usr/local/bin/redis-clishutdown#主redis關(guān)閉廣oot&dataredisi"rooti&ciacaredisicd/usr/local/redis-slave口niuinnuf=nWIOilumenj-/usr/local/bin/'redis-cli5hutdoKnredis-cli-p63791shutdown#從redis的關(guān)閉roor&data.redisi卬#cd/usr/1ocal/redis-slaveroot&dataredisiredis*slaveredis-cli-p637glshutdownrootdataredislredis-slave192.168.0.188(nginx1)1、啟動(dòng)順序(/usr/lo
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 培訓(xùn)中心停車場(chǎng)運(yùn)營(yíng)辦法
- 地鐵車輛段建設(shè)機(jī)械臺(tái)班施工合同
- 甜品店門頭租賃協(xié)議
- 農(nóng)村林地租賃合同:林業(yè)碳匯項(xiàng)目
- 藝術(shù)團(tuán)體管理助理招聘協(xié)議
- 設(shè)計(jì)單位流程優(yōu)化方案
- 咖啡館炊事員工作守則
- 建筑工程備案審批合同ktv
- 機(jī)場(chǎng)航站樓廣告牌安裝施工合同
- 養(yǎng)殖場(chǎng)地轉(zhuǎn)讓書
- 全面預(yù)算管理考核辦法
- 宿舍管理流程圖
- 骨科復(fù)試問答題
- 新版慢病隨訪表3頁
- 《實(shí)踐論》讀書PPT課件
- 青島版科學(xué)六年級(jí)上冊(cè)《齒輪》教學(xué)設(shè)計(jì)
- 《偷影子的人》PPT課件
- 江南大學(xué)鋼結(jié)構(gòu)設(shè)計(jì)期末復(fù)習(xí)題考題附答案
- 電力系統(tǒng)三維可視化技術(shù)及應(yīng)用
- 中學(xué)30+15高效課堂教學(xué)改革實(shí)施方案
- (完整版)師說寫作素材
評(píng)論
0/150
提交評(píng)論