of 19
8/18/2019 ZFS.pdf
1/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 1
Lab 8: ZFS Storage Appliance iSCSI
8.1 Introduction ............................................................................................................. 2
8.2
Pre-Requisites ........................................................................................................ 2
8.3 Setting Up iSCSI on the ZFS Storage Appliance. .................................................. 3
8.4 Setting up the Windows iSCSI Initiator .................................................................. 8
8.5 Creating and Mapping an iSCSI LUN .................................................................. 14
8.6 Accessing iSCSI LUN from Host .......................................................................... 17
8/18/2019 ZFS.pdf
2/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 2
8.1 IntroductionThis optional lab will help the student understand how setup iSCSI on the ZFS Storage Appliance
as well as create and map iSCSI LUNs to hosts.
8.2 Pre-RequisitesThis optional lab requires that the student have an iSCSI initiator setup on their local system in
order to access the ZFS Storage Appliance simulator. This will provide the student with the steps
for setting up the iSCSI initiator in a Microsoft Windows 7 desktop.
8/18/2019 ZFS.pdf
3/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 3
8.3 Setting Up iSCSI on the ZFS Storage Appliance.
1. Navigate to the “Configuration/Services” tab and verify that the iSCSI data service has been
enabled.
8/18/2019 ZFS.pdf
4/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 4
2. Click Navigate to the “Configuration/Network” tab and setup a datalink and interface for
iSCSI.
3. In this example a data link called “iSCSI” was created using the “e1g10001” device. An
interface called “iSCSI-Interface” was created with a static IP address of 192.168.56.105/24.
Note: If there is only one device listed on the ZFS Storage Appliance simulator then this can
be used for iSCSI and these steps can be skipped.
8/18/2019 ZFS.pdf
5/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 5
4. Click Navigate to the “Configuration/SAN” tab to setup the iSCSI Targets.
5. Select “iSCSI Targets” and click the “+” to add
6. Provide the new iSCSI target with an Alias and select th “e1000g1” interface or whichever
interface is listed.
7. Click “OK”.
8/18/2019 ZFS.pdf
6/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 6
8. The new iSCSI target will be listed.
9. At this point any iSCSI LUN created will be presented to all hosts so to discourage this create
an iSCSI Target Group.
10. Click on the cross hair located in front of the iSCSI Target and drag it to the “iSCSI Target
Groups”, which will create a group for the iSCSI Target.
8/18/2019 ZFS.pdf
7/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 7
11. Click on “Apply”.
8/18/2019 ZFS.pdf
8/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 8
8.4 Setting up the Windows iSCSI Initiator
1. Open windows Control Panel
8/18/2019 ZFS.pdf
9/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 9
2. Open “Administrative Tools”.
8/18/2019 ZFS.pdf
10/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 10
3. Open the “iSCSI Initiator”
8/18/2019 ZFS.pdf
11/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 11
4. Type in the IP Address used to connect to the ZFS Storage Appliance iSCSI Target and select
“Quick Connect”.
8/18/2019 ZFS.pdf
12/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 12
5. The connection should be established and click on “Done”.
8/18/2019 ZFS.pdf
13/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 13
6. The ZFS Storage Appliance iSCSI Target is now listed in the “Discovered Targets” list.
7. Click “OK”.
8/18/2019 ZFS.pdf
14/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 14
8.5 Creating and Mapping an iSCSI LUN
1. Navigate to the “Shares/LUNs” tab”
2. Click the “+” to create a new LUN.
8/18/2019 ZFS.pdf
15/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 15
3. Give the LUN a Name and Size. In this example the name is “iSCSI-LUN” with a size
of 5 GB.
Note: If you are using the ZFS Storage Appliance simulator give the LUN a small size
between 1 and 5 GB as it this is running on the local desktop and will use up the
space on the desktop.
4. Click “Apply”.
5. The LUN is now listed in the LUNs list.
8/18/2019 ZFS.pdf
16/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 16
6. Edit the LUN and go to the “Protocols” tab
7. Select the “Target Group” and check “LUN Number”
8. Click “Apply”.
8/18/2019 ZFS.pdf
17/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 17
8.6 Accessing iSCSI LUN from Host
1. Open Computer Manager on the Windows host and go to Disk Management.
2. Right Mouse Click on “Disk Management” and select “Rescan Disks”.
8/18/2019 ZFS.pdf
18/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
© 2011 Oracle Cor oration Page 18
3. Once the rescan is complete the new LUN should be listed.
8/18/2019 ZFS.pdf
19/19
ZFS Storage Appliance: iSCSI
For Oracle employees and authorized partnersonly. Do not distribute to third parties.
4. Initialize the new disk by Right-Mouse clicking on it and select “Initialize Disk”.
5. The LUN can now be used and configured as needed.
6. This concludes the iSCSI lab.