You are on page 1of 19

ZFS Storage Appliance: iSCSI

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

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 1 of 19

ZFS Storage Appliance: iSCSI


8.1 Introduction
This 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-Requisites
This 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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 2 of 19

ZFS Storage Appliance: iSCSI


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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 3 of 19

ZFS Storage Appliance: iSCSI


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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 4 of 19

ZFS Storage Appliance: iSCSI


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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 5 of 19

ZFS Storage Appliance: iSCSI


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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 6 of 19

ZFS Storage Appliance: iSCSI

11. Click on Apply.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 7 of 19

ZFS Storage Appliance: iSCSI


8.4 Setting up the Windows iSCSI Initiator
1.

Open windows Control Panel

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 8 of 19

ZFS Storage Appliance: iSCSI


2.

Open Administrative Tools.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 9 of 19

ZFS Storage Appliance: iSCSI


3.

Open the iSCSI Initiator

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 10 of 19

ZFS Storage Appliance: iSCSI


4.

Type in the IP Address used to connect to the ZFS Storage Appliance iSCSI Target and select
Quick Connect.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 11 of 19

ZFS Storage Appliance: iSCSI


5.

The connection should be established and click on Done.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 12 of 19

ZFS Storage Appliance: iSCSI


6.

The ZFS Storage Appliance iSCSI Target is now listed in the Discovered Targets list.

7.

Click OK.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 13 of 19

ZFS Storage Appliance: iSCSI


8.5 Creating and Mapping an iSCSI LUN
1.

Navigate to the Shares/LUNs tab

2.

Click the + to create a new LUN.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 14 of 19

ZFS Storage Appliance: iSCSI


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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 15 of 19

ZFS Storage Appliance: iSCSI


6.

Edit the LUN and go to the Protocols tab

7.

Select the Target Group and check LUN Number

8.

Click Apply.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 16 of 19

ZFS Storage Appliance: iSCSI


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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 17 of 19

ZFS Storage Appliance: iSCSI


3.

Once the rescan is complete the new LUN should be listed.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 18 of 19

ZFS Storage Appliance: iSCSI


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.

For Oracle employees and authorized partners


only. Do not distribute to third parties.
2011 Oracle Corporation

Page 19 of 19