On Mon, Jan 26, 2009 at 9:22 AM, Andrew Beekhof <[email protected]> wrote:

> On Sat, Jan 24, 2009 at 10:04, Jordi Guijarro Olivares
> <[email protected]> wrote:
> > Hi,
> >
> > To minimize downtime and maximize availability in a mixed Xen HA
> environment
> > (not all resources managed by heartbeat) it's interesting to me remove
> > resources maintaining the state of the resource.
>
> The cluster can also do xen migration btw.
>

Yes I know and It's very useful.


>
> > To remove resource from HA without disruption:
> > I've tried with the combination of the is_managed attribute and using [
> gui
> > | command-line | crm_resource | directly with cibadmin ] to remove
> resource
> > but lrm_stop it's always invoked.
>
> What version are you using?  Newer versions use is-managed instead of
> is_managed.


SLES 10SP2 environment. I see the resource as unmanaged but after remove
operation the vm goes down.

A portion of log included!
####################################################
Jan 22 17:02:51 aran haclient: on_event:evt:cib_changed
Jan 22 17:02:51 aran crmd: [7142]: info: do_lrm_rsc_op: Performing
op=mgmaitor_monitor_0 key=12:53:7:95c10f53-b063-4b40-ba4c-ae13238c7482)
Jan 22 17:02:51 aran lrmd: [7139]: info: rsc:mgmaitor: monitor
Jan 22 17:02:51 aran haclient: on_event:evt:cib_changed
Jan 22 17:02:51 aran haclient: on_event:evt:cib_changed
Jan 22 17:02:51 aran cib: [15768]: info: retrieveCib: Reading cluster
configuration from: /var/lib/heartbeat/crm/cib.xml (digest:
/var/lib/heartbeat/crm/cib.xml.sig)
Jan 22 17:02:52 aran cib: [15768]: info: retrieveCib: Reading cluster
configuration from: /var/lib/heartbeat/crm/cib.xml (digest:
/var/lib/heartbeat/crm/cib.xml.sig)
Jan 22 17:02:52 aran cib: [15768]: info: retrieveCib: Reading cluster
configuration from: /var/lib/heartbeat/crm/cib.xml.last (digest:
/var/lib/heartbeat/crm/cib.xml.sig.last)
Jan 22 17:02:52 aran cib: [15768]: info: write_cib_contents: Wrote version
0.1294.3 of the CIB to disk (digest: ca77de4c5a42bfb3386f06fabeb29bdf)
Jan 22 17:02:52 aran cib: [15768]: info: retrieveCib: Reading cluster
configuration from: /var/lib/heartbeat/crm/cib.xml (digest:
/var/lib/heartbeat/crm/cib.xml.sig)
Jan 22 17:02:52 aran cib: [15768]: info: retrieveCib: Reading cluster
configuration from: /var/lib/heartbeat/crm/cib.xml.last (digest:
/var/lib/heartbeat/crm/cib.xml.sig.last)
Jan 22 17:02:52 aran crmd: [7142]: info: process_lrm_event: LRM operation
mgmaitor_monitor_0 (call=14, rc=0) complete
Jan 22 17:02:53 aran haclient: on_event:evt:cib_changed
Jan 22 17:02:53 aran haclient: on_event:evt:cib_changed
Jan 22 17:02:53 aran lrmd: [7139]: info: rsc:mgmaitor: stop
Jan 22 17:02:53 aran crmd: [7142]: info: do_lrm_rsc_op: Performing
op=mgmaitor_stop_0 key=29:54:0:95c10f53-b063-4b40-ba4c-ae13238c7482)
Jan 22 17:02:53 aran haclient: on_event: from message queue: evt:cib_changed
Jan 22 17:02:53 aran Xen[15789]: [15809]: INFO: Xen domain mgmaitor will be
stopped (timeout: 40s)
###################################################

Thanks,

JOrdi

>
>
> >
> > Can anyone give me some indications for a "possible" idea to avoid this
> > action by lrm ?
> >
> > Thanks,
> > ---
> > JOrdi
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
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