Hi All,
I have a working NVMeoF setup using SPDK with me and I used the following configuration
details saved in my file:
[Nvmf]
MaxQueuesPerSession 4
AcceptorPollRate 100
[Nvme]
TransportId "trtype:PCIe traddr:0000:06:00.0" Nvme0
[Subsystem1]
NQN nqn.2016-06.io.spdk:cnode1
Core 1
Listen RDMA 192.168.10.20:4420
#Host nqn.2016-06.io.spdk:init
SN SPDK00000000000001
Namespace Nvme0n1
Nvme 0000:06:00.0
Can anyone please share the significance of "Host" parameter in this file?
I also have a plan of configuring 2 NVMe Subsystems in a single file where one of them
should be accessed by one host and the other by second host.
Hence can anyone please guide me about utilizing this "Host" parameter in the
configuration file to achieve the above mentioned setup?
Thanks in advance.
Regards,
Naveen Shankar,
Senior Engineer @ SanDisk | a Western Digital brand,
No.143 /1, Prestige Tech Park, Prestige Excelsior Building, Marathahalli, Bengaluru,
Karnataka-560103
Ext : 080 42721554
Mob: +91 9742574527
Naveen.Shankar@sandisk.com<mailto:Naveen.Shankar@sandisk.com>
Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice &
Disclaimer:
This e-mail and any files transmitted with it may contain confidential or legally
privileged information of WDC and/or its affiliates, and are intended solely for the use
of the individual or entity to which they are addressed. If you are not the intended
recipient, any disclosure, copying, distribution or any action taken or omitted to be
taken in reliance on it, is prohibited. If you have received this e-mail in error, please
notify the sender immediately and delete the e-mail in its entirety from your system.
Show replies by date
Hi Naveen,
The "Host" option in the NVMe-oF Subsystem configuration adds a host NQN that is
allowed to connect to the subsystem. You can repeat the Host option for multiple allowed
hosts. If no Host options are specified, any host is allowed to connect to the subsystem.
If you want to follow along through the code, each Host option eventually calls
spdk_nvmf_subsystem_add_host(), and the allowed hosts are checked via
spdk_nvmf_subsystem_host_allowed().
Thanks,
-- Daniel
From: SPDK [mailto:spdk-bounces@lists.01.org] On Behalf Of Naveen Shankar
Sent: Monday, August 28, 2017 1:49 AM
To: spdk(a)lists.01.org; Ankit Jain <Ankit.Jain(a)wdc.com>
Subject: [SPDK] Configuring multiple NVMeoF targets using SPDK.
Hi All,
I have a working NVMeoF setup using SPDK with me and I used the following configuration
details saved in my file:
[Nvmf]
MaxQueuesPerSession 4
AcceptorPollRate 100
[Nvme]
TransportId "trtype:PCIe traddr:0000:06:00.0" Nvme0
[Subsystem1]
NQN nqn.2016-06.io.spdk:cnode1
Core 1
Listen RDMA 192.168.10.20:4420
#Host nqn.2016-06.io.spdk:init
SN SPDK00000000000001
Namespace Nvme0n1
Nvme 0000:06:00.0
Can anyone please share the significance of "Host" parameter in this file?
I also have a plan of configuring 2 NVMe Subsystems in a single file where one of them
should be accessed by one host and the other by second host.
Hence can anyone please guide me about utilizing this "Host" parameter in the
configuration file to achieve the above mentioned setup?
Thanks in advance.
Regards,
Naveen Shankar,
Senior Engineer @ SanDisk | a Western Digital brand,
No.143 /1, Prestige Tech Park, Prestige Excelsior Building, Marathahalli, Bengaluru,
Karnataka-560103
Ext : 080 42721554
Mob: +91 9742574527
Naveen.Shankar@sandisk.com<mailto:Naveen.Shankar@sandisk.com>
Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice &
Disclaimer:
This e-mail and any files transmitted with it may contain confidential or legally
privileged information of WDC and/or its affiliates, and are intended solely for the use
of the individual or entity to which they are addressed. If you are not the intended
recipient, any disclosure, copying, distribution or any action taken or omitted to be
taken in reliance on it, is prohibited. If you have received this e-mail in error, please
notify the sender immediately and delete the e-mail in its entirety from your system.