Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Wed, Sep 24, 2008 at 3:51 PM, Jürgen Scholz <juergen at kernkraft400.com>wrote: > Does any one can provide me a sample /etc/ha.d/haresources file which is >> using /etc/ha.d/resources.d/drbddisk? >> > Hello. I accidentially send my reply to Lars Kellogg-Stedham. Thank you for > replying. > > I have two centos 5.2 nodes with xen 3.0.3 and drbd82. I want the drbd >> disk resource status to be changed automatically by heartbeat to required >> primary or seconday. >> > You are requesting an configuration example for linux-ha v1. 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 > point in time. > Still using v1 would mean you have to set up the system, you are setting up > now, again in the near future. > > The easy way would look like: Try using the script to convert > configurations (named haresources2crm, I think) to convert your haresources > to the new XML format and see if your setup still works fine. > This script can convert simple setups without user intervention or > post-improvement. You really should try it ... ;-) > > > bye, > juergen > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > Ok... My haresources file looks like: ha1.domain.local drbddisk::r0 Filesystem::/dev/drbd1::/guests::ext3::noatime xendomainsHA1 ha2.domain.local drbddisk::r0 Filesystem::/dev/drbd1::/guests::ext3::noatime xendomainsHA2 where, r0 = resource in drbd.conf /guests = directory where the drbd1 should be mounted is my haresources file FINE/CORRECT? My err is: Sep 24 17:44:07 ha1 IPaddr[3007]: INFO: Success Sep 24 17:44:07 ha1 avahi-daemon[4855]: Withdrawing address record for 192.168.0.3 on eth0. 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 operation [ha2.domain.local] Sep 24 17:44:10 ha1 ResourceManager[2244]: ERROR: Cannot locate resource script ha2.domain.local Sep 24 17:44:10 ha1 ResourceManager[2244]: ERROR: Cannot locate resource script ha2.domain.local Sep 24 17:44:11 ha1 ResourceManager[2244]: info: Retrying failed stop operation [ha2.domain.local] Thanks Paras. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080924/33cf4b9a/attachment.htm>