Users Guide

9–iSCSI 구성
Linux 환경의 iSCSI Offload
154 AH0054602-03 F
:
######################
# iscsid daemon config
######################
# If you want iscsid to start the first time a iscsi tool
# needs to access it, instead of starting it when the init
# scripts run, set the iscsid startup command here. This
# should normally only need to be done by distro package
# maintainers.
#
# Default for Fedora and RHEL. (uncomment to activate).
#iscsid.startup = /etc/rc.d/init.d/iscsid force-start
#
# Default for upstream open-iscsi scripts (uncomment to
activate).
iscsid.startup = /sbin/iscsid
4. L4
인터페이스에
사용할
Iface
레코드를
생성합니다
.
다음
명령을
실행합니다
.
# iscsiadm -m iface -I qedi.14:02:ec:ce:dc:71 -o new
New interface qedi.14:02:ec:ce:dc:71 added
Iface 레코드 형식은 qedi.<mac_address> 여야 합니다 . 경우 MAC 주소
iSCSI 세션이 활성화된 L4 MAC 주소와 일치해야 합니다 .
5.
iscsiadm
명령을
실행하여
Iface
레코드의
Iface
필드를
업데이트합니다
.
:
# iscsiadm -m iface -I qedi.14:02:ec:ce:dc:71 -n iface.hwaddress -v 14:02:ec:ce:dc:71 -o update
qedi.14:02:ec:ce:dc:71 updated.
# iscsiadm -m iface -I qedi.14:02:ec:ce:dc:71 -n iface.transport_name -v qedi -o update
qedi.14:02:ec:ce:dc:71 updated.
# iscsiadm -m iface -I qedi.14:02:ec:ce:dc:71 -n iface.bootproto -v dhcp -o update
qedi.14:02:ec:ce:dc:71 updated.
# iscsiadm -m iface -I qedi.14:02:ec:ce:dc:71 -n iface.ipaddress -v 0.0.0.0 -o update
qedi.14:02:ec:ce:dc:71 updated.
# iscsiadm -m node -T iqn.1986-03.com.hp:storage.p2000g3.13491b47fb -p 192.168.100.9:3260 -I
qedi.14:02:ec:ce:dc:71 -o new
New iSCSI node [qedi:[hw=14:02:ec:ce:dc:71,ip=0.0.0.0,net_if=,iscsi_if=qedi.14:02:ec:ce:dc:71]
192.168.100.9,3260,-1 iqn.1986-03.com.hp:storage.p2000g3.13491b47fb] added