2014 SAP SE or an SAP affiliate company. All rights reserved.

How to get Host Metrics on

BI4.x with SAPOSCOL

Marlon Hernandez / BI Deployment

October / 2014

Public

Agenda

1.

Why to bother me with SAPOSCOL?

 Host Metrics and an easy way to get them.

2.

Yes, yes, but What SAPOSCOL is?

 Motivation, Definition, Features, Supported Operating Systems.

3.

Installing: when 1 + 1 = 3.

 Download, Installation, Verification.

4.

Easy CMC set up.

5.

Get Host Metrics!

6.

What to do if…?

 Known issues and Troubleshooting

7.

And the Future?

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 2

Why to bother me with SAPOSCOL

Host Metrics and an easy way to get them

Now you can see, use and enjoy Host Metrics on CMC!

There is information, but it only needs to be used.

You may use Host Metrics to built useful and powerful tools like: Watchlists, Probes, Alerts and Dashboards.

• We provide the basics to get Host Metrics, then you can shine suing it.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 4

Yes, yes, but What SAPOSCOL is?

Motivation, Introduction and details

About SAPOSCOL

Motivation:

 There is no unified and consolidated installation guide for installing SAPOSCOL or SAP Host Agent for BI4.x products. We need a place to collect and centralize the information in a easy way to use it.

 The customers and engineers have to search in multiple sources to get the information to complete the whole process.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 6

About SAPOSCOL

Definition:

The operating system collector SAPOSCOL is a stand-alone program that runs in the operating system background. It runs independently of SAP instances exactly once per monitored host. SAPOSCOL collects data about the operating system resources, including:

· Usage of virtual and physical memory.

· CPU utilization.

· Utilization of physical disks and file systems.

· Resource usage of running processes.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 7

About SAPOSCOL (2)

How does SAPOSCOL work?

 SAPOSCOL makes the data available using a segment of the shared memory for various applications and all SAP instances on a host.

 SAPOSCOL runs exactly once on each host.

 By default, SAPOSCOL collects the current data every ten seconds plus the hourly averages records for the last 24 hours.

Background to Origin

 When the development of SAP R/3 began, the hardware resources on UNIX servers were so scarce that it was necessary to customize the applications to these resources.

 In many areas, SAP R/3 is based on a logical, operating system-like level (such as memory management or managing the work processes). SAP R/3 could only manage these tasks if it had access to reliable performance values for the operating system, independent of the specific operating system. SAPOSCOL performs this task with a small usage of resources such as CPU or memory.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 8

About SAPOSCOL

Features:

The program SAPOSCOL is delivered with every SAP system, but is not restricted to SAP systems. The special features of the program are:

 You require a special authorization to use SAPOSCOL (see Installing SAPOSCOL on a Microsoft Windows Host or Installing SAPOSCOL on a UNIX Host).

 SAPOSCOL runs exactly once on each host.

 SAPOSCOL runs independently of the SAP system.

 By default, SAPOSCOL collects the current data every ten seconds plus the hourly averages records for the last 24 hours.

 The SAP_COLLECTOR_FOR_PERFORMANCE, a background job, takes performance data for the last 24 hours from the shared memory and writes it to the

MONI performance database. You can compare this data for one or more hosts.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 9

About SAPOSCOL (3)

Supported Operating Systems:

·

·

·

·

·

·

·

·

·

 SAPOSCOL is delivered for the following operating system platforms:

Microsoft Windows

AIX

SUN/SOLARIS

HP-UX

LINUX

OS/390

OS/400

SNI

ALPHAOSF

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 10

Installing: when 1 + 1 = 3

SAP HostAgent + SAPCAR = SAPOSCOL.

Installing: When 1 + 1 = 3.

1. SAP Host Agent

2. SAP SAPCAR

Download

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Extract

Install

3. SAPOSCOL

Verify

CMC Set up

DONE!

Public 12

Installing SAPOSCOL through SAP HostAgent

• Currently the way to get SAPOSCOL is through the SAP HostAgent

Link to download SAP HostAgent: http://help.sap.com/saphelp_nw74/helpdata/en/aa

/377b2a470b4f47a98e037b5a7cbe32/content.htm

Get the later SP for the OS.

Getting the latest available SP for Linux.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 13

SAPCAR is required to extract the SAP HostAgent.

• Download SAPCAR 7.20. SAP Note:212876.

Get the later SP for the OS.

Getting the latest available SP for Linux.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 14

Extracting the SAP HostAgent with SAPCAR

• SAP Note 1031096 Extracting on the Linux box.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 15

Running the SAP HostAgent Installation

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 16

Verifying SAPOSCOL…

• Verifying SAPOSCOL status:

• From http://help.sap.com/saphelp_nw74/helpdata/en/

8b/92b1cf6d5f4a7eac40700295ea687f/frameset.h

tm

Verifying SAPOSCOL status on the Linux box.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 17

Checking SAPOSCOL running as a service

• SAP KBA 1691937

• Verifying SAPOSCOL services on the Linux box.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 18

Easy CMC set up.

Configure Monitoring Services and just point to SAPOSCOL!

Configuring Monitoring Services

• Remove Monitoring Services from default

Adaptive Processing Server (APS).

• Add dedicated APS with Monitoring

Services.

• Monitoring service runs in active/passive mode. The passive monitoring services collect the SAPOSCOL data and forward to the active monitoring service.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 20

Setting up SAPOSCOL on CMC

• SAP KBA 1687623 Adding SAPOSCOL path and restart the related Monitoring APS.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 21

Get Host Metrics!

Viewing Host Metrics on CMC

SAP Host Metrics List

• Host Metrics List Getting Host Metrics Available

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 23

Viewing Host Metrics

• Free Memory Host Metrics CPU Utilization Host Metrics

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 24

What to do if…?

Known Issues, Troubleshooting and SAP KBAs

Extracting SAP HostAgent with SAPCAR

• Installation Issue:

What to do with SAPCAR command issues like this one:

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 26

SAPOSCOL known issues and SAP KBAs

• SAP KBA 1627564 Shared Memory

• SAP KBA 1962958 using on clustered landscape

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 27

SAPOSCOL known issues and SAP KBAs (2)

• SAP KBA 1607941 in Wily Introscopoe • SAP KBA 1891665 metrics not showing up

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 28

And the Future?

What is coming…?

What is next?

 SAPOSCOL, SAP HostAgent and Host Metrics are in process to be included in the BI Support Tool.

 Also the tools may be included in the default installation on future releases of the BI Platform.

© 2014 SAP SE or an SAP affiliate company. All rights reserved.

Public 30

Thank you

Contact information:

Marlon Hernandez

Engineer.

400 International Parkway, Lake Mary, USA.

+1 407-804-7203

© 2014 SAP SE or an SAP affiliate company. All rights reserved.