[ClusterLabs] resource agent OCF_HEARTBEAT_GALERA issue/broken - ?

lejeczek peljasz at yahoo.co.uk
Tue Jul 26 07:21:00 EDT 2022


Hi guys

I set up a clone of a new instance of mariadb galera - which otherwise, 
outside of pcs works - but I see something weird.

Firstly cluster claims it's all good:

-> $ pcs status --full
...

   * Clone Set: mariadb-apps-clone [mariadb-apps] (promotable):
     * mariadb-apps    (ocf::heartbeat:galera):     Master 
sucker.internal.ccn
     * mariadb-apps    (ocf::heartbeat:galera):     Master 
drunk.internal.ccn

but that mariadb is _not_ started actually.

In clone's attr I set:

config=/apps/etc/mariadb-server.cnf

I also for peace of mind set:

datadir=/apps/mysql/data

even tough '/apps/etc/mariadb-server.cnf' declares that & other bits - 
again, works outside of pcs.

Then I see in pacemaker logs:

notice: mariadb-apps_start_0 at drunk.internal.ccn output [ 220726 11:56:13 
mysqld_safe Logging to '/tmp/tmp.On5VnzOyaF'.\n220726 11:56:13 
mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql\n ]

.. and I think what the F?

resource-agents-4.9.0-22.el8.x86_64

All thoughts share are much appreciated.

many thanks, L.




More information about the Users mailing list