Q-Logic 8200 SERIES CONVERGED NETWORK ADAPTERS Network Card User Manual


 
3–Open-iSCSI User’s Guide
Managing QLogic iSCSI Adapters Using iscsiadm
3-14 IS0054604-00 A
Remove sendtarget Node
# iscsiadm -m discoverydb -t st -p <target IP> -I <iface> -o delete
Example:
# iscsiadm -m discoverydb -t st -p 192.168.2.105 -I qla4xxx-3 -o
delete
Adding and Deleting Targets
Adding a New Target
# iscsiadm -m node -T <target name> -p <target portal> -I <iface>
-o new
Example:
# cat /var/lib/iscsi/send_targets/192.168.2.105,3260/st_config
# BEGIN RECORD 2.0-872.28.el6-1031
discovery.startup = manual
discovery.type = sendtargets
discovery.sendtargets.address = 192.168.2.105
discovery.sendtargets.port = 3260
discovery.sendtargets.auth.authmethod = CHAP
discovery.sendtargets.auth.username = joe
discovery.sendtargets.auth.password = secret
discovery.sendtargets.timeo.login_timeout = 15
discovery.sendtargets.use_discoveryd = No
discovery.sendtargets.discoveryd_poll_inval = 30
discovery.sendtargets.reopen_max = 5
discovery.sendtargets.timeo.auth_timeout = 45
discovery.sendtargets.timeo.active_timeout = 30
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
# END RECORD
# iscsiadm -m node -T iqn.2001-05.com.equallogic:0-8a0906-2d733fe02-d25000ecd
7a4eac6-bfs-2 -p 192.168.2.104:3260 -I qla4xxx-3 -o new
New iSCSI node [qla4xxx:[hw=00:0e:1e:04:11:e6,ip=192.168.2.212,net_if=,
iscsi_if=qla4xxx-3] 192.168.2.104,3260,-1 iqn.2001-05.com.equallogic:
0-8a0906-2d733fe02-d25000ecd7a4eac6-bfs-2] added