{"id":10480,"date":"2019-05-06T11:40:26","date_gmt":"2019-05-06T18:40:26","guid":{"rendered":"https:\/\/www.microsoft.com\/insidetrack\/blog\/?p=10480"},"modified":"2023-06-12T16:07:52","modified_gmt":"2023-06-12T23:07:52","slug":"strategies-for-migrating-sap-systems-to-microsoft-azure","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/insidetrack\/blog\/strategies-for-migrating-sap-systems-to-microsoft-azure\/","title":{"rendered":"Strategies for migrating SAP systems to Microsoft Azure"},"content":{"rendered":"
This content has been archived, and while it was correct at time of publication, it may no longer be accurate or reflect the current situation at Microsoft.<\/p>\n<\/div>\n<\/div>\n
With the right approach, you can migrate mission-critical SAP systems to Azure for maximum cost savings, and gain agility and uptime. Microsoft\u2014partnering with the Azure Customer Advisory Team\u2014evaluated our SAP systems with two strategies. First, we started by moving environments with the least user and business impact\u2014like our sandbox. This experience helped us define best practices on Azure for our second strategy, to move entire system stacks (from sandbox to production), starting with lowest-risk systems.<\/p>\n
You\u2019ve studied the benefits of moving your SAP systems to Azure and have decided to make the big move. The next logical steps are to determine what to move first and how to make the move as smooth as possible. After 12 months of migration processes, Microsoft has completely migrated its SAP instance to Azure. Our SAP landscape consisting of 16\u00a0TB of compressed data (50\u00a0TB uncompressed) is in the public cloud, Azure.<\/p>\n
We migrated our SAP infrastructure using both horizontal and vertical strategies. The horizontal strategy\u2014where we first moved low-risk environments like our sandboxes\u2014gave us Azure migration experience without affecting critical business functions. The vertical strategy\u2014where we moved an entire low-impact system from sandbox to production\u2014gave us experience with production systems on Azure. For both strategies, we moved our lowest-risk SAP resources before more critical ones.<\/p>\n
Like many companies, Microsoft uses SAP\u2014the enterprise resource planning (ERP) software solution\u2014to run most of our business operations. SAP provides mission-critical business functions for finance, human resources, and global trade. In today\u2019s business world, rising costs, new processes and requirements, and a huge influx of data make it challenging to be agile. With an agile infrastructure, you minimize downtime, risk, and costs, and improve employee efficiency.\u00a0SAP on Azure<\/a>\u00a0is your trusted path to innovation in the cloud. It provides an agile infrastructure, minimizing downtime, risks, costs, and improves employee efficiencies to drive the power the digital transformation.<\/p>\n At Microsoft, our SAP Basis team has partnered with the company\u2019s Azure Customer Advisory Team to overcome these challenges. By moving our SAP systems to Microsoft Azure, we have:<\/p>\n We\u2019re running SAP\u2014the backbone of our business processes\u2014on Azure technology that we trust for our mission-critical systems. If you\u2019d like to learn more about our cloud-adoption approach and how we optimize our servers, resources, and costs in Azure, see\u00a0Optimizing SAP for Azure<\/a>.<\/p>\n When we decided what SAP systems to move to Azure, we used horizontal and vertical strategies. Figure 1 shows part of the SAP landscape at Microsoft.<\/p>\n In Figure 1, the rows, columns, and blocks illustrate the horizontal and vertical strategies that we use for our SAP landscape. Here are some things to note:<\/p>\n We started with a horizontal strategy\u00a0from the bottom of the stack because it\u2019s a safe way to experiment and gain experience with Azure. It\u2019s also a good strategy to use while you redefine your operational, deployment, and approval processes. These processes will change as you move to Azure. Here\u2019s how the strategy works:<\/p>\n To get experience with production systems on Azure, we used a vertical strategy with low-risk systems in parallel to the horizontal strategy. This\u00a0also gave us a chance to adjust our internal processes for Azure and train team members. It\u2019s a great way to spot any issues in production early on. Here\u2019s how the strategy works:<\/p>\n Figure 2 shows the progress we\u2019ve made since we began moving our systems to Azure in 2014, which we completed in February 2018, four to six months ahead of our original timelines. Azure now supports 100 percent of our SAP infrastructure, and all SAP Systems have migrated.<\/p>\n We\u2019ve seen many benefits from moving SAP to the cloud, including:<\/p>\n For SAP on Azure, we used the following technologies and features in our hardware implementation:<\/p>\n While implementing SAP on Azure, we took a few technical considerations into account. For example, most of our systems have some interfaces where they write files to a file server. With the move to Azure, writing files over a more indirect network path can cause slowdowns because the data isn\u2019t streamed all at once. To prevent slowdowns, we built file servers for systems that we moved to Azure right away, while still maintaining our on-premise file server for systems that remained on-premises.<\/p>\n Another example is bundling our tightly coupled systems from a business process standpoint and moving them together. This ensures that tightly connected systems will have no network latency issues. For daily work, don\u2019t move an SAP system tightly connected with US-based, on-premises apps to Azure on another continent\u2014although it may be fine for business continuity.<\/p>\n Figure 3 shows our SAP ERP\/ECC production system. Our entire SAP environment is now 100 percent hosted in Azure. We can scale up and down by increasing and decreasing the sizes of the virtual machines. The design and architecture have high availability measures against single points of failure. So, if we need to update Windows Server or SQL Server, do hardware maintenance, or make other system changes, it doesn\u2019t require much\u2014if any\u2014downtime. We equip our production systems with standard SAP, SQL Server, and Windows Server high availability features.<\/p>\n For high availability, SQL Server Always On is a standard method. We have two database servers where we use SQL\u00a0Server Always On with a synchronous commit. If one database server goes down or is undergoing maintenance, we don\u2019t lose data. This is because the data is committed on both database servers, and SAP automatically connects to the other database. Because we can use the secondary database, we can upgrade software and SQL Server, roll back to previous releases, and do automatic failover with no or minimal risk.<\/p>\n Also, for high availability, we have an SAP Central Services instance that runs on Windows Server Failover Clustering. The two cluster nodes share the data image.<\/p>\n For scalability and high availability of the SAP application layer, multiple SAP app instances are assigned to SAP redundancy features like logon groups and batch server groups. Those app instances are configured on different Azure virtual machines for high availability. SAP automatically dispatches the workload to multiple instances per the group definitions. If an instance isn\u2019t available, business processes can still run via other SAP app instances that are part of the same group.<\/p>\n The scale-out logic of SAP app instances is also used for rolling maintenance. We remove one virtual machine (and SAP instances running on it) from the SAP system without affecting production. After we finish our work, we add back the virtual machine, and the SAP system automatically uses the instances again.<\/p>\n If there\u2019s high load and we need to scale out, we add spare virtual machines to our SAP systems. And when we\u2019re doing rolling maintenance, we also use the spares to replace a server without reducing overall resources.<\/p>\n For our storage design, we\u2019re using Azure File Storage and Windows Server storage. And to minimize downtime, we\u2019re using virtual server names in Windows Server.<\/p>\n At the beginning of our journey to Azure, we were excited about Azure File Storage (files shared in the cloud) and were planning to use it for SAP transport directories. But after we implemented the solution in the first systems, we made the decision not to use it\u2014Azure storage had too many limits on how to access the transport files easily, which made support for SAP transports and troubleshooting difficult. We reverted from Azure File Storage to normal disks.<\/p>\n For SAP, we support Azure Standard Storage and Azure Premium Storage. For scalability and I\/O-intensive workloads, we recommend Premium Storage for the database layer and Standard Storage for the application layer.<\/p>\n\n
Strategies we used to move our SAP systems to Azure<\/h2>\n
\n
Horizontal strategy<\/h3>\n
\n
Vertical strategy<\/h3>\n
\n
Where we are today<\/h3>\n
Benefits we\u2019ve gained<\/h2>\n
\n
Technologies we used<\/h2>\n
\n
\n
Technical considerations<\/h3>\n
Technical implementation and technical capabilities<\/h3>\n
High availability and scalability<\/h4>\n
Rolling maintenance<\/h4>\n
Other Azure and Windows Server capabilities<\/h4>\n
Azure file storage<\/h5>\n
Storage Spaces<\/h5>\n