Hello,

On 10/22/2011 04:25 AM, Nick Khamis wrote:
> Hello Everyone,
> 
> I have been strugglling with the MySQL OCF. On an unrelated, eyeing
> the logs I saw that some of the resources are shown as not running
> however.
> according to CRM, and checking them manually, resources such as myIP
> and myFilesystem are running:
> 
> Online: [ mydrbd1 mydrbd2 ]
> OFFLINE: [ lb2 lb1 astdrbd1 astdrbd2 ]
> 
>  Resource Group: MyServices
>      myIP       (ocf::heartbeat:IPaddr2):       Started mydrbd2
>      myFilesystem       (ocf::heartbeat:Filesystem):    Started mydrbd2
>  Master/Slave Set: msMyDRBD [myDRBD]
>      Masters: [ mydrbd2 ]
>      Slaves: [ mydrbd1 ]
> 
> Failed actions:
>     mysql_monitor_0 (node=mydrbd1, call=2, rc=5, status=complete): not 
> installed
>     mysql_monitor_0 (node=mydrbd2, call=2, rc=5, status=complete): not 
> installed

So mysql is not installed on nodes mydrbd1/2 ... probing them leads to
above error ... all is fine if mysql should never run there and is
therefore not installed.

You don't get rid of this "errors" unless you install mysql there (or
some form of dummy).

> 
> Oct 21 21:58:09 mydrbd2 crmd: [22525]: info: do_lrm_rsc_op: Performing
> key=9:0:7:1fa0a769-05a7-4891-ac9c-dafacee2e0f0 op=mysql_monitor_0 )
> Oct 21 21:58:09 mydrbd2 lrmd: [22522]: info: rsc:mysql:2: probe
> Oct 21 21:58:09 mydrbd2 crmd: [22525]: info: do_lrm_rsc_op: Performing
> key=10:0:7:1fa0a769-05a7-4891-ac9c-dafacee2e0f0 op=myIP_monitor_0 )
> Oct 21 21:58:09 mydrbd2 lrmd: [22522]: info: rsc:myIP:3: probe
> Oct 21 21:58:09 mydrbd2 crmd: [22525]: info: do_lrm_rsc_op: Performing
> key=11:0:7:1fa0a769-05a7-4891-ac9c-dafacee2e0f0
> op=myFilesystem_monitor_0 )
> Oct 21 21:58:09 mydrbd2 lrmd: [22522]: info: rsc:myFilesystem:4: probe
> Oct 21 21:58:09 mydrbd2 crmd: [22525]: info: do_lrm_rsc_op: Performing
> key=12:0:7:1fa0a769-05a7-4891-ac9c-dafacee2e0f0 op=myDRBD:0_monitor_0
> )
> Oct 21 21:58:09 mydrbd2 lrmd: [22522]: info: rsc:myDRBD:0:5: probe
> Oct 21 21:58:10 mydrbd2 crmd: [22525]: info: process_lrm_event: LRM
> operation mysql_monitor_0 (call=2, rc=5, cib-update=9, confirmed=true)
> not installed
> Oct 21 21:58:10 mydrbd2 crmd: [22525]: info: process_lrm_event: LRM
> operation myIP_monitor_0 (call=3, rc=7, cib-update=10, confirmed=true)
> not running
> Oct 21 21:58:11 mydrbd2 crmd: [22525]: info: process_lrm_event: LRM
> operation myFilesystem_monitor_0 (call=4, rc=7, cib-update=11,
> confirmed=true) not running

These are all expected results of the initial probing (monitor_0) of all
resources before the Cluster starts with resource allocation .... rc=7
if a resource is not running, rc5 if necessary binarys/configs are not
installed.

All informational stuff, cluster needs to know if there is any resource
already started outside of the cluster .... no need to worry ;-)

Regards,
Andreas

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

> 
> That is all I could find in regards to the MySQL related errors. Using
> the latest version of pcmk build from source. Also tried the newest
> version of MySQL OCF
> downloaded from GIT.
> 
> Last updated: Fri Oct 21 22:13:08 2011
> Last change: Fri Oct 21 21:54:46 2011 via cibadmin on mydrbd1
> Stack: openais
> Current DC: mydrbd1 - partition WITHOUT quorum
> Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
> 6 Nodes configured, 5 expected votes
> 5 Resources configured.
> 
> 
> Thanks in Advance,
> 
> Nick.
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems




Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to