Skip to contentSkip to conversation

Question about iSCSI target

SPDK Yibo Cai 2 participants 3 messages Jun 18, 2020

lore
Share & tools
lore

Yibo Cai

author
#0 lore raw

Hi,

Is it possible to allow iSCSI initiator from any IP/subnet to connect to a target? Json RPC method iscsi_create_initiator_group requires initiator IPs and netmasks, not sure how to configure.

https://spdk.io/doc/jsonrpc.html

Thanks,
Yibo

#1 lore raw

Hi Yibo,

You can refer the test script located in test/iscsi_tgt folder

For example, test/iscsi_tgt/fio/fio.sh, then you will get the answer.

发自我的iPad

Quoted 15 lines · 在 2020年6月18日,下午6:06,Yibo Cai <yibo.cai(a)arm.com> 写道:

Hi,

Is it possible to allow iSCSI initiator from any IP/subnet to connect to a target? Json RPC method iscsi_create_initiator_group requires initiator IPs and netmasks, not sure how to configure.

https://spdk.io/doc/jsonrpc.html

Thanks,
Yibo
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org

#2 lore raw

Hi Yibo,

we can set both initiator_list and netmask_list to ANY,
iscsi_create_initiator_group 1 ANY ANY,
and can use the initiator group #1 to accept any IP/subnet.

Thanks,
Shuhei

________________________________
差出人: Yang, Ziye <ziye.yang(a)intel.com>
送信日時: 2020年6月18日 19:19
宛先: Storage Performance Development Kit <spdk(a)lists.01.org> 件名: [!][SPDK] Re: Question about iSCSI target

Hi Yibo,

You can refer the test script located in test/iscsi_tgt folder

For example, test/iscsi_tgt/fio/fio.sh, then you will get the answer.

发自我的iPad

Quoted 8 lines · 在 2020年6月18日,下午6:06,Yibo Cai <yibo.cai(a)arm.com> 写道:

Hi,

Is it possible to allow iSCSI initiator from any IP/subnet to connect to a target? Json RPC method iscsi_create_initiator_group requires initiator IPs and netmasks, not sure how to configure.

Quoted 7 lines

https://clicktime.symantec.com/3H6jGVjgBQXf9oiw3vqnhcg7Vc?u=https%3A%2F%2Fspdk.io%2Fdoc%2Fjsonrpc.html

Thanks,
Yibo
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org

_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org