<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
W dniu 09.07.2015 o 17:29, Hitoshi Mitake pisze:<br>
<blockquote cite="mid:874mldfixa.wl%25mitake.hitoshi@gmail.com"
type="cite">
<pre wrap="">At Thu, 09 Jul 2015 17:15:08 +0200,
Michał Chybowski wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Hi
I've set up a Sheepdog cluster on 3 machines (as data hosts) and 1
"client" machine, on which Sheepdog Block Devices will be used. I'd like
to associate them with more than one sheep daemon - is there any
possible way of doing this? I want to avoid death of services using SBD
Also, my kern.log (using Debian wheezy) is growing extremely fast due to
SBD module logging almost every action. How can I avoid this?
</pre>
</blockquote>
<pre wrap="">
If you can use iSCSI interface of sheepdog, you can avoid SPOF because
it supports multipath:
<a class="moz-txt-link-freetext" href="https://github.com/sheepdog/sheepdog/wiki/General-protocol-support-(iSCSI-and-NBD)">https://github.com/sheepdog/sheepdog/wiki/General-protocol-support-(iSCSI-and-NBD)</a></pre>
</blockquote>
Ok, I'm sure I'll try this but is there any multipath config file or
so for SBD? I'd love to test this out but at the moment only thing I
get from multipath is:<br>
<small><br>
root@compute1:~# multipath -p failover /dev/sbd0<br>
Jul 10 00:43:22 | DM message failed [fail_if_no_path]</small><br>
<br>
which with -v3 gives more information:<br>
<br>
<small>Jul 10 00:44:09 | sbd0: ownership set to lolek<br>
Jul 10 00:44:09 | sbd0: not found in pathvec<br>
Jul 10 00:44:09 | sbd0: mask = 0xc<br>
Jul 10 00:44:09 | sbd0: get_state<br>
Jul 10 00:44:09 | sbd0: path checker = directio (internal default)<br>
Jul 10 00:44:09 | sbd0: path inaccessible</small><br>
<br>
and with -v4:<br>
<small>Jul 10 01:03:50 | Discover device /sys/block/sbd0<br>
Jul 10 01:03:50 | path /sys/block/sbd0/device not present<br>
Jul 10 01:03:50 | Discover device /sys/block/sbd1<br>
Jul 10 01:03:50 | path /sys/block/sbd1/device not present<br>
<br>
<big>I hope there is some way to utilize SBD instead of using
iSCSI.</big><br>
</small><br>
<blockquote cite="mid:874mldfixa.wl%25mitake.hitoshi@gmail.com"
type="cite">
<pre wrap="">
Recent talk of Ishizaki-san has a brief description about the
multipath mechanism:
<a class="moz-txt-link-freetext" href="http://events.linuxfoundation.jp/sites/events/files/slides/COJ2015_Sheepdog_20150604.pdf">http://events.linuxfoundation.jp/sites/events/files/slides/COJ2015_Sheepdog_20150604.pdf</a>
I think you are using linux as a client. We are testing the iSCSI
feature with open-iscsi initiator. Therefore you would be able to use
the initiator in your environment.
# the description of multipath setup is still under construction. I'll
# prepare it later. tests/functional/097 has a way of multipath setup
Thanks,
Hitoshi
</pre>
<blockquote type="cite">
<pre wrap="">
--
Reards
Michał Chybowski
Tiktalik.com
--
sheepdog-users mailing lists
<a class="moz-txt-link-abbreviated" href="mailto:sheepdog-users@lists.wpkg.org">sheepdog-users@lists.wpkg.org</a>
<a class="moz-txt-link-freetext" href="https://lists.wpkg.org/mailman/listinfo/sheepdog-users">https://lists.wpkg.org/mailman/listinfo/sheepdog-users</a>
</pre>
</blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Thanks
Michał Chybowski
Tiktalik.com</pre>
<br>
<br>
</body>
</html>