cancel
Showing results for 
Search instead for 
Did you mean: 

hana on docker container

Former Member
0 Kudos

Hi,

I have installed an hana server on a docker container and it's worked.

But when I stop docker container, I am not able to restart hana server.

it seems hdbdaemon doesn't start..

Any idea ? Has someone encounter the same issue ?

Regards

Sandrine

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

This message was moderated.

sisa4ss
Explorer
0 Kudos

Hi,

Looks like this issue is related to locking mechanism in HANA.

When HANA is started,  automatically HANA will create some lock files under below folder.

And if you stop HANA then below files will get deleted automatically.


/hana/shared/SID/HDB00/localhost/lock

hdbcompileserver@30010.pid 

hdbdaemon@30000.pid 

hdbindexserver@30003.pid 

hdbnameserver@30001.pid 

hdbpreprocessor@30002.pid



So now the scenario is if you stop HANA Docker container without properly stopping HANA database.

then the lock files will remain as it is in the lock folder.

and HANA will never come up looking at the already existing lock files in lock folder.

Resolution:

Delete all files under the lock folder.

Former Member
0 Kudos

Hi ,

Not sure about HANA Docker container, But if hana is not coming up.

You can remove  all the locking  files under /hana/shared/SID/HDB00/localhost/lock

and try restart.

Regards,

Raghu

sisa4ss
Explorer
0 Kudos

Hi Raghu,

Yes, Same behaviour applies to docker HANA containers as well.

I even tested it too.

Former Member
0 Kudos

Hi Sandrine,

I am also trying to install Hana on docker container. It looks like the installation is complete and all required files are written in the file system and hana installer is waiting for the services to start at the create instance phase. When you check the log you can find that the start service command is executed and it is waiting for the services to get started  Have you faced this issue.

I am installing Hana on rhel 6.5.

Thanks,

Heinz

Former Member
0 Kudos

Hello

I didn't face to this issue but it's look like on issue I had

Are you sure kernel parameter are set to right value ?


best regards

Former Member
0 Kudos

Thank you for the quick response.

I did follow the document RHEL 6x guide for SAP hana, where it asks for specific packages to be installed on the base image and a c++ library, which I have done.

Could you please guide me on any specific kernel parameters that are to be set.

Regards,

Heinz

Former Member
0 Kudos

can you paste the deamon and indexserver.log files here

Regards,

Pavan Gunda

Former Member
0 Kudos

Hi Sandrine,


     Very happy , I found a docker friend in SAP SCN,

Nowadays , I try tested the netweaver platform to docker , still face many issues,

Could you share you experience with me?


Thanks

Former Member
0 Kudos

Hi Jie,

Have you been able to install netweaver in docker.

I was also installing netweaver in docker. Please let me know the issues that you are facing

Thanks,

Heinz Kappan

singhakash
Explorer
0 Kudos

@ Yilong Chen/

@Sandrine GANGNEBIEN


I need yours assistance  wrt to DOCKER, Kindly let me know  if have you done the SAP NetWeaver installation or HANA installation  on Docker.


If yes, kindly share the document for the same.


I  need to do SAP NETWEAVER Installation of NW750  with MAXDB.


Regards,

AKASH

Former Member
0 Kudos

Hello,

I have no experience with netweaver, so I don't know for netweaver and hana.

I hope you will find some help

Regards

Sandrine