[sheepdog] [PATCH] sheep, dog: add speed throttling of auto-recovery

FUKUDA Yasuhito fukuda.yasuhito at po.ntts.co.jp
Fri Dec 19 03:50:39 CET 2014


On Thu, 18 Dec 2014 07:59:24 +0100
Valerio Pachera <sirio81 at gmail.com> wrote:

> 2014-12-17 9:32 GMT+01:00 FUKUDA Yasuhito <fukuda.yasuhito at po.ntts.co.jp>:
> > ex) sheep -R max=5,interval=1000 /var/lib/sheepdog
> >     dog node recovery set-throttle 5 1000
> >     dog node recovery get-throttle
> 
> Nice!
> If I shut down the cluster and start it again, do I have to re-run this command?

Yes.
If you do sheepdog-process restart, the settings return to be original.
run "sheep -R" command at node startup.
Or, run "dog node recovery set-throtte" command after node startup.

Regards

-- 
NTTソフトウェア株式会社
クラウド事業部 第一事業ユニット(C一BU)
福田康人(FUKUDA Yasuhito)
E-mail:fukuda.yasuhito at po.ntts.co.jp
〒220-0012 横浜市西区みなとみらい4-4-5
横浜アイマークプレイス13階
TEL:045-212-7393/FAX:045-662-7856





More information about the sheepdog mailing list