Skip to content

Latest commit

 

History

History
118 lines (86 loc) · 3.56 KB

README.md

File metadata and controls

118 lines (86 loc) · 3.56 KB

Docker image for SAP Netweaver 7.52 trial based on Ubuntu

If you noticed problems when installing SAP NW 7.52 trial using the regular approach on Vmware/Virtualbox/Docker, try this one. It has fixes taken from various sources, 🍺 to the authors!

Installation

Tested on Win10 machine with Docker Desktop and Rancher Desktop (dockerd runtime), both with WSL integration.

.
├── Dockerfile
├── README.md
├── sapinst
│   ├── License
│   ├── SAP_COMMUNITY_DEVELOPER_License
│   ├── client
│   ├── img
│   ├── info.txt
│   ├── install.sh
│   ├── readme.html
│   └── server
└── zinstall.sh

At the moment (03.06.2022) the downloaded license extracts to License folder; if it is different during your installation then rename it accordingly

Execute from the command line:

wsl.exe -d docker-desktop sh -c "sysctl -w vm.max_map_count=1000000"
# or
wsl.exe -d rancher-desktop sh -c "sysctl -w vm.max_map_count=1000000"

Hint: for Docker - check whether the disk size limit in the Docker configuration is setup to at least 120 Gb.

Build the image:

docker build -t nwabap752:1.0.0 .

Create the container:

docker run -p 8000:8000 -p 44300:44300 -p 3300:3300 -p 3200:3200 -h vhcalnplci --name nwabap752 -it nwabap752:1.0.0 /bin/bash

Now in the container shell, start the installation via zinstall.sh and follow the usual process - accept the license, provide a 8-letters password with a digit and uppercase, like `Down1oad'.

root@vhcalnplci:/tmp/sapinst# ./zinstall.sh

Successful installation finishes with:

starting SAP Instance D00
Startup-Log is written to /home/npladm/startsap_D00.log
-------------------------------------------
/usr/sap/NPL/D00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
Instance on host vhcalnplci started
Installation of NPL successful

Now start the uuidd and you can logon to the instance using the standard DEVELOPER/Down1oad.

root@vhcalnplci:/# /usr/sbin/uuidd

Application server: "localhost"
Instance number: "00"
System ID: "NPL"

Stopping the instance (make sure to be in npladm, otherwise the terminal will not recognize 'stopsap' command):

su - npladm
stopsap ALL

Exit the container using exit.

Accessing the container and starting the instance next time:

docker start nwabap752 -i
/usr/sbin/uuidd
su - npladm
startsap ALL

Exit the container by exit (twice). When you exit the container it is automatically shutdown, so be sure to stop SAP before that.

Developer key

In case you can't create any object because of developer key, request and install new license:

More info about users etc.: https://blogs.sap.com/2019/10/01/as-abap-7.52-sp04-developer-edition-concise-installation-guide/