Справочник Пользователя для Q-Logic 8200 SERIES

Скачать
Страница из 80
3–Open-iSCSI User’s Guide
Managing QLogic iSCSI Adapters Using iscsiadm
IS0054604-00  A
3-11
Unidirectional and Bidirectional CHAP settings
Example: Display changes made to the 192.168.1.84:3260 CHAP settings:
NOTE
The target should be logged out before updating the network parameters. 
iscsiadm will give the following warning if a network parameter of an iface 
with active sessions is updated:
iscsiadm: Updating iface while iscsi sessions are using 
it. You must logout the running sessions then log back 
in for the new settings to take affect. 
# iscsiadm -m node -p 192.168.1.84:3260 -T iqn.2011.com.vm-base:disk1 -o 
update -n node.session.auth.authmethod -v CHAP
# iscsiadm -m node -p 192.168.1.84:3260 -T iqn.2011.com.vm-base:disk1 -o 
update -n node.session.auth.username -v chapuser
# iscsiadm -m node -p 192.168.1.84:3260 -T iqn.2011.com.vm-base:disk1 -o 
update -n node.session.auth.password -v chapsecret
# iscsiadm -m node -p 192.168.1.84:3260 -T iqn.2011.com.vm-base:disk1 -o 
update -n node.session.auth.username_in -v biuser
# iscsiadm -m node -p 192.168.1.84:3260 -T iqn.2011.com.vm-base:disk1 -o 
update -n node.session.auth.password_in -v bidirsecret
# iscsiadm -m node -p 192.168.1.84:3260
.
.
node.session.auth.authmethod = CHAP
node.session.auth.username = chapuser
node.session.auth.password = ********
node.session.auth.username_in = biuser
node.session.auth.password_in = ********
.
.