![]() |
cluster with corosync, pacemaker and drbd
Hello,
node www03 \ attributes standby="off" node www04 \ attributes standby="off" primitive DRBD0_SRV ocf:linbit:drbd \ params drbd_resource="srv" \ op monitor interval="15s" primitive WWW142 ocf:heartbeat:IPaddr2 \ params ip="192.168.107.142" cidr_netmask="24" \ op monitor interval="30s" primitive WWWFS ocf:heartbeat:Filesystem \ params device="/dev/drbd0" directory="/srv" fstype="ext4" primitive WWWHTTP ocf:heartbeat:apache \ params configfile="/etc/httpd/conf/httpd.conf" statusurl="http://localhost/server-status" \ op monitor interval="1min" \ meta target-role="Started" group services WWW142 WWWFS WWWHTTP \ meta target-role="Started" ms WebdataClone DRBD0_SRV \ meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" colocation services_on_DRBD0_SRV inf: services WebdataClone:Master order services_after_DRBD0_SRV inf: WebdataClone:promote services:start property $id="cib-bootstrap-options" \ dc-version="1.1.8-7.el6-394e906" \ cluster-infrastructure="classic openais (with plugin)" \ expected-quorum-votes="2" \ no-quorum-policy="ignore" \ stonith-enabled="false" \ last-lrm-refresh="1363283530" rsc_defaults $id="rsc-options" \ resource-stickiness="100" \ migration-threshold="3" #vim:set syntax=pcmk WWW_142 OK DRBD0_SRV OK WWWFS OK WWWHTTP NOK, not starting wenn ich ihn via service httpd starte OK aber via cluster nicht ciao CM²S |
solved
Leider sind die Fehlermeldungen im message log nicht sehr sprechend
aber wenn man das pacemaker ocf startscript für den httpd direct aussführt und vorher noch die die entsprechenden Variablen setzt, sieht man, das unter Umständen, das die Statussite nicht funkt ;-D ( >> mod_status ) das allein hat verhindert,das der Webserver unter Pacemaker nicht startet Naja ;-D Ciao CM²S |
dann müsste aber in den logs vom apache etwas stehen, wenn es Probleme mit einem modul gibt, oder der apache startet überhaupt nicht -> auch wieder jede menge einträge.
danke für die info..... |
Alle Zeitangaben in WEZ +2. Es ist jetzt 22:28 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag