troubleshooting Question

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

Avatar of babyb00mer
babyb00merFlag for United States of America asked on
Unix OS
6 Comments1 Solution687 ViewsLast Modified:
The application startup script in /opt/PowerHA/bin on my cluster node looks like this:

#!/bin/ksh

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

/usr/local/bin/rebuildqueues

banner "Starting Lawson Application"

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

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?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros