* Support needed with setting up multipath on NVMeoF
@ 2018-01-18 14:24 Cybulski, PawelX
2018-01-18 14:32 ` Johannes Thumshirn
0 siblings, 1 reply; 2+ messages in thread
From: Cybulski, PawelX @ 2018-01-18 14:24 UTC (permalink / raw)
Hi,
What I want to achieve is:
- Two NVMe targets pointing to the same NVMe
- Targets mounted twice on initiator via different paths (different ports in RDMA NIC)
- Setup nvmeof multipath on initiator side
- Run fio tests, bring down one interface and check if it will go through another
- Run fio tests, via both interfaces at the same time
So far I have:
- Two machines with kernel 4.15.0-rc8 compiled with CONFIG_NVME_MULTIPATH=y
- Two targets started on server each pointing to the same NVMe (each using different network port and different ip)
- Targets mounted on initiator side
Nvme list-subsys is displaying
nvme-subsys0 - NQN=nvme-subsystem-TEST
\
+- nvme0 rdma traddr=100.0.0.90 trsvcid=1055
nvme-subsys1 - NQN=nvme-subsystem-TEST2
\
+- nvme1 rdma traddr=100.0.50.90 trsvcid=1055
I am using latest nvme-cli:
v0.2-612-g8466996
Tried to look through documentation in nvme-cli, and I found only:
" -m, --nmic
Namespace multipath and sharing capabilities.
EXAMPLES
No examples provided yet."
In ./nvme-create-ns.1
Could you point me to documentation where I could find setup steps for nvme multipath (different options, fail over, round robin), or if there isn't any could you provide me with some steps to follow.
Best Regards,
Pawe? Cybulski?
--------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Support needed with setting up multipath on NVMeoF
2018-01-18 14:24 Support needed with setting up multipath on NVMeoF Cybulski, PawelX
@ 2018-01-18 14:32 ` Johannes Thumshirn
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Thumshirn @ 2018-01-18 14:32 UTC (permalink / raw)
On Thu, Jan 18, 2018@02:24:12PM +0000, Cybulski, PawelX wrote:
> Nvme list-subsys is displaying
> nvme-subsys0 - NQN=nvme-subsystem-TEST
> \
> +- nvme0 rdma traddr=100.0.0.90 trsvcid=1055
> nvme-subsys1 - NQN=nvme-subsystem-TEST2
> \
> +- nvme1 rdma traddr=100.0.50.90 trsvcid=1055
[...]
> Could you point me to documentation where I could find setup steps for nvme multipath (different options, fail over, round robin), or if there isn't any could you provide me with some steps to follow.
Here's what I usually do:
nvme connect -t rdma -a 100.0.50.90 -s 1055 -n nvme-subsystem-TEST2 -w <IP of 1st ifc>
nvme connect -t rdma -a 100.0.50.90 -s 1055 -n nvme-subsystem-TEST2 -w <IP of 2nd ifc>
This should give you two paths to nvme-subsystem-TEST2 (repeat for the other
one as well).
Thanks,
Johannes
--
Johannes Thumshirn Storage
jthumshirn at suse.de +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-18 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 14:24 Support needed with setting up multipath on NVMeoF Cybulski, PawelX
2018-01-18 14:32 ` Johannes Thumshirn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.