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
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
C:\>strings sapstartsrv.exe | findstr changelist
#[%]SAPProductVersion: 741, patch 201, changelist 1568441
> strings sapstartsrv | grep changelist
#[%]SAPProductVersion: 742, patch 101, changelist 1567027
Is the SAP integrated with High Availability solutions?
It is possible to integrate the sapstartsrv service with HA interfaces. All details and requisites are available in the following links:
SAP NetWeaver High Availability Cluster 740 Certification (NW-HA-CLU 740)
Important Resources about the HA-Interface Certification for Partners
SAP High Availability certification page
List of SAP certified vendor HA Solutions
SAP High Availability page
How to Connect SAPSTARSRV and Cluster Frameworks using the Components saphascriptco.so and SAP_Vendor_Cluster_Connector
1693245 - SAP HA Script Connector Library
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:
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
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
2010805 - SAP MMC common issues
2624443 - [WEBINAR] Understanding SAP Startup Framework