>Четверг, 14 июля 2016, 23:58 +03:00 от Roger Price < ro...@rogerprice.org >:
>
>On Thu, 14 Jul 2016, Dmitri Stepanov wrote:
>
>> Some of those hosts haven't NUT including upsmon (and other software
>> which is not included by suppliers of the hosts) for a number of
>> reasons. I don't need to
Dmitri Stepanov wrote on 7/14/2016 5:18 AM:
All the hosts are installed together in one rack and have fed from one
UPS (only I am remote from the system :) and I haven't ability to
connect to it. Some of hosts haven't NUT for a number of reasons. I
don't need to inform not-NUT hosts about any
On Thu, 14 Jul 2016, Dmitri Stepanov wrote:
Some of those hosts haven't NUT including upsmon (and other software
which is not included by suppliers of the hosts) for a number of
reasons. I don't need to inform not-NUT hosts about any UPS events,
etc... but only shutdown all the hosts after
Thank you for answer Stuart
>Среда, 13 июля 2016, 17:54 +03:00 от Stuart Gathman :
>
>On 07/13/2016 10:02 AM, Stuart Gathman wrote:
>> On 07/13/2016 04:17 AM, Dmitri Stepanov wrote:
>>>I need to shutdown a number of hosts which has not NUT from one which
>>> has it.
>>
Thank you Roger
Среда, 13 июля 2016, 15:22 +03:00 от Roger Price :
>
>On Wed, 13 Jul 2016, Dmitri Stepanov wrote:
>
shutdown-all-hosts.sh contains:
# Linux hosts
HOSTLIST="sim iogate br"
for host in $HOSTLIST
do
...
ssh $host halt
On 07/13/2016 10:02 AM, Stuart Gathman wrote:
> On 07/13/2016 04:17 AM, Dmitri Stepanov wrote:
>>I need to shutdown a number of hosts which has not NUT from one which has
>> it.
> Let's make sure you are not missing an obvious point. By "has not NUT",
> you might mean not running upsd. The
On 07/13/2016 04:17 AM, Dmitri Stepanov wrote:
>I need to shutdown a number of hosts which has not NUT from one which has
> it.
Let's make sure you are not missing an obvious point. By "has not NUT",
you might mean not running upsd. The best practice is to run upsmon on
the other hosts.
On Wed, 13 Jul 2016, Dmitri Stepanov wrote:
shutdown-all-hosts.sh contains:
# Linux hosts
HOSTLIST="sim iogate br"
for host in $HOSTLIST
do
...
ssh $host halt -p
...
done
shutdown-all-hosts.sh works fine if it runned manually.
But it does not work even if I insert sleep 30 sec
Thank you for answer Roger
>Среда, 13 июля 2016, 11:49 +03:00 от Roger Price :
>
>On Wed, 13 Jul 2016, Dmitri Stepanov wrote:
>
>> Hi
>>
>> I need to shutdown a number of hosts which has not NUT from one which has
>> it.
>>
>> I tried to do it from upssched script
On Wed, 13 Jul 2016, Dmitri Stepanov wrote:
Hi
I need to shutdown a number of hosts which has not NUT from one which has it.
I tried to do it from upssched script (after upssched's timer) like this:
case $1 in
earlyshutdown)
logger -t upssched-cmd "Early
10 matches
Mail list logo