Dell PowerVault MD3200i Deployment Guide - Page 66

Red Hat Enterprise Linux 5, SUSE Linux Enterprise Server 10, etc/iscsi/iscsid.conf

Page 66 highlights

5 Remove the target portal that you configured on the storage array during target discovery: iscsicli RemoveTargetPortal 6 Add the target portal with CHAP defined: iscsicli QAddTargetPortal [CHAP_username] [CHAP_password] where, [CHAP_username] is the initiator name and [CHAP_password] is the target CHAP secret. If you require a discovery session failover, repeat step 5 for all iSCSI ports on the storage array. Otherwise, single-host port configuration is sufficient. If you are using Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, SUSE Linux Enterprise Server 10, or SUSE Linux Enterprise Server 11: 1 To enable CHAP (optional), the following line needs to be enabled in your /etc/iscsi/iscsid.conf file: node.session.auth.authmethod = CHAP 2 To set a user name and password for CHAP authentication of the initiator by the target(s), edit the following lines: node.session.auth.username = node.session.auth.password = 3 If you are using Mutual CHAP authentication, you can set the user name and password for CHAP authentication of the target(s) by the initiator by editing the following lines: node.session.auth.username_in= node.session.auth.password_in = 66 Appendix-Manual Configuration

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

66
Appendix—Manual Configuration
5
Remove the target portal that you configured on the storage array during
target discovery:
iscsicli RemoveTargetPortal <IP_address>
<TCP_listening_port>
6
Add the target portal with CHAP defined:
iscsicli QAddTargetPortal
<IP_address_of_iSCSI_port_on_storage_array>
[CHAP_username]
[CHAP_password]
where, [CHAP_username] is the initiator name and [CHAP_password] is
the target CHAP secret.
If you require a discovery session failover, repeat step 5 for all iSCSI ports
on the storage array. Otherwise, single-host port configuration is sufficient.
If you are using
Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6
,
SUSE Linux Enterprise Server 10
, or
SUSE Linux Enterprise Server 11
:
1
To enable CHAP (optional), the following line needs to be enabled in your
/etc/iscsi/iscsid.conf
file:
node.session.auth.authmethod = CHAP
2
To set a user name and password for CHAP authentication of the initiator
by the target(s), edit the following lines:
node.session.auth.username =
<iscsi_initiator_username>
node.session.auth.password =
<CHAP_initiator_password>
3
If you are using Mutual CHAP authentication, you can set the user name
and password for CHAP authentication of the target(s) by the initiator by
editing the following lines:
node.session.auth.username_in=
<iscsi_target_username>
node.session.auth.password_in =
<CHAP_target_password>