-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing SAP HANA, express edition with Docker - persistence on zfs #2234
Comments
We will add storage recommendations in the next release. |
Thanks for the hint on the ZFS. dd if=/dev/zero of=HANA.img bs=128k seek=1638400 count=0 I'm using the latest release if that makes a difference Snippet of error log: Change hardware key...
|
@TerryNing can you help? |
Fow HXE docker full image: hanaexpressxsa, we recommend the devicemapper storage driver . https://docs.docker.com/storage/storagedriver/select-storage-driver/#docker-ee-and-cs-engine Docker EE and CS-Engine Docker CE The detail steps: 1.Install docker CE. 2.Stop Docker 3.Manage Storage System 4.Increase Docker container size limit 5.Edit /etc/docker/daemon.json. If it does not yet exist, create it. Assuming that the file was empty, add the following contents. 6.Edit the host /etc/sysctl.conf file 7.Start Docker 8.ADD your docker user as sudo group Note: For HXE docker full images, we have to execute steps 3/4/5 (use devicemapper storage). |
Thanks for the recapping the instructions. I have a working docker install with ZFS and have been using for learning Hadoop sandbox, machine learning and other systems. recommended storage driver order of preference Guess I'll just create ext4 FS over zfs and move my /var/lib/docker. |
@nkthupili1, |
Thank you @lbe for posting this. The HXE docker tutorial was not ever updated to talk about supported filesystems but I managed to Google my way to this page thanks to your post. |
It doesn't work on the newest docker version. Anyone found a solution? |
I tried to install the HANA Express Docker on a Debian 9 system where all storage is zfs. The creation of the docker failed when creating the persistence layer. See below for the actual output from the failure.
Suspecting that the problem was with lack of support for ZFS, I created a sparse image file on the zfs system, mounted it, changed the ownership of the mount point to hxeadm.sapsys (12000.79) and the docker creation completed.
The commands to create and mount the file are:
This creates and mounts a 100G sparse file, I chose bs based upon zfs recordsize on underlying filesystem
I suggest documentation to show what the filesystems are supported as persistence layers. I was unable to find this information from my searches.
Cheers,
lbe
Error Message on zfs:
The text was updated successfully, but these errors were encountered: