Adaptec 5325301656 Administration Guide - Page 85

Using CHAP Authentication to Enable Multiple Linux Systems to Share iSCSI

Page 85 highlights

Configuring iSCSI Initiators • The QLogic QLA4010/4050 hardware initiator supports Red Hat Enterprise Linux 3, QU5; Red Hat Enterprise Linux 4, QU1; and SuSE Linux Enterprise Server 9, SP3. This initiator provides CHAP authentication and can connect to multiple targets simultaneously. The SANSurfer utility is included with the HBA to initiate, monitor, and change iSCSI targets using its text-based user interface. • The Cisco-based in-box iSCSI software initiators for Linux support Red Hat Enterprise Linux 3, QU6, Red Hat Enterprise Linux 4, QU2, and SuSE Linux Enterprise Server 9, SP3. • The Open iSCSI-based in-box iSCSI software initiators for Linux support RedHat Linux 4 QU5 and higher, SuSE Linux Enterprise Server 10, SP1 and higher and CentOS 5.0 and higher. • The Open iSCSI-based in-box iSCSI software initiator for UNIX supports Solaris 10 U4. Installation and configuration information for the QLogic QLA4010/4050 HBA is included with the adapter and is also available for download from the QLogic website. Information about the in-box iSCSI intitiators is available from the RedHat, Novell (SuSE Linux), and Sun Microsystems web sites. Using CHAP Authentication to Enable Multiple Linux Systems to Share iSCSI Disks Securely on a Snap Server You can use CHAP authetication to enable multiple Linux systems with in-box initiators to share different iSCSI disks on a Snap server or Snap servers. To do this, you would set up different Usernames and Passwords for a DiscoveryAddress. For example, on a Snap server (IP address:192.3.2.193), iSCSI disks can be configured for System A and System B. With CHAP enabled, set the System A Username to a, and set the Password to PasswordForA. Then, for system B, set the Username b, and set the Password to PasswordForB. The configuration will look like the following: In System A's /etc/iscsi.conf, enter the following: DiscoveryAddress=192.3.2.193 Username=a Password=PasswordForA In System B's /etc/iscsi.conf, enter the following: DiscoveryAddress=192.3.2.193 Username=b Password=PasswordForB System A and B can connect to their own iSCSI disks on the same Snap Server (IP address 192.3.2.193) without the possibility of data corruption caused by sharing the same iSCSI disk. 71

  • 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
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224

Configuring iSCSI Initiators
71
The QLogic QLA4010/4050 hardware initiator supports Red Hat Enterprise
Linux 3, QU5; Red Hat Enterprise Linux 4, QU1; and SuSE Linux Enterprise
Server 9, SP3. This initiator provides CHAP authentication and can connect to
multiple targets simultaneously. The SANSurfer utility is included with the HBA
to initiate, monitor, and change iSCSI targets using its text-based user interface.
The Cisco-based in-box iSCSI software initiators for Linux support Red Hat
Enterprise Linux 3, QU6, Red Hat Enterprise Linux 4, QU2, and SuSE Linux
Enterprise Server 9, SP3.
The Open iSCSI-based in-box iSCSI software initiators for Linux support RedHat
Linux 4 QU5 and higher, SuSE Linux Enterprise Server 10, SP1 and higher and
CentOS 5.0 and higher.
The Open iSCSI-based in-box iSCSI software initiator for UNIX supports
Solaris 10 U4.
Installation and configuration information for the QLogic QLA4010/4050 HBA is
included with the adapter and is also available for download from the QLogic
website. Information about the in-box iSCSI intitiators is available from the RedHat,
Novell (SuSE Linux), and Sun Microsystems web sites.
Using CHAP Authentication to Enable Multiple Linux Systems to Share iSCSI
Disks Securely on a Snap Server
You can use CHAP authetication to enable multiple Linux systems with in-box
initiators to share different iSCSI disks on a Snap server or Snap servers. To do this,
you would set up different Usernames and Passwords for a DiscoveryAddress.
For example, on a Snap server (IP address:192.3.2.193), iSCSI disks can be
configured for System A and System B. With CHAP enabled, set the System A
Username to
a
, and set the Password
to
PasswordForA
. Then, for system B,
set the
Username
b
, and set the Password to
PasswordForB
. The configuration will look like
the following:
In System A's
/etc/iscsi.conf
, enter the following:
DiscoveryAddress=192.3.2.193
Username=a
Password=PasswordForA
In System B's
/etc/iscsi.conf
, enter the following:
DiscoveryAddress=192.3.2.193
Username=b
Password=PasswordForB
System A and B can connect to their own iSCSI disks on the same Snap Server (IP
address 192.3.2.193) without the possibility of data corruption caused by sharing
the same iSCSI disk.