Avatar of Edgar Cole
Edgar Cole
Flag for United States of America

asked on 

There's an infinite loop in the application startup script on my PowerHA cluster!?

The application startup script in /opt/PowerHA/bin on my cluster node looks like this:


#stub script to start the Lawson application
banner "Rebuilding print queues"


banner "Starting Lawson Application"

while true
date > /tmp/LawsonStart.out 2>&1
sleep 300

If I’m not mistaken, the ‘while’ loop creates an infinite loop. I don’t see anything within that loop that will terminate it. I don’t know what in the failover process might depend on the startup script, but I don’t want to risk HACMP waiting indefinitely for it to finish. Do I have a legitimate concern?
Unix OS

Avatar of undefined
Last Comment
Edgar Cole

8/22/2022 - Mon