
nick at mobilia
Jul 21, 2008, 2:38 AM
Post #1 of 1
(91 views)
Permalink
|
|
A question about the mysql OCF agent..
|
|
I am configuring a server with a few resources (centos 4.4) using the latest heartbeat rpms I can obtain, 2.1.3-3 . While I was testing the ocf script for mysql, I noticed it wasn't finding the binary properly, so I went and had a look in the ocf script, the binary_default (non OpenBSD) is /usr/bin/safe_mysqld (which doesn't exist) if I do a ps on the system while mysql is running I get these two processes: ps ax | grep my 18830 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid 18892 ? Sl 0:15 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock so, it's mysqld_safe, which answers which of the two processes should be the OCF_RESKEY_binary I place in the cib. The question that remains is the OCF_RESKEY_additional_parameters section, I see the --skip-external-locking option, but it isn't sent with the mysqld_safe binary, but with the /usr/libexec/mysqld process. I'm going to assume it isn't necessary.. would this be a correct assumption? _______________________________________________ Linux-HA mailing list Linux-HA[at]lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
|