Running SAP Applications on the Microsoft Platform articles https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/bg-p/SAPApplications Running SAP Applications on the Microsoft Platform articles Thu, 11 Aug 2022 04:53:28 GMT SAPApplications 2022-08-11T04:53:28Z Optimizing Network Throughput on Azure M-series VMs https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/optimizing-network-throughput-on-azure-m-series-vms/ba-p/3581129 <H2>1.&nbsp;&nbsp;&nbsp; HCMT, niping &amp; iperf3 Throughput Testing on Azure M-series VMs</H2> <P>The SAP HCMT Network Topology Test, niping and/or iperf3 results are below the expected values in a VM hosted on Azure M-series under some circumstances.&nbsp;</P> <P>The SAP HCMT output could show errors such as those in the screenshot below.</P> <P>The error below shows a 5-node scale-out SAP HANA landscape.&nbsp; The problem is most often seen on SAP HANA scale-out systems, but may occur on large Oracle or DB2 systems.</P> <P>The network optimization described in this blog may benefit Azure NetApp Files (ANF) scenarios as well, such as a large Oracle server running dNFS to ANF.&nbsp;</P> <P>&nbsp;</P> <P>It is recommended readers be fully familiar with the terminology such as NUMA Node, Processor, Core, Logical Processor and Hyperthreading before continuing to read this blog.&nbsp; These terms are explained <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/windows-2008-r2-groups-processors-sockets-cores-threads-numa/ba-p/367014" target="_blank" rel="noopener">here</A></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cameron_MSFT_SAP_PM_0-1658721475777.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390426i83D69BD053591BB5/image-size/large?v=v2&amp;px=999" role="button" title="Cameron_MSFT_SAP_PM_0-1658721475777.png" alt="Cameron_MSFT_SAP_PM_0-1658721475777.png" /></span></P> <P>&nbsp;</P> <H2>2.&nbsp;&nbsp;&nbsp; How to Analyze Network Performance</H2> <P>Network processing consumes a significant amount of CPU.&nbsp; Modern Network Cards and Network Drivers leverage technologies to distribute and balance CPU consumption across multiple CPU cores.</P> <P>Mellanox provides a set of tools that can “pin” network processing operations to a specific set of CPU cores or NUMA Nodes. The links at the end of this blog describe the process in more detail.</P> <P>Microsoft internal testing has shown that limiting network processing queues to 16 and pinning network processing to NUMA node 0 as seen from the Linux guest OS in the VM is a configuration that delivers stable high throughput.&nbsp;</P> <P>Excluding the first CPU core, core 0 (logical processor 0 and 1) is recommended as many other operations are affinitized to this core.&nbsp;</P> <P>&nbsp;</P> <P>The procedure detailed in this blog has been implemented many times successfully, but careful testing should be done prior to implementing (to establish a baseline) and after implementation.</P> <P>The procedure below should <STRONG><U>not</U></STRONG> be implemented on a production system without careful testing and validation in non-production systems.&nbsp; The procedure in this blog only applies to Azure M-series (M, Mv2 and similiar).</P> <P>Test scenarios have shown network throughput improvements of approximately 20%. &nbsp;</P> <P>&nbsp;</P> <P>Most Linux tools such as ‘vmstat’, show averages and are not useful for characterizing network interrupt utilization. It is recommended to install ‘nmon’ and sysstat(SAR).&nbsp;</P> <OL> <LI>Unfortunately NMON is not available via zypper, apt, yum and must be downloaded&nbsp;(&nbsp;<A href="#" target="_blank" rel="noopener">http://nmon.sourceforge.net/pmwiki.php</A><SPAN>)</SPAN></LI> <LI>sysstat or SAR may or may not be installed and activated by default.&nbsp; Typically, most SUSE gallery images have SAR running by default.&nbsp; Check the directory /var/log/sa.&nbsp; If the directory does not exist or does not contain recent sarXX files then follow the steps below</LI> <LI>KSAR is a graphical tool that presents system performance information in a simple and easy to interpret way.&nbsp; This tool requires a runtime JVM&nbsp;<A href="#" target="_blank" rel="noopener">https://github.com/vlsi/ksar</A>&nbsp;</LI> </OL> <P>If sysstat needs to be installed follow the steps below</P> <P># sudo yum install sysstat</P> <P># sudo service sysstat restart</P> <P>Redirecting to /bin/systemctl restart sysstat.service</P> <P>The /var/log/sa/sarXX files can be copied onto a Windows PC with sftp</P> <P>sftp -i &lt;keyfilename&gt;.pem&nbsp;<A href="https://gorovian.000webhostapp.com/?exam=mailto:azureuser@%3cxx.xx.xx.xx" target="_blank" rel="noopener">azureuser@&lt;xx.xx.xx.xx</A>&gt;</P> <P>get /var/log/sa/sar&lt;XX&gt;</P> <P>&nbsp;</P> <P>Run "<STRONG>Java -jar C:\sap_media\ksar.jar</STRONG>" and capture graphs showing overall CPU consumption, then consumption on the first NUMA node (node 0) and Kernel/System CPU consumption on each Logical Processor.</P> <P>&nbsp;</P> <P>An optimal pattern in KSAR will show approximately the same CPU consumption on all NUMA Nodes and Logical Processors.&nbsp; NUMA Node 0 and Logical Processors 0 and 1 may have slightly higher CPU time, especially System CPU time (kernel time).&nbsp;</P> <P>CPU consumption over 80% on some NUMA Nodes and/or Logical Processors and simultaneously near 0-10% consumption on other NUMA Nodes and/or Logical Processors indicates a problem.</P> <P>&nbsp;</P> <P>Nmon can be used to watch cpu consumption real-time and can help isolate high CPU processes.</P> <P>&nbsp;</P> <H2>3.&nbsp;&nbsp;&nbsp; How to Optimize Network Interrupts on Azure M-series VMs</H2> <P>Follow this procedure to resolve the problem.&nbsp; This procedure “pins” the interrupt processing onto the first NUMA Node (Node 0).&nbsp; The first cpu core (logical processors 0 and 1) are excluded as these logical processors may be heavily used by other Operating System components</P> <P class="lia-indent-padding-left-30px">1. Download Mellanox tools using WGET:<BR />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;wget <A href="#" target="_blank" rel="noopener">https://github.com/Mellanox/mlnx-tools/archive/refs/tags/v5.1.3.zip</A></P> <P class="lia-indent-padding-left-30px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unzip the file.&nbsp; The two scripts used in this blog are:<BR />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a. set_irq_affinity_cpulist.sh<BR />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b. show_irq_affinity.sh<BR /><BR />2. Turn off the irqbalance service :<BR />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<STRONG>&nbsp;&nbsp;&nbsp; systemctl stop irqbalance</STRONG><BR /><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; systemctl disable irqbalance</STRONG><BR /><BR />and then double-check that it’s really inactive :<BR />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<STRONG>&nbsp;&nbsp;&nbsp;systemctl status irqbalance</STRONG></P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cameron_MSFT_SAP_PM_1-1658721475780.jpeg" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390425i2CAB13B58AD3D914/image-size/large?v=v2&amp;px=999" role="button" title="Cameron_MSFT_SAP_PM_1-1658721475780.jpeg" alt="Cameron_MSFT_SAP_PM_1-1658721475780.jpeg" /></span></P> <P>&nbsp;</P> <OL start="3"> <LI> <P>Run the command “<STRONG>ip link ls</STRONG>” to figure out the interface names for <A href="#" target="_blank" rel="noopener">Accelerated Networking</A>. In this example there are three vNICs but Accelerated Networking is only turned on for two of them. Accelerated Networking interfaces are identified by the key word “SLAVE”.</P> Moving interrupts with the Mellanox tools is a concept that only applies to Accelerated Networking interfaces.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cameron_MSFT_SAP_PM_2-1658721475790.jpeg" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390427i19EC2D746F2C144D/image-size/large?v=v2&amp;px=999" role="button" title="Cameron_MSFT_SAP_PM_2-1658721475790.jpeg" alt="Cameron_MSFT_SAP_PM_2-1658721475790.jpeg" /></span> <P>&nbsp;</P> 4. Run the command “<STRONG>lscpu | grep NUMA</STRONG>” to find the range of vCPU numbers for virtual numa node 0. In this example it is from vCPU 0 to vCPU 51 (52 logical processors running on 26 cores with Hyperthreading enabled)</LI> </OL> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cameron_MSFT_SAP_PM_3-1658721475793.jpeg" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390428iF0A2B039C019CB68/image-size/large?v=v2&amp;px=999" role="button" title="Cameron_MSFT_SAP_PM_3-1658721475793.jpeg" alt="Cameron_MSFT_SAP_PM_3-1658721475793.jpeg" /></span></P> <P>&nbsp;</P> <OL start="5"> <LI>Run the Mellanox script and check on which vCPUs the interrupts of a specific Accelerated Networking interface are running :<BR />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <STRONG>./show_irq_affinity.sh <FONT color="#BF00BF">eth3</FONT> show_cpu_number</STRONG> (note: there are underscores in this command)<BR />In this example the interrupts start with interrupt #24 on vCPU 0. Interrupt #24 can in fact run on all vCPUs of virtual numa node 0 whereas the other interrupts are pinned accordingly on vCPU 0 to 30<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cameron_MSFT_SAP_PM_7-1658721981161.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390432i55581718246CB81C/image-size/large?v=v2&amp;px=999" role="button" title="Cameron_MSFT_SAP_PM_7-1658721981161.png" alt="Cameron_MSFT_SAP_PM_7-1658721981161.png" /></span><BR /><BR />6. The second Accelerated Networking interface interrupt number starts with #56 but they sit on the same vCPUs as the interrupts for the first Accelerated Networking interface.&nbsp; This is normal. &nbsp;&nbsp;&nbsp;&nbsp;<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cameron_MSFT_SAP_PM_5-1658721475858.jpeg" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390430i746EFA2570F68985/image-size/large?v=v2&amp;px=999" role="button" title="Cameron_MSFT_SAP_PM_5-1658721475858.jpeg" alt="Cameron_MSFT_SAP_PM_5-1658721475858.jpeg" /></span></LI> </OL> <P class="lia-indent-padding-left-90px">Note: depending on the workload reducing the number of queues via the command “ethtool” may improve performance. This command will reduce the number of queues for both interfaces to 16:</P> <P class="lia-indent-padding-left-90px">&nbsp;<BR />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<STRONG>&nbsp;&nbsp;./ethtool -L &lt;Accelerated Networking interface&gt; combined 16&nbsp;</STRONG> and then place the interrupts on separate vCPUs on virtual numa node 0<BR />The command above is <U>not permanent</U>.&nbsp; To make this setting permanent follow this procedure.&nbsp;</P> <P class="lia-indent-padding-left-90px">Prior to implementing this change display the current number of queues with the command <STRONG>ethtool -l <FONT color="#BF00BF">eth0</FONT></STRONG></P> <P class="lia-indent-padding-left-90px">&nbsp;</P> <P class="lia-indent-padding-left-90px"><STRONG>SUSE</STRONG></P> <P class="lia-indent-padding-left-90px">/etc/sysconfig/network/ifcfg-eth0</P> <P class="lia-indent-padding-left-90px">Add the line: <STRONG>ETHTOOL_OPTION=’-L <FONT color="#BF00BF">eth0</FONT> combined 16’</STRONG></P> <P class="lia-indent-padding-left-90px"><A href="#" target="_blank" rel="noopener">How to configure network parameters for AutoYaST network installation | Support | SUSE</A></P> <P class="lia-indent-padding-left-90px">&nbsp;</P> <P class="lia-indent-padding-left-90px"><STRONG>Red Hat</STRONG></P> <P class="lia-indent-padding-left-90px">/etc/sysconfig/network-scripts/ifcfg-eth0</P> <P class="lia-indent-padding-left-90px">On RedHat 8 or above the following procedure can be used to permanently reduce the queues to 16.&nbsp;&nbsp;</P> <P class="lia-indent-padding-left-90px">Step #1.&nbsp; Create a file in /etc/NetworkManager/dispatcher.d/set_combined_queues</P> <P class="lia-indent-padding-left-90px">Step #2.&nbsp; Enter a comment to document the script file (such as the link to this blog)</P> <P class="lia-indent-padding-left-90px">Step #3.&nbsp; Enter the lines:</P> <P class="lia-indent-padding-left-180px"><STRONG>#!/bin/sh</STRONG></P> <P class="lia-indent-padding-left-180px"><STRONG>/sbin/ethtool -L <FONT color="#BF00BF">eth0</FONT> combined 16</STRONG></P> <P class="lia-indent-padding-left-90px">Step #4.&nbsp; Save the file and exit&nbsp;</P> <P class="lia-indent-padding-left-90px">Step #5.&nbsp; Change the mods on the file to allow execution - suggested is <STRONG>chmod 751</STRONG></P> <P class="lia-indent-padding-left-90px">Step #6.&nbsp; Restart the Red Hat OS and run <STRONG>ethtool -l <FONT color="#BF00BF">eth0</FONT></STRONG> and confirm the queues are correctly configured&nbsp;</P> <P class="lia-indent-padding-left-90px">&nbsp;</P> <P class="lia-indent-padding-left-90px">Note: There are differences in syntax and quotes between SUSE and Red Hat. Substitute eth0 for the active Accelerated Networking interface.</P> <P>&nbsp;</P> <P class="lia-indent-padding-left-30px">7. Use the Mellanox script “set_irq_affinity_cpulist.sh” to modify the vCPUs on which the interrupts of a specific Accelerated Networking interface are running. This command can “pin” or move them all to virtual NUMA node 0. As the guest OS is usually using Logical Processor 0 and 1 for specific tasks it is recommended to let the interrupts start with&nbsp;Logical Processor 2 (this is the first logical processor on core 1, which is the second core on the processor). <BR />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<STRONG> ./set_irq_affinity_cpulist.sh 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33 <FONT color="#BF00BF">eth3</FONT></STRONG></P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cameron_MSFT_SAP_PM_6-1658721475867.jpeg" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390431iEB609BDE22BFD818/image-size/large?v=v2&amp;px=999" role="button" title="Cameron_MSFT_SAP_PM_6-1658721475867.jpeg" alt="Cameron_MSFT_SAP_PM_6-1658721475867.jpeg" /></span></P> <P>&nbsp;</P> <OL start="8"> <LI>Run the command below to validate that the IRQ (Interrupts) have moved to NUMA Node 0</LI> </OL> <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<STRONG>&nbsp; ./show_irq_affinity.sh <FONT color="#BF00BF">eth3</FONT> show_cpu_number</STRONG> (note: there are underscores in this command)<BR />&nbsp;</P> <H2>4.&nbsp;&nbsp;&nbsp; After Setting IRQ Validate Performance</H2> <P>Repeat SAP HCMT and/or niping or iperf3.&nbsp;</P> <P>In addition, it is recommended to repeat analysis with KSAR and Nmon.</P> <P>In most cases SAP HCMT and other tools will show approximately 20% improvement.&nbsp; If there are still performance concerns open a Microsoft Support case and quote this blog.</P> <P>Thanks to Hermann Daeubler for contributing to this blog.</P> <P>&nbsp;</P> <H2>Interesting SAP OSS Notes and Links</H2> <P><A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/windows-2008-r2-groups-processors-sockets-cores-threads-numa/ba-p/367014" target="_blank" rel="noopener">Windows 2008 R2 - Groups, Processors, Sockets, Cores Threads, NUMA nodes what is all this? - Microsoft Tech Community</A></P> <P><A href="#" target="_blank" rel="noopener">GitHub - Mellanox/mlnx-tools: Mellanox userland tools and scripts</A></P> <P><A href="#" target="_blank" rel="noopener">SAP HANA Hardware and Cloud Measurement Tools (HCMT) – Replacement of HWCCT Tool | SAP Blogs</A></P> <P><A href="#" target="_blank" rel="noopener">How to Use the SAP HANA Hardware and Cloud Measurement Tools</A></P> <P><A href="#" target="_blank" rel="noopener">2973899 - Running HCMT - HANA Hardware and Cloud Measurement Tools - SAP ONE Support Launchpad</A></P> <P><A href="#" target="_blank" rel="noopener">SAP HANA Hardware and Cloud Measurement Tools | SAP Help Portal</A></P> <P><A href="#" target="_blank" rel="noopener">SAP HANA Hardware and Cloud Measurement Analysis (ondemand.com)</A></P> <P><A href="#" target="_blank" rel="noopener">Queues, RSS, interrupts and cores (mellanox.com)</A></P> <P><A href="#" target="_blank" rel="noopener">Performance Configuration and Troubleshooting (mellanox.com)</A></P> <P><A href="#" target="_blank" rel="noopener">What is IRQ Affinity? (mellanox.com)</A></P> <P><A href="#" target="_blank" rel="noopener">500235 - Network Diagnosis with NIPING - SAP ONE Support Launchpad</A></P> <P><A href="#" target="_blank" rel="noopener">How to test network throughput using iperf3 tool - Tutorials and How To - CloudCone</A></P> <P>&nbsp;</P> <P>Short throughput/stability test&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P> <P>Commands &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P> <P>Server: niping -s -I 0 (the last character is zero, not the letter O)</P> <P>Client: niping -c -H &lt;nipingsvr&gt; -B 1000000 -L 100&nbsp;&nbsp;&nbsp;</P> <P>&nbsp;</P> <P>Measuring throughput&nbsp;</P> <P>Commands &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P> <P>Server: niping -s -I 0 (the last character is zero, not the letter O)</P> <P>Client: niping -c -H &lt;nipingsvr&gt; -B 100000</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>3rd party content in this blog is used under “fair use” copyright exception for the purpose of promoting scholarship, discussion, research, learning and education</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> Thu, 28 Jul 2022 03:06:36 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/optimizing-network-throughput-on-azure-m-series-vms/ba-p/3581129 Cameron_MSFT_SAP_PM 2022-07-28T03:06:36Z SAP ASCS/ERS HA Cluster with SBD device (using iSCSI target server) failover to DR region using ASR https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-ascs-ers-ha-cluster-with-sbd-device-using-iscsi-target/ba-p/3577235 <H2>Overview</H2> <P>&nbsp;</P> <P>On Azure, high availability of SAP workload running on Linux can be achieved by setting up a pacemaker cluster. In an active system, the cluster sometimes detects that one of the nodes is behaving strangely and wants to remove it. So, it will fence that node, which is commonly done with a STONITH resource. In Azure, you have two options for setting up STONITH in the pacemaker cluster. You can use an Azure fence agent based STONITH, which restarts a failed node via Azure APIs, or you can use a disk based STONITH (SBD) device. Depending on the type of Linux distro (SLES or RHEL), you may need to choose appropriate option for your STONITH on Azure. You can refer to <A href="#" target="_blank" rel="noopener">Setting up Pacemaker on RHEL in Azure</A> or <A href="#" target="_blank" rel="noopener">Setting up Pacemaker on SLES in Azure</A> guide for more details.</P> <P>&nbsp;</P> <P>Setting up high availability for SAP workload on Azure protect application from infrastructure maintenance or failure within region. But it doesn't provide protection from widespread regional disaster. For DR, protection of application running on Azure VMs can be enabled by replicating components using Azure site recovery (ASR) to another Azure region. In this article, we will talk about achieving high availability configuration on DR region using ASR, when your <STRONG>SAP ASCS/ERS pacemaker cluster with SBD device (using iSCSI target server)</STRONG> is configured in productive region.</P> <P>&nbsp;</P> <P><STRONG>IMPORTANT NOTE</STRONG></P> <P>&nbsp;</P> <UL> <LI>&nbsp;The example shown in this article is exercised on the below OS versions with "classic" file system structure.&nbsp; <UL> <LI>SAP ASCS/ERS OS version: SUSE Enterprise Linux Server 15 SP03 for SAP Application</LI> <LI>iSCSI target OS version: SUSE Enterprise Linux Server 15 SP02</LI> </UL> </LI> <LI>As Red Hat doesn’t support SBD on cloud platforms, the steps are applicable only for the application running on SLES.</LI> <LI>Depending on the type of shared storage used for SAP workload, you have to adopt an appropriate method to replicate the storage data to the DR site. In this example, NFS on Azure NetApp Files (ANF) is used and its DR setup can be achieved using cross-region replication.</LI> <LI>Failover of other dependent services like DNS or Active directory is not covered in this blog.</LI> <LI>To replicate VMs using ASR for DR setup, <A href="#" target="_blank" rel="noopener">review supported regions</A>.</LI> <LI>Azure NetApp Files is not available in all regions. Refer <A href="#" target="_blank" rel="noopener">Azure Products by Region</A> to see if ANF is available in your DR region. Also you need to make sure ANF volume replication is supported for your DR region. For cross-region replication of Azure NetApp Files, review <A href="#" target="_blank" rel="noopener">supported replication pairs</A>.</LI> <LI>ASR doesn't replicate Azure load balancer that is used as virtual IP for the SAP ASCS/ERS cluster configuration in source site. In the DR site, you need to create load balancer manually beforehand or at the time of the failover event.</LI> <LI>The procedure described here has not been coordinated with different OS releases and respective OS providers. So, it might not work in completeness with your specific implementations or with future OS releases. So, <STRONG>make sure you test and document the entire procedure thoroughly in your environment.</STRONG></LI> <LI>If you have configured <STRONG>SAP ASCS/ERS pacemaker cluster with Azure fence agent</STRONG> in your production region, and want to achieve highly available configuration on DR region using ASR, refer to the blog <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-ascs-ha-cluster-in-linux-os-failover-to-dr-region-using/ba-p/2120369" target="_blank" rel="noopener">SAP ASCS HA Cluster (in Linux OS) failover to DR region using Azure Site Recovery - Microsoft Tech Community</A></LI> </UL> <P>&nbsp;</P> <H2>SAP ASCS/ERS Disaster Recovery Architecture</H2> <P>&nbsp;</P> <P>In the figure below, the SAP ASCS/ERS high availability cluster is configured in the primary region. The cluster uses SBD devices for STONITH that are being discovered by HA cluster nodes from three different iSCSI target server. To establish DR for the setup, Azure site recovery (ASR) is used to replicate the SAP ASCS/ERS and all iSCSI target servers VMs across site. NFS on Azure NetApp Files (ANF) volume used by SAP ASCS/ERS is replicated to the DR site using <A href="#" target="_blank" rel="noopener">cross-region replication</A>.</P> <P>&nbsp;</P> <P>NOTE: You can also leverage NFS on Azure Files for SAP ASCS/ERS cluster. But in this blog, NFS on Azure files service is not covered.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="sap-ascs-dr-architecture-with-sbd.png" style="width: 637px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389451iFBF3E5828672E673/image-size/large?v=v2&amp;px=999" role="button" title="sap-ascs-dr-architecture-with-sbd.png" alt="sap-ascs-dr-architecture-with-sbd.png" /></span></P> <P>&nbsp;</P> <P>As described in the example, to achieve HA setup in the DR site for SAP ASCS/ERS we need to make sure that all components that are part of the solution are replicated.</P> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="50%">Components</TD> <TD width="50%">DR setup</TD> </TR> <TR> <TD width="50%">SAP ASCS/ERS VMs</TD> <TD width="50%">Replicate VMs using Azure site recovery</TD> </TR> <TR> <TD width="50%">iSCSI target server VMs</TD> <TD width="50%">Replicate VMs using Azure site recovery</TD> </TR> <TR> <TD>Azure NetApp Files (ANF)</TD> <TD>Cross region replication</TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <H2>Disaster Recovery (DR) site preparation</H2> <P class="FirstParagraph">&nbsp;</P> <P class="FirstParagraph">To achieve similar highly available setup of SAP ASCS/ERS on the DR site, you need to make sure that all the components are replicated.</P> <H3 class="FirstParagraph">&nbsp;</H3> <H3 class="FirstParagraph">Configure ASR using SAP ASCS/ERS and iSCSI target server</H3> <P>&nbsp;</P> <OL> <LI>Deploy Resource Group, Virtual Network, Subnet and Recovery Service Vault in secondary region. For more information on networking in Azure VM disaster recovery, refer to&nbsp;<A href="#" target="_blank" rel="noopener">prepare networking for Azure VM disaster recovery</A>. In this example, we are using Azure NetApp Files, you also need to create a separate subnet delegated to NetApp service.</LI> <LI>Follow the instructions in <A href="#" target="_blank" rel="noopener">Tutorial to set up disaster recovery for Azure VMs</A> document to configure ASR for SAP ASCS/ERS and all iSCSI target servers.</LI> <LI>On enabling Azure site recovery for VM to set up DR, the OS and local data disk that are attached to VMs gets replicated to DR site. During replication, the VM disk writes are sent to a cache storage account in the source region. Data is sent from there to the target region, and recovery points are generated from the data. When you fail over a VM during DR, a recovery point is used to restore the VM in the target region.</LI> <LI>After the VMs are replicated, the status will tun into “Protected” and the replication health will be “Healthy”.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Replicate volumes in DR site" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389452i7570008FAEAB2A9F/image-size/large?v=v2&amp;px=999" role="button" title="sap-ascs-dr-vault.png" alt="Replicate volumes in DR site" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Replicate volumes in DR site</span></span></LI> </OL> <H3>Configure cross region replication for Azure NetApp Files</H3> <P>&nbsp;</P> <OL> <LI>Before you configure cross region replication for ANF, refer to <A href="#" target="_blank" rel="noopener">Requirements and considerations for Azure NetApp Files cross-region replication</A>.</LI> <LI>Create a NetApp account, capacity pool and delegated subnet for ANF in DR region.<BR /><STRONG>NOTE:</STRONG> The destination account of ANF must be in a different region from the source volume region.</LI> <LI>Follow the steps as mentioned in <A href="#" target="_blank" rel="noopener">Create volume replication for Azure NetApp Files</A> document to create a replication peering between and source and destination ANF volume.</LI> <LI>Create a data replication volume in the DR site for each volume in the source ANF. After you authorize the replication from the source volume, you can see the Mirror state of the volume changing from “Uninitialized” to “Mirrored”. Refer to&nbsp;<A href="#" target="_blank" rel="noopener">Display health status of Azure NetApp Files replication relationship</A> to understand different health status.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ANF volume in DR site" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389586iBD88B192846C5A90/image-size/large?v=v2&amp;px=999" role="button" title="dr-anf-mounts.png" alt="ANF volume in DR site" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">ANF volume in DR site</span></span><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ANF volume health status" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389588i6E2AF17C6E027E62/image-size/large?v=v2&amp;px=999" role="button" title="dr-anf-health-status.png" alt="ANF volume health status" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">ANF volume health status</span></span></LI> <LI>Maintain NFS on ANF DR mount volume entries in the SAP system VMs running on primary region. The DR mount volume entries must be commented out.&nbsp;<BR /><LI-CODE lang="bash">app1531:~ # more /etc/fstab # Primary region NFS on ANF mounts 10.0.3.5:/app153-sapmntQAS /sapmnt/QAS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0 10.0.3.5:/app153-usrsapQASsys /usr/sap/QAS/SYS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0 # DR site NFS on ANF mounts (REMOVE HASH IN THE EVENT OF DR FAILOVER EVENT) # 10.29.1.4:/app153-sapmntqas /sapmnt/QAS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0 # 10.29.1.4:/app153-usrsapqassys /usr/sap/QAS/SYS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0​</LI-CODE> <P><STRONG>NOTE:</STRONG> /usr/sap/QAS/ASCS00 and /usr/sap/QAS/ERS01 file system is managed by pacemaker cluster. So, no need to maintain in /etc/fstab</P> </LI> </OL> <P>&nbsp;</P> <H3>Configure Standard Load Balancer for SAP ASCS/ERS in DR site</H3> <P>&nbsp;</P> <P>Deploy load balancer as described in this&nbsp;<A href="#" target="_blank" rel="noopener">article</A> on the DR site. If you are creating load balancer beforehand on the DR site, you won’t be able to assign VMs to the backend pool. You can create the backend pool as empty which allows you to define the load balancing rules, but you cannot assign the DR VMs to the backend pool. Also, keep following points in mind -</P> <P>&nbsp;</P> <UL> <LI>Keep the probe port in DR load balancer same as primary.</LI> <LI>When VMs without public IP addresses are placed in the backend pool of internal (no public IP address) Standard Azure load balancer, there will be no outbound internet connectivity, unless additional configuration is performed to allow routing to public end points. For details on how to achieve outbound connectivity see <A href="#" target="_blank" rel="noopener">public endpoint connectivity for Virtual Machines using Azure Standard Load Balancer in SAP high-availability scenarios</A>.</LI> </UL> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="50%" height="30px">Site</TD> <TD width="50%" height="30px">Frontend IP</TD> </TR> <TR> <TD rowspan="2" width="50%" height="60px">Primary region</TD> <TD width="50%" height="30px">ASCS:&nbsp;<SPAN>10.0.1.12</SPAN></TD> </TR> <TR> <TD width="50%" height="30px">ERS:&nbsp;<SPAN>10.0.1.13</SPAN></TD> </TR> <TR> <TD rowspan="2" width="50%" height="60px">DR region</TD> <TD width="50%" height="30px">ASCS: 10.29.0.10</TD> </TR> <TR> <TD height="30px">ERS: 10.29.0.11</TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <H2>Disaster Recovery (DR) failover</H2> <P>&nbsp;</P> <P>In case of a DR event, the following procedure needs to be followed for SAP ASCS/ERS. If you are using different Azure services with your SAP system, you may need to tweak your procedure accordingly.</P> <OL> <LI>Perform the failover of SAP ASCS/ERS cluster and iSCSI target VM using ASR to the DR region. For more details on how to failover, refer <A href="#" target="_blank" rel="noopener">Tutorial to fail over Azure VMs to a secondary region for disaster recovery with Azure Site Recovery</A> document.</LI> <LI>After the failover is completed, the status of the replicated items in the recovery service vault would be like below -<BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Failover status of VMs in Recovery Service Vault" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389590i067F309BA7FAA4E9/image-size/large?v=v2&amp;px=999" role="button" title="failover-status.png" alt="Failover status of VMs in Recovery Service Vault" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Failover status of VMs in Recovery Service Vault</span></span></LI> <LI>Update the IP addresses of all the VMs, in this example SAP ASCS/ERS and all iSCSI target servers in AD/DNS or in host files.</LI> <LI>Failover source ANF volume to destination volume. To activate the destination volume (example, when you want to failover to the destination region), you need to break replication peering and then mount the destination volume. Follow the instruction in <A href="#" target="_blank" rel="noopener">manage disaster recovery using cross-region replication</A> document for failover.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ANF volumes broken peering status" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389591i1417506D37ABEE2D/image-size/large?v=v2&amp;px=999" role="button" title="dr-anf-mounts-break-peering.png" alt="ANF volumes broken peering status" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">ANF volumes broken peering status</span></span></LI> <LI>As we have maintained the entry of the DR volume (/sapmnt/QAS and /usr/sap/QAS/SYS) in /etc/fstab on primary region. We need to remove the comment to mount the volume after failover. But you should ‘comment' the entry of former primary region file system.<BR /><LI-CODE lang="bash">app1531:~ # more /etc/fstab # Former primary site NFS on ANF mounts (REMOVE HASH IN THE EVENT OF FAILBACK) # 10.0.3.5:/app153-sapmntQAS /sapmnt/QAS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0 # 10.0.3.5:/app153-usrsapQASascs /usr/sap/QAS/ASCS00 nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0 # 10.0.3.5:/app153-usrsapQASsys /usr/sap/QAS/SYS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0 # DR site NFS on ANF mounts 10.29.1.4:/app153-sapmntqas /sapmnt/QAS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 10.29.1.4:/app153-usrsapqassys /usr/sap/QAS/SYS nfs rw,vers=4,minorversion=1,hard,timeo=600,rsize=262144,wsize=262144,intr,noatime,lock,_netdev,sec=sys 0 0 app1531:~ # mount -a app1531:~ # df -h | grep -i qas Filesystem Size Used Avail Use% Mounted on 10.29.1.4:/app153-sapmntqas 512G 6.8G 506G 2% /sapmnt/QAS 10.29.1.4:/app153-usrsapqassys 512G 1.5M 512G 1% /usr/sap/QAS/SYS ​</LI-CODE>NOTE: /usr/sap/QAS/ASCS00 and /usr/sap/QAS/ERS01 file system is managed by pacemaker cluster. So, no need to maintain in /etc/fstab</LI> <LI>Add SAP ASCS/ERS VMs in the backend pool of Standard Load Balancer.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Standard Load Balancer backend pool in DR site" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389592i15E73E5EC96549B3/image-size/large?v=v2&amp;px=999" role="button" title="dr-sap-ascs-slb.png" alt="Standard Load Balancer backend pool in DR site" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Standard Load Balancer backend pool in DR site</span></span><BR />NOTE: When VMs without public IP addresses are placed in the backend pool of internal (no public IP address) Standard Azure load balancer, there will be no outbound internet connectivity, unless additional configuration is performed to allow routing to public end points. For details on how to achieve outbound connectivity see <A href="#" target="_blank" rel="noopener">public endpoint connectivity for Virtual Machines using Azure Standard Load Balancer in SAP high-availability scenarios</A>.</LI> <LI>Update the VMs physical IP addresses in below section of /etc/corosync/corosync.conf<BR /><LI-CODE lang="bash">nodelist { node { ring0_addr: 10.29.0.4 nodeid: 1 } node { ring0_addr: 10.29.0.6 nodeid: 2 } }</LI-CODE></LI> <LI>After failover, iSCSI disks are not discovered automatically as IP address of the iSCSI target server is changed. So you need connect to iSCSI devices using <SPAN>iscsiadm</SPAN>&nbsp;command<BR /><LI-CODE lang="bash">app1531:~ # lsscsi [0:0:0:0] disk Msft Virtual Disk 1.0 /dev/sda [3:0:1:0] disk Msft Virtual Disk 1.0 /dev/sdb # Excute below command with root, by chaning the IP address of your iSCSI devices. Also make sure you use correct IQN name to discover iSCSI devices sudo iscsiadm -m discovery --type=st --portal=10.29.0.7:3260 sudo iscsiadm -m node -T iqn.2006-04.ascsnw1.local:ascsnw1 --login --portal=10.29.0.7:3260 sudo iscsiadm -m node -p 10.29.0.7:3260 -T iqn.2006-04.ascsnw1.local:ascsnw1 --op=update --name=node.startup --value=automatic sudo iscsiadm -m discovery --type=st --portal=10.29.0.8:3260 sudo iscsiadm -m node -T iqn.2006-04.ascsnw1.local:ascsnw1 --login --portal=10.29.0.8:3260 sudo iscsiadm -m node -p 10.29.0.8:3260 -T iqn.2006-04.ascsnw1.local:ascsnw1 --op=update --name=node.startup --value=automatic sudo iscsiadm -m discovery --type=st --portal=10.29.0.9:3260 sudo iscsiadm -m node -T iqn.2006-04.ascsnw1.local:ascsnw1 --login --portal=10.29.0.9:3260 sudo iscsiadm -m node -p 10.29.0.9:3260 -T iqn.2006-04.ascsnw1.local:ascsnw1 --op=update --name=node.startup --value=automatic app1531:~ # lsscsi [0:0:0:0] disk Msft Virtual Disk 1.0 /dev/sda [1:0:1:0] disk Msft Virtual Disk 1.0 /dev/sdb [6:0:0:0] disk LIO-ORG sbdascsnw1 4.0 /dev/sdc [7:0:0:0] disk LIO-ORG sbdascsnw1 4.0 /dev/sdd [8:0:0:0] disk LIO-ORG sbdascsnw1 4.0 /dev/sde app1531:~ # ls -l /dev/disk/by-id/scsi-* | grep sdc lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-1LIO-ORG_sbdascsnw1:d778427c-479f-4264-a510-4fecedfd044e -&gt; ../../sdc lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-36001405d778427c479f4264a5104fece -&gt; ../../sdc lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-SLIO-ORG_sbdascsnw1_d778427c-479f-4264-a510-4fecedfd044e -&gt; ../../sdc app1531:~ # ls -l /dev/disk/by-id/scsi-* | grep sdd lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-1LIO-ORG_sbdascsnw1:a15a2398-9090-4610-b3b1-185ae2385d3b -&gt; ../../sdd lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-36001405a15a239890904610b3b1185ae -&gt; ../../sdd lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-SLIO-ORG_sbdascsnw1_a15a2398-9090-4610-b3b1-185ae2385d3b -&gt; ../../sdd app1531:~ # ls -l /dev/disk/by-id/scsi-* | grep sde lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-1LIO-ORG_sbdascsnw1:4287e788-620c-4e0c-93f4-293c8169c86d -&gt; ../../sde lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-360014054287e788620c4e0c93f4293c8 -&gt; ../../sde lrwxrwxrwx 1 root root 9 Jul 19 22:47 /dev/disk/by-id/scsi-SLIO-ORG_sbdascsnw1_4287e788-620c-4e0c-93f4-293c8169c86d -&gt; ../../sde </LI-CODE>The SBD device ID remains same after ASR failover, and you do not have to make changes in /etc/sysconfig/sbd file. <BR /><LI-CODE lang="bash">app1531:~ # more /etc/sysconfig/sbd | grep -i SBD_DEVICE # SBD_DEVICE specifies the devices to use for exchanging sbd messages SBD_DEVICE="/dev/disk/by-id/scsi-36001405d778427c479f4264a5104fece;/dev/disk/by-id/scsi-36001405a15a239890904610b3b1185ae;/dev/disk/by-id/scsi-360014054287e788620c4e0c93f4293c8"​</LI-CODE></LI> <LI>Start pacemaker cluster on SAP ASCS and SAP ERS (both) nodes and place it in maintenance mode<BR /><LI-CODE lang="applescript"># Excecute below command on both nodes to start cluster services sudo crm cluster start # Place the cluster in maintenace node. Execute from any one of the node crm configure property maintenance-mode=true</LI-CODE></LI> <LI>Update configuration for filesystem resource (fs_QAS_*), virtual IP resource (vip_QAS_*) in pacemaker cluster and save the changes.<BR /><LI-CODE lang="bash"># On executing below command, the resource configuration will open in vi editor. Make changes and save. sudo crm configure edit fs_QAS_ASCS # Change the device to DR volume primitive fs_QAS_ASCS Filesystem \ params device="10.29.1.4:/app153-usrsapqasascs" directory="/usr/sap/QAS/ASCS00" fstype=nfs options="sec=sys,vers=4.1" \ op start timeout=60s interval=0 \ op stop timeout=60s interval=0 \ op monitor interval=20s timeout=40s sudo crm configure edit fs_QAS_ERS # Change virtual IP address to the frontend IP address of load balancer in DR region primitive vip_QAS_ASCS IPaddr2 \ params ip=10.29.0.10 cidr_netmask=24 \ op monitor interval=10 timeout=20 sudo crm configure edit vip_QAS_ASCS # Change the device to DR volume primitive fs_QAS_ERS Filesystem \ params device="10.29.1.4:/app153-usrsapqasers" directory="/usr/sap/QAS/ERS01" fstype=nfs options="sec=sys,vers=4.1" \ op start timeout=60s interval=0 \ op stop timeout=60s interval=0 \ op monitor interval=20s timeout=40s sudo crm configure edit vip_QAS_ERS # Change virtual IP address to the frontend IP address of load balancer in DR region primitive vip_QAS_ERS IPaddr2 \ params ip=10.29.0.11 cidr_netmask=24 \ op monitor interval=10 timeout=20​</LI-CODE>NOTE: If you have changed the probe port to something different from primary site, then you need to edit <STRONG>nc_QAS_ASCS</STRONG> and <STRONG>nc_QAS_ERS</STRONG> resource as well with new port.</LI> <LI>After editing the resources, you have to clear any existing error message in the cluster and take the cluster out of maintenance mode<BR /><LI-CODE lang="bash">sudo crm resource cleanup sudo crm configure property maintenance-mode=false sudo crm status #Full List of Resources: # * stonith-sbd (stonith:external/sbd): Started app1531 # * Clone Set: cln_azure-events [rsc_azure-events]: # * Started: [ app1531 app1532 ] # * Resource Group: g-QAS_ASCS: # * fs_QAS_ASCS (ocf::heartbeat:Filesystem): Started app1532 # * nc_QAS_ASCS (ocf::heartbeat:azure-lb): Started app1532 # * vip_QAS_ASCS (ocf::heartbeat:IPaddr2): Started app1532 # * rsc_sap_QAS_ASCS00 (ocf::heartbeat:SAPInstance): Started app1532 # * Resource Group: g-QAS_ERS: # * fs_QAS_ERS (ocf::heartbeat:Filesystem): Started app1531 # * nc_QAS_ERS (ocf::heartbeat:azure-lb): Started app1531 # * vip_QAS_ERS (ocf::heartbeat:IPaddr2): Started app1531 # * rsc_sap_QAS_ERS01 (ocf::heartbeat:SAPInstance): Started app1531​</LI-CODE></LI> <LI>Perform validation and cluster testing in DR environment.</LI> </OL> Tue, 26 Jul 2022 14:00:00 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-ascs-ers-ha-cluster-with-sbd-device-using-iscsi-target/ba-p/3577235 dennispadia 2022-07-26T14:00:00Z IBM Db2 monitoring in Azure Monitoring for SAP Solutions https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/ibm-db2-monitoring-in-azure-monitoring-for-sap-solutions/ba-p/3575871 <H2>AZURE MONITOR FOR SAP SOLUTIONS</H2> <P>&nbsp;</P> <P>Microsoft recently &nbsp;<A href="#" target="_blank" rel="noopener">announced</A>&nbsp;the launch of “<EM>Azure Monitor for SAP solutions</EM>” (AMS) version 2, in Public Preview. AMS is Azure native monitoring solution for customers who run SAP workloads on Azure. With AMS, customers can collect and view technical monitoring telemetry of their SAP landscapes within the Azure Portal and efficiently correlate telemetry between various layers of SAP like SAP NetWeaver, different Databases such as SAP HANA, Microsoft SQL server and IBM Db2 and the underlying Infrastructure including High-availability Pacemaker clusters for SUSE &amp; RHEL.<BR />AMS is available through Azure Portal in the following geographies: US, Europe, Australia and Asia.</P> <P>AMS does&nbsp;<EM>not&nbsp;</EM>have a license fee. &nbsp;</P> <P>&nbsp;</P> <H3>IBM DB2 Monitoring</H3> <P>&nbsp;</P> <P>When customers run complex, mission critical SAP workloads, issues are bound to happen from time to time. To keep the impact of issues as small as possible, AMS can identify these issues and alert based on threshold breaches automatically. This early detection of failures can prevent system degradation and reliability decreases for the SAP systems, especially during critical periods like Finance period closes and others. &nbsp;</P> <P>SAP Systems and their underlying databases are very important for many customers. Latest release of AMS comes with a brand-new feature – Customers can now monitor their IBM Db2 databases.</P> <P>With Azure Monitor for SAP Solutions (AMS), customers can add a new provider type “IBM Db2”, this provider type enables “SAP on Azure” customers to monitor their IBM Db2 SAP system database. The solution also allows for easy creation of custom visualizations&nbsp;and custom alerting, this new provider type ships with default visualizations that can either be used out of the box or extended to meet your requirements.&nbsp;&nbsp;</P> <P>&nbsp;</P> <H3>Pre-Requisite steps to onboard to AMS IBM Db2 Provider</H3> <P>IBM Db2 telemetry data is collected by configuring an IBM Db2 <A href="#" target="_blank" rel="noopener">provider</A>&nbsp;within AMS. As part of configuring the provider, customers need to provide the following information:</P> <UL> <LI>The IP address or hostname of the IBM Db2 database host</LI> <LI>The Windows port number of the IBM Db2 database system (default 5912)</LI> <LI>The IBM Db2 username (default DB2&lt;SID&gt;, e.g. DB2PRD) and password</LI> <LI>The SAP System ID (e.g. PRD)&nbsp;&nbsp;</LI> </UL> <H3><STRONG><BR /></STRONG>How IBM Db2 Telemetry data is captured&nbsp;&nbsp;</H3> <P>The provider collects data from every 60 seconds up to every hour from the Db2 database system. Therefor the AMS Azure functions connect to the IBM Db2 system using a Db2 ODBC driver to read the telemetry data directly from the Db2 system tables.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Db2BlogPic1.png" style="width: 807px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388981iFA63B986F1EF3438/image-size/large?v=v2&amp;px=999" role="button" title="Db2BlogPic1.png" alt="Db2BlogPic1.png" /></span></P> <P>&nbsp;</P> <P>In public preview, you can expect to see the following data with IBM Db2 provider:<BR /><BR /></P> <UL> <LI>Bufferpool Usage</LI> <LI>Top 20 expensive requests</LI> <LI>Backup Information</LI> <LI>Table and Table Spaces Maintenance Information</LI> <LI>Stale Connections and Rollbacks</LI> <LI>Overall System and Resource Usage</LI> <LI>IBM Db2 Instance and System Info</LI> <LI>and many more ..</LI> </UL> <P>&nbsp;</P> <P>Further, you can expect following alert templates with this release:</P> <P>&nbsp;</P> <UL> <LI>Outstanding logs: Fired when outstanding logs were identified.</LI> <LI>Rollbacks: Fired when Rollbacks occur that need more than 10MB of log to rollback.</LI> <LI>Uncompressed tables: Fired when uncompressed tables were identified.</LI> <LI>Tablespaces autoresize: Fired when a table space without the option AutoResize was identified.</LI> <LI>Log usage: Fired when a transaction usage to much of transaction log space.</LI> <LI>CPU usage: Fired when CPU usage exceed the threshold.</LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Db2BlogPic2.png" style="width: 912px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388982iE1A1E3AEB2837F99/image-size/large?v=v2&amp;px=999" role="button" title="Db2BlogPic2.png" alt="Db2BlogPic2.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Db2BlogPic3.png" style="width: 941px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388984i3BFEDE70C4F67BF2/image-size/large?v=v2&amp;px=999" role="button" title="Db2BlogPic3.png" alt="Db2BlogPic3.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Db2BlogPic4.png" style="width: 940px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388983i9D5C47C998362D77/image-size/large?v=v2&amp;px=999" role="button" title="Db2BlogPic4.png" alt="Db2BlogPic4.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Db2BlogPic5.png" style="width: 941px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388985i01068C0A40EBB951/image-size/large?v=v2&amp;px=999" role="button" title="Db2BlogPic5.png" alt="Db2BlogPic5.png" /></span></P> <P>&nbsp;</P> <P>Asks &amp; Feedback:</P> <P><A href="#" target="_blank" rel="noopener">AMS asks &amp; feedback form</A></P> <P>&nbsp;</P> <P>AMS links:</P> <UL> <LI><A href="#" target="_blank" rel="noopener">AMS announcement</A></LI> <LI><A href="#" target="_blank" rel="noopener">Official documentation</A></LI> <LI><A href="#" target="_blank" rel="noopener">Overview video of AMS</A></LI> </UL> <P>&nbsp;</P> Tue, 19 Jul 2022 16:01:00 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/ibm-db2-monitoring-in-azure-monitoring-for-sap-solutions/ba-p/3575871 msclash 2022-07-19T16:01:00Z Microsoft SQL Server monitoring in Azure Monitoring for SAP Solutions https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/microsoft-sql-server-monitoring-in-azure-monitoring-for-sap/ba-p/3575863 <H2>AZURE MONITOR FOR SAP SOLUTIONS</H2> <P>Microsoft recently &nbsp;&nbsp;the launch of “<EM>Azure Monitor for SAP solutions</EM>” (AMS) version 2, in Public Preview. AMS is Azure native monitoring solution for customers who run SAP workloads on Azure. With AMS, customers can collect and view technical monitoring telemetry of their SAP landscapes within the Azure Portal and efficiently correlate telemetry between various layers of SAP like SAP NetWeaver, different Databases such as SAP HANA, Microsoft SQL server and IBM Db2 and the underlying Infrastructure including High-availability Pacemaker clusters for SUSE &amp; RHEL.<BR />AMS is available through Azure Portal in the following geographies: US, Europe, Australia and Asia.</P> <P>AMS does&nbsp;<EM>not&nbsp;</EM>have a license fee. &nbsp;</P> <H3>Microsoft SQL Server Monitoring</H3> <P>When customers run complex, mission critical SAP workloads, issues are bound to happen from time to time. To keep the impact of issues as small as possible, AMS can identify these issues and alert based on threshold breaches automatically. This early detection of failures can prevent system degradation and reliability decreases for the SAP systems, especially during critical periods like Finance period closes and others. &nbsp;</P> <P>SAP Systems and their underlying databases are very important for many customers. Latest release of AMS comes with a feature that Customers can monitor their Microsoft SQL Server databases.</P> <P>With Azure Monitor for SAP Solutions (AMS), customers can add a provider type “Microsoft SQL Server”, this provider type enables “SAP on Azure” customers to monitor their Microsoft SQL Server SAP system database. The solution also allows for easy creation of custom visualizations&nbsp;and custom alerting, this new provider type ships with default visualizations that can either be used out of the box or extended to meet your requirements.&nbsp;&nbsp;</P> <H3>Pre-Requisite steps to onboard to AMS Microsoft SQL Server Provider</H3> <H4>Port</H4> <P>The Windows port the SQL Server is using for connections (default is 1433) should be opened in the local firewall of the SQL Server machine and the Azure network security group (NSG) for the Azure network the SQL Server and the "Azure Monitor for SAP Solutions" are placed in.</P> <H4>SQL Server</H4> <P>The SQL Server must be configured with mixed authentication mode, means it must accept the login from Windows Logins as well as SQL Server logins. You can find this option in the SQL Server Management Studio -&gt; Server Properties -&gt; Security -&gt; Authentication -&gt; SQL Server and Windows authentication mode. A SQL Server restart is required after changing this option.</P> <H4>SQL Server Login and User</H4> <P>A SQL Server Login and User should be created, using the following script. Please ensure to replace &lt;Database to monitor&gt; with your SAP database name (e.g. PRD) and &lt;password&gt; with the real password of the login. The example login and user AMS can be used or replaced with any other SQL login and username of your choice:</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="sql">USE [&lt;Database to monitor&gt;] DROP USER [AMS] GO USE [master] DROP USER [AMS] DROP LOGIN [AMS] GO CREATE LOGIN [AMS] WITH PASSWORD=N'&lt;password&gt;', DEFAULT_DATABASE=[&lt;Database to monitor&gt;], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF CREATE USER AMS FOR LOGIN AMS ALTER ROLE [db_datareader] ADD MEMBER [AMS] ALTER ROLE [db_denydatawriter] ADD MEMBER [AMS] GRANT CONNECT TO AMS GRANT VIEW SERVER STATE TO AMS GRANT VIEW ANY DEFINITION TO AMS GRANT EXEC ON xp_readerrorlog TO AMS GO USE [&lt;Database to monitor&gt;] CREATE USER [AMS] FOR LOGIN [AMS] ALTER ROLE [db_datareader] ADD MEMBER [AMS] ALTER ROLE [db_denydatawriter] ADD MEMBER [AMS] GO</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>Microsoft SQL Server telemetry data is collected by configuring a Microsoft SQL Server <A href="#" target="_blank" rel="noopener">provider</A>&nbsp;within AMS. As part of configuring the provider, customers need to provide the following information:</P> <UL> <LI>The IP address or hostname of the Microsoft SQL Server database host</LI> <LI>The Windows port number of the Microsoft SQL Server database system (default 1433)</LI> <LI>The Microsoft SQL Server username and password</LI> <LI>The SAP System ID (e.g. PRD)</LI> </UL> <H3><STRONG>How Microsoft SQL Server Telemetry data is captured&nbsp;</STRONG>&nbsp;</H3> <P>The provider collects data from every 60 seconds up to every hour from the SQL Server database system. Therefor the AMS Azure functions connect to the Microsoft SQL Server system using a Microsoft ODBC driver to read the telemetry data directly from the SQL Server system tables and Management Views.</P> <DIV id="tinyMceEditormsclash_0" class="mceNonEditable lia-copypaste-placeholder">&nbsp;</DIV> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SQLBlogPic1.png" style="width: 652px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388974i865C59F8A61D1CE5/image-size/large?v=v2&amp;px=999" role="button" title="SQLBlogPic1.png" alt="SQLBlogPic1.png" /></span></P> <P>&nbsp;</P> <P>In public preview, you can expect to see the following data with Microsoft SQL Server provider:</P> <UL> <LI>Overall System and Resource Usage</LI> <LI>Buffer pool Usage</LI> <LI>Top 20 expensive requests</LI> <LI>Backup Information</LI> <LI>Error Conditions</LI> <LI>SQL Server AlwaysOn Monitoring information</LI> <LI>and many more ..</LI> </UL> <P>Further, you can expect following alert templates with this release:<BR /><BR /></P> <UL> <LI>High blocking time - Fired when a blocking situation last longer than the defined threshold.</LI> <LI>High CPU usage percent - Fired when a MS SQL Server instance CPU utilization percentage exceeds the specified threshold.</LI> <LI>High IO read time - Fired when the IO read time for a MS SQL Server instance reaches the defined threshold.</LI> <LI>High IO write time - Fired when the IO write time for a MS SQL Server instance reaches the defined threshold.</LI> <LI>Low page life expectancy - Fired when the page life expectancy for a MS SQL Server instance drops below the threshold.</LI> </UL> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SQLBlogPic2.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388979i36A2595F58D6C772/image-size/large?v=v2&amp;px=999" role="button" title="SQLBlogPic2.png" alt="SQLBlogPic2.png" /></span></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SQLBlogPic3.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388978i3D27D5998C244CAC/image-size/large?v=v2&amp;px=999" role="button" title="SQLBlogPic3.png" alt="SQLBlogPic3.png" /></span></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SQLBlogPic4.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388980i892B34A2D1FD151A/image-size/large?v=v2&amp;px=999" role="button" title="SQLBlogPic4.png" alt="SQLBlogPic4.png" /></span></P> <DIV id="tinyMceEditormsclash_1" class="mceNonEditable lia-copypaste-placeholder">&nbsp;</DIV> <P>Asks &amp; Feedback:</P> <P><A href="#" target="_blank" rel="noopener">AMS asks &amp; feedback form</A></P> <P>&nbsp;</P> <P>AMS links:</P> <UL> <LI><A href="#" target="_blank" rel="noopener">AMS announcement</A></LI> <LI><A href="#" target="_blank" rel="noopener">Official documentation</A></LI> <LI><A style="font-family: inherit; background-color: #ffffff;" href="#" target="_blank" rel="noopener">Overview video of AMS</A></LI> </UL> <P>&nbsp;</P> Tue, 19 Jul 2022 15:51:52 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/microsoft-sql-server-monitoring-in-azure-monitoring-for-sap/ba-p/3575863 msclash 2022-07-19T15:51:52Z Visualizing SAP NetWeaver Metric Data in AMS through Azure Workbook https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/visualizing-sap-netweaver-metric-data-in-ams-through-azure/ba-p/3575776 <H3 class="lia-align-justify"><STRONG>Introduction:</STRONG></H3> <P class="lia-align-justify">In the previous blog series&nbsp;Part 1 -&nbsp;<A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-netweaver-soap-and-rfc-deep-dive-in-azure-monitor-for-sap/ba-p/3569039" target="_self">SAP NetWeaver SOAP &amp; RFC deep dive in Azure Monitor for SAP solutions</A> and Part 2 - <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/configuring-netweaver-provider-in-ams-version-2/ba-p/3575790" target="_self">Configuring NetWeaver Provider</A>, we have understood the architecture and configured successfully NetWeaver provider as part of AMS. The data collected and stored in Log Analytics is visualized in AMS through Azure workbooks. In this blog post we'll explore how the data is visualized and how customers can extend standard delivered visualizations.</P> <P class="lia-align-justify">&nbsp;</P> <H3 class="lia-align-justify"><STRONG>Metrics in NetWeaver Workbooks:&nbsp;</STRONG></H3> <P><SPAN data-contrast="auto">There are many metrics that are collected using the AMS NetWeaver provider, below are some of the metrics which help in predicting the system out and help reduce unplanned downtimes.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <UL> <LI><SPAN data-contrast="auto"><STRONG>Performance metrics</STRONG> – This tab covers “CPU and Memory” utilization per application server.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:360,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> </UL> <P><SPAN data-contrast="auto">Each metric has filters on Time Range, SID, and corresponding Application server.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:360,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">Customers can also set alerts based on CPU and memory usage and take corrective actions.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:360,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_25-1657328543282.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386919i1FD6E033EC107ACF/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_25-1657328543282.png" alt="harshasri_25-1657328543282.png" /></span></P> <UL class="lia-align-justify"> <LI><SPAN data-contrast="auto"><STRONG>Process Utilization:</STRONG> This section has metrics about active work process types such as </SPAN><SPAN data-contrast="none">dialog, background, update and enqueue. This metric is useful in reducing the SAP Basis support efforts up to 30% and helps customers to fine tune and right size of the SAP system based on insights and data.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:360,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> </UL> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_26-1657328543284.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386920i58C0AB8056D1ADB8/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_26-1657328543284.png" alt="harshasri_26-1657328543284.png" /></span></P> <UL class="lia-align-justify"> <LI><STRONG>&nbsp;Application Performance:&nbsp;&nbsp;</STRONG></LI> </UL> <P class="lia-align-justify"><SPAN data-contrast="auto"><STRONG>System Logs</STRONG> - This metric can be used to </SPAN><SPAN data-contrast="auto">predict imminent system outages by looking into certain transactions such as SM21. Based on the severity type toggled whether it is Error/Warning the total number of messages captured are displayed, it also surfaces any security issue which might be there in the system.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_27-1657328543285.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386921i65A551DEE997BF92/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_27-1657328543285.png" alt="harshasri_27-1657328543285.png" /></span></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify"><SPAN data-contrast="auto"><STRONG>Short Dumps</STRONG> - The short dumps inform you if any programs have failed to execute due to a bug. You can figure out which bug is the most prevalent cause of program termination, or which bug got caused by a recent transport change, resulting in a lock entry in the system.</SPAN></P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_28-1657328543287.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386922i3650CA4D1961F881/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_28-1657328543287.png" alt="harshasri_28-1657328543287.png" /></span></P> <H4 aria-level="2">&nbsp;</H4> <H4 aria-level="2"><SPAN class="TextRun SCXW53887725 BCX8" data-contrast="none"><SPAN class="NormalTextRun SCXW53887725 BCX8" data-ccp-parastyle="heading 2">NetWeaver</SPAN> <SPAN class="NormalTextRun SCXW53887725 BCX8" data-ccp-parastyle="heading 2">Alerts:</SPAN></SPAN><SPAN class="EOP SCXW53887725 BCX8" data-ccp-props="{&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></H4> <P>&nbsp;</P> <P><SPAN data-contrast="auto">NetWeaver provides 18 standard sets of “Alerts” which can be configured by clicking the “Alerts” button on the top of the workbook. </SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_2-1658183997894.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389032i051C4F1E7ECD31E6/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_2-1658183997894.png" alt="harshasri_2-1658183997894.png" /></span></P> <P><STRONG>Steps to create Alert rules: &nbsp;</STRONG></P> <P>&nbsp;</P> <OL> <LI data-leveltext="%1." data-font="Calibri" data-listid="22" data-list-defn-props="{&quot;335551671&quot;:1,&quot;335552541&quot;:0,&quot;335559683&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0,46],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Click on the “Create rule” button. </SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_1-1658183874726.png" style="width: 0px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389030i3A99F691CC97AEAE/image-size/large?v=v2&amp;px=999" width="0" height="0" role="button" title="harshasri_1-1658183874726.png" alt="harshasri_1-1658183874726.png" /></span></SPAN></LI> <LI data-leveltext="%1." data-font="Calibri" data-listid="22" data-list-defn-props="{&quot;335551671&quot;:1,&quot;335552541&quot;:0,&quot;335559683&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0,46],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Fill in the details as mentioned in the template and hit “Enable alert rule”.</SPAN></LI> </OL> <P class="lia-indent-padding-left-30px"><SPAN data-contrast="auto"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_3-1658184066797.png" style="width: 400px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389033i00CA2793F22F2DFF/image-size/medium?v=v2&amp;px=400" role="button" title="harshasri_3-1658184066797.png" alt="harshasri_3-1658184066797.png" /></span></SPAN></P> <P class="lia-indent-padding-left-30px">&nbsp;</P> <P class="lia-indent-padding-left-30px lia-align-justify"><SPAN data-contrast="auto">We can create an “Action group” and associate alerts to them as an optional step.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-indent-padding-left-30px lia-align-justify"><SPAN data-contrast="auto">Example: Above template is to set an alert if the SAP NetWeaver is not available. This alert will be sent as a notification to the contact provided in the action group. Alert generally runs as per the frequency defined in the template.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">Customers have flexibility to add additional alert templates apart from the standard templates provided in the NetWeaver workbook.</SPAN></P> <P aria-level="2">&nbsp;</P> <H4 aria-level="2"><SPAN data-contrast="none">Editing AMS Workbooks:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></H4> <P>&nbsp;</P> <P><SPAN data-contrast="auto">1. Navigate to the NetWeaver workbook.</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_0-1658182234562.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389011i8407DE76AF68313D/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_0-1658182234562.png" alt="harshasri_0-1658182234562.png" /></span></P> <P><SPAN data-contrast="auto">2. Click on the Edit button at the top of the workbook.</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_1-1658182234564.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389012i6F4CB59461769E67/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_1-1658182234564.png" alt="harshasri_1-1658182234564.png" /></span>3.&nbsp;<SPAN data-contrast="auto">Example: If you want to view/edit the query running behind the honeycombs and modify it according to your needs, scroll down to the end of the page and click on the first edit button. “Overview” group should open in a separate box.</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_2-1658182234565.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389013i5549B28727A224C2/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_2-1658182234565.png" alt="harshasri_2-1658182234565.png" /></span></P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;4.&nbsp;</SPAN><SPAN data-contrast="auto">Now click on “Edit” button again to get the edit button below the subsequent query you want to edit or view.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_3-1658182234567.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389014i2217ADC66707B792/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_3-1658182234567.png" alt="harshasri_3-1658182234567.png" /></span></P> <P><SPAN data-contrast="auto">5. Another “Edit” button should appear below the honeycomb query.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_4-1658182234568.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389016i0D93E22F4B33ED5A/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_4-1658182234568.png" alt="harshasri_4-1658182234568.png" /></span></P> <P>&nbsp;</P> <P><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">6.&nbsp;</SPAN><SPAN data-contrast="auto">Kusto query should appear in the same window once you hit the “Edit” button. </SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:720,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257,&quot;335559991&quot;:360}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">7. To view the result data from the query and analyze it further, you can also click the button </SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_5-1658182234569.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389015i0BAECE9252BE6C85/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_5-1658182234569.png" alt="harshasri_5-1658182234569.png" /></span><SPAN data-contrast="auto">to open - "last run query in log analytics workspace”.</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:720,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257,&quot;335559991&quot;:360}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_6-1658182234570.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389018i5BD9D9508FC2E3C6/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_6-1658182234570.png" alt="harshasri_6-1658182234570.png" /></span></P> <P>&nbsp;</P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;8.&nbsp;</SPAN><SPAN data-contrast="auto">Once you edit the query and see the appropriate results by clicking the “Run Query” button, Click the “Done Editing” button and then click the “Save” button in the workbook to save the updated workbook in the specified location.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_7-1658182234571.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389017iC7A9BEC9C69A50A1/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_7-1658182234571.png" alt="harshasri_7-1658182234571.png" /></span></P> <P class="lia-indent-padding-left-30px"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_8-1658182234572.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389020i7F64E6D6D1B6D1AE/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_8-1658182234572.png" alt="harshasri_8-1658182234572.png" /></span></P> <P>&nbsp;</P> <P class="lia-align-justify"><SPAN data-contrast="auto">Similarly, by clicking the “Edit” button below any of the visualization in the workbook edit mode, we are providing flexibility to customers to extend standard delivered visualizations. </SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559685&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;</SPAN></P> <P>&nbsp;</P> <H4>Conclusion:</H4> <P><SPAN>When we have critical applications and business processes relying on Azure resources, we want to monitor those resources for their availability, performance, and reliability</SPAN>. We understood and recognized SAP monitoring, detection of incidents has been partially black box.&nbsp;AMS (Version 2) is an Azure native monitoring tool which helps customers collect telemetry information using standard delivered content by SAP. With the collection of metric information from SAP and ability to co-relate information using azure native tool, AMS provide ability for infrastructure, basis and developers solution to monitor SAP health check.&nbsp;</P> <P>&nbsp;</P> <H4 class="lia-align-justify"><SPAN data-contrast="none">References:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;</SPAN></H4> <UL> <LI class="lia-align-justify"><SPAN data-contrast="none">Latest over video of AMS:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">https://aka.ms/ams2video</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Latest announcement of AMS:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">https://aka.ms/amspreviewblog</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Share feedback &amp; ideas:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">https://feedback.azure.com/d365community/forum/7d9bf169-4be5-ec11-bb3c-0022482baf2f</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Public documentation:&nbsp;</SPAN><SPAN data-contrast="none"><A href="#" target="_blank">https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/monitor-sap-on-azure</A></SPAN></LI> <LI class="lia-align-justify"><A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/maximizing-observability-for-sap-on-azure-with-azure-monitor-for/ba-p/3575573" target="_self"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">Maximizing Observability for SAP on Azure with Azure Monitor for SAP solution</SPAN></A></LI> <LI class="lia-align-justify">Part 1 -&nbsp;<A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-netweaver-soap-and-rfc-deep-dive-in-azure-monitor-for-sap/ba-p/3569039" target="_self">SAP NetWeaver SOAP &amp; RFC deep dive in Azure Monitor for SAP solutions</A></LI> <LI class="lia-align-justify">Part 2 - <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/configuring-netweaver-provider-in-ams-version-2/ba-p/3575790" target="_self">Configuring NetWeaver Provider</A></LI> </UL> Tue, 19 Jul 2022 17:44:24 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/visualizing-sap-netweaver-metric-data-in-ams-through-azure/ba-p/3575776 harshasri 2022-07-19T17:44:24Z Configuring NetWeaver Provider in AMS (Version 2) https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/configuring-netweaver-provider-in-ams-version-2/ba-p/3575790 <P class="lia-align-justify"><SPAN data-contrast="auto">SAP NetWeaver Provider in AMS (Version 2) providers end users with a capability to fetch, capture and visualize SAP availability and application data via SAPOScontrol and RFC leveraging pre-delivered standard content provided by SAP. Below are the different approaches to fetch the metrics:&nbsp;</SPAN></P> <P class="lia-align-justify" aria-level="2">&nbsp;</P> <P class="lia-align-justify" aria-level="2"><STRONG>NetWeaver SOAP Metric collection:&nbsp;</STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">The NetWeaver provider for AMS currently leverages a SOAP interface for fetching a subset of available metrics from the NetWeaver application layer. This includes Instance/Service/Process Availability, Work Process utilization, and Queue/Lock statistics.</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">SAP Control Web service interface is used to collect the primary SOAP metrics for the NetWeaver provider. </SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">We are using SAPControl, which is a SOAP web service interface that exposes these capabilities. The SAPControl web service interface differentiates between&nbsp;protected and unprotected&nbsp;web service methods. The SAP start service provides the following functions for monitoring SAP systems, instances, and processes. </SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <TABLE class=" lia-align-justify" data-tablestyle="MsoTableGrid" data-tablelook="1696" aria-rowcount="6"> <TBODY> <TR aria-rowindex="1"> <TD data-celllook="0"> <P><STRONG><SPAN data-contrast="none">Web method</SPAN></STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><STRONG><SPAN data-contrast="none">ABAP</SPAN></STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><STRONG><SPAN data-contrast="none">JAVA</SPAN></STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><STRONG><SPAN data-contrast="none">Metrics</SPAN></STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> </TR> <TR aria-rowindex="2"> <TD data-celllook="0"> <P><SPAN data-contrast="none">GetSystemInstanceList</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">Instance Availability, Message Server, Gateway, ICM, ABAP Availability</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> </TR> <TR aria-rowindex="3"> <TD data-celllook="0"> <P><SPAN data-contrast="none">GetProcessList</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">SAP system processes, its availability and their status</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> </TR> <TR aria-rowindex="4"> <TD data-celllook="0"> <P><SPAN data-contrast="none">GetQueueStatistic</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">Queue Statistics (DIA/BATCH/UPD)</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> </TR> <TR aria-rowindex="5"> <TD data-celllook="0"> <P><SPAN data-contrast="none">ABAPGetWPTable</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">Work process utilization</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> </TR> <TR aria-rowindex="6"> <TD data-celllook="0"> <P><SPAN data-contrast="none">EnqGetStatistic</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">X</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD data-celllook="0"> <P><SPAN data-contrast="none">Locks</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> </TR> </TBODY> </TABLE> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><STRONG>SOAP URL: &nbsp;</STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">http://&lt;hostname&gt;: 5XX13/?wsdl (or)</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">https://&lt;hostname&gt;: 5XX14/?wsdl</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify" data-unlink="true"><SPAN data-contrast="auto">hostname: SAP application server name and FQDN (Fully Qualified Domain Names) - </SPAN><SPAN data-contrast="none">http://sapservername.contoso.com.</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">5XX13: XX is SAP instance number and 13 port is used for HTTP connection</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">5XX14: XX is SAP instance number and 14 port is used for HTTPS connection</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">The above URL is used to generate a client proxy in web service-enabled programming environments like Python. The following&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">link</SPAN></A><SPAN data-contrast="auto"> provides a detailed description of&nbsp;the pre-requisites for fetching the SOAP metrics from the SAP system. </SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify" aria-level="2"><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify" aria-level="2"><STRONG>NetWeaver RFC Metric collection:&nbsp;&nbsp;</STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">The idea behind this approach is to use SAP’s built-in HTTP module. This module has multiple services, where each one has its own interface and can be enabled or disabled depending on your needs. Each service has a corresponding ABAP Class that processes the HTTP Response based on the HTTP Request. These services enable us to call a remote-enabled function in SAP through HTTP protocol.&nbsp;It thereby allowed us to enable TLS (Transport Layer Security) based approach to enable the secure connection.  </SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">In the next refresh of AMS, we are planning to enable </SPAN><SPAN data-contrast="none">secure communication between the AMS NetWeaver Provider and SAP through industry standard mechanisms.</SPAN></P> <P><SPAN data-contrast="auto">The following is the list of RFC Metrics collected&nbsp;by NetWeaver Provider: </SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P>&nbsp;</P> <TABLE data-tablestyle="MsoTableGrid" data-tablelook="1696" aria-rowcount="16"> <TBODY> <TR aria-rowindex="1"> <TD width="399px" height="30px" data-celllook="0"> <P><STRONG><SPAN data-contrast="none">RFC Metric Name</SPAN></STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0"> <P><STRONG>TCODE</STRONG></P> </TD> </TR> <TR aria-rowindex="2"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">SMON Metrics</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0"> <P><SPAN>/SDF/SMON</SPAN></P> </TD> </TR> <TR aria-rowindex="3"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">SWNC Workload</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0"> <P><SPAN>ST03n</SPAN></P> </TD> </TR> <TR aria-rowindex="4"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">SWNC Memory Metrics</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0"><SPAN>ST03n</SPAN></TD> </TR> <TR aria-rowindex="5"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">SWNC Transaction Metrics</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0"><SPAN>ST03n</SPAN></TD> </TR> <TR aria-rowindex="6"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">SWNC User Metrics</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0"><SPAN>ST03n</SPAN></TD> </TR> <TR aria-rowindex="7"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">SWNC RFC Usage Metrics</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0"><SPAN>ST03n</SPAN></TD> </TR> <TR aria-rowindex="8"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">Short Dumps</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">ST22</TD> </TR> <TR aria-rowindex="9"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">Object Lock&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">SM12</TD> </TR> <TR aria-rowindex="10"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">Failed Updates</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">SM13</TD> </TR> <TR aria-rowindex="11"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">System Logs Analysis&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">SM21</TD> </TR> <TR aria-rowindex="12"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">Batch Jobs Statistics&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">SM37</TD> </TR> <TR aria-rowindex="13"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">Outbound Queues&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">SMQ1</TD> </TR> <TR aria-rowindex="14"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">Inbound Queues</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">SMQ2</TD> </TR> <TR aria-rowindex="15"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">Transactional RFC</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">SM59</TD> </TR> <TR aria-rowindex="16"> <TD width="399px" height="30px" data-celllook="0"> <P><SPAN data-contrast="none">STMS Change Transport System Metrics</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:0,&quot;335551620&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> <TD width="97.9062px" height="30px" data-celllook="0">STMS</TD> </TR> </TBODY> </TABLE> <P><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><STRONG><SPAN data-contrast="auto">SOAP WSDL Path: </SPAN></STRONG> <SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">This service returns the WSDL (Web Services Description Language) of a Remote-Enabled Function. </SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">"sap/bc/soap" is the service that really executes the function based on the HTTP Request’s body. </SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">The expected return content of this service is XML content with the structures defined on WSDL and values returned from the function executed inside SAP. Following are the SAP prerequisites for this approach:&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><STRONG><SPAN data-contrast="auto">Enable SAP&nbsp;</SPAN></STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}"><STRONG>ICF:</STRONG>&nbsp;</SPAN></P> <UL class="lia-align-justify"> <LI data-leveltext="" data-font="Symbol" data-listid="13" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Login to SAP System.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="13" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"><SPAN data-contrast="auto">Navigate to Transaction code SICF</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="13" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"><SPAN data-contrast="auto">Navigate to Service with Service Path - /default_host/sap/bc/soap/, and activate wsdl11 and RFC service:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> </UL> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_23-1657328543279.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386917i2CCB42852CFA3436/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_23-1657328543279.png" alt="harshasri_23-1657328543279.png" /></span></P> <P class="lia-align-justify"><STRONG><SPAN data-contrast="auto">Accessing RFC via SOAP WSDL Call:</SPAN></STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">This can be achieved using zeep, which is the fastest and most modern Python SOAP client. Zeep inspects the WSDL document and generates the corresponding code to use the services and types in the document. This provides an easy-to-use programmatic interface to a SOAP server. We already used zeep for fetching all the SOAP metrics in AMS (Version 1.0 and 2.0).</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">Sample code snippet:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <TABLE class="lia-align-justify" border="1" width="100%"> <TBODY> <TR> <TD width="100%"> <P><SPAN data-contrast="auto">wsdl_url = "<A href="#" target="_blank" rel="noopener">http://sapservername.contoso.com:8110/sap/bc/soap/wsdl?sap-client=001&amp;services=/SAPDS/RFC_READ_TABLE</A>"</SPAN></P> <P><SPAN data-contrast="auto">session = Session()</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">session.auth = HTTPBasicAuth(‘XXXX, ‘XXXX’)</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">client = Client(wsdl=wsdl_url, transport=Transport(session=session))</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">rfcname = rfcname.replace('/', '_-')</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">method = getattr(client.service, rfcname)</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">failed_update_result = method( DATA = data_value,</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DELIMITER=';',</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FIELDS=rfc_fld,</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NO_DATA='',</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OPTIONS='',</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QUERY_TABLE='VBHDR',</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ROWCOUNT = 0,</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ROWSKIPS = 0</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> </TD> </TR> </TBODY> </TABLE> <P class="lia-align-justify"><STRONG>&nbsp;</STRONG></P> <P class="lia-align-justify"><STRONG>Explanation:&nbsp;</STRONG></P> <P class="lia-align-justify"><SPAN data-contrast="auto">Customers need to supply their SAP credentials to connect to this WSDL and the session is authenticated using HTTP basic authentication.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">WSDL URL can be divided into the following parts:&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <UL class="lia-align-justify"> <LI data-leveltext="" data-font="Symbol" data-listid="14" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">SAP Hostname and FQDN (Fully Qualified Domain Names) -&nbsp;e.g.: <A href="#" target="_blank" rel="noopener">http://sapservername.contoso.com</A></SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="14" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"><SPAN data-contrast="auto">Port – port your ICF is running – e.g.: 8110&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="14" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"><SPAN data-contrast="auto">WSDL path - /sap/bc/soap/wsdl</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="14" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="4" data-aria-level="1"><SPAN data-contrast="auto">SAP client Id - 001</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="14" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="4" data-aria-level="1"><SPAN data-contrast="auto">RFC service name - e.g.: /SAPDS/RFC_READ_TABLE, /SDF/SMON_GET_SMON_RUNS or ENQUEUE_READ</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> </UL> <P class="lia-align-justify"><SPAN data-contrast="auto">The WSDL used above only defines one simple function (/SAPDS/RFC_READ_TABLE) which is made available by zeep via the client.service method: ‘_-SAPDS_-RFC_READ_TABLE’.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">We need to process and pass all the input types from the python code which we need to send as input parameters to the RFC function module.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_24-1657328543280.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386918iFD5F8C5F7A5934BF/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_24-1657328543280.png" alt="harshasri_24-1657328543280.png" /></span></P> <P class="lia-align-justify">&nbsp;</P> <H3 class="lia-align-justify" aria-level="2"><STRONG>Create NetWeaver Provider:&nbsp;</STRONG></H3> <P class="lia-align-justify"><SPAN data-contrast="auto">Option 1: Providers can be created in Azure portal UI either by entering the provider connection details while creating the AMS in the “Providers” tab</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_19-1657328543276.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386912i69BCB921DF4F4EDF/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_19-1657328543276.png" alt="harshasri_19-1657328543276.png" /></span></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">Option 2: Click on the Provider link once the AMS is successfully created.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify">&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_0-1658442711395.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/390001i76626CD896FA9981/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_0-1658442711395.png" alt="harshasri_0-1658442711395.png" /></span></P> <P>&nbsp;</P> <P>&nbsp;</P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">Customers need to enter the following connection information for creating a NetWeaver provider. </SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">SAP prerequisites and connection details are explained in the AMS public documentation <A href="#" target="_self">link</A>: </SPAN></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_21-1657328543278.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386915i39AF2CAD3AF60685/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_21-1657328543278.png" alt="harshasri_21-1657328543278.png" /></span></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">Following resources are created as a part of AMS:&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_22-1657328543279.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386916i6C555946376F43F4/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_22-1657328543279.png" alt="harshasri_22-1657328543279.png" /></span></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify">Once you have configured the NetWeaver provider, AMS connects and pulls the information from SAP, which is stored in Azure Log Analytics workspace and visualized through Azure workbooks. In general, it would take 15 minutes for visualizations to appear in the workbook after the NetWeaver provider is created successfully in AMS. Once you have&nbsp;successfully configured NetWeaver provider let us explore <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/visualizing-sap-netweaver-metric-data-in-ams-through-azure/ba-p/3575776" target="_self">how to visualize data using workbooks</A>.&nbsp;</P> <P class="lia-align-justify">&nbsp;</P> <H4 id="toc-hId--1074049474" class="lia-align-justify"><SPAN data-contrast="none">References:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;</SPAN></H4> <UL> <LI class="lia-align-justify"><SPAN data-contrast="none">Latest over video of AMS:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener noreferrer"><SPAN data-contrast="none">https://aka.ms/ams2video</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Latest announcement of AMS:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener noreferrer"><SPAN data-contrast="none">https://aka.ms/amspreviewblog</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Share feedback &amp; ideas:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener nofollow noreferrer"><SPAN data-contrast="none">https://feedback.azure.com/d365community/forum/7d9bf169-4be5-ec11-bb3c-0022482baf2f</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Public documentation:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener noreferrer"><SPAN data-contrast="none">https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/monitor-sap-on-azure</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/maximizing-observability-for-sap-on-azure-with-azure-monitor-for/ba-p/3575573" target="_self"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">Maximizing Observability for SAP on Azure with Azure Monitor for SAP solution</SPAN></A></LI> <LI class="lia-align-justify">Part 1 -&nbsp;<A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-netweaver-soap-and-rfc-deep-dive-in-azure-monitor-for-sap/ba-p/3569039" target="_self">SAP NetWeaver SOAP &amp; RFC deep dive in Azure Monitor for SAP solutions</A></LI> <LI class="lia-align-justify">Part 3 -<SPAN>&nbsp;</SPAN><A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/visualizing-sap-netweaver-metric-data-in-ams-through-azure/ba-p/3575776" target="_self">Visualizing SAP NetWeaver data in AMS through Azure Workbook</A></LI> </UL> Thu, 21 Jul 2022 22:34:04 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/configuring-netweaver-provider-in-ams-version-2/ba-p/3575790 harshasri 2022-07-21T22:34:04Z SAP NetWeaver SOAP and RFC deep dive in Azure Monitor for SAP solutions https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-netweaver-soap-and-rfc-deep-dive-in-azure-monitor-for-sap/ba-p/3569039 <H4 class="lia-align-justify"><STRONG>Introduction:</STRONG></H4> <P class="lia-align-justify"><SPAN data-contrast="auto">Azure Monitor for SAP solutions is an Azure-native monitoring product for anyone running their SAP landscapes on Azure. This service is a public offering in the Azure portal.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">This solution allows customers to collect telemetry data from Azure infrastructure, SAP applications, and databases in one central location and visually correlate the data for faster troubleshooting.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">AMS can monitor different components of the SAP landscape, such as Azure virtual machines (VMs), high-availability clusters, MS SQL Server, SAP HANA database, and SAP NetWeaver, by adding the corresponding provider for that component.&nbsp;</SPAN><SPAN data-contrast="auto">In this blog series, we will give an in-depth overview of the architecture, <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/configuring-netweaver-provider-in-ams-version-2/ba-p/3575790" target="_self">configuration</A>, and <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/visualizing-sap-netweaver-metric-data-in-ams-through-azure/ba-p/3575776" target="_self">visualization</A> for SAP NetWeaver provider for AMS (version 2).</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify">&nbsp;</P> <H4 class="lia-align-justify"><STRONG><SPAN class="TextRun SCXW37911995 BCX8" data-contrast="none"><SPAN class="NormalTextRun SCXW37911995 BCX8" data-ccp-parastyle="heading 1">AMS (Version 2):</SPAN></SPAN><SPAN class="EOP CommentStart SCXW37911995 BCX8" data-ccp-props="{&quot;201341983&quot;:0,&quot;335559738&quot;:240,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></STRONG></H4> <P class="lia-align-justify"><SPAN data-contrast="auto">The following diagram shows, at a high level, how Azure Monitor for SAP Solutions collects telemetry from SAP NetWeaver in AMS:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="none">&nbsp;</SPAN></P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_0-1657328452672.png" style="width: 620px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386894i612BCB397C647ABA/image-dimensions/620x381?v=v2" width="620" height="381" role="button" title="harshasri_0-1657328452672.png" alt="harshasri_0-1657328452672.png" /></span></P> <P class="lia-align-justify"><SPAN data-contrast="auto">The key components of the architecture are:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <UL class="lia-align-justify"> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Azure portal – Navigate to the marketplace within the Azure portal and discover Azure Monitor for SAP Solutions.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Azure Monitor for SAP solutions resource - A landing place for you to view monitoring telemetry.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Managed resource group – This will be deployed as part of the Azure Monitor for SAP solutions resource deployment. Following resources are</SPAN><SPAN data-contrast="auto">&nbsp;deployed within managed resource group which helps in the collection of telemetry:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN> <UL class="lia-list-style-type-circle"> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Azure Functions: </SPAN><SPAN data-contrast="auto">Each provider in AMS&nbsp;is deployed in a separate isolated function App. Azure Functions have a direct integration with application insights. Providers will have both timer and HTTP trigger functions as a part of the function App.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Azure Key Vault: This resource is deployed to securely hold SAP NetWeaver database credentials and to store information about providers. </SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Log Analytics Workspace: The destination where the telemetry data is stored.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Visualization is built on top of telemetry in Log Analytics using Azure Workbooks. You can customize visualization. You can also pin your Workbooks or specific visualization within Workbooks to the Azure dashboard for auto-refresh.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> <LI><SPAN data-contrast="auto">Customers can use Kusto query language (KQL) to run queries against the raw tables inside the Log Analytics workspace.</SPAN></LI> </UL> </LI> <LI data-leveltext="" data-font="Symbol" data-listid="2" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Customers can use existing workspace within the same subscription as SAP monitor resource by choosing this option at deployment.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></LI> </UL> <H4 class="lia-align-justify"><STRONG>Architecture:</STRONG></H4> <P class="lia-align-justify" aria-level="2"><SPAN data-contrast="none">AMS Control Plane </SPAN><I><SPAN data-contrast="none">(Create monitor flow)</SPAN></I><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">When the user hits create a button in the Azure portal AMS Resource provider creates the following resources in the customer subscription:&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <UL class="lia-align-justify"> <LI class="lia-align-justify" data-leveltext="" data-font="Symbol" data-listid="16" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">App service plan</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> <LI class="lia-align-justify" data-leveltext="" data-font="Symbol" data-listid="16" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"><SPAN data-contrast="auto">Log analytics workspace</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> <LI class="lia-align-justify" data-leveltext="" data-font="Symbol" data-listid="16" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"><SPAN data-contrast="auto">Key vault</SPAN></LI> <LI class="lia-align-justify" data-leveltext="" data-font="Symbol" data-listid="16" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"><SPAN data-contrast="auto">Storage account.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> </UL> <P class="lia-align-justify"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_0-1658438610378.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389993i87C070C04E0D4C53/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_0-1658438610378.png" alt="harshasri_0-1658438610378.png" /></span></P> <H3 class="lia-align-justify">&nbsp;</H3> <H3 class="lia-align-justify"><STRONG>Monitor Data&nbsp;</STRONG><STRONG>Plane:</STRONG></H3> <P class="lia-align-justify"><SPAN data-contrast="auto">We have a monitor on the top as a wrapper for our providers.</SPAN><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN><SPAN data-contrast="auto">SAP monitor provider is a proxy resource unit that accesses the customer's infrastructure (SAP/ Database etc.) to fetch different metrics. A provider instance contains the connection information for the corresponding component. This connection information is used by the collector to connect with the SAP system to fetch the required metrics.&nbsp;</SPAN><SPAN data-contrast="auto">Each provider type uses a different function App. As you can see in the picture below there are different function apps for the NetWeaver provider.</SPAN></P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify"><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_29-1657328752571.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386923i7EAEC370E9C4AF34/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_29-1657328752571.png" alt="harshasri_29-1657328752571.png" /></span></P> <P class="lia-align-justify"><SPAN data-contrast="auto">Provider instances are located inside the monitor. Customers can create a single instance of the same provider type or multiple instances of multiple provider types.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN><SPAN data-contrast="auto">All checks for a specific provider are in a function app. Each check is represented by its own azure function. NetWeaver contains 20 timer trigger functions that pull in 20 metrics. When a NetWeaver provider is added in AMS,&nbsp;</SPAN><SPAN data-contrast="auto">the validator HTTP triggered azure function is called which validates the connection properties of the SAP System. All the provider instances of the same type share the same function app.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_1-1658438748852.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389994i5261C9AB9B64D432/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_1-1658438748852.png" alt="harshasri_1-1658438748852.png" /></span></P> <H3 class="lia-align-justify">&nbsp;</H3> <H3 class="lia-align-justify"><STRONG>AMS Data Plane <I>(Provider Flow):</I>&nbsp;</STRONG></H3> <P class="lia-align-justify"><SPAN data-contrast="auto">In the provider flow, the azure functions inside the function app make a successful connection to the SAP system and fetch the telemetry information. Once the telemetry data is fetched it is pushed into the log analytics workspace inside the managed resource group created in the customer's subscription.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P class="lia-align-justify"><SPAN data-contrast="auto">We leverage Azure workbooks to give a graphical representation of this data in the form of charts and graphs. Azure workbooks are connected to the log analytics workspace and Kusto queries are written to display the data in workbooks. Workbooks also provide flexibility to customers to refine the visualization based on their infrastructure needs by modifying the Kusto queries and saving the workbook in their azure resource group. Customers also have an alert feature in the Azure workbook which can be leveraged to set triggers in case of any unplanned downtime events and predict imminent system outages.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:256}">&nbsp;</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshasri_0-1658439172267.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/389996i8762781846FBB6EA/image-size/large?v=v2&amp;px=999" role="button" title="harshasri_0-1658439172267.png" alt="harshasri_0-1658439172267.png" /></span></P> <P>&nbsp;</P> <P>&nbsp;</P> <H4 class="lia-align-justify"><SPAN data-contrast="none">Conclusion:</SPAN></H4> <P><SPAN data-contrast="none">From this blog you understood the architecture and design of AMS, in the subsequent blog let us <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/configuring-netweaver-provider-in-ams-version-2/ba-p/3575790" target="_self">configure</A>&nbsp;the NetWeaver provider.</SPAN></P> <H4 class="lia-align-justify">&nbsp;</H4> <H4 class="lia-align-justify"><SPAN data-contrast="none">References:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:257}">&nbsp;</SPAN></H4> <UL> <LI class="lia-align-justify"><SPAN data-contrast="none">Latest over video of AMS:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">https://aka.ms/ams2video</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Latest announcement of AMS:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">https://aka.ms/amspreviewblog</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Share feedback &amp; ideas:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">https://feedback.azure.com/d365community/forum/7d9bf169-4be5-ec11-bb3c-0022482baf2f</SPAN></A><SPAN>&nbsp;</SPAN></LI> <LI class="lia-align-justify"><SPAN data-contrast="none">Public documentation:&nbsp;</SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/monitor-sap-on-azure</SPAN></A></LI> <LI class="lia-align-justify"><A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/maximizing-observability-for-sap-on-azure-with-azure-monitor-for/ba-p/3575573" target="_self">Maximizing Observability for SAP on Azure with Azure Monitor for SAP solution</A></LI> <LI class="lia-align-justify">Part 2 - <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/configuring-netweaver-provider-in-ams-version-2/ba-p/3575790" target="_self">Configuring NetWeaver Provider</A></LI> <LI class="lia-align-justify">Part 3 - <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/visualizing-sap-netweaver-metric-data-in-ams-through-azure/ba-p/3575776" target="_self">Visualizing data through Azure Workbooks</A></LI> </UL> Thu, 21 Jul 2022 22:24:06 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-netweaver-soap-and-rfc-deep-dive-in-azure-monitor-for-sap/ba-p/3569039 harshasri 2022-07-21T22:24:06Z Maximizing Observability for SAP on Azure with Azure Monitor for SAP solution https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/maximizing-observability-for-sap-on-azure-with-azure-monitor-for/ba-p/3575573 <P>Designing and operating ERP capabilities in the cloud has become the epicenter of digital transformation for many of our SAP customers. SAP ERP runs mission-critical processes that are foundational for enterprises. The applications must run incident-free and must be able to resolve issues quickly.</P> <P>An SAP Operations Manager needs to ensure that the SAP systems are operational at maximum efficiency and available to cater to business needs. As a result, they are under continuous pressure to meet the performance metrics and service levels e.g., Mean-Time-To-Resolution (MTTR). For detecting and preventing failures, it is essential to have a monitoring tool to analyze operation and performance and to detect and alert about possible errors.</P> <P>The hurdle only gets challenging as the monitoring tools they have historically relied on aren’t suited for today’s 24/7 dynamic business world. The landscape and systems become complex. It is essential to have a solution that provides observability (gather metrics, logs, and traces), an observable system is easily understood, and instrumentation is a big part of building observable systems. It lets you create an early warning system to detect issues before they occur.</P> <P>Based on the above principle, we designed and implemented SAP NetWeaver provider as part of Azure Monitor of SAP solutions. It provides deep visibility into your SAP applications and databases by helping you identify and resolve issues affecting them and maintain optimal performance. The solution is simple and intuitive, provides a unified source of multi-dimensional insights into application and infrastructure health and performance, and helps in Proactive anomaly detection, quick incident response and resolution, and smart alerts to manage alert effectiveness. It collects data using a pull mechanism with zero customization in your core ERP, leverages serverless computing technique, and stores the information in Log analytics. The data is visualized leveraging the Azure workbook, thereby making the entire product azure native. With this, you can</P> <UL class="lia-list-style-type-circle"> <LI>Monitor - Monitor the landscape by acquiring and processing system-level information</LI> <LI>Analyze - Analyze and understand the information collected by adding meaning and insights.</LI> <LI>Act - Act in the system based on comprehension and understanding.</LI> <LI>Learn - Improve performance (quality, consistency, and accuracy) based on your data and system details</LI> </UL> <P>Over the next few minutes, we will show you a few scenarios on how the above can be applied to help maximize the observability by using instrumentation techniques</P> <P>&nbsp;</P> <OL class="lia-list-style-type-upper-roman"> <LI><STRONG>Proactively identifying account unlocks before they are being reported by users</STRONG>&nbsp;– Leveraging the system log SM21 metric collected by AMS, you can set up a unique alert that captures an account lock event, the reason, and from which terminal. It allows you to proactively take necessary action and inform the end user.</LI> <LI><STRONG>Whitebox Monitoring</STRONG>&nbsp;– The OS can already tell us how much memory HANA has allocated, the HANA provider can tell us more in detail what this memory is used for, NW provider can tell us CPU, I/O, and Memory. Thereby correlating information &amp; optimizing the system performance to avoid I/O throttling.</LI> <LI><STRONG>Co-relating Short dumps with release and object locks</STRONG>&nbsp;– As a basis admin or developer, you can relate ST22 short dumps and see if it caused by the recent change being moved (STMS), did the ST22 caused any batch job (SM37) to fail to result in any failed updates (SM13) or lock entries (SM12).</LI> <LI><STRONG>Finding a window to schedule a new batch job &amp; anomalies in execution</STRONG>&nbsp;– Leveraging graph and time-series capability from Azure Log analytics and workbook, you can find the best suitable time to schedule a new job, looking at previous job execution window and CPU/DB performance. In addition, finding patterns in job execution data that do not conform to expected behavior (runtime, delay) through native log analytics capabilities.</LI> <LI><STRONG>Managing queues to ensure transaction reliability -&nbsp;</STRONG>You can monitor Outbound (SMQ1), Inbound (SMQ2), and RFC (SM59) queues to provide a better experience for business users, more so during special events where the queues process more data than before.&nbsp; &nbsp;</LI> <LI><STRONG>Minimizing Alert Fatigue –&nbsp;</STRONG>The solution provides a rich set of pre-defined templates for customers to kick start the journey and a fairly easy way to extend/customize as per needs. Alerts are designed for symptoms rather than on causes, for example, we report “SAP system performance is suboptimal” – this is the symptom as the cause is determined through the metric, log highlighting high CPU or DB overload, or all DIA work processes re in use.&nbsp;</LI> </OL> <P>&nbsp;</P> <P>Apart from these, many such scenarios can be implemented by leveraging the AMS core capabilities. Troubleshooting and finding evidence for root cause analysis have been made easier.</P> <P><STRONG>Conclusion</STRONG> -</P> <P>As the product and technology evolve, it provides customers with a unique opportunity for customers to leverage azure native capabilities to extend and innovate on AMS. For example, leveraging PowerApps to automate account unlock or dynamically scaling systems based on I/O throttling.</P> <P>&nbsp;</P> <P><STRONG><U>References </U></STRONG></P> <P>Latest over video of AMS:&nbsp;<A href="#" target="_blank">https://aka.ms/ams2video</A><BR />Latest announcement of AMS:&nbsp;<A href="#" target="_blank">https://aka.ms/amspreviewblog</A><BR />Share feedback &amp; ideas:&nbsp;<A href="#" target="_blank">https://feedback.azure.com/d365community/forum/7d9bf169-4be5-ec11-bb3c-0022482baf2f</A><BR />Public documentation:&nbsp;<A href="#" target="_blank">https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/monitor-sap-on-azure</A></P> Tue, 19 Jul 2022 15:10:00 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/maximizing-observability-for-sap-on-azure-with-azure-monitor-for/ba-p/3575573 prasoonpankaj 2022-07-19T15:10:00Z Announcing Public Preview for Microsoft Azure Monitor for SAP solutions https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/announcing-public-preview-for-microsoft-azure-monitor-for-sap/ba-p/3575745 <P aria-level="2"><STRONG><SPAN data-contrast="none">Turn-key and feature-rich technical monitoring for SAP on Azure</SPAN></STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:180,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">SAP applications are mission critical, and migrations to hyperscale cloud require methodical planning to ensure important pillars such as security, performance, availability, and run operations are duly considered. Microsoft has </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">announced</SPAN></A><SPAN data-contrast="auto"> the public preview of </SPAN><SPAN data-contrast="auto">Azure Center for SAP solutions which brings together an expansive portfolio of products, tools, and frameworks to help our customers deploy and run SAP on Azure</SPAN><SPAN data-contrast="auto"> with quality.</SPAN><SPAN data-ccp-props="{&quot;335551550&quot;:6,&quot;335551620&quot;:6}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P><SPAN data-contrast="auto">An important dimension of the run experience of </SPAN><SPAN data-contrast="auto">Azure Center for SAP solutions </SPAN><SPAN data-contrast="auto">is a reliable and feature-rich technical monitoring solution. Back in 2020, we announced the public preview of Azure Monitor for SAP Solutions which is a native monitoring product that provides end-to-end SAP technical monitoring at one place within the Microsoft Azure Portal. Customers across industries adopted Azure Monitor for SAP Solutions. Our customers appreciated the collection and visualization of end-to-end telemetry for rapid root cause analysis, and they valued the simplicity of turn-key technical monitoring and the rich set of metrics offered by the product. We also listened to opportunities to enhance and optimize Azure Monitor for SAP Solutions and today we’re thrilled to announce the next generation of the product – Azure Monitor for SAP solutions (version 2) which has been developed based on direct feedback from our broad SAP customer base.&nbsp;&nbsp;</SPAN><SPAN data-ccp-props="{&quot;335551550&quot;:6,&quot;335551620&quot;:6}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P><I><SPAN data-contrast="none">Going forward, the new product version launched today will be referred to as Azure Monitor for SAP solutions. The previous version of the product will be referred to as Azure Monitor for SAP Solutions (classic)</SPAN></I><SPAN data-ccp-props="{&quot;335551550&quot;:2,&quot;335551620&quot;:2}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SameekshaKhare_1-1658168363303.png" style="width: 902px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388935i74D24ABEF3FD2CEE/image-dimensions/902x562?v=v2" width="902" height="562" role="button" title="SameekshaKhare_1-1658168363303.png" alt="SameekshaKhare_1-1658168363303.png" /></span></P> <P class="lia-align-center"><I><SPAN data-contrast="none">Diagram: Architecture of Azure Monitor for SAP solutions</SPAN></I><SPAN data-ccp-props="{&quot;335551550&quot;:2,&quot;335551620&quot;:2}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P aria-level="2"><STRONG><SPAN data-contrast="none">Key features&nbsp;</SPAN></STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:180,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">Technical monitoring solutions need to be reliable and Azure Monitor for SAP solutions is offered with a Service Level Availability of 99%.</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">The key features of Azure Monitor for SAP solutions are:</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></P> <UL> <LI data-leveltext="" data-font="Symbol" data-listid="6" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><STRONG><SPAN data-contrast="auto">Reduced maintenance overheads:</SPAN></STRONG><SPAN data-contrast="auto"> Azure Functions is used as collector unit instead of a virtual machine as was the case in Azure Monitor for SAP Solutions (classic). Azure Functions is responsible for connecting to the SAP system, pulling the telemetry data, and pushing the data to Azure Log Analytics to enable detailed analysis</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="6" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"><STRONG><SPAN data-contrast="auto">New DBMS Support for IBM Db2 monitoring: </SPAN></STRONG><SPAN data-contrast="auto">A new Provider type is available which enables customers to monitor their IBM Db2 databases and define the appropriate alerting thresholds</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="6" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"><STRONG><SPAN data-contrast="auto">Support for service tags, private endpoints, and route-all:</SPAN></STRONG><SPAN data-contrast="auto"> Many customers restrict outbound internet access from their Azure Virtual Network for security reasons. Customers can now add service tag rules, deploy private endpoints or simply push a button to disable </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">route-all</SPAN></A><SPAN data-contrast="auto"> in Azure Functions which eliminates exposure to the </SPAN><SPAN data-contrast="auto">public internet</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="6" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="4" data-aria-level="1"><STRONG><SPAN data-contrast="auto">Support for editing and updating Provider configuration: </SPAN></STRONG><SPAN data-contrast="auto">The Provider refers to a set of connection properties for SAP instances that customers wish to monitor. Provider settings can now be edited and updated after deployment of Azure Monitor for SAP solutions. This is useful in scenarios where customers want to switch from text-based passwords to Azure KeyVault for securely managing keys and secrets&nbsp;</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="6" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="5" data-aria-level="1"><STRONG><SPAN data-contrast="auto">‘Pin to Grafana’ via Azure Managed Grafana: </SPAN></STRONG><SPAN data-contrast="auto">Customers who leverage Azure Managed Grafana in conjunction with Azure Monitor for SAP solutions</SPAN> <SPAN data-contrast="auto">can pin visualizations from Azure Monitor for SAP solutions to their Grafana dashboards for flexibility and refined customization.</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="6" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><STRONG><SPAN data-contrast="auto">Support for customizing the name of the monitoring managed resource group: </SPAN></STRONG><SPAN data-contrast="auto">Customers can now define a custom name for the Monitoring Resource Group to match their configuration management policies</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></LI> <LI data-leveltext="" data-font="Symbol" data-listid="6" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"><STRONG><SPAN data-contrast="auto">Microsoft Azure Regional expansion for Azure Monitor for SAP solutions: </SPAN></STRONG><SPAN data-contrast="auto">Now includes Australia Central, Australia East, Southeast Asia, and East Asia</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></LI> </UL> <P class="lia-align-center"><I><SPAN data-contrast="none">&nbsp;“Working with the Microsoft team over the past few months to integrate our Lemongrass Cloud Platform (LCP), with its discovery and migration tools and near-zero downtime automation orchestration, with the Microsoft Cloud has been a great experience. We focused heavily on Azure Monitor for SAP solutions and adapting Microsoft’s proven technology to deliver our managed services to our customers. We’re also aligning our technology roadmaps to allow for the integration of future releases. The integration of Azure Monitor for SAP solutions is a high priority for us, and it has resulted in an offering that has accelerated Lemongrass’s ability to provide marketing-leading SAP Managed Services on the Microsoft Azure cloud platform.”&nbsp;</SPAN></I><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:2,&quot;335551620&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P class="lia-align-center"><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335551550&quot;:2,&quot;335551620&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><I><SPAN data-contrast="none">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - Eamonn O’Neill, Chief Technology Officer at Lemongrass&nbsp;</SPAN></I><I><SPAN data-contrast="none">&nbsp;</SPAN></I><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SameekshaKhare_0-1658168363300.png" style="width: 165px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388933iB342294D4095B922/image-dimensions/165x29?v=v2" width="165" height="29" role="button" title="SameekshaKhare_0-1658168363300.png" alt="SameekshaKhare_0-1658168363300.png" /></span></P> <P>&nbsp;</P> <P><SPAN data-contrast="auto">In addition to these enhancements, Azure Monitor for SAP solutions has all the best features of Azure Monitor for SAP Solutions (classic). Customers can deploy Azure Monitor for SAP solutions with a few clicks of the mouse and within minutes collect and visualize SAP telemetry. Azure Monitor for SAP solutions stores telemetry data in Azure Log Analytics with Azure Workbooks powering the visualization experience. Visualizations can be customized with a data retention period of up to 730 days (about 2 years); and directly, within the Microsoft Azure Portal, our customers benefit from a broad set of telemetry spanning SAP Application, Databases, and Infrastructure which includes:&nbsp;</SPAN><SPAN data-ccp-props="{&quot;335551550&quot;:6,&quot;335551620&quot;:6}">&nbsp;</SPAN></P> <P><U><EM>Application&nbsp;</EM></U></P> <UL> <LI data-leveltext="•" data-font="Arial" data-listid="19" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="2"><STRONG><SPAN data-contrast="auto">SAP NetWeaver: </SPAN></STRONG><SPAN data-contrast="auto">Instance availability, work process availability, enqueue &amp; queue statistics, SDF/SMON, ST03, work process utilization, user statistics, lock entries, failed updates, short dumps, batch jobs, change &amp; transport, etc.</SPAN></LI> </UL> <P><U><EM>Databases&nbsp;</EM></U></P> <UL> <LI data-leveltext="•" data-font="Arial" data-listid="20" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="2"><STRONG><SPAN data-contrast="auto">SAP HANA: </SPAN></STRONG><SPAN data-contrast="auto">Instance availability, utilization, database growth, top tables, file system utilization, backup status, backup age, replication modes for high availability including async buffer, license status, MVCC, save points, delta merges, static alerts, etc.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> <LI data-leveltext="•" data-font="Arial" data-listid="20" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="2"><STRONG><SPAN data-contrast="auto">Microsoft SQL Server: </SPAN></STRONG><SPAN data-contrast="auto">Utilization, compilation/recompilation, IO latency, batch requests, top statements, top tables, recorded errors, blocking processes, AlwaysOn overview, failovers, queues information, wait stats, backups, etc</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> <LI data-leveltext="•" data-font="Arial" data-listid="20" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="2"><STRONG><SPAN data-contrast="auto">IBM Db2: </SPAN></STRONG><SPAN data-contrast="auto">Availability, utilization , overview of SQL statements, number of connections, connected applications, logical reads, physical read, lock information, lock-waits, transaction rate, transaction time, top runtime and execution, failed SQL statements, expensive SQL statements, buffer pools,&nbsp; etc.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> </UL> <P><EM><U>Infrastructure</U></EM><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <UL> <LI data-leveltext="•" data-font="Arial" data-listid="21" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="2"><STRONG><SPAN data-contrast="auto">High-Availability Linux Pacemaker Cluster </SPAN></STRONG><SPAN data-contrast="auto">: Support for both SUSE Enterprise Linux and Red Hat Enterprise Linux. Cluster node status, resource status, managed/unmanaged resources, location constraints, failure count, etc.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> <LI data-leveltext="•" data-font="Arial" data-listid="21" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="2"><STRONG><SPAN data-contrast="auto">Operating system </SPAN></STRONG><SPAN data-contrast="auto">(Linux): CPU/memory utilization, process count, forks count, memory distribution,&nbsp; swap usage, paging rate, swap rate, mountpoint utilization, read/write byte, I/O count, network inbound/outbound traffic, network packets, etc.&nbsp; &nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> </UL> <P><EM><U>Alerts&nbsp;</U></EM></P> <UL> <LI data-leveltext="•" data-font="Arial" data-listid="22" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="2"><STRONG><SPAN data-contrast="auto">Predefined alert templates </SPAN></STRONG><SPAN data-contrast="auto">are</SPAN> <SPAN data-contrast="auto">available</SPAN><STRONG><SPAN data-contrast="auto">&nbsp;</SPAN></STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> <LI data-leveltext="•" data-font="Arial" data-listid="22" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="4" data-aria-level="2"><SPAN data-contrast="auto">Integration with Azure Monitor alerts and Azure </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">action groups</SPAN></A><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> <LI data-leveltext="•" data-font="Arial" data-listid="22" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Arial&quot;,&quot;469769242&quot;:[9675],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;•&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="4" data-aria-level="2"><SPAN data-contrast="auto">Integration with IT Service Management (ITSM) tools via </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">connectors</SPAN></A><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></LI> </UL> <P>&nbsp;</P> <P class="lia-align-center"><I><SPAN data-contrast="none">“Azure Monitor for SAP solutions is a great product for getting detailed insights into our SAP deployments on Azure. From visibility into the Linux OS, SAP HANA, SAP NetWeaver and having the added insights for Linux Pacemaker for High-Availability cluster monitoring has been truly nice. Azure Monitor for SAP solutions is a turn-key and comprehensive technical monitoring solution to support the needs of our customers”</SPAN></I><SPAN data-ccp-props="{&quot;335551550&quot;:2,&quot;335551620&quot;:2}">&nbsp;</SPAN></P> <P><SPAN data-contrast="none">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <EM>- Bryan Long, Avanade, Director Cloud Architecture and Automation.</EM></SPAN> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SameekshaKhare_2-1658168363306.png" style="width: 165px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388934i4DE19781CD46E2DE/image-dimensions/165x43?v=v2" width="165" height="43" role="button" title="SameekshaKhare_2-1658168363306.png" alt="SameekshaKhare_2-1658168363306.png" /></span></P> <P>&nbsp;</P> <P><SPAN data-ccp-props="{&quot;335551550&quot;:2,&quot;335551620&quot;:2}">&nbsp;</SPAN><SPAN data-contrast="auto">Customers can also combine telemetry from Azure Monitor for SAP solutions with Azure Monitor to create a single-pane-of-glass across both SAP and non-SAP dimensions. For example, if you wanted to troubleshoot high transaction response times of a specific SAP transaction – you can visually correlate monitoring telemetry from SAP NetWeaver, SAP HANA, Premium Managed Disks and Express Route all in one place for cohesive problem analysis.&nbsp; </SPAN><SPAN data-ccp-props="{&quot;335551550&quot;:6,&quot;335551620&quot;:6}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SameekshaKhare_4-1658168823409.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388937i9A29248B53C19F39/image-size/large?v=v2&amp;px=999" role="button" title="SameekshaKhare_4-1658168823409.png" alt="SameekshaKhare_4-1658168823409.png" /></span></P> <P>&nbsp;</P> <P>&nbsp;</P> <P><STRONG><I><SPAN data-contrast="none"><FONT color="#DF0000">IMPORTANT &amp; URGENT:</FONT></SPAN></I></STRONG><SPAN data-contrast="auto"> Microsoft is targeting all new investments within the SAP monitoring domain in Azure Monitor for SAP solutions exclusively. Therefore, it is recommended that Azure Monitor for SAP Solutions (classic) customers migrate to Azure Monitor for SAP solutions as soon as possible. Our customer can find documentation for enabling the migration on our </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">AMS-Migration GitHub</SPAN></A><SPAN data-contrast="auto"> repository.</SPAN><SPAN data-ccp-props="{&quot;335551550&quot;:6,&quot;335551620&quot;:6}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P aria-level="2"><STRONG><SPAN data-contrast="none">Pricing and regions</SPAN></STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:180,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">There is no licensing fee for </SPAN><SPAN data-contrast="auto">Azure Monitor for SAP solutions</SPAN><SPAN data-contrast="auto">. Customers simply pay for the infrastructure components that are deployed as part of the managed Azure Resource Group. Standard Azure prices are applicable for Azure Functions (Premium Linux), Azure Log Analytics, Storage, Key Vault, alerts, and notification groups.</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">Azure Monitor for SAP solutions is available in East US, East US 2, West US, West US 2, West US 3, Central US, South Central US, North Central US, West Central US, West Europe, North Europe, </SPAN><SPAN data-contrast="auto">Australia Central, Australia East, Southeast Asia, and East Asia.</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P aria-level="2"><STRONG><SPAN data-contrast="none">Support&nbsp;</SPAN></STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:180,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">Standard support via Microsoft Azure Portal is available.&nbsp;</SPAN><SPAN data-ccp-props="{}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P aria-level="2"><STRONG><SPAN data-contrast="none">Learn more</SPAN></STRONG><SPAN data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:360,&quot;335559739&quot;:180,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><LI-WRAPPER></LI-WRAPPER></P> <P><SPAN data-contrast="auto">To learn more read our </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">documentation</SPAN></A><SPAN data-contrast="auto"> and </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">watch video</SPAN></A><SPAN data-contrast="auto"> in SAP on Azure YouTube channel.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">To get started, head over to </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">Microsoft Azure portal</SPAN></A><SPAN data-contrast="auto"> and create your first resource.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">Share your thoughts and feedback with us in our </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">community page</SPAN></A><SPAN data-contrast="auto">.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}">&nbsp;</SPAN></P> <P><SPAN data-ccp-props="{}">&nbsp;</SPAN></P> Tue, 19 Jul 2022 18:22:04 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/announcing-public-preview-for-microsoft-azure-monitor-for-sap/ba-p/3575745 SameekshaKhare 2022-07-19T18:22:04Z Announcing Public Preview for Microsoft Azure Center for SAP Solutions https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/announcing-public-preview-for-microsoft-azure-center-for-sap/ba-p/3573408 <P>Customers deploying and managing SAP solutions in the cloud can move faster and more confidently with Microsoft Azure Center for SAP solutions, now available in public preview. Along with my partner, Matt Ordish I am very excited to launch this end-to-end solution enabling customers and partners to create and run SAP systems as a unified workload on Azure and provides a more seamless foundation for innovation on the Microsoft Cloud.&nbsp;</P> <P>&nbsp;</P> <H1>Guidance and automation built upon SAP on Azure best practices&nbsp;&nbsp;&nbsp;</H1> <P>&nbsp;</P> <P>Over the years, we’ve worked to address the challenges customers encounter when setting up infrastructure for SAP landscapes, installing software and configuring and maintaining their SAP systems. It typically requires multiple levels of expertise that today is spread across SAP Basis admins, network administrators, as well as other infrastructure teams. Microsoft – and other clouds – have offered frameworks and assessments to support the process but we knew customers needed something more robust that goes beyond simple automation. With Azure Center for SAP solutions, Microsoft continues to ensure Azure is the best hyperscaler for SAP workloads.</P> <P>&nbsp;</P> <P>We designed Azure Center for SAP solutions to incorporate our best practices, tools, and services as a complete experience for deploying, managing, and optimizing your SAP environment. Azure Center for SAP solutions brings SAP awareness to Azure, serving as a foundation for innovation. Customers and partners can extend the capabilities of their SAP systems by building unique IP and solutions that best suit their needs.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicrosoftTeams-image (4).png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388465i7BF4EFB0E245E5DC/image-size/large?v=v2&amp;px=999" role="button" title="MicrosoftTeams-image (4).png" alt="MicrosoftTeams-image (4).png" /></span></P> <P>Azure Center for SAP solutions brings together a set of Azure services to power a single unified experience to deploy and manage SAP workloads end to end by bringing new services, tools and frameworks together at one place. Customers can use this to run their SAP workloads directly or they can rely on a Microsoft Azure partner.</P> <P>&nbsp;</P> <P><EM>"With Azure Center for SAP Solutions, we will be able to streamline, automate, and accelerate the deployment of enterprise SAP workloads in Azure, with orchestration consistency across landscapes,"</EM> <EM>says Patrick Osterhaus, President, Protera. </EM></P> <P>&nbsp;</P> <P>The foundation of Azure Center for SAP solutions is Microsoft Azure Virtual Instance for SAP solutions. The Virtual Instance for SAP solutions allows customers to create and manage their SAP systems in a way that makes sense to them, at the SID level or the individual components as they do today.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="MicrosoftTeams-image (5).png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/388466i33ADB9E912141996/image-size/large?v=v2&amp;px=999" role="button" title="MicrosoftTeams-image (5).png" alt="MicrosoftTeams-image (5).png" /></span></P> <P>&nbsp;</P> <P>When customers choose to run their SAP workloads directly on Azure, they can choose how they want to create their SAP system.</P> <UL> <LI>The new Azure Virtual Instance for SAP solutions deployment option provides a guided portal-based experience in addition to other tools such as Azure CLI.</LI> <LI>Open-source <A href="#" target="_blank" rel="noopener">SAP deployment automation framework on Azure</A><SPAN>.</SPAN></LI> <LI>Bring their own or partner’s SAP deployment solution.</LI> </UL> <P>No matter which option our customers choose, by creating new systems or registering existing systems on Azure, customers can attain new management capabilities and integration into existing Azure services, such as Azure Resource Graph, in ways not previously possible. This now enables the ability to answer questions such as, “show me all my production SAP systems that aren’t currently running”, at scale.</P> <P>&nbsp;</P> <P><EM>“With Microsoft Azure Center for SAP solutions, we see SAP systems treated as top-level workload in Azure. Azure Graph with ACSS helps us connect SAP systems to component instances and underlying infrastructure, which will be valuable for more advanced use cases. More and more customers rely on Azure Graph as the source of truth for their infrastructure, and I have no doubt that this will unlock many interesting use cases for customers and partners to better manage SAP workloads in Azure.”&nbsp; –Sascha Wenninger, Director, SAP Centre of Excellence, SoftwareONE</EM></P> <P>&nbsp;</P> <P>In addition to the seamless deployment and management capabilities, the Azure Center for SAP solutions is a one-stop shop for any products, services, tools, and frameworks needed to run and optimize your SAP systems. Examples of commonly used services and functionalities connected to the SAP systems are the Azure Monitor for SAP solutions, Azure Backup, Azure Cost Management, and Microsoft Sentinel for Threat Protection. We’re combining services and experiences that were previously disconnected to increase operational efficiency and system security. We will continue to broaden the set of services and further drive the integration of Microsoft and SAP services into the Azure Center for SAP solutions. Our goal is to ensure the solution is extensible by customers and partners through APIs to enable the partner ecosystem to bring innovative solutions onto Azure.</P> <P>&nbsp;</P> <H1>Features and Benefits</H1> <P>In support of our long-term vision, today Microsoft is announcing the following capabilities as part of the public preview for Azure Center for SAP solutions.</P> <H2>&nbsp;</H2> <H2>Guided SAP Deployment</H2> <P>&nbsp;</P> <P>Deploying SAP S/4HANA systems on Azure is easier than ever with the Virtual Instance for SAP solutions. With minimum input, customers and partners can choose the right type of deployment based on the latest best practices and reference architectures. Not sure exactly how large of a system is required? Use the optional sizing recommendations to deploy the SAP system based on the SAPS and Database memory requirements. Moreover, you can be sure that the compute and storage sizing will be optimized for cost, availability, and performance.</P> <H2>&nbsp;</H2> <H2>Registering an Existing SAP System</H2> <P>&nbsp;</P> <P>If you’re already running SAP systems on Azure or in the process of a migration, you can seamlessly integrate the existing systems with the Azure Center for SAP solutions through a simple registration experience. The registration capability is enabled today for SAP S/4 HANA and NetWeaver ABAP systems.</P> <H2>&nbsp;</H2> <H2>Intelligent, Seamless SAP Management</H2> <P>&nbsp;</P> <P>The Azure Center for SAP solutions is an intelligent control tower that helps you seamlessly manage your SAP estate in one place. Whether you’re creating a new SAP system or registering an existing system, the following benefits are available right away with this public preview:</P> <UL> <LI>Quality Check integrated with Azure Advisor to know when infrastructure configurations deviate from documented best practices and standards, saving time when troubleshooting and increasing system quality by acting before the deviations become a problem. An example of a configuration drift would be to detect Accelerated Networking is disabled on the SAP virtual machine, compromising performance or to detect that OS layer settings that are suboptimal per best practices</LI> <LI>Ability to view the SAP system status and health across multiple SAP systems in a single pane of glass. This increases the visibility and the ability to quickly identify problems impacting the SAP systems and its components.</LI> <LI>Ability to stop and start the SAP system directly from within Azure.</LI> <LI>Integration with Microsoft <A href="#" target="_blank" rel="noopener">Azure Monitor for SAP solutions</A> &nbsp;for technical monitoring and to correlate telemetry of the SAP system with the telemtry of the OS, DBMS and underlying Azure infrastructure.</LI> <LI>Ability to search across your SAP systems thanks to the integration with Azure Resource Graph based on the SID. This makes it easier to discover which Azure resources are part of the SAP landscape. <A href="#" target="_blank" rel="noopener">Azure Resource Graph</A> is an Azure service that provides efficient and performant resource exploration with the ability to query at scale across subscriptions driving deeper insights into Azure resources.</LI> </UL> <H2>&nbsp;</H2> <H2>Foundation for Innovation</H2> <P>&nbsp;</P> <P>Azure Center for SAP solutions gives customers and partners a foundation to build on top of the center using APIs to create custom solutions, adopt new capabilities on your terms while retaining control of the underlying SAP system, and incorporating new modules into their existing solutions to run SAP on Azure and free up resources used to build and maintain these solutions</P> <H2>&nbsp;</H2> <H2>Pricing and Availability</H2> <P>&nbsp;</P> <UL> <LI>Azure Virtual Instance for SAP solutions is available in West Europe, North Europe, East US, East US 2, West US 2, West US 3, Central US, South Central US, East Asia, Southeast Asia, Australia East and Australia Central.</LI> <LI>There is no licensing fee for the product. Customers only pay for the underlying infrastructure which is deployed as part of the product or services they enable.</LI> </UL> <H2>&nbsp;</H2> <H2>Learn more</H2> <P>To learn more about the preview of Azure Center for SAP solutions or Azure Virtual Instance for SAP solutions, please check out the following resources or head over to the <A href="#" target="_blank" rel="noopener">Azure Portal</A> to get started.</P> <P>&nbsp;</P> <UL> <LI><A title="Documentation" href="#" target="_blank" rel="noopener">Documentation</A></LI> <LI><A title="Overview Video" href="#" target="_blank" rel="noopener">Overview Video</A></LI> <LI><A title="Demo Video" href="#" target="_blank" rel="noopener">Demo Video</A></LI> </UL> <P>&nbsp;</P> Thu, 21 Jul 2022 22:40:12 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/announcing-public-preview-for-microsoft-azure-center-for-sap/ba-p/3573408 Hiren_Shah_Azure 2022-07-21T22:40:12Z Is your SAP environment optimized? Assessments for SAP on Azure can help https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/is-your-sap-environment-optimized-assessments-for-sap-on-azure/ba-p/3297276 <P class="lia-align-justify"><STRONG>Overview</STRONG></P> <P class="lia-align-justify">Customers who use SAP for managing and operating their businesses know how mission critical this app is. They also realize that it’s complex, exacerbated by the number of configurations available to tune it for their specific environments. Microsoft has long understood these considerations and requirements, given that many SAP instances have run on Microsoft tech in customer data centers for decades.</P> <P class="lia-align-justify">&nbsp;</P> <P class="lia-align-justify">Microsoft Assessments are a set of industry-standard best practices that incorporate proven strategies for managing and optimizing an organization's IT assets. Customers are continually looking to streamline operations, increase productivity, and control costs. Now, there are more ways than ever to identify new workloads and services that will support their strategic objectives and grow their business. We are excited to share and discuss Microsoft Assessments for SAP Workloads running on the Azure Platform.</P> <P>&nbsp;</P> <P>SAP On Azure [AzSAP] Well-Architected Framework assessment/review is one of three Assessments available for SAP Workload on Azure to support customer/partner journey to Microsoft Azure cloud.</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="AZSAP Assessments" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386726i97A3A08797325DED/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1657283839716.png" alt="AZSAP Assessments" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">AZSAP Assessments</span></span></P> <P>&nbsp;</P> <P><STRONG>What is a “Well Architected Framework Review for SAP Workload"?</STRONG></P> <UL class="lia-list-style-type-square"> <LI class="lia-align-justify"><SPAN data-preserver-spaces="true">SAP On Azure Well-Architected assessment/review is a Microsoft Azure self-service assessment offering to evaluate and create a roadmap for customers/partners to improve the quality of SAP On Azure deployment on the Azure Platform while addressing business Non-Functional requirements.</SPAN></LI> <LI><SPAN data-preserver-spaces="true">Evaluate the architecture guidance and best practices created for architects, developers and solution owners to improve the quality of the SAP On Azure workloads based on five aligned and connected pillars.</SPAN></LI> <LI><SPAN data-preserver-spaces="true">Deliver</SPAN><STRONG><SPAN data-preserver-spaces="true">&nbsp;prioritized and actionable recommendations</SPAN></STRONG><SPAN data-preserver-spaces="true">&nbsp;to address each risk.</SPAN></LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Best practices to drive SAP On Azure workload quality" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/386725i7FA78B052E131A8A/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1657283655734.png" alt="Best practices to drive SAP On Azure workload quality" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Best practices to drive SAP On Azure workload quality</span></span></P> <P><SPAN data-preserver-spaces="true">&nbsp;</SPAN><SPAN data-preserver-spaces="true"><STRONG>Key Outcomes</STRONG></SPAN></P> <UL class="lia-list-style-type-disc"> <LI>Scoring across the five pillars of Well-Architected for SAP On Azure deployment.</LI> <LI>Identify key risks to the SAP workload deployment and steps to remediate.</LI> <LI>Propose actionable and prioritized recommendations to address identified risks</LI> <LI>Capture key findings and associated recommendations in an <U><STRONG>SAP Well Architected Review report </STRONG></U>focused on the reviewed Pillar/s.</LI> <LI>Provide guidance for implementing critical short-term recommendations</LI> </UL> <P>&nbsp;</P> <P><STRONG>How to access Self-Service Well-Architected for SAP On Azure Assessment</STRONG></P> <UL class="lia-list-style-type-square"> <LI>Go to&nbsp;<A href="#" target="_blank" rel="noopener">Assessments | Microsoft Docs</A></LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Microsoft Assessment Platform" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367553iC6E819197BB8BF9B/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_1-1651111320823.png" alt="Microsoft Assessment Platform" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Microsoft Assessment Platform</span></span></P> <P>&nbsp;</P> <UL class="lia-list-style-type-circle"> <LI>Login to the site with your Microsoft user to ensure the Assessment is saved for the user login.</LI> <LI>Select Azure Well-Architected Review to select the workload for Well-Architect-Framework Assessment.</LI> <LI>Select New Assessment.</LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_2-1651111506306.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367554iC910E163A5D8E908/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_2-1651111506306.png" alt="jitendrasingh_2-1651111506306.png" /></span></P> <UL class="lia-list-style-type-circle"> <LI>Link your Azure Subscription (Optional) to get Azure Advisor recommendation or continue with <STRONG><EM>Start</EM></STRONG></LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_0-1651115114501.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367562iBE68FFB2F72BA69A/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1651115114501.png" alt="jitendrasingh_0-1651115114501.png" /></span></P> <UL class="lia-list-style-type-circle"> <LI>Select the workload for Assessment</LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_3-1651111705794.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367555i8ABE9964891DFF42/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_3-1651111705794.png" alt="jitendrasingh_3-1651111705794.png" /></span></P> <P>&nbsp;</P> <P>Select the Well-Architected pillar/s for Assessment (at least one pillar must be selected to proceed further, it is recommended to select all for full assessment.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_4-1651111854533.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367556i3BA6698AB2CFEBD1/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_4-1651111854533.png" alt="jitendrasingh_4-1651111854533.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_5-1651112381811.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367557iB8F7B6A388A09069/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_5-1651112381811.png" alt="jitendrasingh_5-1651112381811.png" /></span></P> <P>&nbsp;</P> <UL class="lia-list-style-type-square"> <LI>Progress with "Next" and select the applicable design considerations for respective questions.</LI> <LI>On the last question select "View guidance" to access the Assessment Scoring for selected Pillars.</LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_0-1651113032594.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367558iB2C265CB29ED4326/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1651113032594.png" alt="jitendrasingh_0-1651113032594.png" /></span></P> <P><STRONG>Next steps</STRONG></P> <UL class="lia-list-style-type-square"> <LI>Customers/Partners can complete the self-service assessment and review the outcome.</LI> <LI>If the assessment (score) output is not in line with the expectation, then the Customers/Partners technical team can export "Output to CSV" and reach out to Microsoft contact to arrange a session with AzSAP Well-Architected Executive Summary.</LI> </UL> <P>&nbsp;</P> <P>Learn more about the Azure Cloud Excellence for SAP&nbsp;<A href="#" target="_blank" rel="noopener">#87 - The one with the AzSAP Assessments (Etienne Dittrich &amp; Jitendra Singh) | SAP on Azure Podcast - YouTube</A></P> <P>&nbsp;</P> <P>&nbsp;</P> <P class="lia-align-justify"><STRONG>Author Bio</STRONG></P> <P class="lia-align-justify">Jitendra Singh &amp; Etienne Dittrich are SAP On Azure Principal Program Managers at Microsoft, part of the Customer Solutions &amp; Incubation team, responsible for helping customers achieve the most out of their cloud investment and have a channel for direct feedback to the Product team.</P> Mon, 11 Jul 2022 02:00:00 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/is-your-sap-environment-optimized-assessments-for-sap-on-azure/ba-p/3297276 jitendrasingh 2022-07-11T02:00:00Z Manual Recovery Guide for SAP HANA on Azure VMs from Azure NetApp Files snapshot with AzAcSnap https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-hana-on-azure-vms-from-azure/ba-p/3290161 <H1><SPAN>Table of Contents</SPAN></H1> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866492" target="_blank" rel="noopener">Version</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866493" target="_blank" rel="noopener">Authors</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866494" target="_blank" rel="noopener">Overview</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866495" target="_blank" rel="noopener">Assumptions</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866496" target="_blank" rel="noopener">Terms and Definitions</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866497" target="_blank" rel="noopener">System status</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866498" target="_blank" rel="noopener">Recover the database to its most recent state</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866499" target="_blank" rel="noopener">Recover the database to the following point in time</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866500" target="_blank" rel="noopener">Recover the database to a specific data (snapshot) backup</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc101866501" target="_blank" rel="noopener">Appendix – SAP HANA Data Volume locations</A></SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc101866492"></A><SPAN>Version</SPAN></H1> <P><SPAN>This document is for the SAP HANA on Azure NetApp Files using the Microsoft AzAcSnap <STRONG>version 5.0 or later</STRONG>.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <H1><A target="_blank" name="_Toc101866493"></A><SPAN>Authors</SPAN></H1> <P><A href="#" target="_blank" rel="noopener">Phil Jensen</A>,&nbsp;Principal Software Engineer at Microsoft.</P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc101866494"></A><SPAN>Overview</SPAN></H1> <P><SPAN>This document provides guidance on using SAP HANA Studio to recover SAP HANA on Azure NetApp Files. This guide has step-by-step screenshots to follow to understand the three primary methods of recovering SAP HANA using HANA Studio from a snapshot taken using the Microsoft provided AzAcSnap tool.</SPAN></P> <P>&nbsp;</P> <P><SPAN>The screenshots in this document are from SAP HANA Studio session accessing <STRONG>SAP HANA 2.0SPS04</STRONG>.</SPAN></P> <P>&nbsp;</P> <P><STRONG><SPAN>Disclaimer:</SPAN></STRONG><SPAN> <EM>This guide and the associated screenshots are taken from an SAP HANA v2.0 system recovery as set up in the Microsoft test environment for SAP HANA on an Azure Virtual Machine with Azure NetApp Files storage. Anyone following this guide is responsible for ensuring the recovery process works in their own environment as expected.</EM></SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc101866495"></A><SPAN>Assumptions</SPAN></H1> <P><SPAN>The administrator following this guide has experience with SAP HANA and HANA Studio because not all details are provided as screenshots to follow (e.g. logging in to HANA Studio, etc.).</SPAN></P> <P>&nbsp;</P> <P><SPAN>The administrator is familiar with SAP HANA backup processes, including the Backup Catalog and Storage Snapshots.</SPAN></P> <P>&nbsp;</P> <P><SPAN>The administrator has the appropriate permissions at a Linux shell to copy files as the &lt;sid&gt;adm user into the SAP HANA Data Area.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <H1><A target="_blank" name="_Toc101866496"></A><SPAN>Terms and Definitions</SPAN></H1> <P><SPAN>Terms used in this documentation:&nbsp; </SPAN></P> <UL> <LI><STRONG><SPAN>SID</SPAN></STRONG><SPAN>: A System Identifier for SAP HANA installation, typically 3 characters long.&nbsp; </SPAN></LI> <LI><STRONG><SPAN>ANF</SPAN></STRONG><SPAN>: Azure NetApp Files.</SPAN></LI> <LI><STRONG><SPAN>VM</SPAN></STRONG><SPAN>: Virtual Machine.</SPAN></LI> </UL> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc101866497"></A><SPAN>System status</SPAN></H1> <P><SPAN>The system layout used for this documentation has a “primary” SID (PR1) and another second tenant (PR2).&nbsp; </SPAN></P> <P><SPAN>The second tenant (PR2) was created using the SQL commands:</SPAN></P> <P>&nbsp;</P> <UL> <LI><SPAN>CREATE DATABASE PR2 SYSTEM USER PASSWORD &lt;SomePassword&gt;</SPAN></LI> </UL> <P><SPAN>The primary data area is under “/hana/data/PR1/mnt00001”.&nbsp; Further explanation of the SAP HANA persistent data storage area is in the Appendix.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <H1><A target="_blank" name="_Toc101866498"></A><SPAN>Recover the database to its most recent state</SPAN></H1> <P><SPAN>In this case the goal is to restore the complete system (SYSTEMDB, PR1, PR2) from a snapshot to the most recent database state, including any log replay.</SPAN></P> <P>&nbsp;</P> <OL> <LI><SPAN>First step is to stop the database<BR /></SPAN><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_0-1652793226731.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372337i35F1B5C79A41635B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_0-1652793226731.png" alt="GeertVanTeylingen_0-1652793226731.png" /></span> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1652793251649.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372338i3CB81505A0761F9F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1652793251649.png" alt="GeertVanTeylingen_1-1652793251649.png" /></span> <P>&nbsp;</P> You may need to provide the &lt;sid&gt;adm user and password to shut-down the database.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_2-1652793272542.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372339iBB1F64EF8A6C79A0/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_2-1652793272542.png" alt="GeertVanTeylingen_2-1652793272542.png" /></span><BR /><BR />When this is finished, the Processes tab should display as follows:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_3-1652793291511.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372340i11A83ADA5BD2D6AD/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1652793291511.png" alt="GeertVanTeylingen_3-1652793291511.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="2"> <LI><SPAN>Start the recovery process from the menu.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1650967057706.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366803i767601021CD696AB/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1650967057706.png" alt="GeertVanTeylingen_5-1650967057706.png" /></span><BR /><BR /></SPAN>Note, the recovery wizard can take several seconds to launch (see the following status):<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_6-1650967057707.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366801iA7DC184330A248EB/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1650967057707.png" alt="GeertVanTeylingen_6-1650967057707.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="3"> <LI><SPAN>Choose the recovery type, in this case “Recover the database to its most recent state”<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_7-1650967057712.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366804i4071C1D4EF285AF8/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_7-1650967057712.png" alt="GeertVanTeylingen_7-1650967057712.png" /></span><BR /></SPAN></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="4"> <LI><SPAN><SPAN>Choose the location of the backup catalog, which is needed for recovery.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_90-1650968009273.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366889iB6C7E9AE48984F6D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_90-1650968009273.png" alt="GeertVanTeylingen_90-1650968009273.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="5"> <LI><SPAN>The backup catalog will be fetched to display the appropriate backup to recover from (this can take a minute or two to load<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1650967057725.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366806i897FB190E0E2391C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1650967057725.png" alt="GeertVanTeylingen_9-1650967057725.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="6"> <LI><SPAN>The first time the backup catalog is refreshed, its likely no suitable snapshot will be found to restore from.&nbsp; This is because the administrator will need to copy/restore the files from the snapshot into the data area.<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_10-1650967057736.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366808iBD190C93A692CC59/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_10-1650967057736.png" alt="GeertVanTeylingen_10-1650967057736.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="7"> <LI><SPAN>Restore the snapshot files for recovery using either option (a) <STRONG>Revert Volume from Snapshot</STRONG> or option (b) <STRONG>Copy files</STRONG>.&nbsp; Option (a) is faster.</SPAN> <OL class="lia-list-style-type-lower-alpha"> <LI><STRONG><SPAN>Revert Volume from Snapshot</SPAN></STRONG><SPAN> – this will roll a Volume back to a prior state and any data or snapshots added to the Volume after the Snapshot used to revert to are lost.&nbsp;&nbsp;</SPAN>At this time Reverting a Volume can only be done using the Azure Portal.<BR /><BR /><STRONG><FONT color="#DF0000">!<SPAN> Make sure SAP HANA is not running before reverting any volumes.<BR /><BR /></SPAN></FONT></STRONG>If dealing with multiple Volumes make a note of the snapshot name you are reverting to as they all must have the same snapshot name.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_0-1652791885967.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372312i30F45462588CD777/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_0-1652791885967.png" alt="GeertVanTeylingen_0-1652791885967.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1652791907342.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372314iCC1F2C93FBDBD3A9/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1652791907342.png" alt="GeertVanTeylingen_1-1652791907342.png" /></span> <P>&nbsp;</P> After completing the Volume Revert it’s a good idea to remount the volumes: <PRE># mount -o remount /hana/data/PR1/</PRE> </LI> <LI><STRONG style="font-family: inherit;">Copy files</STRONG><SPAN> - In this example, the files are copied from the “hidden” snapshot location in the filesystem.<BR /></SPAN> <PRE># su - pr1adm<BR />&gt; cp -pr /hana/data/PR1/mnt00001/.snapshot/PR1_hourly__2022-03-31T220003-7196432Z/* /hana/data/PR1/mnt00001/.</PRE> </LI> <LI><STRONG>Single file snapshot restore</STRONG><BR />Alternatively Azure NetApp Files <A href="#" target="_blank" rel="noopener">single file snapshot restore</A> feature can be used to <A href="#" target="_blank" rel="noopener">restore files without the need to copy any of them across the network</A>.</LI> </OL> </LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="8"> <LI><SPAN>When the copy is complete, refresh the view of the backup catalog to ensure the snapshot we are restoring from is listed.<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_13-1650967057750.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366811iC3C90A629E998D34/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_13-1650967057750.png" alt="GeertVanTeylingen_13-1650967057750.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="9"> <LI><SPAN>Now select the available SNAPSHOT shown in green to recover from.<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_3-1652792119286.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372317i68EB2AD5BE52C53A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1652792119286.png" alt="GeertVanTeylingen_3-1652792119286.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="10"> <LI><SPAN><SPAN><SPAN>Choose the location of the Log Backups.<BR /><BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1652793489158.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372342iA2D393ABC5A28C96/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1652793489158.png" alt="GeertVanTeylingen_5-1652793489158.png" /></span><SPAN>&nbsp;</SPAN><SPAN><BR /><BR /></SPAN></LI> <LI><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1652792236373.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372320i856C120D36A74EF9/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1652792236373.png" alt="GeertVanTeylingen_5-1652792236373.png" /></span><BR /></SPAN></LI> </OL> <P>&nbsp;</P> <OL start="12"> <LI><SPAN>On the summary page, review any final details and press Finish to restore the system database.</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_6-1652793580895.png" style="width: 400px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372343i01ECBE89D6E3739C/image-size/medium?v=v2&amp;px=400" role="button" title="GeertVanTeylingen_6-1652793580895.png" alt="GeertVanTeylingen_6-1652793580895.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_7-1652793604753.png" style="width: 400px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372344i753431F7942FA718/image-size/medium?v=v2&amp;px=400" role="button" title="GeertVanTeylingen_7-1652793604753.png" alt="GeertVanTeylingen_7-1652793604753.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_8-1652792317554.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372324i2D4EBBA907B75115/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_8-1652792317554.png" alt="GeertVanTeylingen_8-1652792317554.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="13"> <LI><SPAN>While the recovery is in progress, the following screen is displayed:</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1652792351131.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372325i0DD89AE4986E292E/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1652792351131.png" alt="GeertVanTeylingen_9-1652792351131.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="14"> <LI><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the SYSTEMDB.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_10-1652792415237.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372326i8EFAF06FF188DA4D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_10-1652792415237.png" alt="GeertVanTeylingen_10-1652792415237.png" /></span> <P>&nbsp;</P> <FONT color="#DF0000"><STRONG>!<SPAN> Note the message stating “recovering the system database from a storage snapshot invalidates all the tenant databases”.&nbsp; Tenant databases must now be recovered.</SPAN></STRONG></FONT>&nbsp;</LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="15"> <LI><SPAN>Start the recovery of the Tenant database</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_12-1652792453342.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372328i5F93E580CD1E9643/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_12-1652792453342.png" alt="GeertVanTeylingen_12-1652792453342.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="16"> <LI><SPAN>Choose the Tenant to recover from.</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_13-1652792491311.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372329i945CD423F1DFAA17/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_13-1652792491311.png" alt="GeertVanTeylingen_13-1652792491311.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="17"> <LI><SPAN>Choose to recover the tenant database to its most recent state (same as for the system database).</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_14-1652792596462.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372330iBF74A93FC64C5B4A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_14-1652792596462.png" alt="GeertVanTeylingen_14-1652792596462.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="18"> <LI><SPAN>Provide the location of the Backup Catalog (same as for the system database)<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_23-1650967057805.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366821i783200217CF9651F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_23-1650967057805.png" alt="GeertVanTeylingen_23-1650967057805.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="19"> <LI><SPAN><SPAN>Allow the tenant database to be stopped for recovery.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_8-1652793655198.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372346iBF45ACB3366A4D9B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_8-1652793655198.png" alt="GeertVanTeylingen_8-1652793655198.png" /></span> <P>&nbsp;</P> <SPAN><BR /></SPAN></LI> <LI>Wait for the Backup Catalog to be refreshed and displayed</LI> </OL> <OL start="21"> <LI><SPAN>When recovering the tenant database there should already be a valid snapshot to recover from (unlike the system database where we needed to restore the snapshot files into the data area and refresh the view).&nbsp; Select this snapshot and click next.<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_25-1650967057817.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366823i815311384813E1F8/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_25-1650967057817.png" alt="GeertVanTeylingen_25-1650967057817.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="22"> <LI><SPAN>Specify any locations for log backups to include in the recovery process.</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_16-1652792732583.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372332iB1165EF08406BA47/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_16-1652792732583.png" alt="GeertVanTeylingen_16-1652792732583.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="23"> <LI><SPAN><SPAN><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults<BR /><BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1652793719308.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372347i3105EBB308DA7154/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1652793719308.png" alt="GeertVanTeylingen_9-1652793719308.png" /></span><SPAN><SPAN><BR /><BR /></SPAN></SPAN></LI> <LI><SPAN>On the summary page, review any final details and press Finish to restore the tenant database. Select Finish to proceed with the recovery.</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_18-1652792790525.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372334i6E58396252563C28/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_18-1652792790525.png" alt="GeertVanTeylingen_18-1652792790525.png" /></span> <P><SPAN>&nbsp;</SPAN><SPAN>&nbsp;</SPAN></P> </LI> <LI><SPAN>The recovery process can take a few minutes, depending on database size and log files to process.<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_29-1650967057840.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366826i238EB7F93542F62D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_29-1650967057840.png" alt="GeertVanTeylingen_29-1650967057840.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="26"> <LI><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery. The following screen shows a completed recovery of the TENANT DB.</SPAN> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_19-1652792887489.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372335i9051CB2D2E37E95B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_19-1652792887489.png" alt="GeertVanTeylingen_19-1652792887489.png" /></span></LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <OL start="27"> <LI><SPAN>The following screenshot shows the database after recovery with some services running.<BR /><BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_31-1650967057852.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366828iAF4AFDC30825D6A2/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_31-1650967057852.png" alt="GeertVanTeylingen_31-1650967057852.png" /></span> <P><STRONG style="font-family: inherit;"><BR /></STRONG><FONT color="#DF0000"><STRONG>Note<SPAN>, there is no process for PR2 running, this tenant still needs to be recovered</SPAN></STRONG></FONT></P> </LI> </OL> <P><SPAN>&nbsp;</SPAN></P> <P><STRONG>Repeat the steps 14-25 to recover any other tenants.</STRONG></P> <P><SPAN>In our example, after recovering tenant PR2, the process list looks like the following:</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_32-1650967057862.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366829i77831C0EB5500953/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_32-1650967057862.png" alt="GeertVanTeylingen_32-1650967057862.png" /></span></P> <P>&nbsp;</P> <P><SPAN><A target="_blank" name="_Toc3386914"></A></SPAN></P> <P><SPAN>A process listing can also be retrieved form the command line when logged in as the &lt;sid&gt;adm user.</SPAN></P> <PRE>&gt; /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList<BR />01.04.2022 01:19:55<BR />GetProcessList<BR />OK<BR />name, description, dispstatus, textstatus, starttime, elapsedtime, pid<BR />hdbdaemon, HDB Daemon, GREEN, Running, 2022 04 01 01:06:14, 0:13:41, 713<BR />hdbcompileserver, HDB Compileserver, GREEN, Running, 2022 04 01 01:07:04, 0:12:51, 1653<BR />hdbindexserver, HDB Indexserver-PR1, GREEN, Running, 2022 04 01 01:14:54, 0:05:01, 3929<BR />hdbindexserver, HDB Indexserver-PR2, GREEN, Running, 2022 04 01 01:17:39, 0:02:16, 5302<BR />hdbnameserver, HDB Nameserver, GREEN, Running, 2022 04 01 01:06:14, 0:13:41, 731<BR />hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2022 04 01 01:07:04, 0:12:51, 1656<BR />hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2022 04 01 01:07:05, 0:12:50, 1702<BR />hdbxsengine, HDB XSEngine-PR1, GREEN, Running, 2022 04 01 01:15:11, 0:04:44, 4266</PRE> <H1><A target="_blank" name="_Toc101866499"></A><SPAN>Recover the database to the following point in time</SPAN></H1> <P><SPAN>This process allows recovery of the database to a specific point in time, perhaps just prior to an invalid transaction.</SPAN></P> <P>&nbsp;</P> <OL> <LI><SPAN><SPAN>First step is to stop the database<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_0-1652797814385.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372368i3D4E9BD3847C1019/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_0-1652797814385.png" alt="GeertVanTeylingen_0-1652797814385.png" /></span> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1652797838354.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372369i9A2BBBBCCB388E37/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1652797838354.png" alt="GeertVanTeylingen_1-1652797838354.png" /></span> <P>&nbsp;</P> When this is finished, the Processes tab should display as follows:<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_2-1652797861816.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372370i9CBEA3A2DD843DCF/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_2-1652797861816.png" alt="GeertVanTeylingen_2-1652797861816.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Start the recovery process from the menu.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_3-1652797901086.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372371i7202F68FDDFD2BFC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1652797901086.png" alt="GeertVanTeylingen_3-1652797901086.png" /></span><SPAN><BR /><BR /></SPAN>Note, the recovery wizard can take several seconds to launch (see the following status)<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_4-1652797930124.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372372i9B8ABE97BBAD9AA4/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_4-1652797930124.png" alt="GeertVanTeylingen_4-1652797930124.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Choose the recovery type, in this case “Recover the database to the following point in time”, in this example the time stamp chosen is 01-April-2022 10:30:00 (in 24 hour GMT+13)<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1652797970418.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372373i0F6CB52E22CB1F43/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1652797970418.png" alt="GeertVanTeylingen_5-1652797970418.png" /></span><SPAN><BR /><BR /></SPAN><FONT color="#DF0000"><STRONG>!</STRONG></FONT><SPAN><FONT color="#DF0000"><STRONG> Note the time used is based on UTC/GMT.</STRONG></FONT><BR /><BR /></SPAN></LI> <LI><SPAN><SPAN>Confirm the recovery to continue, noting the potential for lost data.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_6-1652798028771.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372374iC5C0D4B24FB6B11A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1652798028771.png" alt="GeertVanTeylingen_6-1652798028771.png" /></span> <P>&nbsp;</P> </LI> <LI>Choose the location of the backup catalog, which is needed for recovery.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_7-1652798062192.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372375i2BA4400B176406C1/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_7-1652798062192.png" alt="GeertVanTeylingen_7-1652798062192.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN>The backup catalog will be fetched to display the appropriate backup to recover from (this can take a minute or two to load)<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_8-1652798087829.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372376i16A24A624E1BC481/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_8-1652798087829.png" alt="GeertVanTeylingen_8-1652798087829.png" /></span> <P>&nbsp;</P> </LI> <LI>The first time the backup catalog is refreshed, its likely no suitable snapshot will be found to restore from.&nbsp; This is because the administrator will need to copy/restore the files from the snapshot into the data area.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1652798122047.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372377i4FB476CDC402BEF5/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1652798122047.png" alt="GeertVanTeylingen_9-1652798122047.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN>Restore the snapshot files for recovery using either option (a) <STRONG>Revert Volume from Snapshot</STRONG> or option (b) <STRONG>Copy files</STRONG>.&nbsp; Option (a) is faster.</SPAN> <OL class="lia-list-style-type-lower-alpha"> <LI><STRONG><SPAN>Revert Volume from Snapshot</SPAN></STRONG><SPAN> – this will roll a Volume back to a prior state and any data or snapshots added to the Volume after the Snapshot used to revert to are lost.<BR /></SPAN>At this time Reverting a Volume can only be done using the Azure Portal.<BR /><BR /><FONT color="#DF0000"><STRONG>!</STRONG></FONT><SPAN><FONT color="#DF0000"><STRONG> Make sure SAP HANA is not running before reverting any volumes.</STRONG></FONT><BR /><BR /></SPAN>If dealing with multiple Volumes make a note of the snapshot name you are reverting to as they all must have the same snapshot name.<BR /><BR />We are reverting from the latest snapshot taken <STRONG><U>BEFORE</U></STRONG> our target recovery time.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_10-1652798305237.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372378i5EB2F46655F2FDF9/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_10-1652798305237.png" alt="GeertVanTeylingen_10-1652798305237.png" /></span> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_11-1652798430055.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372379iEF1B2A41E496E945/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_11-1652798430055.png" alt="GeertVanTeylingen_11-1652798430055.png" /></span></LI> <LI><STRONG><SPAN>Copy files</SPAN></STRONG><SPAN> - In this example, the files are copied from the “hidden” snapshot location in the filesystem.</SPAN><SPAN><BR /></SPAN> <PRE># su - pr1adm<BR />&gt; cp -pr /hana/data/PR1/mnt00001/.snapshot/PR1_hourly__2022-03-31T210004-1084693Z/* /hana/data/PR1/mnt00001/.</PRE> </LI> <LI><STRONG>Single file snapshot restore</STRONG><BR />Alternatively Azure NetApp Files <A href="#" target="_blank" rel="noopener">single file snapshot restore</A> feature can be used to <A href="#" target="_blank" rel="noopener">restore files without the need to copy any of them across the network</A>.<BR /><BR /></LI> </OL> </LI> <LI><SPAN><SPAN>When the copy is complete, refresh the view of the backup catalog to ensure the snapshot we are restoring from is listed.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_12-1652798563406.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372380iB8060AF07BDF7E6E/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_12-1652798563406.png" alt="GeertVanTeylingen_12-1652798563406.png" /></span><SPAN><BR /><BR /></SPAN></LI> <LI>Now select the available SNAPSHOT shown in green to recover from.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_13-1652798591174.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372381i3F204F87FA9CC672/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_13-1652798591174.png" alt="GeertVanTeylingen_13-1652798591174.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Choose the location of the Log Backups.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_14-1652798670690.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372382iDE458C79EDF188BE/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_14-1652798670690.png" alt="GeertVanTeylingen_14-1652798670690.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_15-1652798695135.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372383i9AA9DF3225BD2940/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_15-1652798695135.png" alt="GeertVanTeylingen_15-1652798695135.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>On the summary page, review any final details and press Finish to restore the system database.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_16-1652798722847.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372384i3B477EF43DD8BA47/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_16-1652798722847.png" alt="GeertVanTeylingen_16-1652798722847.png" /></span> <P>&nbsp;</P> </LI> <LI>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the SYSTEMDB.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_17-1652798771057.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372385i2CB65FBAEA183051/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_17-1652798771057.png" alt="GeertVanTeylingen_17-1652798771057.png" /></span> <P>&nbsp;</P> <FONT color="#DF0000"><STRONG>!</STRONG></FONT><SPAN><FONT color="#DF0000"><STRONG> Note the message stating “recovering the system database from a storage snapshot invalidates all the tenant databases”.&nbsp; Tenant databases must now be recovered.</STRONG></FONT><BR /><BR /></SPAN></LI> <LI>Start the recovery of the Tenant database<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_18-1652798998726.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372387iAB55D5004486DBF8/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_18-1652798998726.png" alt="GeertVanTeylingen_18-1652798998726.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Choose the Tenant to recover from.&nbsp; At the time of writing, only a single tenant database is supported by SAP to recover from.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_19-1652799030878.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372388i62049928C4F6FD30/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_19-1652799030878.png" alt="GeertVanTeylingen_19-1652799030878.png" /></span> <P>&nbsp;</P> </LI> <LI>Choose to recover the tenant database to the following point in time (same as for the system database).<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_20-1652799064367.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372389i0CAC8483435B7E6B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_20-1652799064367.png" alt="GeertVanTeylingen_20-1652799064367.png" /></span> <P>&nbsp;</P> </LI> <LI>Provide the location of the Backup Catalog (same as for the system database)<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_21-1652799090284.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372390iB6FAC1598A396F0A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_21-1652799090284.png" alt="GeertVanTeylingen_21-1652799090284.png" /></span> <P>&nbsp;</P> </LI> <LI>Allow the tenant database to be stopped for recovery.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_22-1652799115960.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372391iF60E417C9B659457/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_22-1652799115960.png" alt="GeertVanTeylingen_22-1652799115960.png" /></span> <P>&nbsp;</P> </LI> <LI>Wait for the Backup Catalog to be refreshed and displayed<BR /><BR /></LI> <LI>When recovering the tenant database there should already be a valid snapshot to recover from (unlike the system database where we needed to restore the snapshot files into the data area and refresh the view).&nbsp; Select this snapshot and click next.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_23-1652799152167.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372392i7B792E49363744FA/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_23-1652799152167.png" alt="GeertVanTeylingen_23-1652799152167.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Specify any locations for log backups to include in the recovery process.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_24-1652799180524.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372393i92B8F9A7BBC28990/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_24-1652799180524.png" alt="GeertVanTeylingen_24-1652799180524.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_25-1652799213690.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372394iCD333F21D7D72E0A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_25-1652799213690.png" alt="GeertVanTeylingen_25-1652799213690.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>On the summary page, review any final details and press Finish to restore the tenant database. Select Finish to proceed with the recovery.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_26-1652799248506.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372395iA46AE5F0D633F7DE/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_26-1652799248506.png" alt="GeertVanTeylingen_26-1652799248506.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>The recovery process can take a few minutes, depending on database size and log files to process.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_27-1652799283805.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372396i43CCC7755A878518/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_27-1652799283805.png" alt="GeertVanTeylingen_27-1652799283805.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery. The following screen shows a completed recovery of the TENANT DB.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_28-1652799312943.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372397i39FBDA243DA59DAE/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_28-1652799312943.png" alt="GeertVanTeylingen_28-1652799312943.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>The following screenshot shows the database after recovery with some services running.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_29-1652799339786.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372398i65F50D1BF63FB482/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_29-1652799339786.png" alt="GeertVanTeylingen_29-1652799339786.png" /></span> <P>&nbsp;</P> <FONT color="#DF0000"><STRONG>Note, there is no process for PR2 running, this tenant still needs to be recovered</STRONG></FONT></LI> </OL> <P><STRONG><BR />Repeat the steps 14-25 to recover any other tenants.</STRONG></P> <P><SPAN>In our example, after recovering tenant PR2, the process list looks like the following:</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_63-1650967058040.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366860iD781FD48B1396561/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_63-1650967058040.png" alt="GeertVanTeylingen_63-1650967058040.png" /></span></P> <P>&nbsp;</P> <P><SPAN>A process listing can also be retrieved form the command line when logged in as the &lt;sid&gt;adm user.</SPAN></P> <PRE>&gt; /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList<BR />01.04.2022 01:19:55<BR />GetProcessList<BR />OK<BR />name, description, dispstatus, textstatus, starttime, elapsedtime, pid<BR />hdbdaemon, HDB Daemon, GREEN, Running, 2022 04 01 01:06:14, 0:13:41, 713<BR />hdbcompileserver, HDB Compileserver, GREEN, Running, 2022 04 01 01:07:04, 0:12:51, 1653<BR />hdbindexserver, HDB Indexserver-PR1, GREEN, Running, 2022 04 01 01:14:54, 0:05:01, 3929<BR />hdbindexserver, HDB Indexserver-PR2, GREEN, Running, 2022 04 01 01:17:39, 0:02:16, 5302<BR />hdbnameserver, HDB Nameserver, GREEN, Running, 2022 04 01 01:06:14, 0:13:41, 731<BR />hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2022 04 01 01:07:04, 0:12:51, 1656<BR />hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2022 04 01 01:07:05, 0:12:50, 1702<BR />hdbxsengine, HDB XSEngine-PR1, GREEN, Running, 2022 04 01 01:15:11, 0:04:44, 4266</PRE> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc3386915"></A><A target="_blank" name="_Toc101866500"></A><SPAN>Recover the database to a specific data (snapshot) backup</SPAN></H1> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>This process recovers the database to a specific snapshot only (i.e. no log replay).</SPAN></P> <P>&nbsp;</P> <OL> <LI><SPAN><SPAN>First step is to stop the database<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_0-1652801201618.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372408i080C507DE5A29104/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_0-1652801201618.png" alt="GeertVanTeylingen_0-1652801201618.png" /></span> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1652801232602.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372409iAB4ED1EADF2667F8/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1652801232602.png" alt="GeertVanTeylingen_1-1652801232602.png" /></span> <P>&nbsp;</P> When this is finished, the Processes tab should display as follows:<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_2-1652801252081.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372410i0D789D1524B307A7/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_2-1652801252081.png" alt="GeertVanTeylingen_2-1652801252081.png" /></span> <P>&nbsp;</P> </LI> <LI>Start the recovery process from the menu.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_3-1652801280353.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372411iA159BBC410D894BF/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1652801280353.png" alt="GeertVanTeylingen_3-1652801280353.png" /></span><BR /><BR />Note, the recovery wizard can take several seconds to launch (see the following status)<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_4-1652801306271.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372412i20D53A75402FC3CE/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_4-1652801306271.png" alt="GeertVanTeylingen_4-1652801306271.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Choose the recovery type, in this case “Recover the database to a specific data backup”.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1652801329934.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372413i7CCD35C12998D6B1/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1652801329934.png" alt="GeertVanTeylingen_5-1652801329934.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Confirm the recovery to continue, noting the potential for lost data.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_6-1652801349255.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372415iB75241BBA164996F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1652801349255.png" alt="GeertVanTeylingen_6-1652801349255.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>As there will be no log replay, continue to “Recover without the backup catalog”.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_7-1652801368926.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372416i239A470F8182509F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_7-1652801368926.png" alt="GeertVanTeylingen_7-1652801368926.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Specify the Backup to Recover, Destination Type = Snapshot.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_8-1652801403482.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372418iD222F9D87ED63E4E/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_8-1652801403482.png" alt="GeertVanTeylingen_8-1652801403482.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Note this restore method will Initialize Log Area. Check any appropriate “Other Settings”, the following screen is the defaults<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1652801527683.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372419i1B0C1C9511B228DE/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1652801527683.png" alt="GeertVanTeylingen_9-1652801527683.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN>Restore the snapshot files for recovery using either option (a) <STRONG>Revert Volume from Snapshot</STRONG> or option (b) <STRONG>Copy files</STRONG>.&nbsp; Option (a) is faster.</SPAN> <OL class="lia-list-style-type-lower-alpha"> <LI><STRONG><SPAN>Revert Volume from Snapshot</SPAN></STRONG><SPAN> – this will roll a Volume back to a prior state and any data or snapshots added to the Volume after the Snapshot used to revert to are lost.&nbsp;</SPAN>At this time Reverting a Volume can only be done using the Azure Portal.<BR /><BR /><FONT color="#DF0000"><STRONG>!</STRONG></FONT><SPAN><FONT color="#DF0000"><STRONG> Make sure SAP HANA is not running before reverting any volumes.</STRONG></FONT><BR /><BR /></SPAN>If dealing with multiple Volumes make a note of the snapshot name you are reverting to as they all must have the same snapshot name.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_10-1652801708911.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372420i67D0FB1F219E93A9/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_10-1652801708911.png" alt="GeertVanTeylingen_10-1652801708911.png" /></span> <P>&nbsp;</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_11-1652802051895.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372421iE0716B6649FCF6C3/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_11-1652802051895.png" alt="GeertVanTeylingen_11-1652802051895.png" /></span></LI> <LI><STRONG><SPAN>Copy files</SPAN></STRONG><SPAN> - In this example, the files are copied from the “hidden” snapshot location in the filesystem.<BR /></SPAN> <PRE><SPAN># su - pr1adm<BR />&gt; cp -pr /hana/data/PR1/mnt00001/.snapshot/PR1_hourly__2022-03-31T210004-1084693Z/* /hana/data/PR1/mnt00001/.<BR /></SPAN></PRE> </LI> <LI><STRONG>Single file snapshot restore</STRONG><BR />Alternatively Azure NetApp Files <A href="#" target="_blank" rel="noopener">single file snapshot restore</A> feature can be used to <A href="#" target="_blank" rel="noopener">restore files without the need to copy any of them across the network</A></LI> </OL> </LI> <LI>On the summary page, review any final details.&nbsp; Make sure you have copied/restored the snapshot files to the data area, if the copy has completed then press Finish to restore the system database.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_12-1652802441840.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372422i3B222B8BC2B708E3/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_12-1652802441840.png" alt="GeertVanTeylingen_12-1652802441840.png" /></span> <P>&nbsp;</P> </LI> <LI>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the SYSTEMDB.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_13-1652802487565.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372423i4F667A87602C7132/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_13-1652802487565.png" alt="GeertVanTeylingen_13-1652802487565.png" /></span> <P>&nbsp;</P> <FONT color="#DF0000"><STRONG>!</STRONG></FONT><SPAN><FONT color="#DF0000"><STRONG> Note the message stating “recovering the system database from a storage snapshot invalidates all the tenant databases”.&nbsp; Tenant databases must now be recovered.</STRONG></FONT><BR /><BR /></SPAN></LI> <LI>Start the recovery of the Tenant database<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_14-1652802522357.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372424iE083FE74B95103DB/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_14-1652802522357.png" alt="GeertVanTeylingen_14-1652802522357.png" /></span> <P>&nbsp;</P> </LI> <LI>Choose the Tenant to recover from.&nbsp; At the time of writing, only a single tenant database is supported by SAP to recover from.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_15-1652802549794.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372425i635781F64D4C0C88/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_15-1652802549794.png" alt="GeertVanTeylingen_15-1652802549794.png" /></span> <P>&nbsp;</P> </LI> <LI>Choose to recover the tenant database to a specific data backup.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_16-1652802572609.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372426iFA7D93A07B816202/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_16-1652802572609.png" alt="GeertVanTeylingen_16-1652802572609.png" /></span> <P>&nbsp;</P> </LI> <LI>As there will be no log replay, continue to “Recover without the backup catalog”.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_17-1652802596567.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372427i767C73CEF791A059/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_17-1652802596567.png" alt="GeertVanTeylingen_17-1652802596567.png" /></span> <P>&nbsp;</P> </LI> <LI>Specify the Backup to Recover, Destination Type = Snapshot.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_18-1652802617096.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372428i399A638E9036024D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_18-1652802617096.png" alt="GeertVanTeylingen_18-1652802617096.png" /></span> <P>&nbsp;</P> </LI> <LI>Note this restore method will Initialize Log Area. Check any appropriate “Other Settings”, the following screen is the defaults<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_19-1652802639650.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372429i1ABACDFA4F09F39F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_19-1652802639650.png" alt="GeertVanTeylingen_19-1652802639650.png" /></span> <P>&nbsp;</P> </LI> <LI>There is no need to restore the snapshot files to the data area as this was done when recovering the system database.<BR /><BR /></LI> <LI>On the summary page, review any final details and press Finish to restore the system database.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_20-1652802670515.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372430i68045637F86CD866/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_20-1652802670515.png" alt="GeertVanTeylingen_20-1652802670515.png" /></span><BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_21-1652802719378.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372431iE89AB51A4BDE2874/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_21-1652802719378.png" alt="GeertVanTeylingen_21-1652802719378.png" /></span> <P>&nbsp;</P> </LI> <LI>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the tenant database.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_23-1652802762646.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372433iC20F0DDA3F8C3371/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_23-1652802762646.png" alt="GeertVanTeylingen_23-1652802762646.png" /></span> <P>&nbsp;</P> </LI> <LI>The following screenshot shows the database after recovery with some services running.<BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_24-1652802812017.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/372434iC0A7A2870A8EAD43/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_24-1652802812017.png" alt="GeertVanTeylingen_24-1652802812017.png" /></span><BR /><BR /><FONT color="#DF0000"><STRONG>Note, there is no process for PR2 running, this tenant still needs to be recovered</STRONG></FONT></LI> </OL> <P>&nbsp;</P> <P><STRONG>Repeat the steps 11-20 to recover any other tenants.</STRONG></P> <P><SPAN>In our example, after recovering tenant PR2, the process list looks like the following:</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_88-1650967058183.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366886i56C3CB42CBC2E829/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_88-1650967058183.png" alt="GeertVanTeylingen_88-1650967058183.png" /></span></P> <P>&nbsp;</P> <P><SPAN>A process listing can also be retrieved form the command line when logged in as the &lt;sid&gt;adm user.</SPAN></P> <PRE>&gt; /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList<BR />01.04.2022 01:19:55<BR />GetProcessList<BR />OK<BR />name, description, dispstatus, textstatus, starttime, elapsedtime, pid<BR />hdbdaemon, HDB Daemon, GREEN, Running, 2022 04 01 01:06:14, 0:13:41, 713<BR />hdbcompileserver, HDB Compileserver, GREEN, Running, 2022 04 01 01:07:04, 0:12:51, 1653<BR />hdbindexserver, HDB Indexserver-PR1, GREEN, Running, 2022 04 01 01:14:54, 0:05:01, 3929<BR />hdbindexserver, HDB Indexserver-PR2, GREEN, Running, 2022 04 01 01:17:39, 0:02:16, 5302<BR />hdbnameserver, HDB Nameserver, GREEN, Running, 2022 04 01 01:06:14, 0:13:41, 731<BR />hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2022 04 01 01:07:04, 0:12:51, 1656<BR />hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2022 04 01 01:07:05, 0:12:50, 1702<BR />hdbxsengine, HDB XSEngine-PR1, GREEN, Running, 2022 04 01 01:15:11, 0:04:44, 4266<SPAN>&nbsp;</SPAN></PRE> <P><SPAN>A process listing can also be retrieved form the command line when logged in as the &lt;sid&gt;adm user.</SPAN></P> <PRE>&gt; /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList<BR />15.09.2019 23:51:43<BR />GetProcessList<BR />OK<BR />name, description, dispstatus, textstatus, starttime, elapsedtime, pid<BR />hdbdaemon, HDB Daemon, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 28998<BR />hdbcompileserver, HDB Compileserver, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29598<BR />hdbindexserver, HDB Indexserver-PR1, GREEN, Running, 2019 09 15 23:21:34, 0:30:09, 31935<BR />hdbindexserver, HDB Indexserver-PR2, GREEN, Running, 2019 09 15 23:37:51, 0:13:52, 36538<BR />hdbnameserver, HDB Nameserver, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 29017<BR />hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29601<BR />hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2019 09 15 23:09:29, 0:42:14, 29648<BR />hdbxsengine, HDB XSEngine-PR1, GREEN, Running, 2019 09 15 23:21:53, 0:29:50, 32071</PRE> <H1><A target="_blank" name="_Toc101866501"></A><SPAN>Appendix – SAP HANA Data Volume locations</SPAN></H1> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>A detailed explanation of persistent data storage can be found in the “SAP HANA Administration Guide for SAP HANA Platform” - “<A href="#" target="_blank" rel="noopener">Persistent Data Storage in the SAP HANA Database</A>” section.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>The following diagram is taken from the “<A href="#" target="_blank" rel="noopener">Data and Log Volumes</A>” sub-section. This shows the Directory Hierarchy for Persistent Data Storage (System with Multitenant Database Containers) for SAP HANA.&nbsp; Note the separation of System DB and Tenant DB files into logically grouped sub-directories.&nbsp; The volume names of tenant databases have a suffix to represent the database. For example, the indexserver volume for the first tenant database is hdb00002.00002, for the second database hdb00002.000003, and so on.&nbsp; For example, Tenant DB 1 data storage is grouped into both “hdb00002.00003” and “hdb00003.00003” sub-directories for the indexserver and xsengine respectively.&nbsp; </SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_89-1650967058184.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366885i6095D60388BE79FC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_89-1650967058184.png" alt="GeertVanTeylingen_89-1650967058184.png" /></span></P> <P>&nbsp;</P> <P><SPAN>&nbsp;</SPAN></P> Tue, 14 Jun 2022 15:00:00 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-hana-on-azure-vms-from-azure/ba-p/3290161 GeertVanTeylingen 2022-06-14T15:00:00Z Implementing SAP HANA scale-up high availability on Disaster Region https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/implementing-sap-hana-scale-up-high-availability-on-disaster/ba-p/3488922 <H2 class="FirstParagraph"><STRONG>DISCLAIMER</STRONG></H2> <P>&nbsp;</P> <P class="FirstParagraph">This article describes procedure to prepare SAP HANA scale-up high availability in Disaster Region (DR) running on Red Hat Enterprise Linux on Azure. The procedure described in this article has been initially tested by Red Hat and Microsoft engineering and should be used as a basis to set up corresponding pilot implementations. As its current state, the solution is still unverified as mentioned in <A href="#" target="_blank" rel="noopener">Red Hat article</A> and needs to be considered experimental. It is highly recommended to engage Red Hat and SAP consulting service before implementing this solution in your organization. <STRONG>Carefully read the <A href="#" target="_blank" rel="noopener">disclaimer</A> from Red Hat about this procedure before you proceed with the setup on Azure.</STRONG></P> <P class="FirstParagraph">&nbsp;</P> <H2 class="FirstParagraph"><STRONG>Solution overview</STRONG></H2> <P>&nbsp;</P> <P class="FirstParagraph">In below figure, primary database hanadb1 in production region replicates data change synchronously to hanadb2 in the same region. Primary database on hanadb1 in production region also replicates data change asynchronously to hanadb3 in another region. Secondary node hanadb3 is a source system for a further secondary database on hanadb4 located in the same region with hanadb1. For more information on this system replication setup, see <A href="#" target="_blank" rel="noopener">SAP HANA Multi-target System Replication | SAP Help Portal</A>.</P> <P class="FirstParagraph">&nbsp;</P> <P class="FirstParagraph"><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="sap-hana-disaster-recovery-cluster.png" style="width: 718px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/379026i233E604FA43F588C/image-size/large?v=v2&amp;px=999" role="button" title="sap-hana-disaster-recovery-cluster.png" alt="sap-hana-disaster-recovery-cluster.png" /></span></P> <P class="FirstParagraph">&nbsp;</P> <P data-unlink="true">To configure above disaster recovery setup of SAP HANA scale-up with high availability cluster you need to configure two independent clusters, one in each region. In primary region, configure SAP HANA scale-up high availability between hanadb1 and hanadb2 as documented in <A href="#" target="_self">High availability of SAP HANA on Azure VMs on RHEL</A>&nbsp;or <A href="#" target="_self">High availability of SAP HANA Scale-up with ANF on RHEL</A>&nbsp;based on your storage type (local or NFS). Similarly on secondary or DR region, set up another independent SAP HANA scale-up cluster between hanadb3 and hanadb4 following the same document. You then configure SAP HANA multi-target system replication and cluster resource on DR region as described in below <STRONG>configuration steps</STRONG> section.</P> <P data-unlink="true">&nbsp;</P> <P>The cluster on the DR region is ready to run, but the services are stopped. The automatic handling of the cluster resources (like SAPHana_HN1_03-Clone, g_ip_HN1_03, hanadb<STRONG>x</STRONG>_nfs etc.) in DR region is configured but are placed in unmanaged mode. When the primary region goes down and failover to DR region is initiated, you need to manually takeover hanadb3 as the new primary. HANA system replication between hanadb3 and hanadb4 should be active before you start cluster service on the DR region. After starting cluster services, you can put the resources in managed mode.</P> <P>&nbsp;</P> <H2>Key points on the setup</H2> <P>&nbsp;</P> <P>The configuration of SAP HANA scale-up high availability cluster on DR region looks identical to primary region. But you should understand some key differences and take into account following points.</P> <P>&nbsp;</P> <UL> <LI>SAP HANA scale-up high availability setup on DR region looks identical to the sites in primary region except for the hostname.</LI> <LI>To establish HANA system replication between primary and DR region, the communication between nodes from primary to DR region should be open, and vice-versa.</LI> <LI>HANA system replication is established as described in overview section and should always be active across all sites.</LI> <LI>No automatic failover feature from production region to DR region. Failover to DR region is manual.</LI> <LI>After manual failover to DR region, all cluster functions are manually activated again.</LI> <LI>Sites running on primary and DR region needs to be in sync in terms of changes and patch levels. For example, if you've changed the constraint in primary region cluster, same needs to be updated on DR region cluster.</LI> <LI>The database connection on all clients should point to the virtual IP of the primary region. It needs to be changed after manual failover to DR. region&nbsp;</LI> <LI>Automatic start of cluster services on VM boot should never be stopped on the primary region. But you need to disable it on the DR region.</LI> </UL> <P>&nbsp;</P> <H2>Configuration steps</H2> <P>&nbsp;</P> <H3>Pre-requisite: Set up HANA clusters on primary and DR region</H3> <P>&nbsp;</P> <UL> <LI>Configure two independent SAP HANA scale-up high availability clusters, one on each region as documented in <A href="#" target="_blank" rel="noopener">High availability of SAP HANA on Azure VMs on RHEL</A>.</LI> <LI>Ensure SAP HANA System ID (SID), instance number are same on both region sites, except hostname.</LI> <LI>If your HANA file systems are NFS mount, configure two independent SAP HANA scale-up high availability clusters, one on each region as documented in <A href="#" target="_blank" rel="noopener">High availability of SAP HANA Scale-up with ANF on RHEL</A>. Also maintain the NFS file system entry in /etc/fstab as well.</LI> </UL> <P>NOTE: In case of cluster managed mount, it is recommended to add file system entry into /etc/fstab using 'noauto' option. 'noauto' option avoids automatic mount of filesystem after reboot. So, mounts are either handled manually or by the cluster.&nbsp;</P> <P>&nbsp;</P> <H3>Configure cluster resources in DR region</H3> <P>&nbsp;</P> <P>After configuring an independent SAP HANA scale-up high availability cluster on the DR region, following steps needs to be performed on the DR region cluster.&nbsp;<STRONG>These steps&nbsp;are applicable only in DR region.</STRONG></P> <P>&nbsp;</P> <OL> <LI>Disable automatic start of cluster service on VM boot in DR region cluster.<BR /><LI-CODE lang="bash">pcs cluster disable --all​</LI-CODE></LI> <LI>Put the resources in unmanaged mode in DR region cluster.<BR /><LI-CODE lang="bash"># Place HANA resource in unmanage mode pcs resource unmanage SAPHana_HN1_03-Clone # Place virtual IP group (contains virtual IP and probe port) resource in unmanage mode pcs resource unmanage g_ip_HN1_03​</LI-CODE>If HANA file systems are on NFS mounts, put the filesystem resource on the DR-site into unmanaged state. This step is applicable only when NFS filesystems are used for HANA.<BR /><LI-CODE lang="bash"># Place filesystem group resource in unmanage mode pcs resource unmanage hanadb3_nfs pcs resource unmanage hanadb4_nfs​</LI-CODE></LI> <LI>Stop the cluster.<BR /><LI-CODE lang="bash"># Stop the cluster after placing resources in unmanage mode pcs cluster stop --all​</LI-CODE></LI> </OL> <P><STRONG>NOTE: </STRONG>When the resources are in unmanaged state and the cluster is stopped, it is highly recommended to start the cluster on a regular basis on the secondary region to ensure that the cluster service comes up. As resources are already in unmanage state, it can remain in the same state after starting the cluster. You can stop the cluster after cluster comes up and services are running.</P> <P>&nbsp;</P> <LI-CODE lang="bash">pcs status --full</LI-CODE> <P>&nbsp;</P> <H3 class="FirstParagraph">Establish system replication from primary to DR region</H3> <P>&nbsp;</P> <P>Establish system replication from node hanadb1 in primary region to the node <STRONG>hanadb3</STRONG> in DR region.</P> <P>&nbsp;</P> <OL> <LI>Stop HANA database on <STRONG>hanadb3</STRONG> and <STRONG>hanadb4<BR /></STRONG><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm sapcontrol -nr 03 -function StopSystem HDB​</LI-CODE></LI> <LI>Copy keys from <STRONG>hanadb1</STRONG> in primary region to <STRONG>hanadb3</STRONG> and <STRONG>hanadb4</STRONG> of DR region.<BR /><LI-CODE lang="bash"># Copy keys from hanadb1 to hanadb3 scp /usr/sap/HN1/SYS/global/security/rsecssfs/data/SSFS_HN1.DAT sidadm@hanadb3:/usr/sap/HN1/SYS/global/security/rsecssfs/data/ scp /usr/sap/HN1/SYS/global/security/rsecssfs/key/SSFS_HN1.KEY sidadm@hanadb3:/usr/sap/HN1/SYS/global/security/rsecssfs/key/ # Copy keys from hanadb1 to hanadb4 scp /usr/sap/HN1/SYS/global/security/rsecssfs/data/SSFS_HN1.DAT sidadm@hanadb4:/usr/sap/HN1/SYS/global/security/rsecssfs/data/ scp /usr/sap/HN1/SYS/global/security/rsecssfs/key/SSFS_HN1.KEY sidadm@hanadb4:/usr/sap/HN1/SYS/global/security/rsecssfs/key/​</LI-CODE></LI> <LI>Register <STRONG>hanadb3</STRONG> as secondary of <STRONG>hanadb1</STRONG> in asynchronous replication mode. Log in as &lt;<SPAN>hanasid&gt;</SPAN>adm in <STRONG><STRONG>hanadb3.<BR /></STRONG></STRONG><LI-CODE lang="bash">hdbnsutil -sr_register --remoteHost=hanadb1 --remoteInstance=03 --replicationMode=async --operationMode=logreplay --name=SITE3</LI-CODE></LI> <LI>Start HANA database on <STRONG>hanadb3</STRONG>.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm sapcontrol -nr 03 -function StartSystem HDB​</LI-CODE></LI> <LI>Enable system replication on <STRONG>hanadb3</STRONG>.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm on hanadb3 hdbnsutil -sr_enable --name=SITE3​</LI-CODE></LI> <LI>Register <STRONG>hanadb4</STRONG> as secondary of <STRONG>hanadb3</STRONG>.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm on hanadb4 hdbnsutil -sr_register --remoteHost=hanadb3 --remoteInstance=03 --replicationMode=sync --operationMode=logreplay --name=SITE4​</LI-CODE></LI> <LI>Start HANA database on <STRONG>hanadb4</STRONG>.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm sapcontrol -nr 03 -function StartSystem HDB​</LI-CODE></LI> <LI>After establishing system replication between primary and DR region, check the system replication on <STRONG>hanadb1</STRONG> in primary region.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm in primary node (hanadb1) in primary region python /usr/sap/HN1/HDB03/exe/python_support/systemReplicationStatus.py​</LI-CODE></LI> </OL> <P>&nbsp;</P> <H2>Failover to DR region</H2> <P>&nbsp;</P> <P>Primary region goes down and business has decided to perform failover to DR region. Follow below steps to takeover <STRONG>hanadb3</STRONG> on DR region as the new primary.</P> <P>&nbsp;</P> <OL> <LI>Perform a takeover on <STRONG>hanadb3</STRONG>.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm on hanadb3 hdbnsutil -sr_takeover --suspendPrimary​</LI-CODE></LI> <LI>Check the system replication status on <STRONG>hanadb3</STRONG>. HANA system replication between <STRONG>hanadb3</STRONG> and <STRONG>hanadb4</STRONG> should be active after the takeover.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm in new primary node (hanadb3) in disaster region python /usr/sap/HN1/HDB03/exe/python_support/systemReplicationStatus.py​</LI-CODE></LI> <LI>Start the cluster in DR region.<BR /><LI-CODE lang="bash"># Start the cluster in disaster region pcs cluster start --all​</LI-CODE></LI> <LI>Check the status of the cluster. The resources should still be in unmanaged mode.<BR /><LI-CODE lang="bash">pcs status --full​</LI-CODE></LI> <LI>Clean up the resources and place the resources in manage mode.<BR /><LI-CODE lang="bash"># If there are any failed resource after starting cluster, you need to cleanup the resource(s). pcs resource cleanup SAPHana_HN1_03-Clone # ONLY APPLICABLE - If you are using NFS mount for HANA file system pcs resource manage hanadb3_nfs pcs resource manage hanadb4_nfs # Place HANA and virtual group resource in manage mode pcs resource manage SAPHana_HN1_03-Clone pcs resource manage g_ip_HN1_03​</LI-CODE></LI> <LI>Enable cluster service to start on VM boot.<BR /><LI-CODE lang="bash"># Execute command in disaster region cluster i.e. hanadb3 or hanadb4. pcs cluster enable --all​</LI-CODE></LI> </OL> <P><STRONG>Important:</STRONG>&nbsp;After DR region becomes the new primary for HANA database, you need to change the database connection to all clients with new hostname.</P> <P>&nbsp;</P> <H2>Configure former primary as new secondary site</H2> <P>&nbsp;</P> <P>After failover to DR region, you want former primary to be your new secondary region. Follow below steps only on former primary region.</P> <P>&nbsp;</P> <OL> <LI>Disable cluster service to start on VM boot.<BR /><LI-CODE lang="applescript"># Execute command in former primary node i.e. hanadb1 pcs cluster disable --all​</LI-CODE></LI> <LI>Put the resources in unmanaged mode.<BR /><LI-CODE lang="bash"># Place HANA resource in unamange mode pcs resource unmanage SAPHana_HN1_03-Clone # Place virtual IP group (contains virtual IP and probe port) resource in unmanage mode pcs resource unmanage g_ip_HN1_03​</LI-CODE>If HANA file systems are on NFS mounts, put the filesystem resource on the DR-site into unmanaged state. This step is applicable only when NFS filesystems are used for HANA.<BR /><LI-CODE lang="bash"># Place filesystem group resource in unmanage mode pcs resource unmanage hanadb1_nfs pcs resource unmanage hanadb2_nfs​</LI-CODE></LI> <LI>Stop the cluster.<BR /><LI-CODE lang="bash"># Stop the cluster after placing resources in unmanage mode pcs cluster stop --all​</LI-CODE></LI> <LI>Stop HANA database on <STRONG>hanadb1</STRONG> and <STRONG>hanadb2</STRONG>, if running.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm sapcontrol -nr 03 -function StartSystem HDB​</LI-CODE></LI> <LI>Clean up SAP HANA replication setup on former primary.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm hdbnsutil -sr_cleanup --force​</LI-CODE></LI> <LI>Copy keys from <STRONG>hanadb3</STRONG> in new primary to <STRONG>hanadb1</STRONG> and <STRONG>hanadb2</STRONG>.<BR /><LI-CODE lang="applescript"># Copy keys from hanadb3 to hanadb1 scp /usr/sap/HN1/SYS/global/security/rsecssfs/data/SSFS_HN1.DAT sidadm@hanadb1:/usr/sap/HN1/SYS/global/security/rsecssfs/data/ scp /usr/sap/HN1/SYS/global/security/rsecssfs/key/SSFS_HN1.KEY sidadm@hanadb1:/usr/sap/HN1/SYS/global/security/rsecssfs/key/ # Copy keys from hanadb3 to hanadb2 scp /usr/sap/HN1/SYS/global/security/rsecssfs/data/SSFS_HN1.DAT sidadm@hanadb2:/usr/sap/HN1/SYS/global/security/rsecssfs/data/ scp /usr/sap/HN1/SYS/global/security/rsecssfs/key/SSFS_HN1.KEY sidadm@hanadb2:/usr/sap/HN1/SYS/global/security/rsecssfs/key/​</LI-CODE></LI> <LI>Register <STRONG>hanadb1</STRONG> as secondary of <STRONG>hanadb3</STRONG> in asynchronous replication mode. Log in as &lt;<SPAN>hanasid&gt;</SPAN>adm in <STRONG><STRONG>hanadb1.<BR /></STRONG></STRONG><LI-CODE lang="applescript">hdbnsutil -sr_register --remoteHost=hanadb3 --remoteInstance=03 --replicationMode=async --operationMode=logreplay --name=SITE1</LI-CODE></LI> <LI>Start HANA database on <STRONG>hanadb1</STRONG>.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm sapcontrol -nr 03 -function StartSystem HDB​</LI-CODE></LI> <LI>Enable system replication on <STRONG>hanadb1</STRONG>.<BR /><LI-CODE lang="applescript"># Execute command using &lt;hanasid&gt;adm on hanadb1 hdbnsutil -sr_enable --name=SITE1​</LI-CODE></LI> <LI>Register <STRONG>hanadb2</STRONG> as secondary of <STRONG>hanadb1</STRONG>.<BR /><LI-CODE lang="applescript"># Execute command using &lt;hanasid&gt;adm on hanadb2 hdbnsutil -sr_register --remoteHost=hanadb1 --remoteInstance=03 --replicationMode=sync --operationMode=logreplay --name=SITE2​</LI-CODE></LI> <LI>Start HANA database on <STRONG><STRONG>hanadb2.<BR /></STRONG></STRONG><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm sapcontrol -nr 03 -function StartSystem HDB</LI-CODE></LI> </OL> <OL start="12"> <LI>After establishing system replication between the new primary and former primary regions, check the system replication on <STRONG>hanadb3</STRONG> in new primary region.<BR /><LI-CODE lang="bash"># Execute command using &lt;hanasid&gt;adm in primary node (hanadb1) in primary region python /usr/sap/HN1/HDB03/exe/python_support/systemReplicationStatus.py​</LI-CODE></LI> </OL> <P><STRONG>NOTE:</STRONG> When the resources are in unmanaged state and the cluster is stopped, it is highly recommended to start the cluster on a regular basis on the secondary region to ensure that the cluster service comes up. As resources are already in unmanage state, it can remain in the same state after starting the cluster. You can stop the cluster after cluster comes up and services are running.</P> Fri, 10 Jun 2022 15:00:00 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/implementing-sap-hana-scale-up-high-availability-on-disaster/ba-p/3488922 dennispadia 2022-06-10T15:00:00Z SAP on Azure Product Announcements Summary – SAP Sapphire 2022 https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-on-azure-product-announcements-summary-sap-sapphire-2022/ba-p/3346496 <P><SPAN>Microsoft is a Platinum sponsor of SAP Sapphire 2022. As the event approaches, we are delighted to provide a comprehensive update on all the great enhancements we have been doing for our Products, Frameworks, and Tools to give you the best experience to run your SAP workloads on Azure.&nbsp;</SPAN><SPAN>We are pleased to share that Microsoft’s deep partnership with SAP continues to get stronger with </SPAN><SPAN><A href="#" target="_blank" rel="noopener">Microsoft becoming the first public cloud provider to adopt the RISE with SAP solution internally</A>. </SPAN><SPAN>This move allows Microsoft to accelerate our own S/4HANA modernization and enables Microsoft to develop greater expertise and best practices to better serve our customers.</SPAN></P> <P>&nbsp;</P> <P>Our customers have a choice of how to deploy and operate their SAP assets on Azure, these options include RISE with SAP or directly on our SAP certified IaaS platform with support from our extensive partner ecosystem or by managing the SAP migration and SAP operations with in-house IT personnel. The <SPAN><A href="#" target="_blank" rel="noopener">National Basketball Association (NBA) selected RISE with SAP on Azure</A></SPAN> due to Microsoft’s deep expertise running SAP applications, in addition to their strong partnership with SAP. The NBA will be at Sapphire 2022 sharing their story.</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_0-1652125635780.png" style="width: 200px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370309i075FE8748EF13A3C/image-size/small?v=v2&amp;px=200" role="button" title="Hiren_Shah_Azure_0-1652125635780.png" alt="Hiren_Shah_Azure_0-1652125635780.png" /></span></P> <P>&nbsp;</P> <P><EM>“With the best cloud platform in Azure and the best technology partners in Microsoft and SAP, we’re well positioned to do what we do best: enhance the game of basketball for our league, employees, teams, and fans. [With Azure] we can spin up machines and processes easily and prototype new solutions quickly …. The cloud model is also more cost-effective and provides easier upgrades, simpler architecture, and more robust disaster recovery options” - Sahil Gupta: Senior Vice President and Head of Application Development, NBA</EM></P> <P><EM>&nbsp;</EM><SPAN>&nbsp;</SPAN></P> <P>At Microsoft, we are committed to continuously innovate to improve customer experience across both these options for SAP deployment. Microsoft continues to work with SAP to provide the best customer experience for RISE with SAP. &nbsp;We will also continue to innovate with native services and tools to help customers along each step of their cloud journey, from migration to management, and modernization. &nbsp;The announcements we are sharing today are built upon our <SPAN><A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/how-to-migrate-your-sap-landscape-to-azure/ba-p/1669976" target="_blank" rel="noopener">SAP Migration Framework</A>.</SPAN></P> <P>&nbsp;</P> <UL> <LI>SAP and Microsoft have partnered on <STRONG>DMO to Microsoft Azure</STRONG> to help reduce business downtime for customers migrating to cloud and the SAP S/4HANA conversion.</LI> <LI>E(d)sv5 virtual machines are now certified for smaller<STRONG> SAP HANA footprints of </STRONG><STRONG>160 GB to 672 GB memory</STRONG>.&nbsp; E(d)sv5 and D(d)sv5 series are also supported for SAP NetWeaver and offering <STRONG>1700 SAPS per vCPU.</STRONG></LI> <LI>The <STRONG>SAP Deployment Automation Framework</STRONG> enables a rapid deployment of SAP S/4HANA and SAP NetWeaver in 2 hours and supports <STRONG><SPAN>Azure DevOps Pipelines</SPAN></STRONG> for managing the SAP on Azure deployment lifecycle.</LI> <LI>Customers can leverage <STRONG>Productive SAP Cloud Appliance Library </STRONG>deployments to consume SAP solutions such as SAP S/4HANA on Microsoft Azure with a few clicks.</LI> <LI>Microsoft<STRONG> Azure Monitor for SAP solutions</STRONG> enables simplified telemetry collection and visualization for end-to-end technical monitoring for your SAP applications running on Azure.</LI> <LI>Protect the security posture of your SAP applications with <STRONG>Microsoft Sentinel for SAP</STRONG> threat monitoring.</LI> <LI>The <STRONG>Azure Blob Storage Connector for SAP Information Lifecycle Management</STRONG> is now available to support SAP data archiving and reduce costs for SAP infrastructure.</LI> <LI><STRONG>SAP Private Link for Azure</STRONG> facilitates secure endpoints between SAP S/4HANA and Business Technology Platform on Microsoft Azure.</LI> <LI>Azure Purview now supports SAP HANA and SAP Business Warehouse for <STRONG>u</STRONG><STRONG>nified data governance to help customers manage their data map</STRONG>.</LI> <LI>A comprehensive set of <STRONG>Frameworks and Tools</STRONG> are available to guide and drive quality for SAP on Azure deployments.</LI> </UL> <P><FONT size="4"><STRONG>Converting from SAP ERP on Premise to SAP S/4HANA on Microsoft Azure</STRONG></FONT></P> <P><STRONG><SPAN>Reducing business downtime for journey to cloud and SAP S/4HANA conversion</SPAN></STRONG></P> <P><STRONG>&nbsp;</STRONG></P> <P><SPAN>SAP and Microsoft are committed to making our customers transition to SAP S/4HANA and Microsoft Azure as easily as possible. Customers can accelerate their journey by using DMO to Microsoft Azure to migrate an existing on-premises SAP ERP system to Microsoft Azure and perform the system conversion to SAP S/4HANA during the migration in a single step. The database migration is performed over the network (avoiding data exports to a file system) and the SAP S/4HANA conversion can be manifested on a highly performant virtual machines resulting in a reduced business downtime. </SPAN>Refer to our <SPAN><A href="#" target="_blank" rel="noopener">joint-paper</A></SPAN><SPAN> with SAP to learn </SPAN><SPAN> about the DMO to Microsoft Azure.</SPAN></P> <P><STRONG>&nbsp;</STRONG></P> <P><FONT size="4"><STRONG>Scalable Compute for all SAP workloads and sizes</STRONG></FONT></P> <P>&nbsp;</P> <P>Customers running SAP on Microsoft Azure benefit from scalable compute to satisfy the most demanding workloads. We offer SAP HANA certified virtual machines from 160 GB to 12 TB memory with 24 TB memory virtual machines in controlled availability.&nbsp; We are pleased to announce that we have certified our E(d)sv5 virtual machines for smaller SAP HANA workloads with memory footprints of 160 GB to 672 GB. Within the <SPAN><A href="#" target="_blank" rel="noopener">SAP Certified and Supported SAP HANA® Hardware Directory</A></SPAN> Microsoft Azure has 128 published certifications for SAP HANA.&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_1-1652125635785.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370310i31F363E4C4FE0C6A/image-size/large?v=v2&amp;px=999" role="button" title="Hiren_Shah_Azure_1-1652125635785.png" alt="Hiren_Shah_Azure_1-1652125635785.png" /></span></P> <P>&nbsp;</P> <P>The E(d)sv5 and recently certified D(d)sv5 series are also <SPAN><A href="#" target="_blank" rel="noopener">supported for SAP NetWeaver</A></SPAN> offering 1700 SAPS (SAP Application Performance Standard) per vCPU, this improved performance is benefitting heavy ABAP and Java workloads by accelerating program execution. &nbsp;</P> <P><STRONG>&nbsp;</STRONG></P> <P><FONT size="4"><STRONG>SAP on Azure Products and Services</STRONG></FONT></P> <P>&nbsp;</P> <P>In addition to SAP certified core infrastructure of compute and storage, our SAP on Azure offerings span a range of Products and Services, Frameworks and Tools. We are excited to share this new framework that summarizes all our current offerings. Stay tuned for more updates on some exciting new offerings in this space.</P> <P>&nbsp;&nbsp;&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_2-1652125635792.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370311i093A124F1256C6FB/image-size/large?v=v2&amp;px=999" role="button" title="Hiren_Shah_Azure_2-1652125635792.png" alt="Hiren_Shah_Azure_2-1652125635792.png" /></span></P> <P>&nbsp;</P> <P><FONT size="4"><STRONG>SAP Deployment Automation Framework</STRONG></FONT></P> <P><STRONG>Enabling a rapid deployment of SAP S/4HANA and SAP NetWeaver in 2 hours</STRONG></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_3-1652125635802.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370313iA560AD1969B438E7/image-size/large?v=v2&amp;px=999" role="button" title="Hiren_Shah_Azure_3-1652125635802.png" alt="Hiren_Shah_Azure_3-1652125635802.png" /></span></P> <P>&nbsp;</P> <P>The <SPAN><A href="#" target="_blank" rel="noopener">SAP Deployment Automation Framework</A></SPAN> helps our customers rapidly deploy SAP S/4HANA and SAP NetWeaver at scale. To enable a deployment lifecycle framework for SAP on Azure, we have introduced <SPAN><A href="#" target="_blank" rel="noopener">Azure DevOps Pipelines</A></SPAN> for managing SAP deployments.</P> <P>We have also introduced Azure Files NFS v4.1 and Azure NetApp Files support for the SAP Application layer including high-availability scenarios. SAP on Oracle deployments are also now supported including high availability.</P> <P><STRONG>&nbsp;</STRONG><STRONG>&nbsp;</STRONG></P> <P><STRONG>&nbsp;</STRONG></P> <P><FONT size="4"><STRONG>Productive SAP Cloud Appliance Library Deployment</STRONG></FONT></P> <P><STRONG><SPAN>Consume SAP solutions such as SAP S/4HANA on Microsoft Azure with a few clicks </SPAN></STRONG></P> <P>&nbsp;</P> <P>In the past, customers have leveraged the SAP Cloud Appliance Library to deploy sandbox and test environments with low friction on Microsoft . Customers can select from a range of available templates to install for example a highly available SAP S/4HANA system that complies with SAP and Microsoft best practices. This capability, that is currently available on Microsoft Azure only, enables customers to get started quickly by delivering the foundation for their SAP on Azure transformation.</P> <P>&nbsp;</P> <P><SPAN>Head over to <A href="#" target="_blank" rel="noopener">Solutions - SAP Cloud Appliance Library</A> and search for the available “Production Solution” types. </SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_4-1652125635810.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370312iCBF0D078980CA477/image-size/large?v=v2&amp;px=999" role="button" title="Hiren_Shah_Azure_4-1652125635810.png" alt="Hiren_Shah_Azure_4-1652125635810.png" /></span></P> <P>&nbsp;</P> <P><STRONG>Image source SAP, SAP Cloud Appliance Library</STRONG></P> <P><STRONG>&nbsp;</STRONG></P> <P><STRONG><FONT size="4">Microsoft Azure Monitor for SAP solutions</FONT> </STRONG></P> <P><STRONG>Simplified telemetry collection and visualization for end-to-end SAP technical monitoring </STRONG></P> <P>&nbsp;</P> <P>Microsoft Azure Monitor for SAP solutions is a native technical monitoring product for customers running SAP applications. With Azure Monitor for SAP solutions, you can collect end-to-end telemetry data from SAP NetWeaver, Databases, High-Availability Linux Pacemaker clusters and the Linux Operating Systems in a central location to visually correlate data for speedy troubleshooting.</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_5-1652125635820.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370314i506570ACFB93C144/image-size/large?v=v2&amp;px=999" role="button" title="Hiren_Shah_Azure_5-1652125635820.png" alt="Hiren_Shah_Azure_5-1652125635820.png" /></span></P> <P>&nbsp;</P> <P>An enhanced version of Azure Monitor for SAP solutions is moving to preview with the following new capabilities:&nbsp;</P> <UL> <LI><STRONG>Simplified Architecture</STRONG>: Azure Functions is leveraged as a telemetry-collector as opposed to a virtual machine. The new architecture reduces maintenance overhead for our customers.</LI> <LI><STRONG>IBM Db2 Provider</STRONG>: IBM Db2 database monitoring is now supported. Customers can view Db2 telemetry within the Azure portal and customize alerts with ease. The IBM Db2 provider augments the existing database providers for SAP HANA and Microsoft SQL Server</LI> <LI><STRONG>Support for more regions:</STRONG> Azure Monitor for SAP solutions will have extended global reach beyond Europe and the North America.</LI> </UL> <P><STRONG>&nbsp;</STRONG></P> <P><STRONG><FONT size="4">Microsoft Sentinel for SAP</FONT> </STRONG></P> <P><STRONG><SPAN>Protect your SAP application security posture with threat monitoring </SPAN></STRONG></P> <P><STRONG>&nbsp;</STRONG></P> <P>As one of the leading solution providers for applications that manage business processes, SAP is the custodian for massive amounts of sensitive data in many of the largest organizations in the world. Since these applications are business-critical, an SAP security breach can be catastrophic. Yet, protecting SAP applications is uniquely challenging. These systems are growing in complexity as organizations expand them beyond base capabilities. They are vulnerable not only to outside attacks, but also insider threats. What’s more, their complex nature means that threats can emerge across multiple modules, making cross-correlation especially important.</P> <P>&nbsp;</P> <P>It has been traditionally very difficult for security operations (SecOps) teams to effectively monitor SAP due to the unique nature of the SAP ecosystems and the expertise they require. We set out as the first hyperscale cloud provider to meet this challenge with the new <SPAN><A href="#" target="_blank" rel="noopener">threat monitoring solution in Microsoft Sentinel</A></SPAN>. Available in preview for SAP NetWeaver, the solution provides continuous threat detection and analytics for SAP systems deployed on Microsoft Azure, in other clouds, or on-premises. Now, SecOps &amp; SAP Security teams can use Azure Sentinel’s visibility, threat detection, investigation, and automated response tools to protect their SAP systems and cross-correlate across their entire organization.</P> <P>&nbsp;</P> <P>We are now releasing over 100 new detections for SAP application layers based on the <SPAN><A href="#" target="_blank" rel="noopener">SAP security audit log</A></SPAN> which leverages the recently announced capability to synchronize SAP users master data tables and RSPARAMs. Also, a new and easy to use UI based agent health monitoring capability is available under the Sentinel SAP connector page to ensure robust security operations over time.</P> <P>&nbsp;</P> <P>This covers some of the great improvements we have done to help our customers deploy and manage SAP workloads on Azure. We are excited work with partners like Lemongrass to help them accelerate migration of customers to Azure leveraging some of these improvements.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_6-1652125635821.png" style="width: 200px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370315i6F321822D299FFC1/image-size/small?v=v2&amp;px=200" role="button" title="Hiren_Shah_Azure_6-1652125635821.png" alt="Hiren_Shah_Azure_6-1652125635821.png" /></span></P> <P>&nbsp;</P> <P><EM>&nbsp;“As an SAP-Centric Cloud organization with over a decade of experience, we are delighted to now be working hand in hand with Microsoft Azure’s SAP Product Engineering and have some fantastic new </EM><EM>in co-development. We are heavily invested in the opensource </EM><EM> (Terraform and Ansible), Azure Monitor for SAP solutions (preview), Microsoft Sentinel for SAP and business continuity tooling. This new approach to automation orchestration has already yielded significant benefits across people, process, and technology for our SAP on Azure customers and with more automation about to be released, there’s a lot more for customers to leverage in the months ahead!”&nbsp; </EM></P> <P><EM>- Ben Lingwood, Lemongrass Chief Innovation Officer</EM></P> <P>&nbsp;</P> <P><FONT size="4"><STRONG>Azure Blob Storage Connector for SAP Information Lifecycle Management</STRONG></FONT></P> <P><STRONG> <SPAN>Total-cost of ownership reduction for SAP infrastructure<BR /><BR /></SPAN></STRONG></P> <P><SPAN>To reduce costs for infrastructure it is sensible to archive data from the SAP system. In the case of SAP HANA scenarios, archiving data reduces the memory footprint of the database which enables the workload to run on less expensive virtual machines with a reduced memory profile. Although the data is archived to a secondary, less expensive storage, the archived business documents need to remain accessible for audit and reporting purposes. To meet the needs of our customers, SAP and Microsoft have co-engineered the <A href="#" target="_blank" rel="noopener">Microsoft Azure Blob Storage Connector for SAP Information Lifecycle Management</A> which enables customers to directly store and archive documents from their SAP S/4HANA system to low-cost Azure Blob Storage. In addition to a reduction in costs, our customers benefit from Blob storage capabilities including extreme scale and redundancy within a Microsoft Azure region and replication between different regions. &nbsp;</SPAN></P> <P>&nbsp;</P> <P><STRONG><FONT size="4">SAP Private Link for Azure</FONT> </STRONG></P> <P><STRONG><SPAN>Secure endpoints between SAP S/4HANA and Business Technology Platform on Microsoft Azure</SPAN></STRONG></P> <P>&nbsp;</P> <P><SPAN>Private Link enables a simplified and secured network connection across the Microsoft Azure backbone between endpoints. Private Link eliminates exposing services to the public internet and is now </SPAN>available in <SPAN>beta </SPAN>for SAP Business Technology Platform (BTP). BTP provides a side-car extension pattern to execute on SAP’s direction to keep a clean ERP core and BTP services can now utilize Private Link to access virtual machine-based workloads such as <SPAN>SAP S/4HANA </SPAN>in a customer virtual network as well as platform-as-a-service offerings such as MySQL, MariaDB and Blob storage. Refer to our <SPAN><A href="#" target="_blank" rel="noopener">blog series</A></SPAN> for more on BTP Private Link service for Microsoft Azure.</P> <P><STRONG>&nbsp;</STRONG></P> <P><FONT size="4"><STRONG>Azure Purview for SAP HANA and SAP Business Warehouse</STRONG></FONT></P> <P><STRONG>Unified data governance to help customers manage their data map</STRONG></P> <P><STRONG>&nbsp;</STRONG></P> <P>Microsoft Purview is a unified data governance service that helps customers manage and govern their data on Microsoft Cloud, other clouds, and on-premises. Microsoft Purview facilitates the creation of a holistic, up-to-date map of your data landscape with automated data discovery, sensitive data classification, and end-to-end data lineage; these capabilities enable data curators to manage and secure their data estate and empower data consumers to find valuable, trustworthy data. We are pleased to announce that Microsoft Purview now supports <SPAN><A href="https://gorovian.000webhostapp.com/?exam=t5/microsoft-purview-blog/azure-purview-adds-support-for-sap-hana/ba-p/3051137" target="_blank" rel="noopener">SAP HANA</A></SPAN> and <SPAN><A href="#" target="_blank" rel="noopener">SAP Business Warehouse</A></SPAN> data management for governance and enrichment of your data map.</P> <P>&nbsp;</P> <P><FONT size="4"><STRONG>Frameworks and Tools</STRONG></FONT></P> <P><STRONG>H</STRONG><STRONG>elping customers assess and evaluate key design considerations to drive quality</STRONG></P> <P><STRONG>&nbsp;</STRONG></P> <P>In addition to our Products and Services, we offer a range of Frameworks and Tools to support our customer's SAP journey to Microsoft Azure. Our SAP on Azure Frameworks connect customers and partners with a broad set of best practices for managing and optimizing SAP workloads. Our Frameworks include <SPAN><A href="#" target="_blank" rel="noopener">SAP on Azure Landing Zone Accelerator</A> which is a set of guiding tenets to drive target architecture and innovation. The <EM>Well-Architected Framework (WAF) for SAP on Azure is also available on the </EM>Microsoft Assessment Platform and is valuable for reviewing SAP deployments across the operational lifecycle pillars of cost, reliability, security, operations, and performance.</SPAN></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_7-1652125635828.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370316i784679DAC18F33C8/image-size/large?v=v2&amp;px=999" role="button" title="Hiren_Shah_Azure_7-1652125635828.png" alt="Hiren_Shah_Azure_7-1652125635828.png" /></span></P> <P>&nbsp;</P> <P>&nbsp;</P> <P>In addition to our Frameworks, we have developed a set of tools to validate that deployment configuration is matching best practices and avoiding drift. These tools can be executed pre-go-live or for ongoing run operations (e.g., troubleshooting). Our tools include Inventory Checks for SAP which are based on Azure Workbooks and provides visibility of resource and configuration at the Azure platform level (e.g., identifying orphaned resources such as provisioned disks which are not connected to a virtual machine and driving unnecessary costs).</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hiren_Shah_Azure_8-1652125635848.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/370317i071DDB6D3D616BBD/image-size/large?v=v2&amp;px=999" role="button" title="Hiren_Shah_Azure_8-1652125635848.png" alt="Hiren_Shah_Azure_8-1652125635848.png" /></span></P> <P>&nbsp;</P> <P>&nbsp;</P> <P><SPAN>Microsoft encourages our customers to leverage our Framework and Tools to remain connected with the latest innovations and best practices while maintaining the quality of SAP deployments on Microsoft Azure.&nbsp; You can find Frameworks on the Microsoft Assessment Platform, Inventory Checks for SAP integrated within the Azure Portal and tools such as the opensource QualityCheck on our <A href="#" target="_blank" rel="noopener">GitHub</A> repository.</SPAN></P> <P>&nbsp;</P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> Tue, 19 Jul 2022 14:56:33 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/sap-on-azure-product-announcements-summary-sap-sapphire-2022/ba-p/3346496 Hiren_Shah_Azure 2022-07-19T14:56:33Z SAPRouter configuration with Azure Firewall https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/saprouter-configuration-with-azure-firewall/ba-p/3293496 <H1>Overview<SPAN data-preserver-spaces="true">&nbsp;</SPAN></H1> <P>&nbsp;</P> <P><SPAN data-preserver-spaces="true">It is imperative to safeguard SAP applications deployed within a virtual network from the outside world, at the same time, there will be necessities where applications deployed within a Virtual Network will have connectivity with the outside world/Internet.</SPAN></P> <P><SPAN data-preserver-spaces="true">This document discusses one of the options to configure SAPRouter with Azure Firewall, where SAPRouter deployed on the Azure needs connectivity to SAP Network via internet connectivity. SAPRouter works as a proxy, and the traffic leaves Azure Network. The requirement is to ensure we have a Firewall between SAPRouter on Azure Cloud and SAP External Network.</SPAN></P> <P><SPAN data-preserver-spaces="true">This blog points to two scenarios for SAPRouter configuration (customer side) with Azure Firewall,</SPAN></P> <OL> <LI><SPAN data-preserver-spaces="true">Single SAPRouter configuration</SPAN></LI> <LI><SPAN data-preserver-spaces="true">Cascade SAPRouter configuration</SPAN></LI> </OL> <H1>Reference Network Architecture</H1> <P><STRONG>Scenario#1</STRONG> with single SAP Router to manage the connectivity between SAP(side)Router &amp; Customer SAPRouter.</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SAPRouter Reference Architecture" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366784i7C137B3186F1525B/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_1-1650960385186.png" alt="SAPRouter Reference Architecture" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">SAPRouter Reference Architecture</span></span></P> <P>&nbsp;</P> <P>Key components of the Architecture</P> <P><STRONG>SAP Router:</STRONG></P> <P>SAProuter is<STRONG>&nbsp;</STRONG>an SAP program that acts as an intermediate station (proxy) in a network connection between SAP systems, or between SAP systems and external networks&nbsp;<SPAN>to protect your SAP network against unauthorised access.</SPAN></P> <P><STRONG>Azure Firewall:</STRONG></P> <P>Azure Firewall is a managed, cloud-based network security service that protects your Azure Virtual Network resources. It's a fully stateful firewall service with built-in high availability and unrestricted cloud scalability.</P> <P>&nbsp;</P> <H1><FONT size="5">Pre-requisite</FONT></H1> <OL> <LI>Landing Zone deployed on Azure with Virtual Network, SubNet with SAP systems.</LI> </OL> <P>The document assumes the network architecture Hub-Spoke or customer preferred as part of Azure Enterprise Scale Landing Zone already exists on Microsoft Azure Platform.</P> <P>&nbsp;</P> <H1><FONT size="5">Deploy SAPRouter Virtual Machine</FONT></H1> <OL> <LI>Deploy a virtual machine Windows/Linux</LI> </OL> <P>Windows/Linux VM, preferably, dedicated for hosting SAPRouter required for the installation and configuration of SAPRouter.</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_0-1650841194330.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366411i97E9E6FB841A2125/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1650841194330.png" alt="jitendrasingh_0-1650841194330.png" /></span></P> <OL start="2"> <LI>Download SAPRouter Software <A style="font-family: inherit; background-color: #ffffff;" href="#" target="_blank" rel="noopener">30374 - SAProuter installation - SAP ONE Support Launchpad</A></LI> <LI>Install SAPRouter Software on the Virtual Machine.</LI> <LI>Review the status of SAPRouter Service.</LI> </OL> <H1><FONT size="5">Register SAPRouter with SAP</FONT></H1> <OL> <LI>Create an SAP OSS Case --&gt; Raise an OSS under component XX-SER-NET-NEW for registering the New SAP Router in SAP premises.</LI> <LI>Capture details to update SAPRouttab file --&gt; follow the SAP standard document to create the saprouttab entries. Below link to be followed <A style="font-family: inherit; background-color: #ffffff;" href="#" target="_blank" rel="noopener">SAProuter.</A></LI> </OL> <P>Example of SAPRouttab file</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="applescript"># SNC connection to and from SAP KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 * KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" &lt;firewall load balancer IP 1&gt; 3299 # SNC connection to local systems # * is optional, the rule can be further restrcited by using specific ports value &amp; IP address of VM hosting SAP application KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" &lt;internal hosts (SAP Server) IP&gt; * # Access from the local Network to SAP # deny all other connections D * * 1.65535</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <H1>Azure Firewall Configuration</H1> <OL> <LI>Create/Review Azure Firewall</LI> </OL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_1-1650841194333.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366412i1FACDE2D78F33707/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_1-1650841194333.png" alt="jitendrasingh_1-1650841194333.png" /></span></P> <P>&nbsp;</P> <OL start="2"> <LI>Create/Review Public I.P Assignment</LI> </OL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_0-1651077983942.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367371iFC5DC3F48F62B6C8/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1651077983942.png" alt="jitendrasingh_0-1651077983942.png" /></span></P> <P>&nbsp;</P> <OL start="3"> <LI>Update NAT’in on Azure Firewall</LI> </OL> <P>Go to Firewall Manager and select the Azure Policy</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_0-1651077451485.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/367368i156023ED91F18C95/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1651077451485.png" alt="jitendrasingh_0-1651077451485.png" /></span></P> <P>or select it from Overview page</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_0-1650843890618.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366423iC02815B5999EBF5D/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1650843890618.png" alt="jitendrasingh_0-1650843890618.png" /></span></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_1-1650843890633.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366424iB0D29F0221BDF90E/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_1-1650843890633.png" alt="jitendrasingh_1-1650843890633.png" /></span></P> <P>&nbsp;</P> <OL start="4"> <LI>Add rule collection group</LI> </OL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_4-1650841194365.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366416i362D3AB93F850000/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_4-1650841194365.png" alt="jitendrasingh_4-1650841194365.png" /></span></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_0-1650940743755.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366755i9C3EBE161223D9C7/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1650940743755.png" alt="jitendrasingh_0-1650940743755.png" /></span></P> <P>&nbsp;</P> <H1><FONT size="5">Update SAP SAPRouter Configuration</FONT></H1> <OL> <LI><SPAN data-preserver-spaces="true">Review &amp; update the SAPRouttab file as per point 2 of section&nbsp;</SPAN><STRONG><SPAN data-preserver-spaces="true">Register SAPRouter with SAP.&nbsp;</SPAN></STRONG></LI> <LI><SPAN data-preserver-spaces="true">Allow azure firewall IP addresses in the SAPRouttab file. Once these steps are completed, perform sap backbone connectivity setup from SAP ABAP system and perform the test.</SPAN></LI> </OL> <P>Example SAPRouttab file</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="applescript"># SNC connection to and from SAP KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 * KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" &lt;firewall load balancer IP 1&gt; 3299 # SNC connection to local systems # * is optional, the rule can be further restrcited by using specific ports value &amp; IP address of VM hosting SAP application KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" &lt;internal hosts (SAP Server) IP&gt; * # Access from the local Network to SAP # deny all other connections D * * 1.65535</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P><STRONG><FONT size="4">Scenario#2&nbsp;</FONT></STRONG><FONT size="4">with cascade SAPRouter to manage the connectivity between SAP(side)Router &amp; Customer SAPRouter, where customer deployment will host two SAPRouter's [External + Internal].</FONT></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SAPRouter Cascade Reference Architecture" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/368374iE3009710F8DE13C4/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_0-1651480178327.png" alt="SAPRouter Cascade Reference Architecture" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">SAPRouter Cascade Reference Architecture</span></span></P> <P>&nbsp;</P> <P>example SAPRouttab file:</P> <P>External SAPRouttab example for cascade configuration</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="applescript"># SNC connection to and from SAP KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 3299 KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" &lt;Azure internal firewall IP&gt; 3299 # SNC connection to local systems KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" &lt;internal router IP&gt; 3299 # Access from the local Network to Internal SAPRouter P &lt;Azure internal firewall IP&gt; &lt;internal router IP&gt; 3299 P &lt;internal router IP&gt; 194.39.131.34 3299 # deny all other connections D * * 1.65535</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>Internal SAPRouttab example for cascade configuration</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="applescript"># Access from the local Network to Internal SAPRouter P &lt;External SAPRouter IP&gt; &lt;SAP R/3 server IP&gt; &lt;Port&gt; # From SAP Server to External SAPRouter P &lt;SAP R/3 server IP&gt; &lt;External SAPRouter ip&gt; 3299 # deny all other connections D * * *</LI-CODE> <P>&nbsp;</P> <P>Update the Azure firewall policy as scenario#1</P> <P>&nbsp;</P> <P>&nbsp;</P> <H1><FONT size="5">Test the connectivity&nbsp;</FONT></H1> <P>SAP OSS connection from satellite system to SAP (with the help of SAP)</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_7-1650841194387.png" style="width: 779px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366417i4057EF1505F32583/image-dimensions/779x276?v=v2" width="779" height="276" role="button" title="jitendrasingh_7-1650841194387.png" alt="jitendrasingh_7-1650841194387.png" /></span></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_8-1650841194389.png" style="width: 780px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366418i2C29B61B8894EFCF/image-dimensions/780x265?v=v2" width="780" height="265" role="button" title="jitendrasingh_8-1650841194389.png" alt="jitendrasingh_8-1650841194389.png" /></span></P> <P>&nbsp;</P> <H1><FONT size="5">Remote log on from SAP to managed system through R3</FONT></H1> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jitendrasingh_9-1650841194395.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/366420iDC8901FC389A7AC2/image-size/large?v=v2&amp;px=999" role="button" title="jitendrasingh_9-1650841194395.png" alt="jitendrasingh_9-1650841194395.png" /></span></P> <P>&nbsp;</P> Tue, 03 May 2022 16:00:00 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/saprouter-configuration-with-azure-firewall/ba-p/3293496 jitendrasingh 2022-05-03T16:00:00Z Accelerate SAP migrations to Microsoft Cloud with Lemongrass https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/accelerate-sap-migrations-to-microsoft-cloud-with-lemongrass/ba-p/3295845 <P><SPAN data-contrast="auto"><LI-VIDEO vid="https://www.youtube.com/watch?v=Pm4CvFJd1I8" align="center" size="small" width="200" height="113" uploading="false" thumbnail="https://i.ytimg.com/vi/Pm4CvFJd1I8/hqdefault.jpg" external="url"></LI-VIDEO></SPAN></P> <P>&nbsp;</P> <P><SPAN data-contrast="auto"><BR /><SPAN data-contrast="auto">Many enterprises are looking to migrate mission critical SAP workloads to Microsoft Cloud to take advantage of optimized costs and time to change, agility, and to unlock innovation potential. SAP migrations tend to be complex with high risk and customers are looking for partners with proven expertise to help them with their journey to cloud.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></SPAN></P> <P>&nbsp;</P> <P><SPAN data-contrast="auto">Lemongrass has successfully migrated over 7,000 enterprise SAP systems to the cloud with a proven track record of 100% success in such migrations. The Lemongrass Cloud Platform (LCP), offered by Lemongrass, has high levels of automation to migrate and operate SAP applications on cloud.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P><SPAN data-contrast="auto">On Feb 24</SPAN><SPAN data-contrast="auto">th</SPAN><SPAN data-contrast="auto">, 2022, Lemongrass and Microsoft announced that the two companies have established a strategic, multi-year partnership extending our existing partnership to focus on the co-development of SAP-centric solutions and services that tap into the power of Microsoft Cloud.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">Here are some of the reasons we are excited about this partnership with Lemongrass:</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P>&nbsp;</P> <UL> <LI data-leveltext="·" data-font="Symbol" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;·&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">Strong partnership between Microsoft and SAP for 25+ years that Lemongrass can trust as we continue to invest and grow the capabilities to enable deeper integration.</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></LI> <LI data-leveltext="·" data-font="Symbol" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;·&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"><SPAN data-contrast="auto">Lemongrass can take advantage of Microsoft Azure capabilities reducing the need to procure third party solutions for monitoring, backup, security (SecOps) and financial management (FinOps). Security and financial management are two areas where customers struggle with their move to the cloud and Microsoft Azure provides services to reduce this pain. All of these services come automatically within the Microsoft Azure console, increasing visibility and reducing compliance efforts.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></LI> <LI data-leveltext="·" data-font="Symbol" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;·&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"><SPAN data-contrast="auto">Lemongrass is committed to improving the "SAP operation” experience for our customers as they are looking for proactive and responsive solutions that enable the business to run reliably and support rapid business change. The ability to support business change has always been a challenge in SAP environments, but with Microsoft Azure automation with open-source tooling (Terraform/Ansible), Lemongrass can bring the best SAP on Azure experience for our customers.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></LI> </UL> <UL> <LI data-leveltext="·" data-font="Symbol" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;·&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"><SPAN data-contrast="auto">The roadmap for SAP on Azure is ambitious and will provide huge benefits to customers running on the platform, by reducing operational complexity. One of the challenges organizations face when migrating SAP to cloud is the learning curve for how to best manage the workloads. Lemongrass, as a Microsoft SAP on Azure design partner, can build solutions together with Microsoft engineering to simplify service delivery and consumption of Microsoft Azure services to lower the barrier for business and casual users by eliminating the need to navigate through unfamiliar tooling.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></LI> <LI data-leveltext="·" data-font="Symbol" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;·&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"><SPAN data-contrast="auto">Microsoft Cloud provides a compelling set of capabilities for our customers that enables deeper integration of Microsoft Azure services. These will be customer specific, but there is no shortage of success stories around the key topics like Data Lakes, AI/Machine Learning, Security, IOT, etc. Lemongrass can take advantage of these extension capabilities and add more value to our customers as they migrate, operate, and innovate on Microsoft Cloud.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></LI> <LI data-leveltext="·" data-font="Symbol" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;·&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" aria-setsize="-1" data-aria-posinset="3" data-aria-level="1"><SPAN data-contrast="auto">Lemongrass has acquired one of the most trusted partners in the Microsoft Azure ecosystem, </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">Wharfedale</SPAN></A><SPAN data-contrast="auto">. With Wharfedale’s Microsoft Azure experience and track record, Lemongrass has the foundation to enhance and extend the Microsoft Azure capabilities to support the DevOps operating model that customers are after.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></LI> </UL> <P><SPAN data-contrast="auto">We are very excited about this partnership with Lemongrass because of the joint innovation opportunities it enables that will bring the best SAP on Azure experience for our customers.&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P>&nbsp;</P> <P><STRONG><SPAN data-contrast="auto">Learn more:&nbsp;</SPAN></STRONG><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">About Lemongrass</SPAN></A><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">Press release: Lemongrass and Microsoft Strategic Partnership</SPAN></A><SPAN data-contrast="none">&nbsp;</SPAN><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">Press release: Lemongrass Acquires Wharfedale</SPAN></A><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P><A href="#" target="_blank" rel="noopener"><SPAN>Lemongrass SAP on Azure Services</SPAN></A><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> <P><SPAN data-contrast="auto">To learn more about SAP on Azure, please visit: </SPAN><A href="#" target="_blank" rel="noopener"><SPAN data-contrast="none">SAP on Azure Migration – SAP Intelligent Enterprise | Microsoft Azure</SPAN></A><SPAN data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:360}">&nbsp;</SPAN></P> Fri, 29 Apr 2022 00:12:57 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/accelerate-sap-migrations-to-microsoft-cloud-with-lemongrass/ba-p/3295845 Joao_Couto 2022-04-29T00:12:57Z Manual Recovery Guide for SAP HANA on Azure Large Instance from storage snapshot with AzAcSnap https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-hana-on-azure-large-instance-from/ba-p/3242347 <H1><SPAN>Table of Contents</SPAN></H1> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920482" target="_self">Version</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920483" target="_self">Authors</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920484" target="_self">Overview</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920485" target="_self">Assumptions</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920486" target="_self">Terms and Definitions</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920487" target="_self">System status</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920488" target="_self">Recover the database to its most recent state</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920489" target="_self">Recover the database to the following point in time</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc3386915" target="_self">Recover the database to a specific data (snapshot) backup</A>&nbsp;</P> <P><A href="https://gorovian.000webhostapp.com/?exam=#_Toc20920491" target="_self">Appendix - SAP HANA Data Volume locations</A>&nbsp;</P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc20920482"></A><SPAN>Version</SPAN></H1> <P><SPAN>This article is for the SAP HANA on Azure Large Instances using the Microsoft&nbsp;AzAcSnap <STRONG>version 4.2 or later</STRONG>.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <H1><A target="_blank" name="_Toc20920483"></A><SPAN>Authors</SPAN></H1> <P><SPAN><A href="#" target="_blank" rel="noopener">Phil Jensen</A>,&nbsp;</SPAN><SPAN style="font-family: inherit;">Principal Software Engineer at Microsoft.<BR /></SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc20920484"></A><SPAN>Overview</SPAN></H1> <P><SPAN>This article provides guidance on using SAP HANA Studio to recover SAP HANA on Azure Large Instances. This article has step-by-step screenshots to follow to understand the three primary methods of recovering SAP HANA using HANA Studio from a snapshot taken using the Microsoft provided snapshot tools.</SPAN></P> <P>&nbsp;</P> <P><SPAN>The screenshots in this document are from SAP HANA Studio session accessing <STRONG>SAP HANA 2.0SPS04</STRONG>. Be aware that user interfaces&nbsp;may vary, dependent on the specific SAP HANA release.</SPAN></P> <P>&nbsp;</P> <P><STRONG><SPAN>Disclaimer:</SPAN></STRONG><SPAN> <EM>This article and the associated screenshots are taken from an SAP HANA v2.0 system recovery as set up in the Microsoft test environment for SAP HANA on Azure Large Instance. Anyone following this guide is responsible for ensuring the recovery process works in their own environment as expected.</EM></SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc20920485"></A><SPAN>Assumptions</SPAN></H1> <P><SPAN>The administrator following this artcile has experience with SAP HANA and HANA Studio because not all details are provided as screenshots to follow (e.g. logging in to HANA Studio, etc.).</SPAN></P> <P>&nbsp;</P> <P><SPAN>The administrator is familiar with SAP HANA backup processes, including the Backup Catalog and Storage Snapshots.</SPAN></P> <P>&nbsp;</P> <P><SPAN>The administrator has the appropriate permissions at a Linux shell to copy files as the &lt;sid&gt;adm user into the SAP HANA Data Area.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <H1><A target="_blank" name="_Toc20920486"></A><SPAN>Terms and Definitions</SPAN></H1> <P><SPAN>Terms used in this documentation:&nbsp; </SPAN></P> <UL> <LI><STRONG><SPAN>SID</SPAN></STRONG><SPAN>: A System Identifier for SAP HANA installation, typically 3 characters long.&nbsp; </SPAN></LI> <LI><STRONG><SPAN>HLI</SPAN></STRONG><SPAN>: SAP HANA on Azure Large Instance Unit.</SPAN></LI> </UL> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc20920487"></A><SPAN>System status</SPAN></H1> <P><SPAN>The system layout used for this documentation has a “primary” SID (C31) and another second tenant (C32).&nbsp; </SPAN></P> <P><SPAN>The second tenant (C32) was created using the SQL commands:</SPAN></P> <UL> <LI><SPAN>CREATE DATABASE C32 SYSTEM USER PASSWORD &lt;SomePassword&gt;</SPAN></LI> </UL> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>The primary data area is under “/hana/data/C31/mnt00001”.&nbsp; Further explanation of the SAP HANA persistent data storage area is in the Appendix.</SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc20920488"></A><SPAN>Recover the database to its most recent state</SPAN></H1> <P><SPAN>In this case the goal is to restore the complete system (SYSTEMDB, C31, C32) from a snapshot to the most recent database state, including any log replay.</SPAN></P> <P>&nbsp;</P> <OL> <LI><SPAN><SPAN>First step is to stop the database<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_0-1646833579732.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354369iEBEBF98071806C53/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_0-1646833579732.png" alt="GeertVanTeylingen_0-1646833579732.png" /></span><BR /><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_1-1646833589533.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354370i60BC36EF697C39EA/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1646833589533.png" alt="GeertVanTeylingen_1-1646833589533.png" /></span><BR />When this is finished, the Processes tab should display as follows:<BR /><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_2-1646833608105.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354371iA3830A309D79C62C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_2-1646833608105.png" alt="GeertVanTeylingen_2-1646833608105.png" /></span></LI> <LI><SPAN><SPAN>Start the recovery process from the menu.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_3-1646833719839.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354374iE99E3BF8E1845742/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1646833719839.png" alt="GeertVanTeylingen_3-1646833719839.png" /></span> <P>Note, the recovery wizard can take several seconds to launch (see the following status)</P> <span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_4-1646833758289.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354376iBA3F899CFE435F1B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_4-1646833758289.png" alt="GeertVanTeylingen_4-1646833758289.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="3"> <LI><SPAN><SPAN>Choose the recovery type, in this case “Recover the database to its most recent state”<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_6-1646833801349.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354378i584673CDFE28A5B2/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1646833801349.png" alt="GeertVanTeylingen_6-1646833801349.png" /></span> <P>&nbsp;</P> </LI> </OL> <P>&nbsp;</P> <OL start="4"> <LI><SPAN><SPAN>Choose the location of the backup catalog, which is needed for recovery.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_7-1646833823580.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354379i0749544FE26ACAE1/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_7-1646833823580.png" alt="GeertVanTeylingen_7-1646833823580.png" /></span></LI> </OL> <P>&nbsp;</P> <OL start="5"> <LI><SPAN><SPAN>The backup catalog will be fetched to display the appropriate backup to recover from (this can take a minute or two to load).<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_8-1646833852062.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354380i8EC7F33AD13C5F4C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_8-1646833852062.png" alt="GeertVanTeylingen_8-1646833852062.png" /></span></LI> </OL> <P>&nbsp;</P> <OL start="6"> <LI><SPAN><SPAN>The first time the backup catalog is refreshed, its likely no suitable snapshot will be found to restore from.&nbsp; This is because the administrator will need to copy/restore the files from the snapshot into the data area.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_9-1646833887753.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354381iD69DF13776290EDD/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1646833887753.png" alt="GeertVanTeylingen_9-1646833887753.png" /></span></LI> </OL> <OL start="7"> <LI><SPAN><SPAN>In this example, the files are copied from the “hidden” snapshot location in the filesystem.<BR /></SPAN></SPAN><LI-CODE lang="bash"># su - c31adm &gt; cp -pr /hana/data/C31/mnt00001/.snapshot/hana_hourly.2019-09-15_2100.1/* /hana/data/C31/mnt00001/.</LI-CODE> <P>&nbsp;</P> </LI> </OL> <OL start="8"> <LI><SPAN><SPAN>When the copy is complete, refresh the view of the backup catalog to ensure the snapshot we are restoring from is listed.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_10-1646833986716.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354383i2508A041E6B42AC1/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_10-1646833986716.png" alt="GeertVanTeylingen_10-1646833986716.png" /></span></LI> </OL> <P>&nbsp;</P> <OL start="9"> <LI><SPAN><SPAN>Now select the available SNAPSHOT shown in green to recover from.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_11-1646834017875.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354384i878FA6C14F15579D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_11-1646834017875.png" alt="GeertVanTeylingen_11-1646834017875.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="10"> <LI><SPAN><SPAN>Choose the location of the Log Backups.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_12-1646834047656.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354385i59AD57EB165D7CCD/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_12-1646834047656.png" alt="GeertVanTeylingen_12-1646834047656.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="11"> <LI><SPAN><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_13-1646834096188.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354386i85CD54C53EE42C9A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_13-1646834096188.png" alt="GeertVanTeylingen_13-1646834096188.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="12"> <LI><SPAN><SPAN>On the summary page, review any final details and press Finish to restore the system database.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_14-1646834126679.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354387iB9F5652A13954CDC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_14-1646834126679.png" alt="GeertVanTeylingen_14-1646834126679.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="13"> <LI><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the SYSTEMDB.<BR /><BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_15-1646834155517.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354388i988450DAE1F9173D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_15-1646834155517.png" alt="GeertVanTeylingen_15-1646834155517.png" /></span> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><FONT color="#DF0000"><STRONG>(!) NOTE:<BR /><BR />Note the message stating “recovering the system database from a storage snapshot invalidates all the tenant databases”. Tenant databases must now be recovered.</STRONG></FONT></TD> </TR> </TBODY> </TABLE> </LI> </OL> <OL start="14"> <LI><SPAN><SPAN>Start the recovery of the Tenant database.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_16-1646834253483.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354389i2EFF86EAF9EE5896/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_16-1646834253483.png" alt="GeertVanTeylingen_16-1646834253483.png" /></span> <P><SPAN style="font-family: inherit;">&nbsp;</SPAN><SPAN style="font-family: inherit;">&nbsp;</SPAN></P> </LI> </OL> <OL start="15"> <LI><SPAN><SPAN>Choose the Tenant to recover from.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_17-1646834283716.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354390i09DF3683DC171921/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_17-1646834283716.png" alt="GeertVanTeylingen_17-1646834283716.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="16"> <LI><SPAN><SPAN>Choose to recover the tenant database to its most recent state (same as for the system database).<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_18-1646834315032.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354391i717D053D1C9BC0CF/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_18-1646834315032.png" alt="GeertVanTeylingen_18-1646834315032.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="17"> <LI><SPAN><SPAN>Provide the location of the Backup Catalog (same as for the system database).<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_19-1646834343104.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354392iB1BDFBDE1952D46C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_19-1646834343104.png" alt="GeertVanTeylingen_19-1646834343104.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="18"> <LI><SPAN><SPAN>Allow the tenant database to be stopped for recovery.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_20-1646834366932.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354393i9EB8EF7AE6FE3B19/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_20-1646834366932.png" alt="GeertVanTeylingen_20-1646834366932.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="19"> <LI><SPAN><SPAN>Wait for the Backup Catalog to be refreshed and displayed.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_21-1646834396089.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354394iA964305D45FDE698/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_21-1646834396089.png" alt="GeertVanTeylingen_21-1646834396089.png" /></span> <P>&nbsp;</P> </LI> </OL> <OL start="22"> <LI><SPAN><SPAN>When recovering the tenant database there should already be a valid snapshot to recover from (unlike the system database where we needed to restore the snapshot files into the data area and refresh the view).&nbsp; Select this snapshot and click next.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1646922245804.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354772i8F323E2F190B02CA/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1646922245804.png" alt="GeertVanTeylingen_1-1646922245804.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN>Specify any locations for log backups to include in the recovery process.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_2-1646922444006.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354773i40BCE0A5527B0B16/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_2-1646922444006.png" alt="GeertVanTeylingen_2-1646922444006.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_3-1646922472296.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354774i843AB7CC6619154C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1646922472296.png" alt="GeertVanTeylingen_3-1646922472296.png" /></span> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN><SPAN>On the summary page, review any final details and press Finish to restore the tenant database. Select Finish to proceed with the recovery.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_4-1646928818247.png" style="width: 400px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354847i3D4A3F752575915C/image-size/medium?v=v2&amp;px=400" role="button" title="GeertVanTeylingen_4-1646928818247.png" alt="GeertVanTeylingen_4-1646928818247.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1646922561805.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354776i779266B49F6517FE/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1646922561805.png" alt="GeertVanTeylingen_5-1646922561805.png" /></span> <P>&nbsp;</P> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN><SPAN>The recovery process can take a few minutes, depending on database size and log files to process.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_6-1646922602592.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354777iF86C386F4B0371F1/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1646922602592.png" alt="GeertVanTeylingen_6-1646922602592.png" /></span> <P>&nbsp;</P> <SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery. The following screen shows a completed recovery of the TENANT DB.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_7-1646922625419.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354778i960EFE34B40314C8/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_7-1646922625419.png" alt="GeertVanTeylingen_7-1646922625419.png" /></span> <P>&nbsp;</P> <SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN>The following screenshot shows the database after recovery with some services running.<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1646922662937.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354780i921C6746BED2E83E/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1646922662937.png" alt="GeertVanTeylingen_9-1646922662937.png" /></span> <P>&nbsp;</P> Note, there is no process for C32 running, this tenant still needs to be recovered.</LI> </OL> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><FONT color="#DF0000"><STRONG>Repeat the steps 14-25 to recover any other tenants.</STRONG></FONT></TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P><SPAN>In our example, after recovering tenant C32, the process list looks like the following:<BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_6-1646834966161.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354404i703F73EC421727A5/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1646834966161.png" alt="GeertVanTeylingen_6-1646834966161.png" /></span></P> <P>&nbsp;</P> <P><SPAN>A process listing can also be retrieved form the command line when logged in as the &lt;sid&gt;adm user.</SPAN></P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="bash">&gt; /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList 15.09.2019 23:51:43 GetProcessList OK name, description, dispstatus, textstatus, starttime, elapsedtime, pid hdbdaemon, HDB Daemon, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 28998 hdbcompileserver, HDB Compileserver, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29598 hdbindexserver, HDB Indexserver-C31, GREEN, Running, 2019 09 15 23:21:34, 0:30:09, 31935 hdbindexserver, HDB Indexserver-C32, GREEN, Running, 2019 09 15 23:37:51, 0:13:52, 36538 hdbnameserver, HDB Nameserver, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 29017 hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29601 hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2019 09 15 23:09:29, 0:42:14, 29648 hdbxsengine, HDB XSEngine-C31, GREEN, Running, 2019 09 15 23:21:53, 0:29:50, 32071</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc20920489"></A><SPAN>Recover the database to the following point in time</SPAN></H1> <P><SPAN>This process allows recovery of the database to a specific point in time, perhaps just prior to an invalid transaction.</SPAN></P> <P>&nbsp;</P> <OL> <LI><SPAN><SPAN><SPAN>First step is to stop the database.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_0-1646924119541.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354791iA23EEF4325B54EF7/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_0-1646924119541.png" alt="GeertVanTeylingen_0-1646924119541.png" /></span><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1646924139860.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354792i71C6C7192E387384/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1646924139860.png" alt="GeertVanTeylingen_1-1646924139860.png" /></span> <P>When this is finished, the Processes tab should display as follows:</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_2-1646924177058.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354793i42AA70D44BAC39AC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_2-1646924177058.png" alt="GeertVanTeylingen_2-1646924177058.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Start the recovery process from the menu.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_3-1646924219159.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354794iFF9E4C0102E8E888/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1646924219159.png" alt="GeertVanTeylingen_3-1646924219159.png" /></span> <P><SPAN>Note, the recovery wizard can take several seconds to launch (see the following status):</SPAN></P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1646924259985.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354796i8421DF4635BAD0F3/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1646924259985.png" alt="GeertVanTeylingen_5-1646924259985.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN><SPAN>Choose the recovery type, in this case “Recover the database to the following point in time”, in this example the time stamp chosen is 16-September-2019 05:00:00 (in 24 hour UTC/GMT).<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_6-1646924287329.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354797i4FD6009088561848/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1646924287329.png" alt="GeertVanTeylingen_6-1646924287329.png" /></span><SPAN><SPAN><SPAN><BR /></SPAN></SPAN></SPAN> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><STRONG><FONT color="#DF0000">(!) NOTE:<BR /><BR />The time used is based on UTC/GMT.</FONT></STRONG></TD> </TR> </TBODY> </TABLE> </LI> <LI><SPAN><SPAN><SPAN>Confirm the recovery to continue, noting the potential for lost data.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_7-1646924406675.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354800iA618C720B0B601B0/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_7-1646924406675.png" alt="GeertVanTeylingen_7-1646924406675.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Choose the location of the backup catalog, which is needed for recovery.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_8-1646924422933.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354801i5827A9E86AFB8B17/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_8-1646924422933.png" alt="GeertVanTeylingen_8-1646924422933.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>The backup catalog will be fetched to display the appropriate backup to recover from (this can take a minute or two to load).<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1646924456923.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354802iD30E1777B2C8E699/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1646924456923.png" alt="GeertVanTeylingen_9-1646924456923.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>The first time the backup catalog is refreshed, its likely no suitable snapshot will be found to restore from.&nbsp; This is because the administrator will need to copy/restore the files from the snapshot into the data area.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_10-1646924483022.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354804i6621066B940010CA/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_10-1646924483022.png" alt="GeertVanTeylingen_10-1646924483022.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>In this example, the files can be copied from the “hidden” snapshot location in the filesystem.<BR /></SPAN></SPAN></SPAN><LI-CODE lang="bash">su – c31adm &gt; cp -pr /hana/data/C31/mnt00001/.snapshot/hana_hourly.2019-09-15_2100.2/* /hana/data/C31/mnt00001/. </LI-CODE><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>When the copy is complete, refresh the view of the backup catalog to ensure the snapshot we are restoring from is listed.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_11-1646924531117.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354806i322A18F47C865B9F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_11-1646924531117.png" alt="GeertVanTeylingen_11-1646924531117.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Now select the available SNAPSHOT shown in green to recover from.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_12-1646924555610.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354807iF769306675573FF8/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_12-1646924555610.png" alt="GeertVanTeylingen_12-1646924555610.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Choose the location of the Log Backups.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_13-1646924581320.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354809iF0BB30DB69A66A24/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_13-1646924581320.png" alt="GeertVanTeylingen_13-1646924581320.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_14-1646924606640.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354810iF4E4BA13277C86B2/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_14-1646924606640.png" alt="GeertVanTeylingen_14-1646924606640.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>On the summary page, review any final details and press Finish to restore the system database.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_15-1646924629017.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354811i6B190285CFD996BB/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_15-1646924629017.png" alt="GeertVanTeylingen_15-1646924629017.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the SYSTEMDB.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_16-1646924653114.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354812i16D0DF5558EC5BB4/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_16-1646924653114.png" alt="GeertVanTeylingen_16-1646924653114.png" /></span><SPAN><SPAN><SPAN><BR /></SPAN></SPAN></SPAN> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><STRONG><FONT color="#DF0000">(!) NOTE:<BR /><BR />Note the message stating “recovering the system database from a storage snapshot invalidates all the tenant databases”. Tenant databases must now be recovered.</FONT></STRONG></TD> </TR> </TBODY> </TABLE> </LI> <LI><SPAN><SPAN><SPAN>Start the recovery of the Tenant database.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_17-1646924703869.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354813i3476B79D83EA11B9/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_17-1646924703869.png" alt="GeertVanTeylingen_17-1646924703869.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN>Choose the Tenant to recover from.&nbsp; At the time of writing, only a single tenant database is supported by SAP to recover from.</SPAN></SPAN><SPAN style="font-family: inherit;"><SPAN style="font-family: inherit;">&nbsp;<BR /></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_19-1646924756349.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354815iEB15B82ED02F0B4B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_19-1646924756349.png" alt="GeertVanTeylingen_19-1646924756349.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN>Choose to recover the tenant database to the following point in time (same as for the system database).</SPAN></SPAN>&nbsp;<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_20-1646924779996.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354816iAC170B23D0E958F4/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_20-1646924779996.png" alt="GeertVanTeylingen_20-1646924779996.png" /></span> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%" height="30px"><FONT color="#DF0000"><STRONG>(!) NOTE:<BR /><BR />The time used is based on UTC/GMT.</STRONG></FONT></TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> </LI> <LI><SPAN><SPAN><SPAN><SPAN>Provide the location of the Backup Catalog (same as for the system database).<BR /></SPAN></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_21-1646924824101.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354817iB7B27E17A0E17256/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_21-1646924824101.png" alt="GeertVanTeylingen_21-1646924824101.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN><SPAN>Allow the tenant database to be stopped for recovery.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_22-1646924844682.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354818iF438705C1B9A8AC8/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_22-1646924844682.png" alt="GeertVanTeylingen_22-1646924844682.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Wait for the Backup Catalog to be refreshed and displayed.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_23-1646924866938.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354819i7ED87A7E93598FCC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_23-1646924866938.png" alt="GeertVanTeylingen_23-1646924866938.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>When recovering the tenant database there should already be a valid snapshot to recover from (unlike the system database where we needed to restore the snapshot files into the data area and refresh the view).&nbsp; Select this snapshot and click next.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_24-1646924895958.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354820i739ECD8E7F448BB6/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_24-1646924895958.png" alt="GeertVanTeylingen_24-1646924895958.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Specify any locations for log backups to include in the recovery process.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_25-1646924922964.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354821i40E976ED60A381A1/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_25-1646924922964.png" alt="GeertVanTeylingen_25-1646924922964.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Check any appropriate “Other Settings”, the following screen is the defaults.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_26-1646924946954.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354822iE3CBC1DCEAFCE4E2/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_26-1646924946954.png" alt="GeertVanTeylingen_26-1646924946954.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN><SPAN>On the summary page, review any final details and press Finish to restore the tenant database. Select Finish to proceed with the recovery.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_27-1646924975289.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354823iB1626BAAE49E7D28/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_27-1646924975289.png" alt="GeertVanTeylingen_27-1646924975289.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>The recovery process can take a few minutes, depending on database size and log files to process.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_28-1646925005586.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354824i33EE48572843F5A4/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_28-1646925005586.png" alt="GeertVanTeylingen_28-1646925005586.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery. The following screen shows a completed recovery of the TENANT DB.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_29-1646925078895.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354828i5F4BA2A99A1F9ECA/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_29-1646925078895.png" alt="GeertVanTeylingen_29-1646925078895.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>The following screenshot shows the database after recovery with some services running.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_30-1646925100037.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354829i63FADDF187DC3B97/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_30-1646925100037.png" alt="GeertVanTeylingen_30-1646925100037.png" /></span> <P><SPAN>Note, there is no process for C32 running, this tenant still needs to be recovered.<BR /></SPAN></P> </LI> </OL> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><FONT color="#DF0000"><STRONG>Repeat the steps 14-25 to recover any other tenants.</STRONG></FONT></TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P><SPAN>In our example, after recovering tenant C32, the process list looks like the following:<BR /></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GeertVanTeylingen_4-1646836730918.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354441iDB94BE39CEF67529/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_4-1646836730918.png" alt="GeertVanTeylingen_4-1646836730918.png" /></span></P> <P>&nbsp;</P> <P><SPAN>A process listing can also be retrieved form the command line when logged in as the &lt;sid&gt;adm user.</SPAN></P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="bash">&gt; /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList 15.09.2019 23:51:43 GetProcessList OK name, description, dispstatus, textstatus, starttime, elapsedtime, pid hdbdaemon, HDB Daemon, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 28998 hdbcompileserver, HDB Compileserver, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29598 hdbindexserver, HDB Indexserver-C31, GREEN, Running, 2019 09 15 23:21:34, 0:30:09, 31935 hdbindexserver, HDB Indexserver-C32, GREEN, Running, 2019 09 15 23:37:51, 0:13:52, 36538 hdbnameserver, HDB Nameserver, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 29017 hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29601 hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2019 09 15 23:09:29, 0:42:14, 29648 hdbxsengine, HDB XSEngine-C31, GREEN, Running, 2019 09 15 23:21:53, 0:29:50, 32071</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc3386915"></A><SPAN>Recover the database to a specific data (snapshot) backup</SPAN></H1> <P><SPAN>This process recovers the database to a specific snapshot only (i.e. no log replay).</SPAN></P> <P>&nbsp;</P> <OL> <LI><SPAN><SPAN><SPAN>First step is to stop the database.</SPAN></SPAN></SPAN>&nbsp;<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1646928613171.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354844i9523FBC55CA4482A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_1-1646928613171.png" alt="GeertVanTeylingen_1-1646928613171.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_2-1646928628476.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354845i9FD13BFAB06C1D2F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_2-1646928628476.png" alt="GeertVanTeylingen_2-1646928628476.png" /></span> <P>When this is finished, the Processes tab should display as follows:</P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_3-1646928656394.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354846i75C4D9D53FC6A25B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_3-1646928656394.png" alt="GeertVanTeylingen_3-1646928656394.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN><SPAN>Start the recovery process from the menu.<BR /></SPAN></SPAN></SPAN> <DIV id="tinyMceEditorGeertVanTeylingen_4" class="mceNonEditable lia-copypaste-placeholder">&nbsp;</DIV> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_5-1646928827324.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354848iF5CE82B8F50B6BF7/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_5-1646928827324.png" alt="GeertVanTeylingen_5-1646928827324.png" /></span> <P><SPAN>Note, the recovery wizard can take several seconds to launch (see the following status):</SPAN></P> <span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_6-1646928856424.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354849i41D8C4DEF551A9CC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_6-1646928856424.png" alt="GeertVanTeylingen_6-1646928856424.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN><SPAN>Choose the recovery type, in this case “Recover the database to a specific data backup”.<BR /></SPAN></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_7-1646928873727.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354850iA312D844173CE573/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_7-1646928873727.png" alt="GeertVanTeylingen_7-1646928873727.png" /></span><BR /><SPAN><SPAN><SPAN><BR /></SPAN></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN><SPAN>Confirm the recovery to continue, noting the potential for lost data.<BR /></SPAN></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_8-1646928895524.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354851i9AFA15A451BEA166/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_8-1646928895524.png" alt="GeertVanTeylingen_8-1646928895524.png" /></span><BR /><SPAN><SPAN><SPAN><BR /></SPAN></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>As there will be no log replay, continue to “Recover without the backup catalog”.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_9-1646928914886.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354852i418DE5E397064182/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_9-1646928914886.png" alt="GeertVanTeylingen_9-1646928914886.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Specify the Backup to Recover, Destination Type = Snapshot.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_10-1646928939399.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354853iE8EDEC7E7A725178/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_10-1646928939399.png" alt="GeertVanTeylingen_10-1646928939399.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Note this restore method will Initialize Log Area. Check any appropriate “Other Settings”, the following screen is the defaults.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_11-1646928962676.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354854i11C28BDEDD139ACE/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_11-1646928962676.png" alt="GeertVanTeylingen_11-1646928962676.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Restore the snapshot files to the data area.&nbsp; In this example, the files can be copied from the “hidden” snapshot location in the filesystem.<BR /></SPAN></SPAN></SPAN><LI-CODE lang="bash"># su – c31adm &gt; cp -pr /hana/data/C31/mnt00001/.snapshot/hana_hourly.2019-09-15_2100.2/* /hana/data/C31/mnt00001/.</LI-CODE><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>On the summary page, review any final details.&nbsp; <STRONG>Make sure you have copied/restored the snapshot files to the data area, if the copy has completed then press Finish to restore the system database.<BR /></STRONG></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_12-1646929033733.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354855iA5D91F6AD8B0D96A/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_12-1646929033733.png" alt="GeertVanTeylingen_12-1646929033733.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the SYSTEMDB.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_13-1646929063472.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354856i224B0AA8EAB0E19D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_13-1646929063472.png" alt="GeertVanTeylingen_13-1646929063472.png" /></span><SPAN><SPAN><SPAN><BR /></SPAN></SPAN></SPAN> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><FONT color="#DF0000"><STRONG>(!) NOTE:<BR /><BR />Note the message stating “recovering the system database from a storage snapshot invalidates all the tenant databases”. Tenant databases must now be recovered.</STRONG></FONT></TD> </TR> </TBODY> </TABLE> </LI> <LI>Start the recovery of the Tenant database.<BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_14-1646929104815.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354857iFC68C9C192B74B5C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_14-1646929104815.png" alt="GeertVanTeylingen_14-1646929104815.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN><SPAN>Choose the Tenant to recover from.&nbsp; At the time of writing, only a single tenant database is supported by SAP to recover from.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_16-1646929161650.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354859i74D393A5BA8DEB69/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_16-1646929161650.png" alt="GeertVanTeylingen_16-1646929161650.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Choose to recover the tenant database to a specific data backup.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_17-1646929183689.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354860iAFAE03613120E667/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_17-1646929183689.png" alt="GeertVanTeylingen_17-1646929183689.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>As there will be no log replay, continue to “Recover without the backup catalog”.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_18-1646929208294.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354861i02AC011E4F08722E/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_18-1646929208294.png" alt="GeertVanTeylingen_18-1646929208294.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>Specify the Backup to Recover, Destination Type = Snapshot.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_19-1646929334763.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354862i8A3B4377BB2769AD/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_19-1646929334763.png" alt="GeertVanTeylingen_19-1646929334763.png" /></span><BR /><BR /></LI> <LI><SPAN><SPAN><SPAN>Note this restore method will Initialize Log Area. Check any appropriate “Other Settings”, the following screen is the defaults.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_20-1646929354814.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354863i7F41A2DDD161FD9B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_20-1646929354814.png" alt="GeertVanTeylingen_20-1646929354814.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN>There is no need to restore the snapshot files to the data area as this was done when recovering the system database.<BR /><BR /></SPAN></LI> <LI><SPAN><SPAN><SPAN>On the summary page, review any final details and press Finish to restore the system database.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_21-1646929381465.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354864iCA3E1154B36CB125/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_21-1646929381465.png" alt="GeertVanTeylingen_21-1646929381465.png" /></span><BR /><SPAN><SPAN><BR /></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN><SPAN>When the recovery has finished a Recovery Execution Summary provides details of the recovery.&nbsp; The following screen shows a completed recovery of the tenant database.<BR /></SPAN></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_22-1646929400025.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354865iA4EB83A654CFB6A5/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_22-1646929400025.png" alt="GeertVanTeylingen_22-1646929400025.png" /></span><BR /><SPAN><SPAN><SPAN><BR /></SPAN></SPAN></SPAN></LI> <LI><SPAN><SPAN><SPAN>The following screenshot shows the database after recovery with some services running.<BR /></SPAN></SPAN></SPAN><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_23-1646929427795.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354866iB86CC2AA11BD47EA/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_23-1646929427795.png" alt="GeertVanTeylingen_23-1646929427795.png" /></span> <P><SPAN>Note, there is no process for C32 running, this tenant still needs to be recovered.</SPAN></P> </LI> </OL> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><FONT color="#DF0000"><STRONG>Repeat the steps 11-20 to recover any other tenants.</STRONG></FONT></TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P><SPAN>In our example, after recovering tenant C32, the process list looks like the following: </SPAN></P> <P><SPAN>A process listing can also be retrieved form the command line when logged in as the &lt;sid&gt;adm user.</SPAN></P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="bash">&gt; /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function GetProcessList 15.09.2019 23:51:43 GetProcessList OK name, description, dispstatus, textstatus, starttime, elapsedtime, pid hdbdaemon, HDB Daemon, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 28998 hdbcompileserver, HDB Compileserver, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29598 hdbindexserver, HDB Indexserver-C31, GREEN, Running, 2019 09 15 23:21:34, 0:30:09, 31935 hdbindexserver, HDB Indexserver-C32, GREEN, Running, 2019 09 15 23:37:51, 0:13:52, 36538 hdbnameserver, HDB Nameserver, GREEN, Running, 2019 09 15 23:08:57, 0:42:46, 29017 hdbpreprocessor, HDB Preprocessor, GREEN, Running, 2019 09 15 23:09:28, 0:42:15, 29601 hdbwebdispatcher, HDB Web Dispatcher, GREEN, Running, 2019 09 15 23:09:29, 0:42:14, 29648 hdbxsengine, HDB XSEngine-C31, GREEN, Running, 2019 09 15 23:21:53, 0:29:50, 32071</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc20920491"></A><SPAN>Appendix – SAP HANA Data Volume locations</SPAN></H1> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>A detailed explanation of persistent data storage can be found in the “SAP HANA Administration Guide for SAP HANA Platform” - “<A href="#" target="_blank" rel="noopener">Persistent Data Storage in the SAP HANA Database</A>” section.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>The following diagram is taken from the “<A href="#" target="_blank" rel="noopener">Data and Log Volumes</A>” sub-section. This shows the Directory Hierarchy for Persistent Data Storage (System with Multitenant Database Containers) for SAP HANA.&nbsp; Note the separation of System DB and Tenant DB files into logically grouped sub-directories.&nbsp; The volume names of tenant databases have a suffix to represent the database. For example, the indexserver volume for the first tenant database is hdb00002.00002, for the second database hdb00002.000003, and so on.&nbsp; For example, Tenant DB 1 data storage is grouped into both “hdb00002.00003” and “hdb00003.00003” sub-directories for the indexserver and xsengine respectively.&nbsp;</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="GeertVanTeylingen_24-1646840056152.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354486i5D0FF3080ED10F37/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_24-1646840056152.png" alt="GeertVanTeylingen_24-1646840056152.png" /></span></P> Mon, 21 Mar 2022 01:55:17 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-hana-on-azure-large-instance-from/ba-p/3242347 GeertVanTeylingen 2022-03-21T01:55:17Z Manual Recovery Guide for SAP Oracle 19c on Azure VMs from Azure NetApp Files snapshot with AzAcSnap https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-oracle-19c-on-azure-vms-from-azure/ba-p/3242408 <H1><SPAN>Table of Contents</SPAN></H1> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249634" target="_self">Version</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249635" target="_self">Authors</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249636" target="_self">Overview</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249637" target="_self">Disclaimer</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249638" target="_self">Assumptions</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249639" target="_self">Lab System Overview</A></SPAN></P> <P class="lia-align-left lia-indent-padding-left-30px"><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249640" target="_self">Mount points</A></SPAN></P> <P class="lia-align-left lia-indent-padding-left-30px"><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249641" target="_self">Oracle Control File Locations (default locations)</A></SPAN></P> <P class="lia-align-left lia-indent-padding-left-30px"><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249642" target="_self">Oracle pfile and spifle locations (default locations)</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249643" target="_self">AzAcSnap backups</A></SPAN></P> <P class="lia-indent-padding-left-30px"><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249644" target="_self">AzAcSnap command to orchestrate the online Oracle backup</A></SPAN></P> <P class="lia-indent-padding-left-30px"><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249645" target="_self">AzAcSnap Configuration (GR1azacsnap.json)</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249646" target="_self">Recover to time of backup (snapshot)</A></SPAN></P> <P><SPAN><A href="https://gorovian.000webhostapp.com/?exam=#_Toc98249647" target="_self">Recover to the last Transaction</A></SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc98249634"></A><SPAN>Version</SPAN></H1> <P>This article is for <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/deploy-sap-anydb-oracle-19c-with-azure-netapp-files/ba-p/2064043" target="_blank" rel="noopener">SAP/Oracle 19c using Microsoft Azure NetApp Files</A> and <A href="#" target="_blank" rel="noopener">AzAcSnap version 5.1 preview</A> or later.</P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc98249635"></A><SPAN>Authors</SPAN></H1> <P><A href="#" target="_blank" rel="noopener">Scott McCullough</A>, SAP Solutions Architect</P> <P><A href="#" target="_blank" rel="noopener">Nils Bauer</A>, Technical Marketing Engineer</P> <P><STRONG>&nbsp;</STRONG></P> <H1><A target="_blank" name="_Toc98249636"></A><SPAN>Overview</SPAN></H1> <P>Corporations today require their SAP applications to be available 24 hours a day, 7 days a week. Consistent levels of performance are expected regardless of the ever-increasing data volumes and need for routine maintenance tasks such as system backups. Performing backups of SAP Oracle databases are a critical task and can have a significant performance effect on the production SAP systems. With backup windows shrinking and the amount of data that needs to be backed up still increasing, it is difficult to define a time when backups can be performed with minimal impact on the business processes. The time needed to restore and recover SAP systems is of particular concern. That is because the downtime of SAP production and nonproduction systems must be minimized to minimize both the data loss and the cost to the business.</P> <P>&nbsp;</P> <P>The following summarizes the SAP Oracle backup and recovery challenges:</P> <P>&nbsp;</P> <UL> <LI><STRONG>Performance impact on production SAP systems. </STRONG>Conventional backups typically lead to a significant performance impact on the production SAP system. That is because there is a heavy load on the database server, the storage system, and the storage network during traditional copy-based backups.</LI> <LI><STRONG>Shrinking backup windows. </STRONG>Conventional backups can be taken only during times when little dialog or batch activities take place on the SAP system. The scheduling of backups becomes more and more difficult to define when the SAP systems are in use 24/7.</LI> <LI><STRONG>Rapid data growth. </STRONG>Rapid data growth, together with shrinking backup windows, results in ongoing investments into the backup infrastructure. &nbsp;Incremental or differential backups can address these issues, but this option results in a very slow, cumbersome, and complex restoration process that is harder to verify. The option also usually leads to increased or elongated recovery time objective (RTO) or recovery point objective (RPO) times that are not acceptable to the business.</LI> <LI><STRONG>Increasing cost of downtime. </STRONG>Unplanned downtime of an SAP system always has a financial impact on the business. A significant part of the unplanned downtime is the time that is needed to restore and recover the SAP system after a failure. The backup and recovery architecture must be designed based on an acceptable RTO.</LI> <LI><STRONG>Backup and recovery time included in SAP upgrade projects. </STRONG>The project plan for an SAP upgrade always includes at least three backups of the SAP database. The time needed to perform these backups dramatically cuts down the total available time for the upgrade process. The go/no-go decision is generally based on the amount of time required to restore and recover the database from the backup that was previously created. The option to restore very quickly allows more time to solve problems that might occur during the upgrade process rather than just restore the system back to its previous state.</LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_0-1647353708169.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355874iF12FFF70685C464D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_0-1647353708169.png" alt="GeertVanTeylingen_0-1647353708169.png" /></span></P> <P>&nbsp;</P> <P><STRONG>&nbsp;</STRONG><A href="#" target="_blank" rel="noopener">Azure NetApp Files Snapshot technology</A> can be used to create online database backups within minutes. Because a snapshot does not move any physical data blocks on the storage platform, the time needed to create a snapshot is independent of the size of the database. The use of snapshot technology also has no performance impact on the live SAP system. That is because the Azure NetApp Files snapshots do not move or copy data blocks when the snapshot is created or when data in the active file system is changed. Therefore, the creation of snapshots can be scheduled without having to consider peak dialog or batch activity periods. Azure SAP customers leveraging Azure NetApp Files typically schedule multiple online snapshots during the day; for example, scheduling snapshots every four or six hours is common. These snapshots are typically kept for three to five days. For long-term retention older snapshots are then typically vaulted using <A href="#" target="_blank" rel="noopener">Azure NetApp Files backup</A> to Azure storage account.</P> <P>&nbsp;</P> <P>Snapshots also provide key advantages for the restore and recovery operation. <A href="#" target="_blank" rel="noopener">Azure NetApp Files ‘Revert Volume’ functionality</A> allows restoration of the entire database to any point in time based on the available snapshots. This restore process is performed near-instantaneously, independent of the size of the database. Because several online snapshots are created during the day, the actual time needed for the recovery process is dramatically reduced, as opposed to a traditional backup approach. A restore operation can be performed using a snapshot that is only a few hours old (rather than up to 24 hours old); therefore, fewer transaction logs need to be applied. As a result, the mean time to recover or RTO, which is the time needed for restore and recovery operations, is reduced to just several minutes compared to multiple hours with conventional single-cycle tape backups.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_1-1647353708175.png" style="width: 981px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355872i9AD35C687862254E/image-dimensions/981x442?v=v2" width="981" height="442" role="button" title="GeertVanTeylingen_1-1647353708175.png" alt="GeertVanTeylingen_1-1647353708175.png" /></span></P> <P>Azure NetApp Files snapshots are stored on the same volume as the active online data. Therefore, it is recommended to use Azure NetApp Files backup or <A href="#" target="_blank" rel="noopener">Azure NetApp Files Cross Region Replication (CRR)</A> to a secondary Azure NetApp File paired region to safeguard the data from accidental deletions.</P> <P><STRONG><SPAN>&nbsp;</SPAN></STRONG></P> <P><SPAN>This article describes how to recover an SAP/Oracle database when using Azure NetApp Files with AzAcSnap orchestration tool to protect the database.&nbsp; The two scenarios that are covered are:</SPAN></P> <P>&nbsp;</P> <UL> <LI><SPAN>Recover to the time of backup</SPAN></LI> <LI><SPAN>Recover to the latest transaction</SPAN></LI> </UL> <P>&nbsp;</P> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"> <P><FONT color="#DF0000"><STRONG>(!) NOTE:<BR /><FONT size="3">As of 03/17/2022, the functionality related to Oracle DBMS of the tool AzAcSnap are still in preview stage. Previews are provided "as-is," "with all faults," and "as available," and are excluded from the service level agreements and limited warranty (ref: <A href="#" target="_self">here</A>). For changes of the state from preview to general availability, check the documentation <A href="#" target="_self">here.</A></FONT><BR /></STRONG></FONT></P> </TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc98249637"></A><SPAN>Disclaimer</SPAN></H1> <P><SPAN>As with anything especially in the IT field, there are multiple ways to accomplish a task.&nbsp; This article is by no means the only way to accomplish this task, it should be used as a guide and can be adjusted per individual circumstances.&nbsp;<BR /></SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc98249638"></A><SPAN>Assumptions</SPAN></H1> <P><SPAN>The setup of AzAcSnap is not covered within this article.&nbsp; Setup instructions for AzAcSnap with Oracle can be found <A href="#" target="_blank" rel="noopener">here</A>. </SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>The management of the Oracle archives contained within /oracle/SID/saparch:oraarch is not covered here.&nbsp; Multiple solutions can be used to manage the archives via BRTools, RMAN or 3<SUP>rd</SUP>-party (backint) solutions.&nbsp;</SPAN></P> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"> <P><FONT color="#DF0000"><STRONG>(!) NOTE:<BR /><BR />It is critical the archives, that are created when AzAcSnap has the Oracle database in hot backup-mode, are available during the recovery.&nbsp; </STRONG></FONT></P> <P><FONT color="#DF0000"><STRONG>&nbsp;</STRONG></FONT></P> <P><FONT color="#DF0000"><STRONG>You must ensure the Oracle archives that were generated during the time the database was in hot-backup mode are available on the file system. The Oracle recovery will be dependent on these files for a successful recovery of the database.&nbsp;</STRONG></FONT></P> </TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P><SPAN>In this article the recovery of the SAP Oracle system is being performed on the same system (not a secondary copy).</SPAN></P> <H1><A target="_blank" name="_Toc98249639"></A><SPAN>Lab System Overview</SPAN></H1> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Host: gr1ora</SPAN></P> <P><SPAN>Host OS: Oracle Linux Server 8.5</SPAN></P> <P><SPAN>Oracle version: 19.13.0.0</SPAN></P> <P><SPAN>SAP NW: 7.5</SPAN></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_22-1647354382162.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355896i883EA593FDCFD33B/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_22-1647354382162.png" alt="GeertVanTeylingen_22-1647354382162.png" /></span></P> <P><SPAN>Azure NetApp Files (ANF) NFSv3 volumes.</SPAN></P> <H2><A target="_blank" name="_Toc98249640"></A><SPAN>Mount points</SPAN></H2> <P><SPAN>ANF volume/ANF Sub-Directory mount point/File System mount point</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <TABLE> <TBODY> <TR> <TD width="208"> <P><STRONG><SPAN>ANF Volume</SPAN></STRONG></P> </TD> <TD width="208"> <P><STRONG><SPAN>ANF Sub-Directory</SPAN></STRONG></P> </TD> <TD width="208"> <P><STRONG><SPAN>File System</SPAN></STRONG></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-orashared</SPAN></P> </TD> <TD width="208"> <P><SPAN>oracle</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-orashared</SPAN></P> </TD> <TD width="208"> <P><SPAN>usr-sap</SPAN></P> </TD> <TD width="208"> <P><SPAN>/usr/sap</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-orashared</SPAN></P> </TD> <TD width="208"> <P><SPAN>sapmnt</SPAN></P> </TD> <TD width="208"> <P><SPAN>/sapmnt</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-orashared</SPAN></P> </TD> <TD width="208"> <P><SPAN>trans</SPAN></P> </TD> <TD width="208"> <P><SPAN>/usr/sap/trans</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-orashared</SPAN></P> </TD> <TD width="208"> <P><SPAN>oracle_GR1</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-orashared</SPAN></P> </TD> <TD width="208"> <P><SPAN>19.0.0</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/19.0.0</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-sapdata</SPAN></P> </TD> <TD width="208"> <P><SPAN>sapdata1</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/sapdata1</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-sapdata</SPAN></P> </TD> <TD width="208"> <P><SPAN>sapdata2</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/sapdata2</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-sapdata</SPAN></P> </TD> <TD width="208"> <P><SPAN>sapdata3</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/sapdata3</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-sapdata</SPAN></P> </TD> <TD width="208"> <P><SPAN>sapdata4</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/sapdata4</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-oraarch</SPAN></P> </TD> <TD width="208"> <P><SPAN>GR1</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/oraarch</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-origlog</SPAN></P> </TD> <TD width="208"> <P><SPAN>origlogA</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/origlogA</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-origlog</SPAN></P> </TD> <TD width="208"> <P><SPAN>origlogB</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/origlogB</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-mirrlog</SPAN></P> </TD> <TD width="208"> <P><SPAN>mirrlogA</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/mirrlogA</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>gr1ora-mirrlog</SPAN></P> </TD> <TD width="208"> <P><SPAN>mirrlogB</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/mirrlogB</SPAN></P> </TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P><STRONG><SPAN>/etc/fstab:</SPAN></STRONG></P> <P><SPAN>&nbsp;</SPAN></P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="bash"># Oracle SAP Mount points 10.1.9.4:/gr1ora-orashared/sapmnt /sapmnt nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-orashared/usr_sap /usr/sap nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-orashared/trans /usr/sap/trans nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-orashared/oracle /oracle nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-orashared/oracle_GR1 /oracle/GR1 nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-orashared/19.0.0 /oracle/GR1/19.0.0 nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-oraarch/GR1 /oracle/GR1/oraarch nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-mirrlog/mirrlogA /oracle/GR1/mirrlogA nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-mirrlog/mirrlogB /oracle/GR1/mirrlogB nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-origlog/origlogA /oracle/GR1/origlogA nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-origlog/origlogB /oracle/GR1/origlogB nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-sapdata/sapdata1 /oracle/GR1/sapdata1 nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-sapdata/sapdata2 /oracle/GR1/sapdata2 nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-sapdata/sapdata3 /oracle/GR1/sapdata3 nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0 10.1.9.4:/gr1ora-sapdata/sapdata4 /oracle/GR1/sapdata4 nfs rw,vers=3,hard,timeo=600,rsize=262144,wsize=262144,bg,noatime,nointr,lock 0 0</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <H2><A target="_blank" name="_Toc98249641"></A><SPAN>Oracle Control File Locations (default locations)</SPAN></H2> <P><SPAN>&nbsp;</SPAN></P> <TABLE> <TBODY> <TR> <TD width="312"> <P><SPAN>/oracle/GR1/sapdata1/cntrl</SPAN></P> </TD> <TD width="312"> <P><SPAN>cntrlGR1.dbf</SPAN></P> </TD> </TR> <TR> <TD width="312"> <P><SPAN>/oracle/GR1/origlogA/cntrl</SPAN></P> </TD> <TD width="312"> <P><SPAN>cntrlGR1.dbf</SPAN></P> </TD> </TR> <TR> <TD width="312"> <P><SPAN>/oracle/GR1/origlogB/cntrl</SPAN></P> </TD> <TD width="312"> <P><SPAN>cntrlGR1.dbf</SPAN></P> </TD> </TR> </TBODY> </TABLE> <P><SPAN>&nbsp;</SPAN></P> <H2><A target="_blank" name="_Toc98249642"></A><SPAN>Oracle pfile and spifle locations (default locations)</SPAN></H2> <P><SPAN>&nbsp;</SPAN></P> <TABLE> <TBODY> <TR> <TD width="208"> <P><SPAN>spfile</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/19.0.0/dbs</SPAN></P> </TD> <TD width="208"> <P><SPAN>spfileGR1.ora</SPAN></P> </TD> </TR> <TR> <TD width="208"> <P><SPAN>pfile</SPAN></P> </TD> <TD width="208"> <P><SPAN>/oracle/GR1/19.0.0/dbs</SPAN></P> </TD> <TD width="208"> <P><SPAN>initGR1.ora</SPAN></P> </TD> </TR> </TBODY> </TABLE> <P><SPAN>&nbsp;</SPAN></P> <H1><A target="_blank" name="_Toc98249643"></A><SPAN>AzAcSnap backups</SPAN></H1> <P><SPAN>This section provides a brief overview of the use of AzAcSnap. More detailed information in available in the <A href="#" target="_blank" rel="noopener">AzAcSnap documentation</A>.</SPAN></P> <P>&nbsp;</P> <H2><A target="_blank" name="_Toc98249644"></A><SPAN>AzAcSnap command to orchestrate the online Oracle backup</SPAN></H2> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="powershell">azacsnap --configfile=/sapcd/snapit/home/GR1/GR1azacsnap.json -c backup --volume data --prefix GR1_hourly --retention 3</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <UL> <LI>Option definitions can be found in the <A href="#" target="_blank" rel="noopener">AzAcSnap documentation</A>.</LI> </UL> <P>&nbsp;</P> <H2><A target="_blank" name="_Toc98249645"></A><SPAN>AzAcSnap Configuration (GR1azacsnap.json)</SPAN></H2> <P><STRONG><SPAN>&nbsp;</SPAN></STRONG></P> <P><SPAN>These ANF volumes will be captured within an Azure NetApp Files storage snapshot while Oracle is in hot backup mode.&nbsp; You must ensure all Azure NetApp Files volumes containing sapdata1-X as well as Oracle control file locations are included.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <TABLE> <TBODY> <TR> <TD width="312"> <P><SPAN>dataVolume</SPAN></P> </TD> <TD width="312"> <P><SPAN>gr1ora-sapdata</SPAN></P> </TD> </TR> <TR> <TD width="312"> <P><SPAN>dataVolume</SPAN></P> </TD> <TD width="312"> <P><SPAN>gr1ora-origlog</SPAN></P> </TD> </TR> </TBODY> </TABLE> <P><SPAN>&nbsp;</SPAN></P> <P><STRONG><SPAN>GR1azacsnap.json</SPAN></STRONG><SPAN> file</SPAN></P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <LI-CODE lang="json">{ "version": "5.1 Preview", "logPath": "/sapcd/snapit/home/GR1/logs", "securityPath": "/sapcd/snapit/home/GR1/security", "comments": [ "GR1 Oracle" ], "database": [ { "hana": null, "oracle": { "serverAddress": "gr1ora", "sid": "GR1", "connectString": "/@AZACSNAP", "backupAbortWaitSeconds": -1, "hliStorage": [], "anfStorage": [ { "dataVolume": [ { "resourceId": "/subscriptions/zzzzzzzz-999999999 /resourceGroups/rg-mcscott/providers/Microsoft.NetApp/netAppAccounts/sap-eastus/capacityPools/sap-premium-mqos/volumes/gr1ora-origlog", "authFile": "/sapcd/snapit/home/GR1/azureauth.json", "subscription": "zzzzzzzz-999999999999999999", "resourceGroupName": "rg-mcscott", "accountName": "sap-eastus", "poolName": "sap-premium-mqos", "volume": "gr1ora-origlog" }, { "resourceId": "/subscriptions/zzzzzzzz-999999999 /resourceGroups/rg-mcscott/providers/Microsoft.NetApp/netAppAccounts/sap-eastus/capacityPools/sap-premium-mqos/volumes/gr1ora-sapdata", "authFile": "/sapcd/snapit/home/GR1/azureauth.json", "subscription": "zzzzzzzz-99999999999999999", "resourceGroupName": "rg-mcscott", "accountName": "sap-eastus", "poolName": "sap-premium-mqos", "volume": "gr1ora-sapdata" } ], "otherVolume": [] } ], "amdStorage": [] } } ] }</LI-CODE> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <P>&nbsp;</P> <H1><SPAN>Recover to time of backup (snapshot)</SPAN></H1> <P><SPAN>&nbsp;</SPAN><SPAN>This example will recover the SAP Oracle database to the time of backup (no forward recovery).&nbsp;&nbsp; The example will use printer entries within SAP NW transaction SPAD to demonstrate recovery.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Current list of output devices</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_35-1647356597208.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355919i956CFF0CB7BFA9A4/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_35-1647356597208.png" alt="GeertVanTeylingen_35-1647356597208.png" /></span></P> <P>&nbsp;</P> <P>Show AzAcSnap backup result</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_24-1647355726740.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355903i5EB5FC1C4C165B9C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_24-1647355726740.png" alt="GeertVanTeylingen_24-1647355726740.png" /></span></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Create new spool entry “ZZZZ”</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_25-1647355754463.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355905i2C3C406002C9D7EC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_25-1647355754463.png" alt="GeertVanTeylingen_25-1647355754463.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Recover the database to the time of backup that will show only device entries “LP01, URD1”.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Shutdown R3 and the database.</SPAN></P> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"> <P><FONT color="#DF0000"><STRONG>(!) NOTE:<BR /><BR />The following operations are destructive as we will be reverting the Azure NetApp Files SAP data volume (gr1ora-sapdata) back in time to the snapshot created via AzAcSnap.&nbsp; Optionally, you could create new a volume from this snapshot as to keep the data currently in the live file system.</STRONG></FONT></P> </TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P><SPAN>ANF volume/Snapshot</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <TABLE> <TBODY> <TR> <TD width="312"> <P><SPAN>gr1ora-sapdata</SPAN></P> </TD> <TD width="312"> <P>gr1_hourly__2022-02-28t170108-2702409z</P> </TD> </TR> </TBODY> </TABLE> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>You must select the Azure NetApp Files snapshot name you wish to use.&nbsp; Optionally, you can leverage AzAcSnap to revert the Azure NetApp Files volume.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Within your Azure NetApp Files subscription select the capacity pool and volume(s) that contains the sapdata volume(s).&nbsp; Select ‘Snapshots’ and then the appropriate snapshot name.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_26-1647355957877.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355907iDE94C30B359B30B9/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_26-1647355957877.png" alt="GeertVanTeylingen_26-1647355957877.png" /></span></P> <P>&nbsp;</P> <P><SPAN>After confirming the volume name within the portal, the Azure NetApp Files sapdata volume has been reverted to the time of the backup.&nbsp; This operation regardless of size takes only minutes.&nbsp; </SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Copy the Oracle control file from the recently reverted Azure NetApp Files sapdata volume to the two other control file locations.&nbsp; This will ensure the control file from the time of the backup is consistent amongst the three copies.&nbsp; </SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>As oraSID, copy the /oracle/GR1/sapdata1/cntrl/cntrlGR1.dbf to the other two locations:</SPAN></P> <UL> <LI><SPAN>/oracle/GR1/origlogA/cntrl</SPAN></LI> <LI><SPAN>/oracle/GR1/origlogB/cntrl</SPAN></LI> </UL> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_27-1647355991397.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355909i8E5E4E65ED9BD155/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_27-1647355991397.png" alt="GeertVanTeylingen_27-1647355991397.png" /></span></P> <P>&nbsp;</P> <P><SPAN>The three Oracle control files are now consistent from the time of the backup.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Recover the database to the time of the backup.&nbsp; Ensure you have the Oracle archive(s) that were generated during the time AzAcSnap had the database in hot backup mode.&nbsp; This is not a forward recovery; this is simply applying any changes to the data files that occurred during hot backup mode.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_28-1647356017295.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355910i441D002EE9D85191/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_28-1647356017295.png" alt="GeertVanTeylingen_28-1647356017295.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Recover the database until cancel.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_29-1647356037647.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355911i7F58F545AC6C5EB9/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_29-1647356037647.png" alt="GeertVanTeylingen_29-1647356037647.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Archive GR1arch1_<STRONG>13</STRONG>_1097689630.dbf was generated during the time AzAcSnap had the database in hot backup mode.&nbsp; Ensure this file exists in the Oracle archive location. </SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Hit Enter to use suggested.&nbsp;</SPAN></P> <P>&nbsp;</P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"> <P><SPAN>OPTIONAL:&nbsp; You can elect to continue applying Oracle archive files.&nbsp; In this sense, you would be recovering to a later time than the backup.</SPAN></P> </TD> </TR> </TBODY> </TABLE> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Enter “cancel” to end recovery.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_30-1647356071226.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355912iEEF243504BAF801C/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_30-1647356071226.png" alt="GeertVanTeylingen_30-1647356071226.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Database files are now in a consistent state.&nbsp; To recover the database to this backup we must initialize the online redo logs.&nbsp; This operation will start the database and re-init the redo logs.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_31-1647356116200.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355913iAF688500A674D477/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_31-1647356116200.png" alt="GeertVanTeylingen_31-1647356116200.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Start SAP R/3 and verify printer entries within SPAD.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_32-1647356138567.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355914iDA9185451BBA5855/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_32-1647356138567.png" alt="GeertVanTeylingen_32-1647356138567.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Successfully completed recovery to time of backup.</SPAN></P> <P>&nbsp;</P> <H1><A target="_blank" name="_Toc98249647"></A><SPAN>Recover to the last Transaction</SPAN></H1> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>This section describes how to recover an SAP/Oracle database when using Azure NetApp Files with AzAcSnap orchestration tool to protect the database to the last transaction located in the Oracle redo logs.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>The example will use printer entries within SAP NW transaction SPAD to demonstrate recovery.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Current list of output devices</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_33-1647356180278.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355915iC70D12582D20434D/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_33-1647356180278.png" alt="GeertVanTeylingen_33-1647356180278.png" /></span></P> <P>&nbsp;</P> <P>Show AzAcSnap backup result</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_34-1647356196789.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355916i890BB75547C9CD82/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_34-1647356196789.png" alt="GeertVanTeylingen_34-1647356196789.png" /></span></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Create new spool entry “YYYY”</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_36-1647356883812.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355920i7D371939829B4CFC/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_36-1647356883812.png" alt="GeertVanTeylingen_36-1647356883812.png" /></span></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Recover the database with forward recovery to show newly created spool device “YYYY”.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Shutdown R3 and the database.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <TABLE border="1" width="100%"> <TBODY> <TR> <TD width="100%"><FONT color="#DF0000"><STRONG>(!) NOTE:<BR /><BR />The following operations are destructive as we will be reverting the ANF volume back in time to the snapshot created via AzAcSnap.&nbsp; Optionally, you could create new a volume from the snapshot as to keep the data currently in the live file systems.</STRONG></FONT></TD> </TR> </TBODY> </TABLE> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>ANF volume/Snapshot</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <TABLE width="622px"> <TBODY> <TR> <TD width="310.4px"> <P><SPAN>gr1ora-sapdata</SPAN></P> </TD> <TD width="310.6px"> <P>gr1_hourly__2022-02-28t171932-6058388z</P> </TD> </TR> </TBODY> </TABLE> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>The name of the Azure NetApp Files snapshot can be found within the AzAcSnap log or for this example we are using the most recent snapshot.&nbsp; Optionally, you can leverage AzAcSnap to revert the Azure NetApp Files volume.</SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Within your ANF subscription select the capacity pool and volume(s) that contains the sapdata volume(s).&nbsp; Select ‘Snapshots’ and then the appropriate snapshot name.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_37-1647357032567.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355921i0F9368E528A1BA76/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_37-1647357032567.png" alt="GeertVanTeylingen_37-1647357032567.png" /></span></P> <P>&nbsp;</P> <P><SPAN>At this point the Oracle datafiles located in the Azure NetApp Files sapdata volume (gr1ora-sapdata) have been reverted to the time of the snapshot.&nbsp; </SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>The Oracle control file in /oracle/GR1/sapdata1/cntrl has also been reverted to the time of the snapshot.&nbsp; For this reason, we must use the latest Oracle control file located in one of the other two locations:</SPAN></P> <UL> <LI><SPAN>/oracle/GR1/origlogA/cntrl/cntrlGR1.dbf</SPAN></LI> <LI><SPAN>/oracle/GR1/origlogB/cntrl/cntrlGR1.dbf</SPAN></LI> </UL> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>In this example, as oraSID, copy the /oracle/GR1/origlogA/cntrl/cntrlGR1.dbf to the other two locations.&nbsp; This will ensure all three Oracle control files are the latest and consistent across all three copies.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_38-1647357061436.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355923i11E0B9F734A14FA2/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_38-1647357061436.png" alt="GeertVanTeylingen_38-1647357061436.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Recover the database to the last transactions (still located within the redo logs).&nbsp; Ensure you have the Oracle archive(s) that were generated during the time AzAcSnap had the database in hot backup mode plus all the archives generated after the backup was completed.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_39-1647357081883.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355924i486235B875307D18/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_39-1647357081883.png" alt="GeertVanTeylingen_39-1647357081883.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Recover the database.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_40-1647357101404.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355925iF864499045D3A629/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_40-1647357101404.png" alt="GeertVanTeylingen_40-1647357101404.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Database files are now in a consistent state.&nbsp; </SPAN></P> <P><SPAN>&nbsp;</SPAN></P> <P><SPAN>Open the database.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_41-1647357120982.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355926i1C371A3927A79340/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_41-1647357120982.png" alt="GeertVanTeylingen_41-1647357120982.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Start SAP and verify printer entries.</SPAN></P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeertVanTeylingen_42-1647357139831.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/355927i8B1A893483F41D2F/image-size/large?v=v2&amp;px=999" role="button" title="GeertVanTeylingen_42-1647357139831.png" alt="GeertVanTeylingen_42-1647357139831.png" /></span></P> <P>&nbsp;</P> <P><SPAN>Successfully completed recovery to latest transactions.</SPAN></P> Thu, 17 Mar 2022 20:49:49 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/manual-recovery-guide-for-sap-oracle-19c-on-azure-vms-from-azure/ba-p/3242408 GeertVanTeylingen 2022-03-17T20:49:49Z Use SAP Virtual Host Names with Linux in Azure https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/use-sap-virtual-host-names-with-linux-in-azure/ba-p/3251593 <P>For many customers the concept of SAP virtual hostnames is commonly used and expected for the SAP landscape. It allows logically decouple the actual <A href="#" target="_blank" rel="noopener">virtual machine hostname</A> and an easy to understand and unique SAP system hostname. The hostname - often a cryptic string to comply with a company’s overall naming policy (example x17qus80) – is bound to the only network interface card. SAP system running on this host, let’s say with SID of T01, operates with a hostname unique for every instance. One virtual hostname for the ASCS instance, one for PAS, another for database and each application server has one each, too. Example sapt01ascs, sapt01pas, sapt01db etc.</P> <P>&nbsp;</P> <P>These virtual hostnames correspond to DNS A/PTR entries and unique IP address is used for each virtual hostname, as seen in above example. These secondary IP addresses are bound to the same network interface card, so within the operating system the same NIC has – example above – 3 individual IP addresses. The virtual hostname concept hides the physical hostname from the application and allows very easy move of the SAP instances to new VMs – for example during major OS upgrades where typically a new VM with higher OS version is deployed, using new physical/VM hostname.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBiro_0-1646827552364.png" style="width: 400px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354264iB28A10A0BB63B4AA/image-size/medium?v=v2&amp;px=400" role="button" title="RobertBiro_0-1646827552364.png" alt="RobertBiro_0-1646827552364.png" /></span></P> <P><EM>Figure 1 - Example of secondary IPs for SAP</EM></P> <P>&nbsp;</P> <P class="MsoNoSpacing" style="background: #FBE4D5; mso-background-themecolor: accent2; mso-background-themetint: 51;"><STRONG><SPAN style="color: black; mso-color-alt: windowtext;">NOTE</SPAN></STRONG><SPAN style="color: black; mso-color-alt: windowtext;">: Please note that the configuration described in this article does NOT apply to any high-availability solution using internal load balancer such as Pacemaker or other, <SPAN class="GramE">3<SUP>rd</SUP></SPAN> party cluster solutions. The load balancer fulfills the same role – virtual hostname IP <SPAN class="GramE">is provided</SPAN> by the load balancer. The configuration described in this blog post can <SPAN class="GramE">be applied</SPAN> to SAP Application Servers including (A)SCS, non-HA SAP systems, as well as 2-tier SAP systems (application, DB and SCS instances installed on a single VM.)</SPAN></P> <P>&nbsp;</P> <P>This blog post addresses this topic for Linux systems only. <STRONG>For Windows environments</STRONG>, please see the following excellent blog post on the very same subject. <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/use-sap-virtual-host-names-with-windows-on-microsoft-azure/ba-p/2166363" target="_blank" rel="noopener">Use SAP Virtual Host Names with Windows on Microsoft Azure</A></P> <P>&nbsp;</P> <H2>Azure configuration for SAP virtual hostnames</H2> <P>Now that you went through a quick refresher how virtual hostnames are used with SAP, how does this work in Azure?&nbsp;On-premises you add a secondary IP within the OS and often the networking stack automatically reconfigures. With software defined networking, as utilized in public cloud, some additional steps are needed.</P> <P>&nbsp;</P> <P>An Azure VM running SAP workload typically requires only one NIC card, there is no performance benefit using multiple NICs. Hence, before adding the secondary IP within the OS, the IP needs to be added to the Azure network interface first. Each Azure NIC can support <A href="#" target="_blank" rel="noopener">up to 256 secondary IP addresses</A>.</P> <P>&nbsp;</P> <P>To add the secondary IP(s) to a network interface you modify the network interface and add IP config(s) for each secondary entry. As always, you can use the <A href="#" target="_blank" rel="noopener">Azure portal</A>, <A href="#" target="_blank" rel="noopener">CLI</A>, tools like <A href="#" target="_blank" rel="noopener">Terraform</A> or the <A href="#" target="_blank" rel="noopener">Azure API</A> itself.&nbsp;Secondary IPs must be in the same subnet as the network interface itself.</P> <P>&nbsp;</P> <P>There is NO downtime or interruption required to add or remove secondary IP addresses from Azure network cards, this can be done online.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBiro_0-1646827955968.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354268i4CB5AE2DD83DC4F5/image-size/large?v=v2&amp;px=999" role="button" title="RobertBiro_0-1646827955968.png" alt="RobertBiro_0-1646827955968.png" /></span></P> <P><EM>Figure 2 - Example of secondary IPs configured in Azure for NIC</EM></P> <P>&nbsp;</P> <P>Once configured, as shown in picture, the Azure networking stack knows to route network packets for IPs 10.185.106.5, .60 and .61 to this network interface.</P> <P>&nbsp;</P> <P>That is it from Azure perspective, make sure your DNS is updated with A/PTR records for this hostname/IP. Next step is the operating system of the VM.</P> <P>&nbsp;</P> <H2>OS specific steps for SAP virtual hostnames</H2> <P>&nbsp;</P> <P>Network packets addressed to the secondary IP(s) are now sent to this NIC and VM. But the OS must know how to deal with the network packets for the SAP virtual hostname/IP , too.&nbsp;</P> <P>Most Linux distributions operate the NIC card with DHCP by default. That means Azure provides the IP (and possibly DNS servers, if configured on Azure virtual network) to the OS. SAP relevant OS images should pick-up the secondary IP address(es) that you configured within Azure immediately through DHCP.&nbsp; Don’t rely on DHCP entirely, however, since for some configurations like <A href="#" target="_blank" rel="noopener">SAP LaMa</A> or <A href="#" target="_blank" rel="noopener">HA setups with Pacemaker</A> require you to <A href="#" target="_blank" rel="noopener">disable SUSE Network Manager</A> and thus you need to add secondary IPs manually.</P> <P>&nbsp;</P> <P>Should you use the default and use DHCP, once your DNS is configured correctly and the hostname entries are added to DNS, then there should be no action needed within the OS. You can try and reach the virtual hostname from other hosts – database host, from client PCs, etc.</P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black; mso-color-alt: windowtext;">virthost01:~ # <STRONG>ip a s eth0</STRONG></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">2: <FONT color="#DF0000"><STRONG>eth0</STRONG></FONT>: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP group default qlen 1000</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; link/ether 00:22:48:9b:ff:71 brd ff:ff:ff:ff:ff:ff</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; inet <FONT color="#DF0000"><STRONG>10.185.106.5</STRONG></FONT>/25 brd 10.185.106.127 scope global eth0</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; &nbsp; &nbsp;valid_lft forever preferred_lft forever</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; inet <FONT color="#DF0000"><STRONG>10.185.106.60</STRONG></FONT>/25 brd 10.185.106.127 scope global <FONT color="#DF0000"><STRONG>secondary</STRONG> </FONT>eth0</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; &nbsp; &nbsp;valid_lft forever preferred_lft forever</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; inet <FONT color="#DF0000"><STRONG>10.185.106.61</STRONG></FONT>/25 brd 10.185.106.127 scope global <FONT color="#DF0000"><STRONG>secondary</STRONG></FONT> eth0</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; &nbsp; &nbsp;valid_lft forever preferred_lft forever</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; inet6 fe80::222:48ff:fe9b:ff71/64 scope link</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp; &nbsp; &nbsp; &nbsp;valid_lft forever preferred_lft forever</SPAN></P> <P>&nbsp;</P> <P>Without the use of DHCP, you need to add the secondary IPs manually within the OS. To add them online, without any stopping of applications/OS, you can use the ip command</P> <P>&nbsp;</P> <P class="MsoNoSpacing" style="background: #FFF2CC; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">[root@virthost01 ~]# <STRONG>ip a add 10.185.106.60/25 dev eth0</STRONG></SPAN></P> <P class="MsoNoSpacing" style="background: #FFF2CC; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">[root@virthost01 ~]# <STRONG>ip a add 10.185.106.61/25 dev eth0</STRONG></SPAN></P> <P>&nbsp;</P> <P>And verify (same result as if the IP is picked up with DHCP)</P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">[root@virthost01 ~]# <STRONG>ip a s eth0</STRONG></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP group default qlen 1000</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; link/ether 00:0d:3a:b1:d4:82 brd ff:ff:ff:ff:ff:ff</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; inet <STRONG><FONT color="#DF0000">10.185.106.4</FONT></STRONG>/25 brd 10.185.106.127 scope global noprefixroute eth0</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; valid_lft forever preferred_lft forever</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; inet <FONT color="#DF0000"><STRONG>10.185.106.60</STRONG></FONT>/25 scope global <FONT color="#DF0000"><STRONG>secondary</STRONG> </FONT>eth0</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; valid_lft forever preferred_lft forever</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; inet <FONT color="#DF0000"><STRONG>10.185.106.61</STRONG></FONT>/25 scope global <FONT color="#DF0000"><STRONG>secondary</STRONG> </FONT>eth0</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; valid_lft forever preferred_lft forever</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; inet6 fe80::20d:3aff:feb1:d482/64 scope link</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; valid_lft forever preferred_lft forever</SPAN></P> <P>&nbsp;</P> <P>Using ip command is however not persistent and after each reboot or VM start the secondary IPs in such case – if not automatically handled by dhcp client inside OS – would need to be re-added. For persistent changes modify /etc/sysconfig/network-scripts/ifcfg-&lt;adapter&gt; (RHEL) or /etc/sysconfig/network/ifcfg-&lt;adapter&gt; (SLES) scripts and restart networking or the OS.</P> <H2>Verify the name resolution</H2> <P>&nbsp;</P> <P>As clearly stated in SAP note <A href="#" target="_blank" rel="noopener">962955 - Use of virtual or logical TCP/IP host names</A> both forward and reverse name lookups need to return the same hostname-IP pair. Failure often leads to SAP services not starting at all.</P> <P>&nbsp;</P> <P>Now, in our example just below we will be working with this setup.</P> <P>Hostname:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x17qus80 (10.185.106.5)</P> <P>SAP hostnames:&nbsp; sapt01ascs (10.185.106.60) and sapt01pas (10.185.106.61)</P> <P>&nbsp;</P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">ht1adm@x17qus80:/usr/sap/HT1/tmp&gt; ./<STRONG>niping -v -H sapt01ascs</STRONG></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Hostname/Nodeaddr verification:</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">===============================</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Hostname of local computer: x17qus80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (NiMyHostName)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">FQHN of local computer: x17qus80.virthost.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (NiGetOwnFQDN)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Lookup of hostname: <FONT color="#DF0000"><STRONG>sapt01ascs</STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> (<STRONG><FONT color="#DF0000">NiHostToAddr</FONT></STRONG>)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; --&gt; IP-Addr.: <FONT color="#DF0000"><STRONG>10.185.106.60</STRONG></FONT></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Lookup of IP-Addr.: <FONT color="#DF0000"><STRONG>10.185.106.60</STRONG></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (<STRONG><FONT color="#DF0000">NiAddrToHost</FONT></STRONG>)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; --&gt; Hostname: <FONT color="#DF0000"><STRONG>sapt01ascs</STRONG></FONT></SPAN></P> <P>&nbsp;</P> <P>As seen, both forward and reverse lookup return the correct values, everything is in order. Would the reverse lookup not work correctly or return a miss-matched hostname than forward name resolution, SAP message server and other services would not start.</P> <P>Additional validation and troubleshooting step is to use nslookup directly for both forward and reverse lookups (hostname and IP).</P> <P>&nbsp;</P> <H2>Alternative - Using multiple NICs</H2> <P>&nbsp;</P> <P>First alternative architecture to using secondary IPs on a single NIC is to simply use more than one NIC. Very often we carry over our previous thinking and complicate system design. Using multiple NICs in Azure when its not required is one such typical example. Each NIC attached to an Azure VM must be in same virtual network but can be in different subnets. The network bandwidth limit of a virtual machine in Azure is set regardless how many network interfaces are attached, in other words you do NOT get additional network throughput with additional NICs.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBiro_0-1646830392285.png" style="width: 400px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354276i6E627893675D59E7/image-size/medium?v=v2&amp;px=400" role="button" title="RobertBiro_0-1646830392285.png" alt="RobertBiro_0-1646830392285.png" /></span></P> <P><EM>Figure 3 - Example of an unsuitable solution for SAP virtual hostnames</EM></P> <P>&nbsp;</P> <P>The typical usage scenario is requirements to use network segmentation through subnets and thus dual/multi-heading VMs into two or more subnets, such as administrative and SAP-application subnet. Remember that each subnet within a vnet can talk directly, if routes and network security groups (NSGs) are not restricted.</P> <P>&nbsp;</P> <P>Using multiple NICs for SAP virtual hostnames brings negatives of additional overhead for management, as each NIC requires set NSGs, user defined routes, manual routes and management within OS as dhcp clients in operating system typically only handles first NIC only you will need to set IP and routes for the second interface. It also increases complexity and more difficult troubleshooting.</P> <P>&nbsp;</P> <P>Use of a single, well managed and configured (NSG, routing) network interface on a VM with secondary IP configurations/addresses as described above is the far better solution for SAP virtual hostnames, since SAP virtual hostname/IP(s) are in same subnet as actual VM. If however the additional overhead of multi-NIC is not seen as a burden, then this is a valid alternative.</P> <P>&nbsp;</P> <H2>Alternative - Using Azure Internal Load Balancer for secondary IP addresses</H2> <P>&nbsp;</P> <P>An Azure Internal Load Balancer (ILB) is the correct service to provide virtual/floating IPs in a highly available (clustered) architecture. The IP of such virtual hostnames, used by SAP, is bound to the Load Balancer which is attached to the NICs of the VMs. This is the recommended solution for such HA-systems.</P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBiro_1-1646830507318.png" style="width: 400px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354277i060969FE2FDD5B66/image-size/medium?v=v2&amp;px=400" role="button" title="RobertBiro_1-1646830507318.png" alt="RobertBiro_1-1646830507318.png" /></span></P> <P><EM>Figure 4 - Example of single VM with ILB providing virtual hostname</EM></P> <P>&nbsp;</P> <P>For single-VMs a Load Balancer can be created, attached, and serve the same purpose as in HA setup or with secondary IPs on primary NIC. It is however&nbsp;<A href="#" target="_blank" rel="noopener">not possible to setup a load balancer on secondary IP configurations</A> for floating IP usage, so you cannot combine the two methods.&nbsp;As per the note at beginning of this blog post, load balancer should be used for any HA setup and not secondary IPs on a NIC.</P> <P>&nbsp;</P> <P>The drawbacks to this architecture are higher costs, overhead of building, managing and troubleshooting when compared to architecture without ILB and using NIC with secondary IP configs attached to it. Additionally an Azure Standard ILB attached to a VM <A href="#" target="_blank" rel="noopener">modifies how a VM can access Internet</A> – for example OS update repositories.&nbsp;ILBs are typically only used for clustered systems due to these drawbacks.</P> <P>&nbsp;</P> <H2>Bad alternative - Using DNS alias for SAP virtual hostname</H2> <P>&nbsp;</P> <P>The last alternative architecture to secondary IPs on a NIC is the use of DNS aliases. Very often DNS aliases, also known as canonical names or CNAME entries, are used to resolve the SAP virtual hostname, with the alias pointing to the actual VM IP. The benefit of this is no additional IP address space is needed, as it’s merely DNS ‘magic’.</P> <P>&nbsp;</P> <P>As an example, SAP system T01 is running on VM with a CNAME for SAP virtual hostname sapt01pas.</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBiro_2-1646830695073.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354280i8CFA5BDC77DCF769/image-size/large?v=v2&amp;px=999" role="button" title="RobertBiro_2-1646830695073.png" alt="RobertBiro_2-1646830695073.png" /></span></P> <P><EM>Figure 5 - Example of DNS CNAME for SAP virtual hostname</EM></P> <P>&nbsp;</P> <P><SPAN>Resolving that alias hostname, reveals that it points to the VM hostname, thus 10.185.106.5 is returned as IP.</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">ht1adm@x17qus80:/usr/sap/HT1/tmp&gt; <STRONG>nslookup sapt01pas</STRONG></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Server:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 168.63.129.16</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 168.63.129.16#53</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Non-authoritative answer:</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;"><FONT color="#DF0000"><STRONG>sapt01pas.virthost.com&nbsp; canonical name</STRONG></FONT> = <FONT color="#DF0000"><STRONG>x17qus80.virthost.com.</STRONG></FONT></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Name:&nbsp;&nbsp; x17qus80.virthost.com</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Address: <FONT color="#DF0000"><STRONG>10.185.106.5</STRONG></FONT></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">ht1adm@x17qus80:/usr/sap/HT1/tmp&gt; ./<STRONG>niping -v -H sapt01pas</STRONG></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Hostname/Nodeaddr verification:</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">===============================</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Hostname of local computer: x17qus80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (NiMyHostName)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">FQHN of local computer: x17qus80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(NiGetOwnFQDN)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Lookup of hostname: <FONT color="#DF0000"><STRONG>sapt01pas</STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> (NiHostToAddr)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; --&gt; IP-Addr.: <FONT color="#DF0000"><STRONG>10.185.106.5</STRONG></FONT></SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">Lookup of IP-Addr.: <FONT color="#DF0000"><STRONG>10.185.106.5</STRONG>&nbsp;</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (NiAddrToHost)</SPAN></P> <P class="MsoNoSpacing" style="background: #D9E2F3; mso-background-themecolor: accent1; mso-background-themetint: 51;"><SPAN style="font-family: 'Courier New'; color: black;">&nbsp;&nbsp;&nbsp; --&gt; Hostname: <STRONG><FONT color="#DF0000">x17qus80&nbsp;</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </STRONG></SPAN></P> <P>&nbsp;</P> <P>The CNAME setup would fail for SAP with just DNS, as the reverse lookup for the IP address will return the VM hostname, not the SAP virtual hostname.</P> <P>We can overcome this issue by either modifying PTR records – and thus likely breaking something else running on the VM like security scan tools – or through VM-local hosts file entry which are likely to cause problems at some point in (near) future.</P> <P>&nbsp;</P> <P>A DNS alias solution is <STRONG>not recommended</STRONG> for SAP environments. As per afore mentioned SAP note <A href="#" target="_blank" rel="noopener">962955 - Use of virtual or logical TCP/IP host names</A><EM> &nbsp;“Do not use any TCP network alias names to virtualize physical host names within the intra-server communication.”</EM></P> <P>&nbsp;</P> <H2>Off-topic 1: Azure VM name does not have to equal OS hostname</H2> <P>When you deploy a VM in Azure, an OS image – from Azure Marketplace or custom image – is used to provide the OS within. The OS, due to DHCP client, sets the hostname from Azure along with the IP. &nbsp;VM names (think Azure resource) and OS hostnames do not have to match!</P> <P>&nbsp;</P> <P>For SAP the hostname limit is often 13 characters – see SAP note <A href="#" target="_blank" rel="noopener">2718300 - Physical and Virtual hostname length limitations</A> for details. This same applies in Azure, of course, too.</P> <P>However the VM itself – the Azure resource – can be <A href="#" target="_blank" rel="noopener">much longer</A>. 15 characters for Windows, up to 64 for Linux. Thus, you can leverage Azure naming for a more descriptive name and inside the VM, on the OS modify /etc/hostname and benefit from separating the two.</P> <P>&nbsp;</P> <H2>Off-topic 2: VM outbound IP for 3<SUP>rd</SUP> party applications</H2> <P>When we deal with SAP virtual hostnames, we think of incoming network traffic and name resolution from the perspective of the client/user or 3<SUP>rd</SUP> party application. The SAP server process thinks its hostname is something like sapt01pas and listens on communication coming in on that IP.</P> <P>However, we often don’t think of egress traffic, how our SAP systems looks to the other application. By default, SAP answers back with the primary IP of the network interface. For some applications which do a reverse lookup (IP -&gt; hostname) this might be a security issue. From its perspective it tries to talk with John (the SAP virtual hostname) but the response (IP traffic back) comes from an address where Peter (VM hostname) is registered at.</P> <P>&nbsp;</P> <P>SAP has parameters for different services like message server, ICM, etc to set the IP to bind to and use for response. Some years ago, SAP introduced a ‘master’ parameter for SAP NetWeaver kernel to better and easier manage this. Parameter is/local_addr = &lt;SAP virtual hostname&gt; will ensure all outbound communication is using a specific IP – for details see SAP note <A href="#" target="_blank" rel="noopener">2157220 - Kernel parameter is/local_addr</A></P> <P>&nbsp;</P> <P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBiro_3-1646831034989.png" style="width: 999px;"><img src="https://techcommunity.microsoft.com/t5/image/serverpage/image-id/354283i0C75E656BBB5F4E2/image-size/large?v=v2&amp;px=999" role="button" title="RobertBiro_3-1646831034989.png" alt="RobertBiro_3-1646831034989.png" /></span></P> <P><EM>Figure 6 - IP addresses used for inbound/outbound communication paths</EM></P> <P>&nbsp;</P> <P>With this parameter set, the SAP virtual hostname will be used for outbound communication as well.</P> <H2>Conclusion</H2> <P>SAP ‘s virtual hostname concept is very easy to use in Azure and there are different possibilities to utilize it. Changing and moving of SAP instances between VM, also used by <A href="#" target="_blank" rel="noopener">SAP LaMa</A>, can be done very quickly.</P> <P>&nbsp;</P> <P>To recap some main topics in this blog post</P> <UL> <LI>You can have many secondary IPs bound to an Azure VM and its NIC</LI> <LI>Azure handles networking and thus you need to make a change on the NIC, before the OS</LI> <LI>Adding/removing secondary IPs on Azure and OS side can be done online, without a VM stop/deallocate or reboot</LI> <LI>Do not use multiple NICs for virtual hostnames, as it adds layers of complexity. Secondary IPs are recommended instead.</LI> <LI>Alternatively use ILBs for virtualizing hostnames/IP</LI> <LI>DNS aliases are not recommended by SAP for virtual hostnames</LI> <LI>VM name does not have to equal OS hostname</LI> </UL> <P>&nbsp;</P> <H2>References and further reading</H2> <P>&nbsp;</P> <P>For Windows systems - <A href="https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/use-sap-virtual-host-names-with-windows-on-microsoft-azure/ba-p/2166363" target="_blank" rel="noopener">Use SAP Virtual Host Names with Windows on Microsoft Azure</A></P> <P>&nbsp;</P> <P>SAP notes</P> <P><A href="#" target="_blank" rel="noopener">962955 - Use of virtual or logical TCP/IP host names</A></P> <P><A href="#" target="_blank" rel="noopener">2157220 - Kernel parameter is/local_addr</A></P> <P><A href="#" target="_blank" rel="noopener">2718300 - Physical and Virtual hostname length limitations</A></P> <P>&nbsp;</P> Mon, 14 Mar 2022 17:13:04 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/use-sap-virtual-host-names-with-linux-in-azure/ba-p/3251593 RobertBiro 2022-03-14T17:13:04Z Windows Server 2022 is Generally Available for SAP NetWeaver https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/windows-server-2022-is-generally-available-for-sap-netweaver/ba-p/3249798 <H1>1.&nbsp;&nbsp;&nbsp; Windows Server 2022 Generally Available for NetWeaver</H1> <P>Windows Server 2022 has been officially released by Microsoft and the validation process with SAP is now complete.&nbsp; Windows Server 2022 is now Generally Available for most NetWeaver ABAP, Java and standalone components.</P> <P>&nbsp;</P> <P>The Master SAP Note is <A href="#" target="_blank" rel="noopener">3143497 - SAP Systems on Windows Server 2022</A></P> <P>These NetWeaver releases are supported on Windows Server 2022:</P> <UL> <LI>SAP NetWeaver 7.0 SR3 (ABAP only)</LI> <LI>SAP NetWeaver 7.0 EHP1 SR1 (ABAP only)</LI> <LI>SAP NetWeaver 7.0 EHP2 (ABAP only)</LI> <LI>SAP NetWeaver 7.0 EHP3 (ABAP only)</LI> <LI>SAP NetWeaver 7.3 (ABAP only)</LI> <LI>SAP NetWeaver 7.3 EHP1 (ABAP only)</LI> <LI>SAP NetWeaver 7.4 (ABAP only)</LI> <LI>SAP NetWeaver 7.5x</LI> </UL> <P>&nbsp;</P> <P>The official Microsoft announcement about Windows Server 2022 can be found here: <A href="#" target="_blank" rel="noopener">https://aka.ms/WS2022GABlog</A></P> <P>More information <A href="#" target="_blank" rel="noopener">https://cloudblogs.microsoft.com/windowsserver/</A></P> <P>&nbsp;</P> <P>Windows Server 2022 has several Editions.&nbsp; Standard Edition and higher is supported. Only servers with Desktop Experience installations are supported by SAP. Windows Server 2022 Azure Edition is <STRONG>not</STRONG> supported</P> <P><A href="#" target="_blank" rel="noopener">Comparison of Standard, Datacenter, and Datacenter Azure Edition editions of Windows Server 2022 | Microsoft Docs</A></P> <P>&nbsp;</P> <P><A href="#" target="_blank" rel="noopener">What's new in Windows Server 2022 | Microsoft Docs</A></P> <P><A href="#" target="_blank" rel="noopener">Get a first look at Windows Server 2022—register for the free Windows Server Summit - Microsoft Windows Server Blog</A></P> <P><A href="#" target="_blank" rel="noopener">Windows Server Summit | Microsoft</A></P> <P>&nbsp;</P> <P>Reminder: Windows 2012 and Windows 2012 R2 are at or approaching <A href="#" target="_blank" rel="noopener">End of Life</A></P> <P>&nbsp;</P> <H1>2.&nbsp;&nbsp;&nbsp; Supported Databases</H1> <P>All the “AnyDB” databases other than DB2 LUW are supported on Windows Server 2022.</P> <P>The following versions are supported:</P> <P>&nbsp;</P> <UL> <LI>MS SQL Server 2017 and 2019</LI> <LI>Hana 2.00.05 &amp; 2.00.06 (Client only)</LI> <LI>SAP ASE 16.03 PL11 &amp; 16.04 PL01</LI> <LI>MaxDB 7.9.10.04 &amp; 7.9.10.06&nbsp;</LI> <LI>Oracle 19.13.0.0.0</LI> <LI>DB2/400 i7.3 &amp; i7.4 (Client only)</LI> </UL> <P>&nbsp;</P> <P>Oracle on Windows 2022 Failover Cluster is not supported because Windows Sever 2019 was the last Windows release supported by Oracle Fail Safe.&nbsp; Only non-cluster based HA technologies can be used.</P> <P>DB2 LUW and DB2 for z/OS (Client) is not supported on Windows Server 2022 because current DB2 Connect does not support Windows Server 2022</P> <P>&nbsp;</P> <H1>3.&nbsp;&nbsp;&nbsp; TREX, Business Objects, Content Server and other components</H1> <P>The following standalone engines are supported on Windows 2022:</P> <UL> <LI>Livecache</LI> <LI>TREX 7.10 Rev. 84</LI> <LI>Diagnostic Agent</LI> <LI>Web Dispatcher</LI> <LI>IGS</LI> <LI>Customer Checkout 2.0 FP13</LI> <LI>MES 15.5 (ME, MII and PCO)</LI> <LI>All standard SLM scenarios</LI> </UL> <P>&nbsp;</P> <P>SAP BusinessObjects BI Platform 4.2 is <STRONG>not</STRONG> supported on Windows Server 2022 <A href="#" target="_blank" rel="noopener">currently</A>.&nbsp; SAP BusinessObjects BI Platform 4.3 is fully <A href="#" target="_blank" rel="noopener">supported</A> on Windows Server 2022</P> <P>&nbsp;</P> <H1>4.&nbsp;&nbsp;&nbsp; Required SWPM and SUM Versions</H1> <P>It is recommended to use the latest version of SWPM or SUM.&nbsp; The minimum releases are listed below:</P> <P>&nbsp;</P> <UL> <LI>SWPM 1.0 SP34 and SWPM 2.0 SP11 for Installation, System Copy, System Rename and DB Refresh</LI> <LI>SUM 1.0 SP28 and SUM 2.0 SP13 for EHP-Updates, SP-Updates, Upgrades, UDI Installations and nZDM Java</LI> </UL> <P>&nbsp;</P> <P>Download the latest versions from <A href="#" target="_blank" rel="noopener">https://support.sap.com/sltoolset</A></P> <P>&nbsp;</P> <H1>5.&nbsp;&nbsp;&nbsp; Supported SAP Kernels</H1> <P>Only modern kernels are supported on Windows Server 2022:</P> <UL> <LI>7.22 EX2</LI> <LI>7.53</LI> <LI>7.77</LI> <LI>7.81</LI> <LI>7.85</LI> </UL> <P>&nbsp;</P> <P>It is recommended to use the latest Kernel Generation and Kernel Patch.</P> <P><A href="#" target="_blank" rel="noopener">https://wiki.scn.sap.com/wiki/display/SI/SAP+Kernel%3A+Important+News</A></P> <P><A href="#" target="_blank" rel="noopener">2083594 - SAP Kernel Versions and SAP Kernel Patch Levels</A></P> <P>&nbsp;</P> <H1>6.&nbsp;&nbsp;&nbsp; Windows Server 2022 Azure Edition Support Status</H1> <P>Windows Server 2022 Azure Edition is <STRONG>not</STRONG> supported by SAP.&nbsp; Discussions and testing is ongoing. &nbsp;The Azure Edition of Windows Server 2022 supports features such as Hotpatching</P> <P><A href="#" target="_blank" rel="noopener">Hotpatch for Windows Server Azure Edition (preview) | Microsoft Docs</A></P> <P><A href="#" target="_blank" rel="noopener">Azure Automanage for virtual machines | Microsoft Docs</A></P> <P>&nbsp;</P> <H1>7.&nbsp;&nbsp;&nbsp; Recommended Upgrade Approach</H1> <P>Like previous releases of Windows Server it is technically possible to do an “in-place upgrade” with Windows Server 2022. &nbsp;</P> <P>It is generally recommended to perform a Homogeneous System Copy when upgrading from previous Windows Server releases.&nbsp; Feedback from customers highlights many advantages of Homogeneous System Copy over in-place upgrade:</P> <OL> <LI>SAP Kernels can be updated to the latest generation and version</LI> <LI>Database client can be updated to the latest versions</LI> <LI>3<SUP>rd</SUP> party software can be updated to the latest versions</LI> <LI>DBMS version and patch can be updated</LI> <LI>SAP Homogeneous System Copy is safe, fast and well documented and supported</LI> <LI>Reinstallation of High Availability components can benefit from the latest configurations and tuning</LI> </OL> <P>It is also important to check the compatibility of 3<SUP>rd</SUP> party software such as monitoring and backup agents.</P> <P>Once all required components are supported on Windows Server 2022 it is recommended to progressively upgrade Development, QAS and then Production systems.</P> <P>&nbsp;</P> <H1>8.&nbsp;&nbsp;&nbsp; Recommended Reading &amp; SAP Notes</H1> <P>The SAP Product Availability Matrix is the official source of information about the support status of a particular SAP product.&nbsp; Even if the SAP Kernel and DBMS versions are supported, a particular product may not be supported due to various reasons (such as the SWPM media is not available for a particular OS).&nbsp;</P> <P><A href="#" target="_blank" rel="noopener">https://support.sap.com/pam</A></P> <P>&nbsp;</P> <P>SQL Server customers should review <A href="#" target="_blank" rel="noopener">2356977 - Error during connection of JDBC Driver to SQL Server</A></P> <P>&nbsp;</P> <P>Customers running on Azure cloud can consider utilizing two newer technologies for Shared Disk support</P> <P>Azure Zonal Shared Managed Disks is now Generally Available and <A href="#" target="_blank" rel="noopener">supported for the SAP ASCS</A><SPAN> Windows Cluster</SPAN> and for other scenarios such as Interface Directories.&nbsp; Testing with high availability configuration for other standalone engines such as MaxDB and Content Server will happen later</P> <P><A href="#" target="_blank" rel="noopener">Improve availability with zone-redundant storage for Azure Disk Storage | Azure Blog and Updates | Microsoft Azure</A></P> <P>&nbsp;</P> <P>Azure Files SMB with full Active Directory integration is now officially supported for the ASCS sapmnt, Interface and Transport directories for Windows guest OS.&nbsp; Documentation can be found here <A href="#" target="_blank" rel="noopener">Azure VMs HA for SAP NW on Windows with Azure Files (SMB) - Azure Virtual Machines | Microsoft Docs</A></P> <P>Azure customers using Azure Site Recovery should check the support matrix <A href="#" target="_blank" rel="noopener">here</A>.&nbsp; Azure Backup customers can validate support <A href="#" target="_blank" rel="noopener">here</A>.</P> <P>&nbsp;</P> <P>When installing SAP NetWeaver Java components on Azure Files SMB review <A href="#" target="_blank" rel="noopener">3147884 - Manual Installation Steps for NetWeaver Java on Azure Files SMB</A></P> <P>&nbsp;</P> <P><A href="#" target="_blank" rel="noopener">Install, upgrade, or migrate to Windows Server | Microsoft Docs</A></P> <P><A href="#" target="_blank" rel="noopener">2419847 - Support of Windows in-place upgrade in Failover Cluster environments</A></P> <P><A href="#" target="_blank" rel="noopener">TLS 1.3 Enabled by default in Windows 2022</A></P> <P>&nbsp;</P> <H1>Interesting SAP OSS Notes and Links</H1> <TABLE width="823"> <TBODY> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">System prerequisites for Windows X64 SAP MaxDB/liveCache 7.5-7.9</A> (This note details the support requirements for Livecache on Windows Server 2022)</P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">SAP liveCache Release 7.0 on Windows Server 2012 or later</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Release planning for Microsoft SQL Server 2019</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Setting up Microsoft SQL Server 2019</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Release planning for Microsoft SQL Server 2017</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Setting up Microsoft SQL Server 2017</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Support of Windows in-place upgrade in Failover Cluster environments</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Error during connection of JDBC Driver to SQL Server</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Upgrade of SAP-MaxDB-based liveCaches for SCM 7.02 or higher</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">SAP Applications on Microsoft Azure: Supported Products and Azure VM types</A></P> </TD> </TR> <TR> <TD width="823"> <P><A href="#" target="_blank" rel="noopener">Release Note for Software Provisioning Manager 1.0 (recommended: SWPM 1.0 SP34)</A></P> </TD> </TR> </TBODY> </TABLE> <P>&nbsp;</P> <P>3rd party content in this blog is used under “fair use” copyright exception for the purpose of promoting scholarship, discussion, research, learning and education</P> Tue, 08 Mar 2022 04:03:36 GMT https://gorovian.000webhostapp.com/?exam=t5/running-sap-applications-on-the/windows-server-2022-is-generally-available-for-sap-netweaver/ba-p/3249798 Cameron_MSFT_SAP_PM 2022-03-08T04:03:36Z