Deploying a SAP HANA database at home

This article walks you through the steps to set up a SAP HANA database at home. The main difference with this material is that we will not be using traditional virtual machines such as Oracle VirtualBox or VM Ware Workstation Player. This document focuses on a new approach developed by Microsoft called Windows Subsystem for Linux.





What is WSL? Basically, this is a new feature of running Linux using a lightweight approach to virtualization.





Here is a direct definition from Microsoft:





The Windows Subsystem for Linux lets developers run a GNU / Linux environment - including most command-line tools, utilities, and applications - directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.





More detailed information about WSL can be obtained on the Microsoft website at the link .





In 2019, a stable version of WSL2 appeared, which received a number of significant additions compared to the first version. The main difference from the first version is the improved file system performance, as well as full support for Linux kernel system calls. Below is a comparison of the two versions of WSL.





WSL and WSL2.  Comparison
WSL and WSL2. Comparison

In this article, we will focus on installing SAP HANA Express Edition using WSL version 2 technology.





, WSL 1, SAP HANA 2. Windows 1903 1909, , , , , 20H2.





WSL2

WSL2 . Microsoft.





1





Windows Subsystem for Linux. PowerShell . :





dism.exe /online /enable-feature /featurename: Microsoft-Windows - Subsystem-Linux /all





WSL.  Enabling support
WSL.

2





WSL2, Virtual Machine Platform. . .





PowerShell ( ) :





dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart





Virtual Machine Platform.  Enabling support
Virtual Machine Platform.

.





3





Linux WSL2 Linux kernel update packege for x86 . .





WSL2 Linux kernel update packege for x86.  Installation
WSL2 Linux kernel update packege for x86.

, WSL2 Linux.





4





WSL2 . PowerShell :





wsl --set-default-version 2





5





Linux. Microsoft Store Linux. OpenSUSE Leap 15.2. β€œGet”. β€œLaunch”.





Linux.  Installation
Linux.

. , !!!





Linux.  Completing the installation
Linux.

, .





wsl --list –v





WSL list + current version version
WSL +

WSL. , PowerShell  wsl --shutdown





Windows. ( OpenSUSE).





Windows search bar
Windows

β€œ ”, , .





Linux command line
Linux

SAP HANA Express Edition

, , , SAP HANA Express Edition .





. «» : \\wsl$









Linux file system network access
Linux

Linux. !





Linux file system
Linux

. hdblcm. , 2.00.045 (SPS 4). SAP HANA Express Edition.





SAP HANA EE.  Installation
SAP HANA EE.

, XSA ( ) , localhost ( Enter Local Host Name ). hostname .





,





SAP HANA EE.  Installation error
SAP HANA EE.

 / var /tmp /hdbinst .log . , . OpenSUSE , . ,  zypper update , , numactl libltdl 7. .





SAP HANA EE.  Completing the installation
SAP HANA EE.

. Windows , , SAP HANA Studio.





SAP HANA Studio
SAP HANA Studio

, .








All Articles