Adaptec 5325302057 User Guide - Page 176

If you open a new window and enter this command, you can watch the, You'll see this message

Page 176 highlights

iSCSI Configuration for Red Hat or SUSE Linux b If you want to use one-way CHAP for the logical devices on your iSCSI Storage Appliance, provide Username and Password values below the DiscoveryAddress parameter. • To indicate that the CHAP parameters are only associated with iSCSI targets behind the portal, leave at least one leading space before the Username= and Password= lines, as shown in this example. DiscoveryAddress=192.3.2.187 Username=a Password=111111111111 • To indicate that the CHAP parameters are global, leave no leading spaces before the Username= and Password= lines and put them in the beginning of the iscsi.conf file. 7 Start the initiator by entering this command: linux:~ #: /etc/init.d/iscsi start You'll see this message: Starting iSCSI: iscsi iscsid fsck/mount Note If you open a new window and enter this command, you can watch the syslog messages as you start the initiator: linux:~ #: tail -f /var/log/messages You may see errors and warnings during the startup. 8 The initiator should have discovered and logged onto the targets. Use iscsi-ls to see which targets you are connected to. Note You can also use cat /proc/scsi/scsi/ to view iSCSI targets as regular SCSI disks. linux:~ #: iscsi-ls You will see output similar to the following: Cisco iSCSI Driver Version ... 4.0.188.26 ( 21-May-2004 ) TARGET NAME : iqn.snap710622.iscsi0 TARGET ALIAS : iscsi0 HOST NO : 1 BUS NO : 0 TARGET ID : 46 TARGET ADDRESS : 192.3.2.187:3260 170 Snap Server 700i Series User's Guide

  • 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
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236

iSCSI Configuration for Red Hat or SUSE Linux
170
Snap Server 700i Series User’s Guide
b
If you want to use one-way CHAP for the logical devices on your iSCSI Storage
Appliance, provide Username and Password values below the
DiscoveryAddress parameter.
To indicate that the CHAP parameters are only associated with iSCSI targets
behind the portal, leave at least one leading space before the
Username=
and
Password=
lines, as shown in this example.
DiscoveryAddress=192.3.2.187
Username=a
Password=111111111111
To indicate that the CHAP parameters are global, leave no leading spaces
before the
Username=
and
Password=
lines and put them in the beginning of
the iscsi.conf file.
7
Start the initiator by entering this command:
linux:~ #: /etc/init.d/iscsi start
You’ll see this message:
Starting iSCSI: iscsi iscsid fsck/mount
Note
If you open a new window and enter this command, you can watch the
syslog messages as you start the initiator:
linux:~ #: tail -f /var/log/messages
You may see errors and warnings during the startup.
8
The initiator should have discovered and logged onto the targets. Use
iscsi-ls
to
see which targets you are connected to.
Note
You can also use
cat /proc/scsi/scsi/
to view iSCSI targets as regular SCSI
disks.
linux:~ #: iscsi-ls
You will see output similar to the following:
******************************************************************
Cisco iSCSI Driver Version ... 4.0.188.26 ( 21-May-2004 )
******************************************************************
TARGET NAME
: iqn.snap710622.iscsi0
TARGET ALIAS
: iscsi0
HOST NO
: 1
BUS NO
: 0
TARGET ID
: 46
TARGET ADDRESS
: 192.3.2.187:3260