General
cancel
Showing results for 
Search instead for 
Did you mean: 

redhat linux and red hat cluster manager

redhat linux and red hat cluster manager

Guys

I have wriiten a script to stop/start and status check an inhouse package. It works 100% on the command line.

When I add it via cluadmin and try and enable it. It only starts the initial process that should spawn off sub-processes.

We had the same problem with MC Service Guard on HP's and was fixed with a kernel patch.

nyone have any ideas? I have logged a call with RedHat but they have dismissed it as a scripting problem.
3 REPLIES
Francisco J. Soler
Honored Contributor

Re: redhat linux and red hat cluster manager

Have you check it out the path of subprocesses, perhaps through cluadmin, some enviroment variables have not been initialized correctly.

Frank.
Linux?. Yes, of course.
Harstad
Advisor

Re: redhat linux and red hat cluster manager

Hi

Did you find the solution??,,Because I have the same problem.

Thanks

Regards

Harstad
Steven E. Protter
Exalted Contributor

Re: redhat linux and red hat cluster manager

I can tell you exactly how to fix this.

In your startup script:

env > /tmp/env.txt

boot the box

mv /tmp/env.txt /tmp/envboot.txt

stop and start the service/script

diff /tmp/env.txt /tmp/envboot.txt

In the startup script, hard code the necessary environment variables and it will work at boot time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com