Facing issues while discovering targets:
[root@node1 ifaces]# iscsiadm -m discovery -t st -p private.storage
192.168.2.100:3260,1 iqn.2006-01.com.openfiler:disk2
192.168.1.100:3260,1 iqn.2006-01.com.openfiler:disk2
192.168.2.100:3260,1 iqn.2006-01.com.openfiler:disk1
192.168.1.100:3260,1 iqn.2006-01.com.openfiler:disk1
192.168.2.100:3260,1 iqn.2006-01.com.openfiler:disk2
192.168.1.100:3260,1 iqn.2006-01.com.openfiler:disk2
192.168.2.100:3260,1 iqn.2006-01.com.openfiler:disk1
192.168.1.100:3260,1 iqn.2006-01.com.openfiler:disk1
Targets are getting discovered from both Public and Private IP address:
To fix:
edit /etc/sysconfig/iscsi-target file and add below entry
LISTEN_ADDR= < Ip addresss that need to be discovered>
eg: LISTEN_ADDR=192.168.2.100 --> Private IP of Node1
Restart Iscsi target services in openfiler.
service iscsi-target restart.
Now discovering the targets revealed only for Private IP.
No comments:
Post a Comment