Operating System - Linux
1748252 Members
4132 Online
108760 Solutions
New Discussion юеВ

Re: AREP package in SGeSAP

 
Voldoo
Occasional Advisor

AREP package in SGeSAP

Hi all

We are currently implementing SGeSAP on Linux plateform
We have created a package dbcijciE90 which start correctly ASCS00 + SCS01 + DB Oracle and then all the application servers (D10,D20 D30 and D40)
This package is working fine everything is coming up correctly.

The package has a sap configuration file sap.config

But we must implement AREP (Abap replication enqueue), functionality provided by HP SG; For this apparently we must create a dedicated package which start the AREP (package created arepE90).

The problem we encounter is the following.

When the package arepE90 starts , it takes in account its own sap config file saparep.config + sap.config file (config file of the main package), so it stop all the landscape before starting is and then doing its own job (just to start arep process)

Do you how to avoid this.

Many thanks for your help

Yacine

6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: AREP package in SGeSAP

Shalom,

This question is way to complex to answer properly without more information.

AT the very least, I'd need to see the error or start up logs.

More than likely there is a problem in the SG package script. Logs are where I would look to begin diagnosis.

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
Voldoo
Occasional Advisor

Re: AREP package in SGeSAP

Salam Steven :-))

You can find attached log of both packages
You can find configuration files as well

Many thanks for your help

Yacine

Cheers

Serviceguard for Linux
Honored Contributor

Re: AREP package in SGeSAP

At the very least it seems yo have a typo in arepE90.cntl.

You have:
# ADD customer defined halt commands.
: # do nothing instruction, because a function must contain some command.


test_return 52
. /usr/local/cmcluster/conf/E90/sapwas.sh stop E90



The test_return should be after the stop command.

If this is not your problem it will cause problems later.
Voldoo
Occasional Advisor

Re: AREP package in SGeSAP

Hi Yes
Indeed , it is corrected now
Even if my issue still persists

Cheers

Yacine
Voldoo
Occasional Advisor

Re: AREP package in SGeSAP

Hi all

I have solved my issue after reading again the documentation and especially this section

Configuration of Application Server Handling
├в ┬в If a sap.config file exist, it will overrule previous files and is effective.
├в ┬в If a sap.config file exist, it will overrule previous files and is effective.

So the only thing I have done is to add AS treatment in saparepE90.config
And I have set the value ASTREAT=0 ( Do nothing) .... And it apparently it works fine :-))

------------------------------------------- Extract of the log -------------------------------------------------------------
Nov 7 11:09:43 AM - Node "elwing": (start_cs): Start ABAP Replicated Enqueue ...
Nov 7 11:09:43 AM - Node "elwing": (start_direct AREP 00 172.31.128.169): TRACE POINT
Nov 7 11:09:43 AM - Node "elwing": (start_direct): Direct instance startup attempt on local host...
Nov 7 11:09:43 AM - Node "elwing": (start_direct): Starting instance with pf=/sapmnt/E90/profile/START_AREP00_e90areppkg as e90adm
cmrunpkg : Completed successfully on all packages specified.
[root@elwing E90]# Nov 7 11:10:14 AM - Node "elwing": (start_direct): Instance on e90areppkg started
Nov 7 11:10:14 AM - Node "elwing": (start_saposcol): TRACE POINT
Nov 7 11:10:14 AM - Node "elwing": (start_own_app): TRACE POINT
Nov 7 11:10:14 AM - Node "elwing": (start_own_app): Instance D20 on host elwing configured to be inactive - skipping step
Nov 7 11:10:14 AM - Node "elwing": (start_own_app): Instance D30 on host celeborn configured to be inactive - skipping step
Nov 7 11:10:14 AM - Node "elwing": (start_own_app): Instance D40 on host shelob configured to be inactive - skipping step
Nov 7 11:10:14 AM - Node "elwing": *** Done: Executing script [/usr/local/cmcluster/conf/E90/sapwas.sh] MODE [start]
Nov 7 11:10:14 AM - Node "elwing": (sapwas_main): Leaving SGeSAP start runtime steps
Nov 7 11:10:14 AM - Node "elwing": *** Done: Executing script [/usr/local/cmcluster/conf/E90/sapwas.sh] args [spawn]
###### Node "elwing": Package start completed at Fri Nov 7 11:10:14 CET 2008 ######
---------------------------------------------------------------------------------------------------------

Many thnaks for your help

Yacine
Voldoo
Occasional Advisor

Re: AREP package in SGeSAP


In the second sap.config add the treatement of the application serveur.
Parameter ASTREAT needs to be set to 0 (nothing to do)

This section will overrull the configuration of the main sap configuration file (sap.config or sap.conf)