Hilda 16Gb FC Training LAB 1.1

QLogic Hilda 16Gb FC Training LAB
QCC GUI Tour
In the lab you will learn
 The QCC GUI tabs provided to support the 16Gb FC HBA adapter.
1. On the desktop of your Lab Server you will find the following icons:
a. Computer
b. QCC GUI
c. Putty
d. Internet Explorer
2. Double Click the QCC GUI icon
3. When the QCC GUI browser opens, in the upper left hand corner you will see the following:
Note that the QCC GUI is set to only display FC/FCoE, this correct for this lab.
4. Click the CONNECT button.
a. This will select the localhost which will appear in the left hand hierarchy pane in the
QCC GUI
5. Highlight the localhost and observe the available tabs on the right
a.
The Information tab displays Host Attributes Names & Values, and Function Summary
i. Note the number of FC Functions:
b. The Security tab provides a means to set a password for accessing the HBA.
(DO NOT set password!)
c. The Topology tab displays a topological map of the HBA, its ports and connections
d. The Statistics tab provides a mechanism to capture running statistics into a file
6. Next highlight the adapter in the hierarchy pane and observe the available tabs on the right
1
QLogic Hilda 16Gb FC Training LAB
7. Select each tab and observe its content.
a. Note the Current Active Personality
8. Now expand the adapter level of the hierarchy
a. You should see some like the following:
9. Select Port 1 in the hierarchy, this is the N_Port, now observe the tabs on the right
10. Select each of the tabs an explore their content
MAKE NO CHANGES IN THE Virtual tab!!
11. Next select one of the virtual ports in the hierarchy, this is a vPort, now observe the tabs to the
right
12. Select each of the tabs an explore their content
This concludes the QCC GUI Tour
NPIV
In the lab you will learn
 How to use the QCC GUI to generate an NPIV vPort
1. In the hierarchy pane again select Port 1:
2. Now select the Virtual tab
a. The Virtual tab is divided into two major sections:
i. On the left is the Create New Virtual Port section
ii. On the right is the Delete Virtual Ports
3. The Create New Virtual Port section has three buttons
a. Update at the top right side
i. This button bring up WWN windows to equal to the number in Number of Ports
to create.
b. Generate at the bottom left
i. This button generates a new series of random numbers in the WWN
configurations windows
2
QLogic Hilda 16Gb FC Training LAB
4.
5.
6.
7.
8.
9.
10.
c. Create at the bottom right
i. This button commits to the generation of a new Virtual Port with WWN
The Create New Virtual Port section also has two labeled windows
a. Number of vPorts to create:
b. Generated WWNs:
In the Number of vPorts to create select the incrementer in the window and increment the
counter to 2 or 3.
Then select the Update button
You will now see that the Generated WWNs: window now displays an equal number of WWN
windows.
Now set the Number of vPorts to create back to 1 and again click Update.
The number of Generated WWNs will now again be 1
Notice that in the Generated WWNs window set the values are greyed out in all except the
second from the left cell
11. This cell is settable by the user. All other parts of the WWN are derived from the HBA’s MAC
address and are not settable.
12. Now set this window with the number WWN Setting given to you on your Lab Station’s LAB
Sheet.
13. Now click the Create button to commit the vPort
14. You will now be required to Enter a Password (config)
15. You will now see in the Delete Virtual Ports a new Virtual Port entry appear.
3
QLogic Hilda 16Gb FC Training LAB
16. You should also be offered an opportunity to refresh the browser. Select OK
17. When you should see an additional Virtual Port in the Hierarchy
This concludes this Lab.
Validating a vPort on an FC Switch
In the lab you will learn
 How to login to an FC Switch
 Utilize the Name Server to determine if a vPort is visible to the switch
 Look at the switch’s Zoning configuration to determine if a vport is Zoned
1. Open a browser from your Lab Station’s desktop
2. Type in the IP address 172.29.40.156
3. Use the User Name “training” and the Password 16GbFCHBA
4. You will be given a security warning. Select No!
5. Now you will be required to Login to the Fabric
User Name: “training” Password: 16GbFCHBA
6. You will now get a Non-Secure connection check. Select Yes
4
QLogic Hilda 16Gb FC Training LAB
7. Ignore the Password change required box and select OK.
8. You will now be in the Switch GUI. If it is not already selected , select the Devices Tab.
9. The Devices tab displays the contents of the Name Server.
a. Look in the Port WWN column for the WWN number that your vPort was assigned by
QCC.
b. Note that it is listed as an Initiator
10. Now we will look at the Zoning of your vPorts.
11. Select the Active Zoneset tab.
12. You will see a graphical list of Zones. You will see three zones with the number designation of
your Lab Station.
a. Your numeric designation is the last number of the station’s IP address
b. Example Lab Station 172.29.28.135 has a designator of 135
c. The Zones foe 135 will be lab_135, lab_135_1, and lab_135_2
13. The zone in which your vPort should be is the third zone, the one ending with _2.
14. In the zone you will see two WWNs
a. One WWN is for your vPort at the Initiator HBA and the other is the WWN of the LUN in
the Target. Note the LUN’s WWN.
This concludes this Lab.
Observing the Target LUN in a QLogic 16Gb FC Target
In the lab you will learn
 How to login to a QLogic FC Reference Target.
 How to extract configuration information about a target LUN
1. On the desktop of your Lab Server you click the putty icon
2. Use the IP address 172.29.40.50
3. Use the User Name “training” and the password is 16GbFCHBA
4. Change directory to /usr/home/appsmv/driver/qlfcfcoe
cd /usr/home/appsmv/driver
5. Type in the command
./qlfcfcoe /dev/qlfcfcoe0 –g | grep <the last number in the LUN’s WWN>
Example:
./qlfcfcoe /dev/qlfcfcoe0 –g | grep 48
You will see a line in the response such as:
vp_db[4].port_name = 21:00:00:0e:1e:08:89:48
Note the numeral in the square brackets. This is your LUN index number
6. Now we will use this index to get the info on your LUN
5
QLogic Hilda 16Gb FC Training LAB
Type in:
./qlfcfcoe /dev/qlfcfcoe0 –g <LUN Index number>
You will see something like:
[training@pcbsd /usr/home/appsmv/driver]$ ./qlfcfcoe /dev/qlfcfcoe0 -g 4
qlfcfcoe: [/dev/qlfcfcoe0] QLA_IOCTL_GET_VP_DB_ENTRY success
vp_db[4].vp_status = 0x0307
vp_db[4].options = 0x40
vp_db[4].flags = 0x00
vp_db[4].port_name = 21:00:00:0e:1e:08:89:48
vp_db[4].node_name = 20:00:00:0e:1e:08:89:40
vp_db[4].port_id = 0x00010408
This concludes this Lab.
Configuring a VM to use vPort
In the lab you will learn
 How to add a SCSI Controller and hard drive to a VM
 How to determine if the VM’s guest OS sees the vPort accessible target
 How to configure the VM’s guest OS to use the vPort accessed target
1. On the desktop of your Lab Server right click the Computer icon and select Manage.
a. This brings up the Server Manager
2. In the Server Manager expand out the Roles item and select the Hyper-Visor
3. In the Hyper-Visor you will see two VMs one Running and the other Off
a. Right click the Running VM and select Settings from the pull down menu.
4. This will bring up the Setting for VM<###_1 window for the first VM.
a. In the configuration window look in the left pane and find the entry for SCSI Controller
and below it the Hard Disk
b. Note the Physical drive associated with the Running VM<###>_1.
5. Now close the VM<###>_1 Settings window
6. Next right click the Off VM VM<###>_2 and select Settings
7. In the Settings window for VM<###>_2 high light the SCSI Controller entry in the middle pane
and click the Add button
8. This will immediately bring up a Hard Drive selection click the Add button again for the Hard
Drive.
9. In the next window that appears select the radio button “Physical hard disk”
10. This high lights the Physical hard disk pull down menu.
a. Select the other hard disk, the one not connected to the first VM and click the OK
button.
6
QLogic Hilda 16Gb FC Training LAB
11. Now in the Virtual machines window right click the Off VM (VM<###>_2) and select Start from
the pull down menu.
12. When the VM starts you can either Remote login to the VM or use the monitor at the bottom of
the Hyper-Visor’s middle pane.
13. If you use the monitor, click the monitor window which expands the monitor.
14. In the upper left corner of the expanded monitor is the Action selection, left click Action and
select Ctrl+Alt+Delete
15. Now login to the Guest OS with the Password: 16GbFC
16. In the guest OS you will see the Computer icon on the Desktop
a. Right click the Computer icon and select Manage.
17. In the Server Manager expand the Diagnostics entry in the right pane.
a. Under Diagnostics select Device Manager
18. Now in the middle pane expand Disk drives
a. You should see a QLogic FC entry
19. Now in the left pane expand Storage and select Disk Management below it.
20. In the Disk Management window you will see something like below:
a. This is the 16GbFC attached hard disk
21. In the left section of the Disk right click and select Online from the menu
22. In the left section of the Disk right click and select Initialize Disk from the menu
23. In the Initialize Disk popup window click the OK button
24. Now right click the right side of the Disk
a. It will transition to diagonal stripes and display a menu, select New Simple Volume from
the menu.
25. This bring up the New Simple Volume Wizard
7
QLogic Hilda 16Gb FC Training LAB
a. Follow the wizard selecting all the defaults.
b. Your Disk should now look something like this.
26.
27.
28.
29.
30.
Now shrink the Server Manager window and left click the Computericon on the Desktop
You will now see your New Volume disk available for use.
Now open a Word pad file and type into it some text. Save the file into your New Volume.
Now if you click the New Volume in the Computer window, you will see your file.
Open your file and verify that the test you wrote is there.
This concludes this Lab.
8