2.
Save the
/etc/iscsi/iscsid.conf
file and start or restart iSCSI:
[root@sanergy33 iscsi]# /etc/init.d/iscsi start
or
/etc/init.d/iscsi
restart
3.
Use the
iscsiadm
command to perform a discovery. For example:
[root@sanergy33 iscsi]# iscsiadm -m discovery -t sendtargets -p
10.10.1.23
4.
Use the
iscsiadm
command to log in to the iSCSI target. For example:
[root@sanergy33 iscsi]# iscsiadm --mode node --targetname
iqn.1986-03.com.hp:fcgw.mpx200.0840e00002.
b1.01.50001fe15006ac39 --login
The following is a sample
iscsid.conf
file for CHAP:
# *************
# CHAP Settings
# *************
# To enable CHAP authentication set node.session.auth.authmethod
# to CHAP. The default is None.
#node.session.auth.authmethod = CHAP
node.session.auth.authmethod = CHAP
# To set a CHAP username and password for initiator
# authentication by the target(s), uncomment the following lines:
#node.session.auth.username = username
node.session.auth.username = iqn.1994-05.com.redhat:fc813cac13.sanergy33
#node.session.auth.password = password
node.session.auth.password = CHAPSecret01
# To set a CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
#node.session.auth.username_in = username_in
#node.session.auth.password_in = password_in
# To enable CHAP authentication for a discovery session to the target
# set discovery.sendtargets.auth.authmethod to CHAP. The default is None.
#discovery.sendtargets.auth.authmethod = CHAP
node.session.auth.authmethod = CHAP
# To set a discovery session CHAP username and password for the initiator
# authentication by the target(s), uncomment the following lines:
#discovery.sendtargets.auth.username = username
discovery.sendtargets.auth.username = iqn.1994-05.com.redhat:fc813cac13.sanergy3
3
#discovery.sendtargets.auth.password = password
discovery.sendtargets.auth.password = CHAPSecret01
# To set a discovery session CHAP username and password for target(s)
# authentication by the initiator, uncomment the following lines:
#discovery.sendtargets.auth.username_in = username_in
#discovery.sendtargets.auth.password_in = password_in
MPX200 Multifunction Router
105
Содержание Storageworks 8100 - enterprise virtual array
Страница 20: ...20 ...
Страница 30: ...MPX200 Multifunction Router overview 30 ...
Страница 47: ...Figure 27 iSCSI controller options Remove controller MPX200 Multifunction Router 47 ...
Страница 48: ...Managing the MPX200 using HP Command View EVA 48 ...
Страница 59: ...Figure 32 Virtual disk properties Figure 33 Host details MPX200 Multifunction Router 59 ...
Страница 112: ...MPX200 iSCSI configuration rules and guidelines 112 ...
Страница 219: ...Load Balancing Enabled Array License Not Applied MPX200 Multifunction Router 219 ...
Страница 222: ...Controller Id WWPN PortId Path Status 0 20 78 00 c0 ff d5 92 e5 02 04 00 Current Optimized Offline Data Migration 222 ...
Страница 248: ...Offline Data Migration 248 ...
Страница 258: ...Diagnostics and troubleshooting 258 ...
Страница 306: ...Command referencecommand reference 306 ...
Страница 330: ... Blade number 1 or 2 Simple Network Management Protocol setup 330 ...
Страница 368: ...Saving and restoring the MPX200 configuration 368 ...
Страница 402: ...Data migration best practices 402 ...
Страница 408: ...408 ...