I want to configure HA of Frontendserver using pacemaker

I want to configure HA of Frontendserver using pacemaker,
I can not do it well.
The cause is mariadb’s data directory
(/ var / lib / mysql) is not shared.

Make the / var / lib / mysql made by frontend Unit 1 mount on / var / lib / mysql of Unit 2
I started up mariadb, opennebula and opennebula - sunstone and it worked.
However, I could not log in to the administration screen.

I do not know how to solve the problem.
Please tell me. Thank you.



Hello, so you setup active-backup cluster, right? You mount shared (drbd replicated) mysql data dir before mysql start, right? You should also replicate /etc/one and /var/lib/one and mount before opennebula and opennebula-sunstone start. Default login credentials are stored in /var/lib/one/.one/one_auth file

We resolved.
I appreciate it.
Thank you.