[Pacemaker] Pacemaker on system with disk failure

Carsten Otto carsten.otto at andrena.de
Thu Sep 25 10:44:17 EDT 2014


The web archive seems to not like my shell script, so here it is again.

#!/bin/ksh                                                                                                                                                                                                                                     
TESTFILE=/root/.testing                                                                                                                                                                                                                        
TRIGGER=/proc/sysrq-trigger                                                                                                                                                                                                                    
                                                                                                                                                                                                                                               
while true ; do                                                                                                                                                                                                                                
  /bin/touch ${TESTFILE} || echo b > ${TRIGGER}                                                                                                                                                                                                
  [ ! -f ${TESTFILE} ] && echo b > ${TRIGGER}                                                                                                                                                                                                  
  sleep 1                                                                                                                                                                                                                                      
done
-- 
andrena objects ag
Büro Frankfurt
Clemensstr. 8
60487 Frankfurt

Tel: +49 (0) 69 977 860 38
Fax: +49 (0) 69 977 860 39
http://www.andrena.de

Vorstand: Hagen Buchwald, Matthias Grund, Dr. Dieter Kuhn
Aufsichtsratsvorsitzender: Rolf Hetzelberger

Sitz der Gesellschaft: Karlsruhe
Amtsgericht Mannheim, HRB 109694
USt-IdNr. DE174314824

Bitte beachten Sie auch unsere anstehenden Veranstaltungen:
http://www.andrena.de/events
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140925/be61e559/attachment-0003.sig>


More information about the Pacemaker mailing list