On Wed, Dec 12, 2007 at 07:26:45PM -0000, Rodrigo Pereira wrote:
Hello,
> 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).
It can happen, see below.
# xm list
Domain-0 0 512 1 r----- 9434.0
...
ns1 6 96 1 -b---- 1397.8
dbpool 10 92 1 r----- 1351.5
monitor 13 96 1 ------ 43235.1
...
AFAIK "------" means domU is ready to run but all CPUs busy.
Regards,
Kupson
--
Great software without the knowledge to run it is pretty useless.
(Linux Gazette #1)
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems