[Pacemaker] /.crm_help_index file (in system root aka /)

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Tue Jul 13 06:12:12 EDT 2010


hi,

On 07/12/2010 05:36 PM, Lars Ellenberg wrote:
> put some "( date ; env) >> /tmp/tmp.debug.log" into your script,
> then we can determine if the crm shell assumes too much.

i did some digging around and found that cron seems to set
the correct environment. so i used "inotifywait -m /"
to watch for changes to /:

# tail -f /var/log/syslog &
# inotifywait -m / | grep --color crm_ &

please find a c/p from three of such events attached.

it now seems to me that the drbd monitor action creates these files.

however, i'm unable to reproduce this behavior if i manually trigger
a monitor action via "crm resource reprobe drbd_data:0"

my drbd resource configuration:
> primitive drbd_data ocf:linbit:drbd \
>         op monitor interval="15" role="Started" timeout="10" \
>         op monitor interval="10" role="Slave" timeout="10" \
>         op monitor interval="5" role="Master" timeout="20" \
>         op stop interval="0" timeout="100" \
>         op start interval="0" timeout="240" \
>         params drbd_resource="r0"


> ms ms_drbd_data drbd_data \
>         meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" globally-unique="false" notify="yes" interleave="true" target-role="Started" migration-threshold="2" failure-timeout="1min"

drbd version:

> # cat /proc/drbd 
> version: 8.3.8 (api:88/proto:86-94)
> GIT-hash: d78846e52224fd00562f7c225bcc25b2d422321d build by root at localhost, 2010-07-07 11:05:14

any ideas?

thanks,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log3.txt
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100713/7dff5491/attachment-0009.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log1.txt
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100713/7dff5491/attachment-0010.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log2.txt
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100713/7dff5491/attachment-0011.txt>


More information about the Pacemaker mailing list