Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Fri, Feb 20, 2009 at 5:39 PM, Ante Karamatic <ivoks at grad.hr> wrote:
> On Fri, 20 Feb 2009 15:37:58 -0300
> Victor Hugo dos Santos <listas.vhs at gmail.com> wrote:
>
>> Any idea ???
>
>> incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ;
>> sleep 60 ; halt -f"; startup {
>
> halt --help | grep 'force reboot'
hello Ante,
I don't believe that this is the problem:
1 - in logs, I don't look messages about degraded system
2 - if drbd is in degraded status, the command send a message (wall)
from system/users.. and mark it in syslog
In DRBD1
# fgrep wall /var/log/*
#
In DRBD2
# fgrep wall /var/log/*
/var/log/messages:Feb 20 18:28:26 xenserver-2 wall[5920]: wall:
user root broadcasted 1 lines (6 chars)
P.S.: the second example is from a test and I search in local
and remote logs.
3 - servers are restarted, not halted/stopped
thanks.
--
--
Victor Hugo dos Santos
Linux Counter #224399