[Linux-HA] resource group switch

Serge.Dubrouski at fjcomm.com Serge.Dubrouski at fjcomm.com
Mon Oct 17 09:24:27 MDT 2005


No, but you can contact me by ICQ: 21460836

The output is attached.(See attached file: out.txt)

linux-ha-bounces at lists.linux-ha.org wrote on 10/17/2005 08:51:11 AM:

> On 10/17/05, Serge.Dubrouski at fjcomm.com <Serge.Dubrouski at fjcomm.com>
wrote:
> > resource orionlb_group is NOT running
> >
>
> are you on IRC by any chance?
>
> can you please send the output from: cibadmin -Ql
> and from: ./crm_resource -M -r orionlb_group -t group -H aspdev2 -VVVVV
>
> > linux-ha-bounces at lists.linux-ha.org wrote on 10/17/2005 08:41:05 AM:
> >
> > > On 10/17/05, Serge.Dubrouski at fjcomm.com <Serge.Dubrouski at fjcomm.com>
> > wrote:
> > > > May be I'm using it in a wrong way, but:
> > > >
> > > > $ ./crm_resource -M -r orionlb_group -t group -H aspdev2
> > > > Resource orionlb_group not migrated: not-active and no prefered
> > location
> > > > specified.
> > > > $
> > >
> > > what is the result of:  ./crm_resource --locate -r orionlb_group -t
group
> > >
> > > >
> > > > Thanks.
> > > > Serge.
> > > >
> > > > Of couse I've checked out a new version of Linux-HA from CVS and
> > > > > Should be fixed now...
> > > > >
> > > > > On 10/17/05, Andrew Beekhof <beekhof at gmail.com> wrote:
> > > > > > On 10/14/05, Serge.Dubrouski at fjcomm.com
> > <Serge.Dubrouski at fjcomm.com>
> > > > wrote:
> > > > > > > Some more info:
> > > > > > >
> > > > > > > [root at aspdev1 heartbeat]# ./crm_resource --list
> > > > > > > Resource Group: orionlb_group
> > > > > > >     orionlb_group:orionlb_ip (heartbeat::ocf:IPaddr)
> > > > > > >     orionlb_group:orionlb (fjcomm::ocf:orionlb)
> > > > > > > [root at aspdev1 heartbeat]# ./crm_resource --locate -r
> > > > > orionlb_group -t group
> > > > > > > resource orionlb_group is NOT running
> > > > > > > [root at aspdev1 heartbeat]#
> > > > > > >
> > > > > > > But I know for sure that the group is up and running.
> > > > > >
> > > > > > I tested with primitive resources and foolishly assumed it
would
> > work
> > > > > > for groups too.
> > > > > >
> > > > > > I have made a few changes and am about to start testing groups
> > > >
> > > > _______________________________________________
> > > > 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
> > > >
> > > >
> > > _______________________________________________
> > > 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
> > >
> > > [flyingj]
> >
> > _______________________________________________
> > 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
> >
> >
> _______________________________________________
> 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
>
> [flyingj]
-------------- next part --------------
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:alter_debug): Upped log level to 7
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:alter_debug): Upped log level to 8
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(cib_native.c:cib_native_signon): Connection to CIB successful
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Checking for attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 WARN: mask(unpack.c:unpack_config): No value specified for cluster preference: transition_idle_timeout
lt-crm_resource[30807]: 2005/10/17_09:21:10 WARN: mask(unpack.c:unpack_config): No value specified for cluster preference: stonith_enabled
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_config): STONITH of failed nodes is disabled
lt-crm_resource[30807]: 2005/10/17_09:21:10 WARN: mask(unpack.c:unpack_config): No value specified for cluster preference: no_quorum_policy
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_config): On loss of CCM Quorum: Stop ALL resources
lt-crm_resource[30807]: 2005/10/17_09:21:10 WARN: mask(unpack.c:unpack_config): No value specified for cluster preference: stop_orphan_resources
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_config): Orphan resources are ignored
lt-crm_resource[30807]: 2005/10/17_09:21:10 WARN: mask(unpack.c:unpack_config): No value specified for cluster preference: stop_orphan_actions
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_config): Orphan resource actions are stopped
lt-crm_resource[30807]: 2005/10/17_09:21:10 WARN: mask(unpack.c:unpack_config): No value specified for cluster preference: is_managed_default
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_config): By default resources are managed
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_nodes): Begining unpack... nodes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Checking for attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Checking for attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_resources): Begining unpack... resources
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_resources [2]): Begining unpack... group
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Checking for attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): Options for orionlb_group
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Dependancy restart handling: ignore
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Multiple running resource recovery: stop/start
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Placement: prefer current location (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Notification of start/stop actions: not required
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Checking for attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): Options for orionlb_group
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Dependancy restart handling: ignore
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Multiple running resource recovery: stop/start
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Placement: prefer current location (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Notification of start/stop actions: not required
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Checking for attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Adding attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): Options for orionlb_group:orionlb_ip
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Dependancy restart handling: ignore
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Multiple running resource recovery: stop/start
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Placement: prefer current location (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Notification of start/stop actions: not required
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Checking for attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:unpack_instance_attributes [2]): Adding attributes
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): Options for orionlb_group:orionlb
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Dependancy restart handling: ignore
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Multiple running resource recovery: stop/start
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Placement: prefer current location (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(complex.c:common_unpack [2]): 	Notification of start/stop actions: not required
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:determine_online_status [2]): Node aspdev1.tonservices.com is online
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:sort_op_by_callid [2]): orionlb_group:orionlb_ip_start_0 (2) < orionlb_group:orionlb_ip_monitor_30000 (3) : call id
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Unpacking task orionlb_group:orionlb_ip/start (call_id=2, status=0) on aspdev1.tonservices.com (role=Stopped)
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_rsc_op): orionlb_group:orionlb_ip active on aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Resource orionlb_group:orionlb_ip after start: role=Started
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Unpacking task orionlb_group:orionlb_ip/monitor (call_id=3, status=0) on aspdev1.tonservices.com (role=Started)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:custom_action [2]): Creating action 1: monitor for orionlb_group:orionlb_ip on <NULL>
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): Matching orionlb_group:orionlb_ip_monitor_30000 with orionlb_group:orionlb_ip_start_0
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): Matching orionlb_group:orionlb_ip_monitor_30000 with orionlb_group:orionlb_ip_stop_0
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): Matching orionlb_group:orionlb_ip_monitor_30000 with orionlb_group:orionlb_ip_monitor_30000
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): No matching for orionlb_group:orionlb_ip_monitor_30000
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:unpack_operation [2]): 	Action monitor requires: nothing (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:unpack_operation [2]): 	monitor failure handling: restart (and possibly migrate) (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:unpack_operation [2]): 	monitor failure results in: Started
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Resource orionlb_group:orionlb_ip after monitor: role=Started
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_lrm_rsc_state): Resource orionlb_group:orionlb_ip is Started on aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_lrm_rsc_state [2]): Adding orionlb_group:orionlb_ip to aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(native.c:native_add_running): Resource orionlb_group:orionlb_ip: preferring current location (aspdev1.tonservices.com/f8c4c17a-bbab-4f45-87ae-e54d9a1f8eea)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(native.c:native_add_running [2]): Resource orionlb_group:orionlb_ip is active on: aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:sort_op_by_callid [2]): orionlb_group:orionlb_start_0 (4) < orionlb_group:orionlb_monitor_60000 (5) : call id
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Unpacking task orionlb_group:orionlb/start (call_id=4, status=0) on aspdev1.tonservices.com (role=Stopped)
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_rsc_op): orionlb_group:orionlb active on aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Resource orionlb_group:orionlb after start: role=Started
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Unpacking task orionlb_group:orionlb/monitor (call_id=5, status=0) on aspdev1.tonservices.com (role=Started)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:custom_action [2]): Creating action 2: monitor for orionlb_group:orionlb on <NULL>
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): Matching orionlb_group:orionlb_monitor_60000 with orionlb_group:orionlb_start_0
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): Matching orionlb_group:orionlb_monitor_60000 with orionlb_group:orionlb_stop_0
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): Matching orionlb_group:orionlb_monitor_60000 with orionlb_group:orionlb_monitor_60000
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:find_rsc_op_entry [2]): No matching for orionlb_group:orionlb_monitor_60000
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:unpack_operation [2]): 	Action monitor requires: nothing (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:unpack_operation [2]): 	monitor failure handling: restart (and possibly migrate) (default)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(utils.c:unpack_operation [2]): 	monitor failure results in: Started
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_op [2]): Resource orionlb_group:orionlb after monitor: role=Started
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(unpack.c:unpack_lrm_rsc_state): Resource orionlb_group:orionlb is Started on aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_lrm_rsc_state [2]): Adding orionlb_group:orionlb to aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(native.c:native_add_running): Resource orionlb_group:orionlb: preferring current location (aspdev1.tonservices.com/f8c4c17a-bbab-4f45-87ae-e54d9a1f8eea)
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(native.c:native_add_running [2]): Resource orionlb_group:orionlb is active on: aspdev1.tonservices.com
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:determine_online_status [2]): Node aspdev2.tonservices.com is online
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_constraints): Begining unpack... constraints
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_location [2]): Unpacking run_orion_lb_resource/pref_orionlb_group
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:generate_location_rule [2]): processing rule: pref_orionlb_group
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(rules.c:test_expression [2]): Expression 6cfed8b5-593e-4a03-9e92-81fff232f0f6 failed
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(rules.c:test_expression [2]): Expression 6cfed8b5-593e-4a03-9e92-81fff232f0f6 passed
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:generate_location_rule [2]): pref_orionlb_group: 1 nodes matched
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:unpack_rsc_location [2]): Unpacking run_orion_lb_resource/5751a0ab-3e52-4eab-800e-d96b54053982
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:generate_location_rule [2]): processing rule: 5751a0ab-3e52-4eab-800e-d96b54053982
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(rules.c:test_expression [2]): Expression 6e2d6ae6-471c-4f8a-9425-02f50e6b2124 passed
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(rules.c:test_expression [2]): Expression 6e2d6ae6-471c-4f8a-9425-02f50e6b2124 failed
lt-crm_resource[30807]: 2005/10/17_09:21:10 debug: mask(unpack.c:generate_location_rule [2]): 5751a0ab-3e52-4eab-800e-d96b54053982: 1 nodes matched
Resource orionlb_group not migrated: not-active and no prefered location specified.
lt-crm_resource[30807]: 2005/10/17_09:21:10 info: mask(cib_native.c:cib_native_signoff): Signing out of the CIB Service


More information about the Linux-HA mailing list