> On Tue, Dec 11, 2007 at 06:45:48PM -0000, Rodrigo Borges
> Pereira wrote:
> > Hello,
> >
> > My Xen RA wasn't working as it should, due to the fact that it's
> > Xen_Status() function expects output differently.
> >
> > I've found on the changelog for 2.1.1 that the status function was
> > updated for newer Xen versions (Novell 250625).
> >
> > I had to revert that function back to a simple xm list $DOMAIN_NAME
> > and check rc.
>
> You may want to take a look for a newer Xen RA here:
>
> http://developerbugs.linux-foundation.org/show_bug.cgi?id=1778
>
> Testing for this RA is still pending. Perhaps you can lend a
> hand with it.
>
Tks for this.
I had to change a line on the Xen_Status() function to make it work,
otherwise it would not detect status correctly.
The line is:
echo "${STATUS}" | grep -qs "[r--][-b-][--p]---"
I initially escaped the first two "--", did the trick. Then decided to play
safer with egrep -qs 'r-----|-b----|-----p' because the first grep matches
------ (probably this never happens, doesn't hurt though).
For the basic stuff, it seems to start, stop and monitor ok.
I'm not using live migration or atributes other than xmfile.
tks,
rodrigo
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems