[Linux-HA] best practices monitoring services in Xen instances
Andrew Beekhof
beekhof at gmail.com
Mon Nov 5 10:47:02 MST 2007
On 11/5/07, Sebastian Reitenbach <sebastia at l00-bugdead-prods.de> wrote:
> Hi,
>
> to remove complexity from my cluster, I am experimenting with Xen.
> Starting and stopping the Xen resources via heartbeat works well already.
> I am a bit concerned about the services in the virtual machines, how is the
> best approach to monitor their availability?
what you're talking about is basically having the crm manage resources
on non-cluster nodes.
we've kicked around some ideas for implementing this in the past but
its never really bubbled to the top of anyone's todo list.
there's not really any "best practices" for this as its not really
being done a whole lot (from what I hear anyway). depending on how
complex the relationships between the resources inside the Xen guests
are, i'd go with option 1 (if they're complex) or 2 (if not)
>
> I have some solutions, but would like to know what corresponds to best
> practice:
>
> - install heartbeat in the virtual domains too, then monitor the resources
> within the xen instance, but I think this is counterproductive as I wanted
> to remove complexity from the cluster due to having less resources.
>
> - monitor the services in the virtual domains using SNMP, or custom scripts,
> and in case sth. fails, crm_resource stop and setart it again. Well, custom
> scripts sounds a bit error prone.
>
> - I don't know whether xen has the ability, but does the priviliged domain
> has the ability to query a given domU for the state of a process, and in
> case the state is just not the wanted one, restart the domU.
>
> I think the last one, would be the best, but I have no idea, whether xen can
> do that at all. I played around with OpenVZ for a short while, that at least
> could do that. Any other ideas, comments, rants are very welcome.
>
> kind regards
> Sebastian
>
> _______________________________________________
> 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
>
More information about the Linux-HA
mailing list