This content has been marked as final. Show 7 replies
1) Edit the file: /etc/sysconfig/iscsi-target1 person found this helpful
2) Enter the following in a separate line: LISTEN_ADDR=<ip you want to restrict iSCSI traffic to>
3) Restart the iSCSI target service: service iscsi-target restart
By the way, you shouldn't have multiple IP addresses on the same subnet as the kernel will decide where traffic goes out from even though you want to restrict to a certain IP/interface. You should consider using separate subnets for management and iSCSI traffic. Par exemple:
management == 192.168.2.100
iSCSI == 192.168.3.100
Edited by: 1008019 on May 26, 2013 12:35 AM
Edited by: 1008019 on May 26, 2013 12:36 AM
with open filer you need both the iscsitarget and isci services enabled and running on open filer machine... and iscsi service running on the local node..
Please do the below steps and let us know the output:-
# iscsiadm -m discovery -t sendtargets -p private.storage -delete
#iscsiadm -m discovery -t sendtargets -p private.storage
#service iscsi restart
Thank you Vishnu,
All required services are running.
Thanks a lot for your info. It worked for me.
I've different subnets for both public and private IP's. (192.168.1.100 -- Public and 192..168.2.100 -- Private).
If I keep on increasing nodes, I need to add each server IP manually in /etc/sysconfig/iscsi-target file... can we avoid this?
Here's the requested output...
iscsiadm -m discovery -t st -p private.storage
Thansk a lot for user 1008019..your tip fixed my issue.