欢迎来到天天文库
浏览记录
ID:40390921
大小:5.07 MB
页数:107页
时间:2019-08-01
《Monitoring with Pacemaker 》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、MonitoringwithPacemakerMartinG.LoschwitzWho?GeneralDisclaimerWhatIamnotsaying...PacemakerdoesNOTreplacemonitoringWTF?Theonlythingbetterthanmonitoring......ismoarmonitoring!PMdoesnotreplacemonitoring......butitaddsanotherlayertoit.Now,imagineatypical2-nodeclusterDRBDDRBD,theDRBDlogoan
2、dLINBITareregisteredtrademarksofLINBITInformationTechnologiesGmbH.hastexoisnotaffiliatedwiththetrademarkowner.DRBDDRBD,theDRBDlogoandLINBITareregisteredtrademarksofLINBITInformationTechnologiesGmbH.hastexoisnotaffiliatedwiththetrademarkowner.AndassumethatMySQLcrashesIcingawillnotice.
3、Somewhen.Somebodywillbealarmed.Andfixtheproblemsoon.Hopefully.5minutesofdowntimeAnavailabilityof99,997%equalsto...15minutesofdowntimeAppliestoothersoftware,tooDelayisbadCanweautomatizethis?Yeswecan!Nagios/Icingahooks?Better:Pacemaker!Pacemakercan......restartfailedresources...movefai
4、ledresources...stopfailedresources...killnodesactingupSoundsgood,eh?„SoyouwantPacemakermonitoring“UsePacemaker19991999HB119992005HB1HB2199920052009HB1HB2PM199920052009HB1HB2PM199920052009HB1HB2PM199920052009HB1HB2PMMonitoringinPacemakerNodemonitoring„Fail-Over“NodehealthflagsNodeheal
5、thflagsnodealicenodebobpropertyno-quorum-policy="ignore"stonith-enabled="false"ode-health-strategy="migrate-on-red”Nodehealthflagsnodealicenodebobpropertyno-quorum-policy="ignore"stonith-enabled="false"ode-health-strategy="migrate-on-red”alice:~$crm_attribute--nodealice--name'#
6、health-temp’--update'red'--lifetimerebootHelpfulforSMARTcheckingHelpfulfortempcheckingHelpfulforfancheckingNodeBiasmigration-thresholdMySQLmigrationthresholdprimitivep_mysqlocf:heartbeat:mysql[…]metamigration-threshold=“3”migrationthresholdprimitivep_mysqlocf:heartbeat:mysql[…]meta
7、migration-threshold=“3”alice:~$crmresourcecleanupp_mysqlSTONITHDRBDDRBD,theDRBDlogoandLINBITareregisteredtrademarksofLINBITInformationTechnologiesGmbH.hastexoisnotaffiliatedwiththetrademarkowner.DRBDDRBD,theDRBDlogoandLINBITareregisteredtrademarksofLINBITInformationTechnologiesGmbH.h
8、astexoisnota
此文档下载收益归作者所有