Re: Error Verifying Configuration: parameter client_binary does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 12/27/2011 07:29 PM, Leo Gharapetian wrote:
> Hi,
> 
> I'm runnning into an issue when trying to verify my configuration. I am trying to setup mysql on two hosts over a FiberChannel LUN. I'd appreciate any help possible.
> 
> Another engineer had already setup 4 resources which are working. I ran into this issue when I tried adding two more.
> 
> When I add the primitive for mysql,
> 
> primitive gpamericas_test_mysql ocf:heartbeat:mysql \
>         params binary="/opt/gpamericas_test_mysql/mysql/bin/mysqld_safe" client_binary="/opt/gpamericas_test_mysql/mysql/bin/mysql" config="/opt/gpamericas_test_mysql/mysql/my.cnf" socket="/opt/gpamericas_test_mysql/mysql/mysql.sock" datadir="/opt/gpamericas_test_mysql/data" user="gpamericas_test" pid="/opt/gpamericas_test_mysql/mysql/mysql.pid" additional_parameters="--ledir=/opt/gpamericas_test_mysql/mysql/libexec --basedir=/opt/gpamericas_test_mysql/mysql" \
>         op start interval="0" timeout="120s" start-delay="25s" \
>         op stop interval="0" timeout="120s" \
>         op monitor interval="20s" timeout="40s"
> 
> 
> When saving the conifg/verify I get the following error: "parameter client_binary does not exist"
> Since it can't pass the validation, it omits all the mysql primitive from the config.

does "crm ra info ocf:heartbeat:mysql" mention that parameter? If not,
your resource-agent package may be outdated.

You could commit an unknown parameter by using relaxed check-mode in crm
....

Regards,
Andreas

-- 
Need help with Corosync?
http://www.hastexo.com/now

> 
> It is also important to note that when I run a verify on the running config, I get the same error on all the other mysql instances, but they run fine.
> 
> crm(live)configure# verify
> ERROR: gpusa_test_mysql: parameter client_binary does not exist
> ERROR: gpworld_test_mysql: parameter client_binary does not exist
> ERROR: gpusa_mysql: parameter client_binary does not exist
> ERROR: gpworld_mysql: parameter client_binary does not exist
> 
> 
> This is what I'm adding:
> 
> primitive gpamericas_test_mail ocf:heartbeat:MailTo \
>         params email="mysqlalerts@xxxxxxxxxx" \
>         params subject="gpamericas_test cluster mail alert"
> 
> primitive gpamericas_test_mysql ocf:heartbeat:mysql \
>         params binary="/opt/gpamericas_test_mysql/mysql/bin/mysqld_safe" client_binary="/opt/gpamericas_test_mysql/mysql/bin/mysql" config="/opt/gpamericas_test_mysql/mysql/my.cnf" socket="/opt/gpamericas_test_mysql/mysql/mysql.sock" datadir="/opt/gpamericas_test_mysql/data" user="gpamericas_test" pid="/opt/gpamericas_test_mysql/mysql/mysql.pid" additional_parameters="--ledir=/opt/gpamericas_test_mysql/mysql/libexec --basedir=/opt/gpamericas_test_mysql/mysql" \
>         op start interval="0" timeout="120s" start-delay="25s" \
>         op stop interval="0" timeout="120s" \
>         op monitor interval="20s" timeout="40s"
> 
> 
> primitive gpamericas_test_mysql_fs ocf:heartbeat:Filesystem \
>         params fstype="ext3" directory="/opt/gpamericas_test_mysql" device="/dev/mapper/gpamericas_test_mysql" \
>         op monitor interval="30s" timeout="60s" \
>         op start interval="0" timeout="240s" \
>         op stop interval="0" timeout="100s"
> 
> 
> primitive gpamericas_test_vip ocf:heartbeat:IPaddr2 \
>         params ip="192.168.10.41" cidr_netmask="32" \
>         op monitor interval="30s"
> 
> 
> 
> group gpamericas_test_group gpamericas_test_mysql_fs gpamericas_test_vip gpamericas_test_mysql gpamericas_test_mail \
>         meta target-role="Started"
> 
> 
> location gpamericas_test_group_place_pref gpamericas_test_group \
>         rule $id="gpamericas_test_group_place_pref_rule" 1000: #uname eq gp-bur-db04.gotprint.net
> 
> 
> colocation gpamericas_test_services_on_same inf: gpamericas_test_mysql_fs gpamericas_test_vip gpamericas_test_mysql
> 
> 
> Thank You,
> Leo Gharapetian
> Venarc
> _______________________________________________
> discuss mailing list
> discuss@xxxxxxxxxxxx
> http://lists.corosync.org/mailman/listinfo/discuss



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss

[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux