Operating System - HP-UX
1832595 Members
3018 Online
110043 Solutions
New Discussion

using "external script" SG 11.20

 
klemerS
Frequent Advisor

using "external script" SG 11.20

Hello.
I build 2 nodes 11.31 bl890c i2 cluster with sybase.
I configured a modular sybase package with the sysbase toolkit & its work with no problem (start/stop/failover/maintenance . Now customer want to start the sybase_BS too , so i tried to use the external_script with the example tamplate. I configured the script & cmcheckconf/cmapplyconf run the validate with no errors , but when i start the package only the sybase is coming up & nothing about the sybase_BS. the package log file show nothing about even trying to start the script.

Any advise ??

Thanks

Shalom.
2 REPLIES 2
John Bigg
Esteemed Contributor

Re: using "external script" SG 11.20

Add a set -x to the top of the external script and see if the output appears in the package log. This will allow you to tell if it is calling the script at all.
Mel Burslan
Honored Contributor

Re: using "external script" SG 11.20

Is this modular sybase package, something like SGeSAP integration module. Never worked with sybase on HPUX let alone the serviceguarded version, so I can not comment on the integration scripts part. But if you edit your package control script, most probably located under:

/etc/cmcluster/PKG-NAME/

named something ending with .cntl or .control. In this file you will see a section titled as "custom startup and shutdown". Did you try placing this script in that block ? If you did, what was the outcome ?

As suggested in the above answer, you can put

set -x

as the first executable command in this sybase_BS script and set +x as the last one. And you can watch the cluster log while starting up, to see if the scipt is being accessed for execution.

________________________________
UNIX because I majored in cryptology...