Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wozjac/sap-abap-nw-752-ubuntu-docker

Docker image for SAP Netweaver 7.52 trail based on Ubuntu
https://github.com/wozjac/sap-abap-nw-752-ubuntu-docker

docker netweaver sap ubuntu

Last synced: 4 months ago
JSON representation

Docker image for SAP Netweaver 7.52 trail based on Ubuntu

Awesome Lists containing this project

README

        

# 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.

- clone this repository
- download all files (license too) for NW 7.52
- extract all files into `sapinst` folder. So at the end you have:

```bash
.
├── 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:

```bash
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:

```bash
docker build -t nwabap752:1.0.0 .
```

Create the container:

```bash
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'.

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

Successful installation finishes with:

```bash
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.

```bash
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):

```bash
su - npladm
stopsap ALL
```

Exit the container using `exit`.

Accessing the container and starting the instance next time:

```bash
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:

- get it from -> 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.: