Академический Документы
Профессиональный Документы
Культура Документы
EXERCISE
In this exercise, you verify iSCSI connectivity on your assigned Linux machine and Windows machine.
OBJECTIVES
In this task, you will log in to your assigned storage system and configure the iSCSI services.
STEP ACTION
1.
2.
E14-1
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
4.
Record the interface name and IP addresses on the Master Configuration Worksheet
(Appendix B).
6.
Verify that iSCSI service has been enabled for the e0a and e0b interface:
system> iscsi interface show
If iSCSI has not been enabled for the interface, enter the following command:
system> iscsi interface enable e0a
system> iscsi interface enable e0b
7.
8.
9.
E14-2
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
10.
Verify the target portal groups on the storage system by entering this command:
system> iscsi tpgroup show
In this task, you log in to your assigned Windows Server 2008 machine and configure MPIO.
STEP ACTION
1.
2.
If Server Manager doesnt automatically appear, click the Server Manager icon next to the Start
button on the Windows Server 2008 desktop.
E14-3
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
3.
4.
5.
On the Select Features page, select Multipath I/O and click Next.
6.
7.
E14-4
Click Close.
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
In this task, you will install NetApp Multipath I/O Device Specific Module (DSM) on your Windows Server
2008 system.
STEP ACTION
1.
On the desktop of your Windows Server 2008 system, click the ANCDA class files shortcut.
The shortcut takes you to C:\_files\ANCDA.
2.
3.
4.
5.
6.
On the Data ONTAP DSM Management Service Credentials page, add the administrator login
and password provided by your instructor and click Next.
7.
8.
9.
10.
After the installation completes, click Finish and answer No at the prompt to restart.
NOTE: You will restart the system after you install Windows Host Utilities.
11.
If Server Manager doesnt automatically appear, click the Server Manager icon next to the Start
button.
12.
13.
14.
Expand the System devices node and verify that Data ONTAP DSM was installed.
15.
16.
E14-5
Click the Driver tab and review the current driver version.
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
In this task, you will install the NetApp Windows Host Utilities Kit (HUK).
STEP ACTION
1.
On your Windows Server 2008 system, click the ANCDA class files shortcut.
The shortcut takes you to C:\_files\ANCDA.
2.
Double-click netapp_windows_host_utilities_5.3_x64.msi.
If prompted with a security warning, confirm and continue.
3.
4.
5.
On the Support for Multipathing page, select Yes, install support for Multipath I/O and click
Next.
6.
7.
Click Install.
8.
After the installation is complete, click Yes to restart the Windows Server 2008 system.
9.
Wait about two minutes and attempt to reconnect to your Windows Server 2008 system.
10.
11.
12.
13.
In this task, you log in to your assigned Windows machine and configure iSCSI for a first iSCSI session.
NOTE: There are several ways to configure the iSCSI service. We will use the iSCSI initiator method.
STEP ACTION
1.
If Server Manager isnt already open, click the Server Manager icon next to the Start button.
2.
In the left pane, expand the Configuration node and select Services.
E14-6
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
3.
4.
5.
6.
Click Start.
7.
8.
9.
In the Search programs and files text box, enter iscsi initiator.
E14-7
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
10.
11.
12.
Record the Windows Server 2008 WWNN on the Master Configuration Worksheet.
E14-8
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
13.
Click the Discovery tab and then click the Discover Portal button.
Enter the IP address of e0a that you recorded on the Master Configuration Worksheet. Leave the
port as 3260.
15.
Click Advanced.
The Advanced Settings dialog box appears:
E14-9
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
16.
On the General Tab, from the Local adapter drop-down list, select Microsoft iSCSI Initiator.
From the Initiator IP drop-down list, select first interface on your Windows Server 2008
machine.
17.
Click OK.
18.
19.
21.
22.
23.
On the Targets tab, ensure that storage systems IQN is highlighted and click Connect.
The Connect to Target dialog box appears.
24.
E14-10
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
25.
26.
Click OK.
27.
Click OK.
Back in the iSCSI Initiator Properties dialog box, the status of the target should now be
Connected.
E14-11
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
28.
29.
You have now successfully established connectivity between the Windows initiator and the
targets on the storage system.
In this task, you will log in to your assigned storage system and confirm an iSCSI session.
STEP ACTION
1.
From your assigned storage systems PuTTY Telnet window, enter the following command to
investigate the current iSCSI sessions:
system> iscsi session show
E14-12
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
In this task, you will log in to your assigned Windows machine and configure iSCSI for the second iSCSI
session.
STEP ACTION
1.
On your assigned remote Windows machine, ensure that the iSCSI Initiator Properties dialog
box is open to the Targets tab.
2.
On the Targets tab, ensure that storage systems IQN is highlighted and click the Properties
button.
3.
4.
The Connect to Target dialog box appears. Select Enable multi-path and click Advanced.
5.
6.
Click OK.
7.
Click OK again.
8.
In the Discovered targets box, ensure that the IQN of the storage system is selected and click
Properties.
9.
Verify that there are two sessions, and select the second session.
E14-13
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
10.
Verify that the TPG tag is the TPG tag for the e0b_default TPG on the storage system.
11.
Click OK, which closes the iSCSI Initiator Properties dialog box.
In this task, you will log in to your assigned storage system and confirm an iSCSI session.
STEP ACTION
1.
How many sessions does the storage system have with your Windows machine? __________
2.
How many connections does each session have with your Windows machine ____________
In this task, you will install the NetApp Host Utility Kit for your Red Hat Linux system.
STEP ACTION
1.
2.
Copy the exercise files from their source location to a new working directory:
# cp /_files/ANCDA/* /tmp
3.
4.
5.
Change to the installation directory of the Host Utilities software and install the software:
# cd netapp_linux_host_utilities_5_0
# ./install
E14-14
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
6.
Example output:
NetApp Linux Host Utilities version 5.0
NOTE: In your /etc/profile file, in the PATH env variable, you should add
/opt/netapp/santools, for the Host Utilities tool. In the following steps you will be told to
change to this directory to run several of the tools. If you set your profile with this directory, you
can skip these steps.
7.
Example Output:
sanlun version 5.0.90.3515
TASK 10: INSTALL THE ISCSI SOFTWARE INITIATOR FOR RED HAT LINUX
In this task, you will install the iSCSI software initiator package on your Red Hat Linux system.
STEP ACTION
1.
2.
3.
TASK 11: CONFIGURE THE ISCSI SOFTWARE INITIATOR ON RED HAT LINUX
In this task, you determine the WWNN of your Red Hat Linux system, examine the iscsid.conf configuration
file, start the iSCSI daemon (service), configure Ethernet adapters to be used by the iSCSI initiator, assign
Ethernet interfaces for iSCSI usage, and configure and establish iSCSI target discovery and sessions.
STEP ACTION
1.
Record the WWNN for the Red Hat Linux machine on the Master Configuration Worksheet:
# cat /etc/iscsi/initiatorname.iscsi
E14-15
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
2.
Notice that you can use this file to configure Internet Storage Name Service (iSNS), Challenge
Handshake Authentication Protocol (CHAP), and iSCSI settings. For now, leave all of the
default values.
3.
4.
5.
Determine the current network interface card (NIC) configuration on your Red Hat Linux
system:
# ifconfig -a
Example output:
eth0
Link encap:Ethernet
inet addr:10.254.132.63
HWaddr 00:21:5E:6F:18:C4
Bcast:10.254.135.255
Mask:255.255.252.0
MTU:1500
Metric:1
Interrupt:106 Memory:c8000000-c8012100
6.
Example output:
iscsiadm: No interfaces found.
7.
8.
9.
Example output:
iface0 tcp,default,eth0
E14-16
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
10.
Navigate to the configuration files in which the iSCSI interface definitions are located:
# cd /var/lib/iscsi/ifaces
# ls -l
Example output:
total 16
-rw------- 1 root root 147 Sep 23 04:18 iface0
11.
Example output:
# BEGIN RECORD 2.0-868
iface.iscsi_ifacename = iface0
iface.net_ifacename = eth0
iface.hwaddress = default
iface.transport_name = tcp
# END RECORD
12.
Familiarize yourself with the iscsiadm tool, which you will use to configure and manage the
iSCSI initiator daemon.
To view syntax and options:
# iscsiadm -h
13.
In the command-line interface for your Red Hat Linux software, enter this command:
# iscsiadm -m discovery -t st -p XXX.XXX.XXX.XXX -I iface0
NOTE: The IP address should be the address of e0a for your assigned storage system.
Example output:
10.254.133.239:3260,1000 iqn.1992-08.com.netapp:sn.101201757
14.
From Red Hat Linux, list the nodes and portals discovered and their TPG number:
# iscsiadm -m node
Example output:
10.254.133.239:3260,1000 iqn.1992-08.com.netapp:sn.101201757
15.
Reveiw the detailed information for the target node and portal:
# iscsiadm -m node -T iqn_returned_from_last_step
16.
E14-17
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
17.
If you have an open command-line interface session, on the storage console, you will see this
output:
system> ... ISCSI: New session from initiator iqn.199405.com.redhat:6d9443554d at IP addr 10.254.132.63
20.
21.
In this task, you will confirm the existence of iSCSI session(s) established from your Red Hat Linux system.
STEP ACTION
1.
Determine if the iSCSI sessions that you saw on your Red Hat Linux system are also on your
storage system:
system> iscsi session show
Example output:
...
Session 38
Initiator Information
Initiator Name: iqn.1994-05.com.redhat:6d9443554d
ISID: 00:02:3d:01:00:00
Initiator Alias: dev05s2.development.netappu.com
How many sessions are there from your Red Hat Linux system? _________________
Does this match the number you saw on your Red Hat Linux system? ________
E14-18
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.
STEP ACTION
2.
E14-19
2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.