[Openais] How to debug?

Lucian Romi romi.lucian at gmail.com
Tue Mar 9 10:40:14 PST 2010


Great. By referring the link you sent, I now know how these rc code means.
But how can I know which line of configuration causing the error or
which module is missing?
Is there any log for this? I couldn't figure out corosync's log. It's
this a corosync(openais) error or pacemaker error?
Thanks.

On Mon, Mar 8, 2010 at 11:16 PM, Andrew Beekhof <andrew at beekhof.net> wrote:
> You might want to cross reference the return codes from the failed
> operations with:
>   http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-ocf-return-codes.html
>
> Looks like you have some missing packages and invalid configuration options.
>
> On Tue, Mar 9, 2010 at 1:38 AM, Lucian Romi <romi.lucian at gmail.com> wrote:
>> Hi,
>>
>> I have put a lot of efforts on setting up an active/passive replication.
>> The backup service I tried is pbxnsip, because looks like somebody
>> already manage to setup such a system.
>> As I'm a newbie on this, I think this is a very good start point.
>> I followed this link http://forum.pbxnsip.com/index.php?showtopic=3070
>> for a pbxnsip/drbd cluster.
>> The IP address fail over is working perfectly, but drbd and pbxnsip failed.
>> There are error, but I don't know how to debug.
>> I tried to find solution on pbxnsip forum, but no reply. My post is
>> the last one.
>> So if any of you can tell me how to trouble shot this, that will be great.
>>
>> Here are crm_mon output:
>> "
>> rhuang at advocado:~$ sudo crm_mon --one-shot
>> ============
>> Last updated: Sun Feb 21 10:32:51 2010
>> Stack: openais
>> Current DC: cherry - partition WITHOUT quorum
>> Version: 1.0.7-54d7869bfe3691eb723b1d47810e5585d8246b58
>> 3 Nodes configured, unknown expected votes
>> 3 Resources configured.
>> ============
>>
>> Online: [ cherry advocado ]
>> OFFLINE: [  ]
>>
>> Master/Slave Set: ms_drbd_pbxnsip
>>     Masters: [ advocado ]
>>     Slaves: [ cherry ]
>> gwsrc_route    (ocf::heartbeat:Route): Started advocado (unmanaged) FAILED
>> Resource Group: pbxnsip
>>     fs_pbxnsip (ocf::heartbeat:Filesystem):    Started advocado
>>     ip_pbxnsip (ocf::heartbeat:IPaddr):        Started advocado
>>     pbxnsipd   (lsb:pbxnsip):  Started advocado
>>
>> Failed actions:
>>    drbd_pbxnsip_monitor_0 (node=cherry, call=3, rc=6,
>> status=complete): not configured
>>    fs_pbxnsip_start_0 (node=cherry, call=10, rc=1, status=complete):
>> unknown error
>>    gwsrc_route_monitor_0 (node=cherry, call=12, rc=5,
>> status=complete): not installed
>>    drbd_pbxnsip_monitor_0 (node=advocado, call=3, rc=6,
>> status=complete): not configured
>>    gwsrc_route_start_0 (node=advocado, call=26, rc=5,
>> status=complete): not installed
>>    gwsrc_route_stop_0 (node=advocado, call=27, rc=5,
>> status=complete): not installed
>> "
>> _______________________________________________
>> Openais mailing list
>> Openais at lists.linux-foundation.org
>> https://lists.linux-foundation.org/mailman/listinfo/openais
>>
>


More information about the Openais mailing list