Windows Server

How to use Windows Task Scheduler with SAP instances?

In this blog, I want to describe how to start or stop an SAP instance via a scheduled Windows task. The Windows Task Scheduler is a mighty tool to trigger (start) a task based on a timestamp or a special event. Special events can be the point in time, when Windows starts up, when a certain user logs on or if Windows creates a specific event in Event Viewer. The following use case …

Read More »

New SAP cluster resource DLL is available!

In this blog I want to show you, why you should upgrade to the latest NTCLUST.SAR package from SAP which contains a brand, new cluster resource DLL called “saprc.dll”. The new saprc.dll is completely redesigned and doesn’t use any code from the old implementation. Please see SAP note 1596496 http://service.sap.com/sap/support/notes/1596496 for detailed information where to get the DLL and how to upgrade it? Features: insaprct.exe tool greatly enhanced, the tool can now be …

Read More »

SAP cross-cluster move with minimized downtime

Many customers are using SAP ABAP or Java application servers installed in a system architecture based on the Windows Server Failover cluster framework. This high availability architecture is well-known and has been proven to work for years. Unplanned hardware failures and maintenance activities can be covered with minimal impact for the system availability. But in some scenarios, it is necessary to transfer an SAP system from one Failover Cluster to …

Read More »

How to create a high available SAPMNT share?

In a distributed SAP landscape, there must be a central SAPMNT share. This SAPMNT share will be accessed using the parameter SAPGLOBALHOST. On a Windows Failover Cluster installation, SAPGLOBALHOST is identical to the virtual hostname used for the (A)SCS instance. But how should you make this very important sapmnt share “high available”? In a Failover Cluster installation, this is done by default because the share is configured on a shared …

Read More »

Conclusion : SAP – Antivirus File/Folder Exclusions Windows & SQL

Hello All,   As per SAP recommendation excluding the file shares SAPMNT and SAPLOC from the monitoring via the real-time scan engine of the virus scanner. The same applies for all directories of the database (data files, log files, archive logs, and so on).   *********************************************************   SAP ABAP and JAVA based Systems  : Reference SAP note: 106267 – Virus scanner software on Windows   Exclusions:   All SAPMNT and …

Read More »

How to change a cluster Generic service to SAP service?

This blog describes how to change the cluster Resource Type of a resource “SAP <SID> <NR> Service” from Generic Service to SAP Service on Windows Server 2008. The SAP Service resource is necessary for the RKS – The Rolling Kernel Switch functionality. As of Windows Server 2008 R2, Microsoft provides PowerShell cmdlets which allow to script this task. If you are running Windows Server 2008 R2 or higher, use the PowerShell script …

Read More »

What you can learn from systeminfo.exe?

The tool “systeminfo.exe” has been available since Windows 2003, but only a few Windows admins seem to know it. You can get so much valuable information from it, therefore I write this blog. You don’t need administrative rights to run it, it can be executed in a command-prompt or PowerShell or even from within the SAP system via transaction SE38 → RSBDCOS0 (the build-in “command-shell”). Let’s take a closer look: …

Read More »

How to repair Windows installer configuration?

Sometimes, you cannot install newer software on Windows, if an older version is already installed and the configuration is somehow damaged. SAP MMC, SAP GUI and other SAP applications install themselves using the MSI installer. You see them if you open Windows Control Panel → Programs → Programs and Features: In this blog, I want to show you how you can repair damaged configuration entries, if for example, a newer …

Read More »

C-runtimes needed to run SAP executables

On Microsoft Windows, you need so-called “c-runtime” packages to run applications, which were build using certain Visual Studio versions. For example, an application that has been compiled with Visual Studio 2013 will simply not run if the runtime package (vcredist package) is not installed. With this blog I want to help you: identify if you have a certain runtime installed find out which SAP kernel version needs which runtime The …

Read More »

Performance Tuning Guidelines for Windows Server 2016 & Hyper-V

I just was aware of a new version of the Performance Tuning Guidelines for Windows Server 2016 which has been published by Microsoft. It contains an amazing set of documentation that you can use to tune the server settings in Windows Server 2016, but also to configure and troubleshoot Hyper-V on Windows Server. Where to find the Guidelines Check the following entry point for an overview on hardware, Hyper-V and PowerShell tuning: https://docs.microsoft.com/en-us/windows-server/administration/performance-tuning/ Some …

Read More »