hi, I'm not a heartbeat-monger.. I use pacemaker / corosync For me, this messages explains that you must not have the drbd service ON when starting the ha-stack This is as simply as that. What else ?
2012/9/7 関宏偉 <[email protected]> > > Hello! > > I config the herartbeat wht drbd and mysql,and when start heartbeat it > show messages like this: > > ######################################################################### > Starting High-Availability services: > 2012/09/07_09:14:12 CRITICAL: Resource drbddisk::r0 is active, and should > not be! > 2012/09/07_09:14:12 CRITICAL: Non-idle resources can affect data integrity! > 2012/09/07_09:14:12 info: If you don't know what this means, then get help! > 2012/09/07_09:14:12 info: Read the docs and/or source to > /usr/share/heartbeat/ResourceManager for more details. > CRITICAL: Resource drbddisk::r0 is active, and should not be! > CRITICAL: Non-idle resources can affect data integrity! > info: If you don't know what this means, then get help! > info: Read the docs and/or the source to > /usr/share/heartbeat/ResourceManager for more details. > 2012/09/07_09:14:12 CRITICAL: Non-idle resources will affect resource > takeback! > 2012/09/07_09:14:12 CRITICAL: Non-idle resources may affect data integrity! > ########################################################################## > > These messages were displayed on the first time when I start heartbeat > ,and the second time it showed > > ########################################################################## > Starting High-Availability services: > [确定] > ########################################################################## > Why the message showed at the firsttime,any help if you know,thanks very > much! > > ha.cf > ########################################################################## > logfile /var/log/ha-log #set heartbeat log's path > keepalive 1 #send interval > deadtime 15 #no heart beat in 15sec,confirm the server error > warntime 5 #warn 5 times > initdead 30 > > # another host name > ucast eth0 192.168.1.222 > > #after primary changed to sencondary,when primary revived,do not changed > back > auto_failback off > > # define host name > node DB-M-221 > node DB-M-222 > > # open the dopd > respawn hacluster /usr/lib/heartbeat/ipfail > respawn hacluster /usr/lib/heartbeat/dopd > apiauth ipfail gid=haclient uid=hacluster > apiauth dopd gid=haclient uid=hacluster > ########################################################################## > > haresources > ########################################################################## > DB-M-221 drbddisk::r0 Filesystem::/dev/drbd0::/database::ext3 mysqld > IPaddr::192.168.1.220/24/eth0 > ########################################################################## > > Regards! > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
