[sheepdog] [sheepdog-users] [PATCH 1/3] collie: add delay_recovery {start|stop} command

Yunkai Zhang yunkai.me at gmail.com
Mon Jul 30 10:23:35 CEST 2012


On Mon, Jul 30, 2012 at 4:16 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:
>>  $ collie cluster recover auto   # enable automatic recovery (default)
>>  $ collie cluster recover start  # run recovery once (manual recovery)
>>  $ collie cluster recover stop   # turn off automatic recovery and stop recovery
>> process
>>  $ collie cluster recover force  # same as the current 'collie cluster recover'
>
> BTW, there seem to be some setting which can be changed after cluster format,
> for example 'mode', or this new 'recovery_mode' setting. So maybe
> the following is useful:
>
> # collie config set --recovery auto
> # collie config set --recovery manual
> # collie config set --mode [mode]

This state will be kept in inner structure(cluster_info), we needn't
to change config code.


> ...
>
>
>
>



-- 
Yunkai Zhang
Work at Taobao



More information about the sheepdog mailing list