cancel
Showing results for 
Search instead for 
Did you mean: 

shared memory issue in st06 linux with db2

former_member1334776
Participant
0 Kudos

Dear Team,

We are facing a serious issue with shared memory......

If we check in st06 it shows that SAPOSCOL not running ? (shared memory not available )

When we execute command in sidadm or root as sapsocol -k or saposcol -l .. o/p gives a saposcol command not found...

If I check background job SAP_COLLECTOR_FOR_PERFMONITOR it showing the job log SAPOSCOL not running (shared memory available).

Missing of coll.put and dev_coll in /usr/sap/tmp.

I checked in /usr/sap/SID/SYS/exe/run there is no saposcol file....

Pls find the host_profile file for your reference...

SAPSYSTEMNAME = SAP

SAPSYSTEM = 99

service/porttypes = SAPHostControl SAPOscol SAPCCMS

DIR_LIBRARY = /usr/sap/hostctrl/exe

DIR_EXECUTABLE = /usr/sap/hostctrl/exe

DIR_PROFILE = /usr/sap/hostctrl/exe

DIR_GLOBAL = /usr/sap/hostctrl/exe

DIR_INSTANCE = /usr/sap/hostctrl/exe

DIR_HOME = /usr/sap/hostctrl/work

service/admin_users = daaadm

he dev_coll.tmp dispalys

---------------------------------------------------------------------------------------------

      SAPOSCOL version  COLL 21.03 720 - v2.24, AMD/Intel x86_64 with Linux, 2011-10-21, 64 bit, single threaded, Non-Unicode

      compiled at   Nov 28 2011

      systemid      390 (AMD/Intel x86_64 with Linux)

      relno         7200

      patch text    COLL 21.03 720 - v2.24, AMD/Intel x86_64 with Linux, 2011-10-21

      patchno       114

      intno         20020600

      running on    solman Linux 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64

      chgno(local)  1286068

      chgno(global) 1290711

      PATCHES

      DATE     CHANGELIST           PLATFORM             PATCHTEXT

      20081211 ---                  ALL                  Option -w support. Removed SizeOfRecord warning rt 130.

      20090114 ---                  UNIX                 Log file permissions: 664.

      20090203 ---                  UNIX                 Add. single instance check.

      20090210 ---                  ALL                  Continue after EWA HW XML generation failure.

      20090324 ---                  ALL                  Fix dynamic trace level switch.

      20090512 ---                  ALL                  Usage of DIR_HOME as working dir.

      20090512 1064069              UNIX                 Hardware XML permissions 660.

      20090613 ---                  ALL                  Async HW info generation.

      20090909 ---                  UNIX                 DIR_PERF, DIR_HOME, /var/tmp, ...

      20090909 ---                  UNIX                 Group sapsys and smarter permissions of files

      20091105 ---                  WINDOWS              New Monitoring for VMware

      20091210 ---                  ALL                  Performance improvement 'saposcol -xml'.

      20100723 ---                  LINUX                New Monitoring for VMware

      20100812 ---                  ALL                  Improved kill option (-k).

      20110111 ---                  UNIX                 col.put permissions: 664.

      20110322 1235461              SUN                  Showing size for filesystem >2TB problem fixed.

      20110502 ---                  WINDOWS              Initial Monitoring for XEN

      20110504 ---                  WINDOWS              Monitoring for Hyper-V Dynamic Memory

      20110509 ---                  ALL                  Renamed MTE trees to be consistent with CCMS agents.

      20110525 1250238              IBM i                CPU time, disk service & wait time, system values.

      20110706 1607341              WINDOWS              saposcol: determination of saposcol-directory (PerfDir)

      20110713 ---                  SUN                  Reporting negative or 0 CPU utilization fixed.

      20110916 ---                  WINDOWS              Initial Monitoring for KVM

      20110922 1630624              IBM i                Patch collection September 2011.

      20111011 1280958              LINUX                Build-in vm-dump-metrics

      20111020 ---                  WINDOWS              Improved Monitoring for KVM/Xen

      20111021 1282052              LINUX                Amazon Monitoring: First Steps

---------------------------------------------------------------------------------------------

11:34:38 03.01.2013     LOG: Profile          : /usr/sap/hostctrl/exe/host_profile

11:34:38 03.01.2013     LOG: Saposcol Version  : [COLL 21.03 720 - v2.24, AMD/Intel x86_64 with Linux, 2011-10-21]

11:34:38 03.01.2013     LOG: Working directory : /usr/sap/tmp

11:34:38 03.01.2013     LOG: *LINUX*: statistics value of res->C.pages_in is zero.

11:34:38 03.01.2013     LOG: *LINUX*: statistics value of res->C.pages_out is zero.

I could not able to find that saposcol files in /usr/sap/KSM/SYS/exe/run

But in my dev server it  works fine.

Kernel version 702 with patch 114.

Kindly guide me how to solve this.....

Thanks,

Thamu,.                                                           

---

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you upgraded kernel recently? to 720?

then you have to install saphostagent please check related notes for 720 kernel

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello ,

The operating system collector SAPOsCol is a stand-alone program that runs in the operating system background. It runs independently of
SAPinstances exactly once per host.Saposcol is not Unicode-dependent, so it makes no difference to download it from Unicode or Non-unicode
directory on Service Market Place.The highest available saposcol version can always be used backwards.
SAPOSCOL should always be started with root permissions, to be able to
collect all the OS statistics (notes #19227 and #726094).

All CCMS agents can copy data from the SAPOSCOL shared memory segment to the CCMS monitoring segment and transfer it to a central

monitoring system. This means that the data is visible in the CCMS monitoring architecture and is displayed both in the familiar transactions ST06

and OS07 and in the Alert Monitor (transaction RZ20)

SAPOSCOL Log Files
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c4/3a6c67505211d189550000e829fbbd/content.htm

Installation and Configuration of SAPOSCOL:
http://help.sap.com/saphelp_nw70ehp1/helpdata/de/c4/3a6bff505211d189550000e829fbbd/content.htm

Please have a look at in notes:

#19227- Open newest saposcol

#1627564 - SAPOSCOL: Clearing Shared Memory and Updating Saposcol

BR

Tamas

divyanshu_srivastava3
Active Contributor
0 Kudos

For all SAP kernel releases from 640 onwards, SAP recommends to use latest SAPOSCOL with Version 720.

You obtain this when you install the latest SAPHOSTAGENT package from SAP Service Marketplace as described in Note 1031096.

For more infomation in SAPOSCOL refer Note 1102124 - SAPOSCOL on Linux: Enhanced function

Divyanshu

former_member185239
Active Contributor
0 Kudos

Hi Gopal,

You need to install saphostagent on your server.

Changes which occured.

From 720 kernel , saposcol is coming with saphostagent and you don't find saposcol in /sapmnt/SID/exe directory.

To install saphostagent you need to have root user access.

1.Download the patch for saphostagent 720 patch 121from service market place.

2.extract the SAR file using SAPCAR command in /tmp folder.

SAPCAR -xvf < saphostagent sar file name>

3.Now run the command

./saphostexec -install to install the saphostagent. during this process sapadm is created.

It will then create hostctrl directory in /usr/sap/.

If you need some more info then let me know.

With Regrads

Ashutosh

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Please refer to this note.

Note 1031096 - Installing Package SAPHOSTAGENT

It has a PDF file attached which contains the installation procedure.

Good Luck

Cheers

RB

Former Member
0 Kudos

Hi,

May be environment problem.

You go to exe directoy and then execute ./sapsocol -k or ./saposcol -l  (saposcol directory)

former_member1334776
Participant
0 Kudos

Dear Srinivasan,

I checked in exe directoey saposcol file is not present......

What i want to next

Dear shahnas,

I completed installation just now and it came up with kernel 720...I updated the latest patch.. in old patch level also it is not displayed any values.

Which version of host agent i want to install for 720 kernel....

Pls suggest me....

Thanks,

Thamu.

Former Member
0 Kudos

Hi Thamu,

Please find saposcol on /usr - directory

Use below command to find saposcol:

find /usr -name saposcol

Former Member
0 Kudos

Hi Thamu,

Hostagent is not installed in your mahcine.

Please follow shahnas advice and install Hostagent

http://help.sap.com/saphelp_lvm10enterprise/helpdata/en/4e/56df6600c74dabe10000000a42189b/content.ht...

Former Member
0 Kudos

Download latest patch level for saphostagent (Version 720)

former_member1334776
Participant
0 Kudos

Dear srinivasn,

Pls find the o/p for your comman if i execute that it is showing

14:08:13 03.01.2013 LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp
14:08:13 03.01.2013 LOG: Effective User Id is root

ERROR: can not determine current Linux kernel version --> exiting

: Success

ERROR: can not determine current Linux kernel version --> exiting

: Success

File: pflinuxosdata.c, Line: 103

    Assertion `NULL != disk_name' failed!

OS: `Success'

--- abort ...

Aborted (core dumped)

Thanks,

Thamu.

former_member1334776
Participant
0 Kudos

Dear all,

from the link it clearly says that it default comes along installation...

http://help.sap.com/saphelp_lvm10enterprise/helpdata/en/4e/56df6600c74dabe10000000a42189b/content.ht...

When i executed

/usr/sap/hostctrl/exe # ./saphostexec .version

[WARNING] No profile found

saphostexec [-install | -uninstall | -stop | -status | -version | -patchinfo] [-nodaemon] [-test] pf=<ProfilePath>

It is mandatory to install host agent .... what are the changes that i ll found after installation....

Thnaks,

Thamu.

Former Member
0 Kudos