Really, really appreciate if somebody could shed some light on this issue.

Lasantha.

*-------- Original Message --------*
*Subject: *     LSB Compliant Filesystem Script
*Date: *        Mon, 10/Sep/2007 1:04:38 PM +0550
*From: *        Lasantha Marian <[EMAIL PROTECTED]>
*To: *  [email protected]


> Dear Friends,
>
> I have been working on setting up an Active/Passive two node cluster
> on two Dell PE 2900 servers using Ubuntu 7.04 Server. I am testing
> with Heartbeat 2.0.7 (Ubuntu binary) and DRBD 8.0.6 (compiled),
> further I am using V1 style configurations (tried CRM earlier, that
> too failed for a very similar reason).
>
> Several of my attempts to get the file system mounted and made as
> master on any particular node (of course using Heartbeat) fails with
> the following error messages in the logs. Any attempt to mount the
> file system using simple CLI works fine, indicating that DRDB is
> working well. In the log there is a mentioned to Filesystem script not
> being LSB compliant. The Filesystem scripts are the scripts which came
> with the packages.
>
> If I try to run the following I end up with subsquent error message.
> [4169] $  /etc/ha.d/resource.d/Filesystem /dev/drbd0 /ha/www/ ext3
> default start
> /usr/lib/ocf/resource.d/heartbeat/Filesystem: 466: Syntax error: Bad
> substitution
> 2007/09/10_12:35:21 ERROR: Filesystem Incompliant argument
> ERROR: Filesystem Incompliant argument
>
> If anybody can suggest me as to what has gone wrong or where can I
> find LSB compliant Filesystem script or is there any other better way
> to do this.
>
> Thanks in advance.
>
> Lasantha.
>
> *Part of ha-log*
> ResourceManager[13404]: 2007/09/10_12:07:16 info: Running
> /etc/ha.d/resource.d/Filesystem /dev/drbd0 /ha/www ext3 default stop
> Filesystem[14670]:      2007/09/10_12:07:16 ERROR: Filesystem
> Incompliant argument
> ResourceManager[13404]: 2007/09/10_12:07:16 ERROR: Return code 2 from
> /etc/ha.d/resource.d/Filesystem
> ResourceManager[13404]: 2007/09/10_12:07:17 info: Retrying failed stop
> operation [Filesystem::/dev/drbd0::/ha/www::ext3::default]
> ResourceManager[13404]: 2007/09/10_12:07:17 info: Running
> /etc/ha.d/resource.d/Filesystem /dev/drbd0 /ha/www ext3 default stop
> Filesystem[14770]:      2007/09/10_12:07:17 ERROR: Filesystem
> Incompliant argument
> ResourceManager[13404]: 2007/09/10_12:07:17 ERROR: Return code 2 from
> /etc/ha.d/resource.d/Filesystem
> Filesystem[14856]:      2007/09/10_12:07:17 ERROR: Filesystem
> Incompliant argument
> ResourceManager[13404]: 2007/09/10_12:07:17 ERROR: Resource script for
> Filesystem::/dev/drbd0::/ha/www::ext3::default probably not LSB-compliant.
> ResourceManager[13404]: 2007/09/10_12:07:17 WARN: it
> (Filesystem::/dev/drbd0::/ha/www::ext3::default) MUST succeed on a
> stop when already stopped
> ResourceManager[13404]: 2007/09/10_12:07:17 WARN: Machine reboot
> narrowly avoided!
>
> *ha.cf*
> debugfile /var/log/ha-debug
> logfile /var/log/ha-log
> keepalive 2
> deadtime 30
> warntime 10
> initdead 120
> udpport 694
> baud 19200
> serial /dev/ttyS0
> bcast eth2
> auto_failback on
> node c0n0.cpi-tut.net
> node c0n1.cpi-tut.net
> ping 192.168.0.250
> apiauth cl_status uid=root
> apiauth default uid=hacluster gid=haclient
> respawn hacluster /usr/lib/heartbeat/ipfail
>
> *haresources*
> c0n0.cpi-tut.net drbddisk::www
> Filesystem::/dev/drbd0::/ha/www::ext3::default
> IPaddr::192.168.0.180/24/bond0/192.168.0.255
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to