Operating System - HP-UX
1833768 Members
1852 Online
110063 Solutions
New Discussion

Serviceguard and Weblogic package

 
Jesus Fdez.
Valued Contributor

Serviceguard and Weblogic package

Hi,

I have a cluster serviceguard 11.19 and i want to configure weblogic package.

I have installed weblogic in the servers and the script to start/stop weblogic is in the EVA disk (vgapp).

When I want to make package sg i obtain one error with that "script not found".

The external_script variable is used.

What happens?

Thanks,
Jesús
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Serviceguard and Weblogic package

Shalom,

It would be somewhat helpful to see the exact error message.

It would appear on the surface however that your package is referring to a script that is not on your server.

Check the start script in your package control script points to a valid start up script, most likely in /sbin/init.d/

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
Rita C Workman
Honored Contributor

Re: Serviceguard and Weblogic package

First;

Did you enter into the pkg.ascii file:

RUN_SCRIPT /etc/cmcluster/packages/pkg/pkg.cntl
HALT_SCRIPT /etc/cmcluster/packages/pkg/pkg.cntl

If you want to start up weblogic, did you enter into your pkg.cntl script under:
#ADD customer defined run commands
/dir/path/pkg.weblogic.startup.script-file

Second;
Did you double check for type error in your entry?
Did you make sure permissions are set right on the file so it will run?

Just a couple thoughts,
Rita
Shardha
Valued Contributor

Re: Serviceguard and Weblogic package

Dear Jesus,

I totally agree with Rita, problem lies in the Script file, check you entries once again, it will work.
Shardha
Horia Chirculescu
Honored Contributor

Re: Serviceguard and Weblogic package

Hello,

>I have installed weblogic in the servers and the script to start/stop weblogic is in the EVA disk (vgapp).

Try to copy the script on a local HDD of the server (in fact if the package is meant to be run on any nodes from the cluster, you should copy this script on each node) and modify the path to it on the external_script variable. Maybe the EVA volume is not available at the time when the weblogic package is starting.

Choosing /etc/cmcluster is also a good idea.

>When I want to make package sg i obtain one error with that "script not found".

Are you talking about obtaining a template for the package configuration file? (cmmakepkg)

Horia.
Best regards from Romania,
Horia.
Jesus Fdez.
Valued Contributor

Re: Serviceguard and Weblogic package

Thanks, The problem is in the script.

I resolv this problem, I have copied the startup script to the local disks and it works. The problem I have now with the start script Weblogic. When you start Weblogic not returned the boot prompt and if you Crt + C, the boot stops.
When I run this script in SG, the state of the package is "starting".

The script to start Weblogic is startWeblogic.sh

How I can to exit that this script ?

Thanks,
Jesús
Jesus Fdez.
Valued Contributor

Re: Serviceguard and Weblogic package

Ok, I resolv the problem, which & in the line script.

Thanks,
Jesús