Home > Cannot Locate > Cannot Locate Resource Script Drbd Disk

Cannot Locate Resource Script Drbd Disk

ResourceManager[3614]: 2007/03/19_13:11:17 info: Running /etc/ha.d/resource.d/drbddisk drbd0 stop ResourceManager[3614]: 2007/03/19_13:11:17 info: Running /etc/ha.d/resource.d/IPaddr 192.168.1.4 stop IPaddr[4697]: 2007/03/19_13:11:18 INFO: Success hb_standby[4738]: 2007/03/19_13:11:48 Going standby [foreign]. You really should try it ... ;-)


bye,
 juergen
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user
\





Ok...

My haresources file looks This is my /etc/ha.d/haresources file storage-01.domain.org IPaddr::192.168.1.238/24/eth1 drbddisk::drbd0 Filesystem::/dev/drbd0::/data::ext3 ... heartbeat: 2003/02/14_14:00:17 info: Heartbeat shutdown in progress. (5778) heartbeat: 2003/02/14_14:00:17 info: Giving up all HA resources. have a peek here

Nun habe ich den apache unter /web/httpd liegen, vielleicht ist das mein Fehler??? Oct 3 20:01:04 localhost heartbeat: [6214]: info: remote resource transition completed. heartbeat: 2005/09/26_17:09:16 info: Running /etc/ha.d/resource.d/drbddisk r0 stop heartbeat: 2005/09/26_17:09:16 info: Running /etc/ha.d/resource.d/IPaddr 10.1.4.1 stop heartbeat: 2005/09/26_17:09:16 info: All HA resources relinquished. The post was edited 3 times, last by Fuechsin (Mar 22nd 2007, 10:45am).

All you have to have is a set # of nodes listedJ {"node ...} # and one of {serial, udp, or mcast} # # # Note on logging: # If any If you would like to use all features of this site, it is mandatory to enable JavaScript. ICH SSCHAFF DAS NOCH The post was edited 4 times, last by Fuechsin (Mar 20th 2007, 8:05am). When I restart the HeartBeat daemon, it seems like a problem with /usr/share/heartbeat/ResourceManager script. [[email protected] ~]# service heartbeat start Starting High-Availability services: 2009/01/15_13:46:08 ERROR: Cannot locate resource script Mailto /usr/share/heartbeat/ResourceManager: line

secondary/secondary ? heartbeat: 2005/09/26_17:09:05 info: Running /etc/ha.d/resource.d/drbddisk r0 stop heartbeat: 2005/09/26_17:09:05 info: Running /etc/ha.d/resource.d/IPaddr 10.1.4.1 stop heartbeat: 2005/09/26_17:09:05 info: Releasing resource group: mail1 10.1.4.1 drbddisk::r0 mail1 10.1.4.1 Filesystem::/dev/drbd0::/home/vpopmail::reiserfs heartbeat: 2005/09/26_17:09:05 info: Running /etc/ha.d/resource.d/Filesystem heartbeat: 2005/09/26_17:06:22 info: Running /etc/ha.d/rc.d/status status heartbeat: 2005/09/26_17:06:22 info: /usr/lib/heartbeat/mach_down: nice_failback: foreign resources acquired heartbeat: 2005/09/26_17:06:22 info: Initial resource acquisition complete (T_RESOURCES(us)) heartbeat: 2005/09/26_17:06:22 info: mach_down takeover complete. Both nodes are connected via eth1 and crossover cable which drbd uses to communicate.

Sep 24 17:44:08 ha1 ResourceManager[2244]: ERROR: Cannot locate resource script ha2.domain.local Sep 24 17:44:08 ha1 ResourceManager[2244]: ERROR: Cannot locate resource script ha2.domain.local Sep 24 17:44:09 ha1 ResourceManager[2244]: info: Retrying failed stop On the Web interface, the volume group (vg0drbd in the How To) that I've create, can't be mapped. Nachdem letzten Schritt ging nichts mehr, die Verbindung zu ha1 wurde gekappt. http://lists.linux-ha.org/pipermail/linux-ha/2003-February/006697.html Jemand eine Idee?

Mar 20 06:56:57 ha1 ResourceManager[5199]: ERROR: Resource script for httpd probably not LSB-compliant. Parameters to this device are # read from a configuration file. Quote Report Content Go to Page Top bauchi Professional Posts 601 Occupation Systemarchitect bei nem ISP Number of hosts ~900 Number of services ~19000 Operating Systems CentOS 6 13 Mar 21st Mar 20 06:46:48 ha1 kernel: drbd0: I am(S): 1:00000003:00000001:00000009:00000002:10 Mar 20 06:46:48 ha1 kernel: drbd0: Peer(S): 1:00000003:00000001:00000009:00000002:00 Mar 20 06:46:48 ha1 kernel: drbd0: drbd0_receiver [5016]: cstate WFReportParams --> WFBitMapS Mar 20

RC=0 nodeb heartbeat: info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /local/groups ext3 rw,suid,dev,exec,noauto,nouser,async,acl start nodeb heartbeat: debug: Starting /etc/ha.d/resource.d/Filesystem /dev/drbd0 /local/groups ext3 rw,suid,dev,exec,noauto,nouser,async,acl start nodeb heartbeat: ERROR: Couldn't mount filesystem /dev/drbd0 on /local/groups nodeb you can try this out hier meine ha.cf Source Code keepalive 2 deadtime 10 warntime 10 initdead 120 ucast eth1 192.168.0.7 ucast eth0 192.168.1.3 ping 192.168.1.5 auto_failback on node ha1 node ha2 Show All Die private Yahoo! Is every NP-hard problem computable?

Heartbeat properly mounts /dev/drbd0 on /local/groups and fires up Samba with to share /local/groups. http://scriptkeeper.net/cannot-locate/cannot-locate-resource-script-ipaddr.html If so, how will it decide which one to kill as each Node has the same reason for believing it should be in control of the resources? Konfigurationsfile sieht folgendermaßen aus: Source Code resource drbd0 { protocol C; incon-degr-cmd "echo '!DRBD! I can run datadisk and httpd by hand and no issues are observed.

ResourceManager[5199]: 2007/03/20_06:57:08 WARN: it (Filesystem::/dev/drbd0::/web::ext3) MUST succeed on a stop when already stopped ResourceManager[5199]: 2007/03/20_06:57:08 WARN: Machine reboot narrowly avoided! If our own heart doesn't beat for # a minute, then our machine will reboot. # #watchdog /dev/watchdog # # "Legacy" STONITH support # Using this directive assumes that there is I choose VMware ESX (hypervisor), and Openfiler (SAN). Check This Out Comp1 and Comp2 /etc/ha.d/authkeys auth 3 3 md5 37a747287238744a7bef7e9d52a53494 Comp1 /etc/ha.d/ha.cf logfacility local0 keepalive 1 deadtime 10 ucast eth0 192.168.1.145 auto_failback off node srv1 node srv2 Comp2 /etc/ha.d/ha.cf logfacility local0 keepalive

Dies sind alles nur einfach Shellscripte. Mar 20 06:58:27 ha1 syslog-ng[2526]: syslog-ng version 1.6.11 starting Mar 20 06:58:28 ha1 auditd: Config file /etc/audit/auditd.conf doesn't exist, skipping Mar 20 06:58:28 ha1 ifup: sit0 Mar 20 06:58:28 ha1 syslog-ng[2526]: Do the IPA consonants /v/ and /w/ sound similar?

Source Code Mar 20 06:57:08 ha1 ResourceManager[5199]: ERROR: Resource script for Filesystem::/dev/drbd0::/web::ext3 probably not LSB-compliant.

Quote Report Content Go to Page Top Fuechsin Intermediate Posts 393 Occupation Azubine FiSi :-) Number of hosts 81 Number of services 656 8 Mar 20th 2007, 8:48am Also, ich glaube Without that it's not possible to anywise this problem. -----Original Message----- From: Rob [mailto:robs_ha_email at yahoo.com] Sent: Friday, February 14, 2003 4:31 PM To: ha-list Subject: Cannot locate resource script Below Die letzten Einträge aus dem ha-log: Source Code ResourceManager[5199]: 2007/03/20_06:57:07 ERROR: Return code 2 from /etc/ha.d/resource.d/Filesystem ResourceManager[5199]: 2007/03/20_06:57:08 info: Retrying failed stop operation [Filesystem::/dev/drbd0::/web::ext3] ResourceManager[5199]: 2007/03/20_06:57:08 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /web I'd like to advise \ you to use linux-ha v2, because v1 won't be around forever and the support for \ v1-style configurations in v2 will surely be dropped at some

ResourceManager[3614]: 2007/03/19_13:11:17 WARN: it (Filesystem::/dev/drbd0::/web::ext3) MUST succeed on a stop when already stopped ResourceManager[3614]: 2007/03/19_13:11:17 WARN: Machine reboot narrowly avoided! Habe mir das von: cvs.linux-ha.org/viewcvs/viewc…/Attic/Filesystem?rev=1.3 genommen und damit startet alles wie es sollte Quote Report Content Go to Page Top Fuechsin Intermediate Posts 393 Occupation Azubine FiSi :-) Number of hosts heartbeat: 2005/09/26_17:09:16 WARN: it (mail1) MUST succeed on a stop when already stopped heartbeat: 2005/09/26_17:09:16 WARN: Machine reboot narrowly avoided! this contact form Register now!

Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com msoffen at iso-ne Feb14,2003,2:43PM Post #3 of 5 (4819 views) Permalink Cannot locate resource script [In reply to] Actually.. I can't figure out where the resource file is an issue...