cancel
Showing results for 
Search instead for 
Did you mean: 

Re: cluster packages

 
SOLVED
Go to solution
Super Advisor

cluster packages

Team,

I have created one vg, and crated one LV in that.
so i created a cluster with 2 packages on same VG
as /dev/oravg,
cluster started correctly. up & running,
out of 2 packages..
orapkg-- up, running fine.
but on 2nd SAPpkg, cmcheckconf is applied ,
showed, corrct, with no errors found, but when i apply cmapplyconf it says sql plus not found in the start.sh script.

am using same user & same script for both the packages.
orapkg is running, but sappkg is not running fine.

any ting related to vg is not correct.
whether 2 pkg can reside on same LV, VG?

Thanks
13 REPLIES 13
Trusted Contributor
Solution

Re: cluster packages

why do not you combine the both in one PKG....i think it is not good idea to involve a single VG in two separate PKG as it may affect the activation of VG while cluster movement on node in case of failover.

it is good idea to combine both Oracle and SAP script in one ...
Sanjeev Singh
Trusted Contributor

Re: cluster packages

hi fizan

Don't configure two package on same VG.

you need to create another vg and install your application and then configure the 2nd package.

thanks
Super Advisor

Re: cluster packages

i had done that also,
created a separate /dev/sapvg and moved the sappkg to that /dev/saplv, now when i apply cmcheckconf it says no errors founf,
when i apply cmapplyconf it syas,


# cmrunpkg sappkg
Running package sappkg on node rx26-184
The package script for sappkg failed with unknown value. sappkg should not be restarted
Unable to run package sappkg on node rx26-184
Check the syslog and pkg log files for more detailed information
cmrunpkg: Unable to start some package or package instances
[rx26-184]/etc/cmcluster/sappkg
# more start.sh.log
/etc/cmcluster/sappkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/sappkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/sappkg/start.sh[2]: sqlplus: not found.
[rx26-184]/etc/cmcluster/sappkg


Thanks
Trusted Contributor

Re: cluster packages

Hi fizan

Have you actually installed sap on the 2nd vg ?

From the "command not found" I guess you did not install the actually application and when the package startup script tried to run the sqlplus, it just could not find it.

Have a look at the start.sh and find where it calls sqlplus and make sure you have it.

thanks
Honored Contributor

Re: cluster packages

1) bad idea to have 2 package in one VG.
I don think there is a easy way to do this.
would need lot of efforts.

2)>>sql plus not found in the start.sh script.

check the start.sh script if you have sqlplus utility and check pkg logs in /etc/cmcluster
directory

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Super Advisor

Re: cluster packages

syslog:

Jul 14 23:39:40 rx26-191 CM-CMD[6914]: cmrunpkg orapkg
Jul 14 23:39:41 rx26-191 CM-CMD[6914]: Request from root on node rx26-191 to start package orapkg
Jul 14 23:39:41 rx26-191 cmcld[6723]: Request from root on node rx26-191 to start package orapkg
Jul 14 23:39:41 rx26-191 cmcld[6723]: Request from node rx26-191 to start package orapkg on node rx26-191.
Jul 14 23:39:41 rx26-191 cmcld[6723]: Executing '/etc/cmcluster/orapkg/start.sh start' for package orapkg, as service PKG*59393.
Jul 14 23:39:41 rx26-191 cmcld[6723]: Service PKG*59393 terminated due to an exit(127).
Jul 14 23:39:41 rx26-191 cmcld[6723]: Package orapkg run script failed: exit value 127.
Jul 14 23:39:41 rx26-191 cmcld[6723]: Examine the file /etc/cmcluster/orapkg/start.sh.log for more details.
Jul 14 23:39:41 rx26-191 cmcld[6723]: Switching disabled on package orapkg.
Jul 14 23:39:41 rx26-191 CM-CMD[6914]: Request from root on node rx26-191 to start package orapkg failed
Jul 14 23:39:41 rx26-191 cmcld[6723]: Unable to start package orapkg. Node rx26-191 is not able to run it.
Jul 14 23:40:22 rx26-191 cmcld[6723]: Service cmfileassistd terminated due to an exit(0).
Honored Contributor

Re: cluster packages

your syslog shows issue with orapkg !!! and nothong realted to saspkg ,

post start.sh.log pls
Super Advisor

Re: cluster packages

/etc/cmcluster/orapkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/orapkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/orapkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/orapkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/orapkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/orapkg/start.sh[2]: sqlplus: not found.
/etc/cmcluster/orapkg/start.sh[2]: sqlplus: not found.
[rx26-191]/etc/cmcluster/orapkg
Trusted Contributor

Re: cluster packages

Hi fizan

You posted both scripts from sappkg and orapkg, and they both complianted about sqlplus not found.

Can you post start.sh ?

thanks