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!
- https://answers.sap.com/questions/13386863/i-updated-my-system-and-now-server-is-crahing.html
- https://blogs.sap.com/2021/06/07/adjusting-installer-script-for-sap-netweaver-dev-edition-for-distros-with-kernel-version-5.4-or-higher
- https://answers.sap.com/questions/13185432/docker-installation-of-as-abap-752-sp04-hangs.html
Tested on Win10 machine with Docker Desktop and Rancher Desktop (dockerd runtime), both with WSL integration.
- clone this repository
- download all files (license too) for NW 7.52 https://developers.sap.com/trials-downloads.html?search=7.52
- extract all files into
sapinst
folder. So at the end you have:
.
├── 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.
In case you can't create any object because of developer key, request and install new license:
- get it from https://go.support.sap.com/minisap/#/minisap -> NPL (SybaseASE)
- log in as SAP*, client 000, pass is Down1oad
- install the license
- login as DEVELOPER, client 001 - creation of objects should now work
More info about users etc.: https://blogs.sap.com/2019/10/01/as-abap-7.52-sp04-developer-edition-concise-installation-guide/