Hi, Billy
I tried your tutorial on two Lenny Virtual Machines. Everything is pretty straight forward until the last step configure the CRM for pbxnsip, drbd and file system resources:
I can do ip address fail over. The DRBD also works. However, when it comes to fail over everything from corosync it's not working. There are errors.
Here's the output.
rhuang@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
Don't know how to debug those failed actions.
And the failover test failed.
rhuang@advocado:~$ sudo crm node standby
rhuang@advocado:~$ sudo crm_mon --one-shot
============
Last updated: Sun Feb 21 10:46:14 2010
Stack: openais
Current DC: cherry - partition WITHOUT quorum
Version: 1.0.7-54d7869bfe3691eb723b1d47810e5585d8246b58
3 Nodes configured, unknown expected votes
3 Resources configured.
============
Node advocado: standby
Online: [ cherry ]
OFFLINE: [ ]
Master/Slave Set: ms_drbd_pbxnsip
Masters: [ cherry ]
Stopped: [ drbd_pbxnsip:1 ]
gwsrc_route (ocf::heartbeat:Route): Started advocado (unmanaged) FAILED
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
I believed I have done everything you mentioned in this post. So if you can give me some hint, that will
save me a lot of efforts. Thanks.