Skip to end of metadata
Go to start of metadata

How to check the sapstartsrv release and patch level?

There are 2 possible ways to get the kernel release and patch level of sapstartsrv:

sapcontrol web method "GetVersionInfo"

110> sapcontrol -nr <instance number> -function GetVersionInfo

06.08.2015 15:09:33
GetVersionInfo
OK
Filename, VersionInfo, Time
/usr/sap/<SID>/ASCS01/exe/sapstartsrv, 742, patch 101, changelist 1567027, RKS compatibility level 0, optU (Mar 24 2015, 16:19:18), linuxx86_64, 2015 03 24 16:01:42

Strings command

Windows

C:\>strings sapstartsrv.exe | findstr changelist

#[%]SAPProductVersion: 741, patch 201, changelist 1568441

UNIX

> strings sapstartsrv | grep changelist

#[%]SAPProductVersion: 742, patch 101, changelist 1567027

What it the goal of history.glf log file?

This file belongs to the sapstartsrv service. It is possible to find it over DIR_HOME folder. The goal of the file is to record the history events of some specific sapstartsrv methods.

The execution of following methods are currently rocorded into the history.glf file:

Start

Stop2

RestartInstance

RestartService

StopService

StartSystem

StopSystem

RestartSystem

UpdateSystem

UpdateSCSInstance

If the log file does not exist, the sapstartsrv create it during the startup. If the file exist, however header is corrupted or in a non-recognized way, the file is recreated by sapstartsrv. Otherwise the old file remains.

The content of the file is something similar to:

> cat history.glf

FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2

ENCODING:UTF8

RECORD_SEPARATOR:10

COLUMN_SEPARATOR:9

ESC_CHARACTER:0

COLUMNS:Severity|Time|Text

SEVERITY_MAP:Info|Information|Warning|Warning|Error|Error

HEADER_END

Info 2015 09 14 23:13:26 Logfile created

Info 2015 09 14 23:13:26 SAP-StartService started

Info 2015 09 14 23:16:27 Restart service by user "<user who trigger the method>" from "<IP> / <hostname>"

Info 2015 09 14 23:16:30 SAP-StartService started

How to add a new system on SAP MMC?

The SAP Snap-In for Microsoft Management Console (MMC) provides a graphical user interface to administer SAP systems from Windows PCs. It is installed with any SAP application server on Windows by default.
The default configuration allows you to administer any locally installed SAP application server. See fully details on this wiki page: SAP MMC Snap-In


In case you want to add a new system to monitor with SAP MMC, follow these steps:
- Open the SAPMMC window:

- Select ‘SAP System’, click on right button and Press ‘Properties’:

- Go to tab ‘Fixed’ and fill areas.
System: you should enter here SystemID (SID) from the system you want to add to SAPMMC
Instance: Enter here application server hostname (<hostname>) and instance number (<$$>) for that system.
Afterwards, press ‘>> Add >>’ and you should see that system under Fixed instance list white box.

Then, click OK.
- Finally, you should be able to see SAP system on SAPMMC window:


SAP MMC can be used to perform many different administration actions over SAP system, such as Start or Stop it (click on <SID> with right button > All Tasks).
You can also Create a Snapshot, this will collect system information and developer traces. Fully details on Note 1786182 - CreateSnapshot: Collecting developer traces using sapcontrol
See also:
2010805 - SAP MMC common issues
2624443 - [WEBINAR] Understanding SAP Startup Framework

  • No labels