Professional Documents
Culture Documents
January 2017
Dell EMC believes the information in this document is accurate as of its publication date. The
information is subject to change without notice.
LAB EXERCISE 5: VIRTUAL FABRICS, WWNS, AND FIBRE CHANNEL LOGINS ........... 42
LAB 5: PART 1 – CONFIGURING VIRTUAL FABRICS USING THE B-SERIES CLI ...........................43
LAB 5: PART 2 – CONFIGURE MDS-SERIES VSAN USING CLI .............................................46
LAB 5: PART 3 – LOCATE AND RECORD INITIATOR WWN’S ................................................47
LAB 5: PART 4 – DISCOVER SWITCH NAME SERVER INFORMATION.......................................51
LAB 5: PART 5 – DECODE STORAGE PORT WWN .............................................................52
LAB 5: PART 6 – CREATE A DIAGRAM OF THE LAB ENVIRONMENT ........................................53
Pod # __________POD4_______
Step Action
1 You should receive instructions from your instructor on how to login to the
EMC Education Services VDC (Virtual Data Center). Write down the following
information from your instructor:
Password: ____________________________________________________
2 Using the user name and password assigned to you by your instructor for your
pod, login to the VDC. Sample screen shown below:
3 From the Windows management host for your pod, open PuTTY and start an
SSH session into your Pod’s B-Series switch.
The IP address, user name and password for your switch are found in the Lab
Configuration Guide.
4 Use the help command to view a list of CLI commands. Use the “| more”
option to display only one page at a time. Use the space bar to advance one
page.
# help | more
# help switchshow
# firmwareshow
# licenseshow
Which licenses are installed on your switch? ___Fabric License – Second Ports
on Demand – Enhanced Group Management l - 8 Giga licence - Full Ports on
demand licenses________________________
________________________________________________________________
# configshow | more
# configshow | grep defzone
_______________________________________________________________
______________________________________________________________
# ipaddrshow
____________________________________________________
9 Display port speed, trunking mode, state and other configuration for all the
ports in the switch.
# portcfgshow | more
What speed are the first four ports set to? _________AN (No
autonegotiation)__________________
______________________________________________________________
10 Use the following command to view the switch name, interop mode, domain ID
and other useful information.
# switchshow | more
Are there currently any devices logged into this switch? ______Yes__________
______________________________________________________________
# userconfig --show
When was the last time the password was changed for your user account?
_________________________________Viernes 6 de
julio______________________________
Does the password for this account have an expiration date? ___Nunca______
# fabricshow
# switchstatusshow
# exit
Note: We are running a specific version of Java that has been tested in our lab environment. If you
are prompted to upgrade to a later version for any of the lab exercises - do not upgrade Java!
Step Action
1 From your management Windows host, type your Pod’s B-Series switch IP
address in a browser and login using Web Tools. If asked, DO NOT UPGRADE
JAVA!
The username and password is the same as that used to login to your switch
using SSH.
2 On the Switch Events, Information pane, click the Switch Information tab.
Verify that the following match what you saw using CLI commands:
Fabric OS version
Domain ID
WWN
Role
4 When the Switch Administration window opens, click the License tab and verify
the installed licenses match what was displayed with the CLI.
Does this display tell you the last time the password was set for your user
account?
6 Analyze the switch status by clicking Status above the Switch View.
You should see the same status as was displayed using CLI commands.
You can also click on the Temp, Power, and Fan buttons to get additional
information.
If they are, persistently enable them. Next to apply change – No_Light results
9 Verify that the port type, speed, and status for the hosts and storage ports are
what you expect them to be.
Use the scroll bar, if necessary, to see all of the available columns.
Click on a few ports in the FC Ports Explorer pane and note the information
displayed.
10 Click on the Show Basic Mode button in the top right corner. Or if that button
isn’t there, click on the Show Advanced Mode button.
_______________________________________________________________
11 Close the Port Admin window and close Web Tools. Click Logout.
Step Action
1 From the VM Windows management host (POD 0x VM 01 WIN 02), locate the
CMCNE installation file. Open Windows Explorer and go to the following folder:
Local Disk (C:) software\Connectrix Manager and double-click on the CMCNE
installation executable program.
2 Use the default options and click next on each screen until the installation
completes.
3 On the Installation Complete screen, verify that CMCNE has been successfully
installed.
Click on Done.
4 Next you will see the CMCNE Configuration Tool. Respond to each screen as
shown below.
Welcome
Take a moment to look at all of the CMCNE configuration settings that you may
configure with this program.
Click Next.
This is a new installation, so select: No, don’t copy any data and settings.
Click Next.
Package
Click Next.
5 Installation Type
Select Next.
Server IP Configuration
Click Next
Server Configuration
Click Next.
Start Server
Password: password
7 CMCNE will come up displaying the dashboard. Since this is a new installation, no
products have been discovered. In the SAN Status window, click on Discover.
Click Add.
Click OK.
9 CMCNE should now discover your fabric. Close the Discover Fabrics window. You
should see your newly discovered fabric on the Discover Fabrics window. You may close
this window and return to the main CMCNE window.
Select the SAN tab. You should see your switch in the topology pane.
10 Take some time and get familiar with the menus available on the SAN tab.
Step Action
1 From your Windows management host, log into your Pod’s B-Series switch
through SSH.
# switchname pod#_switchmodel_switch#
# switchname
4 Verify the hosts and storage ports are logged in the switch.
# switchshow
# nsshow
5 Set the speed to automatic for all the host ports. Automatic speed is equal to 0.
Repeat this step for every host.
Use help to find a variation of this command to configure a range of ports. What
command did you use to configure a range of ports?
Note: The hosts’ port assignments can be found using the command above or in
the lab configuration guide.
# switchdisable
7 Set the switch domain ID to 1. Leave other parameters with their default values
pressing CTRL + D or pressing ENTER key to accept the defaults.
# configure
Configure...
CTRL + D
# switchenable
# switchshow |more
9 Upload the configuration to your FTP server listed in the lab configuration guide,
or ask your instructor for an available one (your Windows server is available as
an FTP server). Make sure the file uploads successfully.
# configupload
Step Action
1 From your Windows management host, type your Pod’s B-Series switch IP
address in a browser and login to Web Tools.
3 On the switch tab, select the Disable radio button under Switch Status.
4 Click Apply.
6 Under the Switch Name and Domain ID section, change the Domain ID to
something other than what it is currently set to. Domain ID = ____50______
8 Click Show Advanced Mode at the top right corner of the Window.
Note: If the button says Show Basic Mode, you are already in advanced mode.
Password: <password>
Note: The configuration file name must be the same as the uploaded in the last
lab.
13 When the config has downloaded successfully, click the Switch tab.
14 Click Refresh.
15 Make sure the domain ID has been reverted to the original domain ID.
20 From the Port Administration window, click the first storage port. The storage
port assignment can be found in the lab configuration guide.
22 From the port configuration wizard, click Next in the Specify Port Parameters
Step.
23 In the Specify FC Parameters set the speed to Auto and click Next.
27 Close the Port Management window and the Port Administration window.
30 Analyze the report. Close the report, the Switch Administration window and
Web Tools.
Step Action
1 From the Windows management host, open an SSH session to your Pod’s MDS-
Series switch.
2 Use admin as your user name and the password provided in the lab
configuration guide.
3 The initial prompt you are presented with after logging in is the exec mode
prompt. To see a listing of all of the exec mode commands, type a ? at the
prompt.
# ?
When you see -- More -- use the space bar to display the next page of
commands.
4 You can also find the options for a specific command. For example, to see all the
variations of the show command, type:
# show ?
6 To see the commands available at the config mode prompt, type a ? at the
prompt.
Example: Switch(config)# ?
# exit
____________________________________________
____________________________________________
____________________________________________
____________________________________________
____________________________________________
# show startup-config
Page down through the configuration. NX-OS also gives you the flexibility to
partially type in commands, and it will figure out the full command. For
example, for the previous command you can type:
# sh start
12 View a brief description of the port status where your hosts are connected.
# show module
# show user-account
# show environment
# exit
Step Action
2 From the Windows management host, locate the DCNM installation file. Open
Windows Explorer and go to the following folder: Local Disk (C:) software\Cisco
DCNM and double-click on the DCNM installation program.
3 Introduction
The introduction screen shows all the steps for installing DCNM. Click Next.
Read the information on the Installation Help screen, and then click Next.
Click Next.
6 Configuration Options
Click Next.
Password: passw0rd
Password: emc12345
Click Next.
10 Authentication Settings
11 Create Shortcut
12 Pre-Installation Summary
13 Installing DCNM
14 Install Complete
Notice that your desktop now has icons for both DCNM SAN Client and Cisco
Device Manager, as well as icons to start and stop the DCNM servers.
Click Done.
15 When exiting the installation program, the DCNM Server service should start.
This will take a few minutes. When the service starts, the service startup screen
will go away. Verify the DCNM services have started by going to Start >
Administrative Tools > Computer Management and expand Services and
Applications. Click on Services. Verify that the Cisco DCNM LAN Server and
Cisco DCNM SAN Server have started.
Step Action
1 If you haven’t already done so, connect to your Windows management host.
4 After you log into DCNM the Discover dialog opens. Enter the following
parameters:
Auth-Privacy: MD5
5 Click Discover. When you get the message that your fabric has been discovered,
click OK.
6 Control Panel
The switch should appear under the Open tab. Verify the switch user name on
the Client Username field and the password in the Client Password/Community
field. Click on the box to Select this switch, and then click Open.
8 From the Device Manager menu, click Admin > Licenses. Check the installed
licenses, their status and expiration date.
10 Verify the hosts’ HBAs and storage for your pod are logged into the name server
database.
12 Verify the Domain ID by clicking FC > Domain Manager. Notice the Domain ID is
set on a per VSAN basis.
14 Verify the running config by clicking Admin > Show Startup/Running Config.
15 From the Show Startup/Running Config window, set the following parameters:
TCP Timeout: 30
File Name: Select the Desktop and label the file: pod#_mds_initial_config.txt
16 Click Start.
18 On your Windows host, uncompress the configuration file (if needed) and open
it with Notepad. Analyze the file.
20 From Device Manager click Physical > System. Verify the switch name,
description, Switch WWN, and memory.
22 Right-click each host and storage ports and select Enable (if not already
enabled).
Note: If prompted to Save the Configuration click Yes. When the configuration is
saved successfully, click Close.
27 From DCNM expand Switches and then FC Interfaces in the Physical Attributes
pane.
28 Click Physical and verify the port configuration. Notice the configuration, speed,
operational status and, if present, the failure cause where your host and storage
ports are connected.
29 From the Physical Attributes pane, expand End Devices and click Hosts. Verify
the WWN, FCID, link status and HBA information available for the attached
hosts.
30 From the Physical Attributes section, click Storage and verify the type of
storage, PWWN, FCID and link status for your storage arrays.
31 Now move to the topology view and click the Refresh icon to refresh the map of
attached devices.
32
Click the layout map icon to change the topology view.
33 Close DCNM.
Step Action
1 From your Windows host, open an SSH session to the MDS-Series switch.
# config
#switchname <pod#-switchmodel-switch#>
# exit
# show switchname
6 Verify the ports where hosts and storage are attached by running the command:
7 Move to the interface sub-configuration mode. Configure all the host ports. The
host port assignment can be found from the command in step 6 or in the lab
configuration guide.
# config
# interface fc#/#, fc#/#, fc#/#, fc#/#
To verify which interfac you are configuring after the prompt changes to (config-
if), type: where
# no shutdown
# exit
11 Move to the interface sub-configuration mode. Select all the ISL ports between
MDS switches. The ISL port assignment can be found in the lab configuration
guide.
# shutdown
# exit
# exit
20 Upload the configuration to your FTP server listed in the lab configuration guide.
Step Action
1 From your Windows management host, open Data Center Network Manager -
DCNM.
3 From the Logical Domains pane, click your Fabric. This shows your switch in the
Information pane.
13 Select preferred.
14 Click Apply.
17 Restore the backed up configuration. Steps 18a to 18d show how to restore
using Device Manager; however, some versions of this GUI tool present a code
bug, preventing the restore. If during the execution of steps 18a-to-18d you
experience this issue, use steps 19a- to-19c as a workaround.
18b Now we will restore the backed up configuration. Set the following
parameters:
From: serverFile
To: runningConfig
Protocol: FTP
UserName: root
Note: The file name should be the same as the one used in the previous lab.
18d When the File transfer success message appears, close the Copy Configuration
window.
Note: If the transfer experiences a time-out verify the parameters and try
again.
19a From your Windows host, open an SSH session to the MDS-Series switch.
19b Download the configuration from your FTP server listed in the lab
configuration guide. The file name should be the name as the one used in the
previous lab.
# copy
ftp://<IPAddress>/<switchname>_yyyymmdd_config.txt
running-config
Enter username: <ftp username>
Password: <ftp password>
19c Verify the “Copy Complete” message appears and close the SSH session
21 Click the Configuration tab and verify the DomainId has been reverted to the
one configured in your last lab.
23 From the Physical Attributes pane of DCNM, expand Switches > FC Interfaces.
24 Click Physical.
25 Change the speed of all the storage ports in the Details pane by clicking Speed
Admin for the port, and selecting auto. The storage port assignment can be
found within:
End Devices > Storage section of the Physical Attributes pane (Switch Interface
column).
26 When you have finished configuring the ports, click the Apply Changes icon.
27 Close DCNM.
Step Action
1 From your Management host, open an SSH session to your Pod’s B-Series switch
and login.
# lscfg --show
8 How many switches are configured? What is special about switch 128?
# lscfg --create 5
# lscfg --show
# setcontext 5
# defzone –-noaccess
# cfgsave
15 Move all your Host and Storage ports to the new Logical Switch.
# lscfg –-config 5 –p #
# lscfg –-show
# switchshow
# portcfgpersistentenable #
Step Action
1 From the Windows management host, open an SSH session to your Pod’s MDS-
Series switch.
# config
# vsan database
5 Add all your hosts ports as well as storage ports to VSAN 5. Use your Lab
Configuration Diagram for port allocation information.
# end
#show vsan 5
8 Verify the host ports and storage ports were added to VSAN 5.
Use the following procedure to gather HBA WWN for this host. Record this information in the Lab
Configuration Diagram at the end of this section.
LINUX Host
Step Action
# uname -a
3 Verify the WWPN for both HBAs. (each HBA port has its own directory and files)
# cd /sys/class/fc_host
# ls
# cd host#
# cat port_name
# cat node_name
# cat port_id
- HBA2: 0x600040
- HBA1: 0x010100
# cat port_type
WINDOWS Host
Step Action
2 To gather OS version, click Start > Run. Then type the following command:
# winver
3 Open the Emulex OneCommand Manager from Start > All Programs > Emulex >
OC Manager.
5 Close OneCommand.
ESXi Host
Step Action
1 From your Windows management host, launch the VMware Infrastructure Client
and log into the ESXi server.
Note: If the VMware Infrastructure Client is not available, type the IP address of
your Pod’s ESX host on a browser, download and install the client.
2 From within the Configuration tab. Click Storage Adapters on the Hardware sub
menu and click the difference instances of HBAs. Notice the HBA model and
WWN.
B-SERIES SWITCHES
Step Action
1 Log into Web Tools by typing your Pod’s B-Series switch IP address from a
browser in your Windows management host.
3 Right-click a row in the name-server table. Then select default >Export Table.
4 Save the name server on your Windows host desktop. Name it:
<switch name>_nameserver.txt
5 Close the Name Server window and Log out of Web Tools.
MDS-SERIES SWITCHES
Step Action
1 Open Device Manager from your Pod’s Windows management server and log
into your MDS switch.
3 From the General tab, click the Export to file… icon (Save icon).
<switch name>_nameserver.txt
You need to have a Powerlink account for this lab; if you don’t have one, use the student resource
guide to manually decode the Storage Array WWNs.
Step Action
https://elabadvisor.emc.com
4 Copy the WWN for the storage array ports from your .txt file to the Decoder tool
and click Decode.
5 The output should provide the director and port and storage array model; copy
this information to your Lab Configuration Diagram found in Lab 5 Part 4.
6 Repeat Steps 4 and 5 for every storage array port that has logged into the name
server on either your MDS-Series or B-Series switch.
Linux Host
HBA1: IP Address
Domain ID:
FA P WWN
Windows Host
Host Name:
IP Address:
HBA1:
MDS-Series VNX
HBA2: Storage Name
Switch Name:
IP Address:
IP Address
Domain ID:
Serial Number
ESXi Host Port Number
Host Name:
IP Address:
SP P WWN
HBA1:
HBA2:
Step Action
1 If you closed your session, open an SSH session to your B-Series switch and login.
2 Log into logical switch with FID = 5 if you have not done so already.
# setcontext 5
3 Verify your hosts and storage devices have logged into this logical fabric by
checking the name server entries.
# nsshow
4 Zone the Windows host to the VNX ports. Use the following format for the zone
Note: Make sure to use the right WWN from your Lab Configuration Guide. To
avoid mistakes, copy and paste it from the name server database. Remember to
follow single initiator zoning.
5 Repeat Step 4 to zone the Windows host HBAs to all the VMAX ports in your
pod.
# zoneshow
7 Create a new zone config (zone set) for the switch. Add one of the zones created
in Step 4.
Note: Zone Config Name “b_series” will be required when performing Fabric
Configuration Lab
# cfgsave
You are about to save the Defined zoning configuration.
This action will only save the changes on Defined
configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined zoning configuration only?
(yes, y, no, n): [no] y
# cfgshow
14 Verify all the nodes included in the zones are logged in.
# zone --validate
Note: The zone member should not contain these characters next to them:
~ * #
15 Log off the switch. # exit
Step Action
1 From your management server, log into your Pod’s B-Series switch by typing its
IP Address on a browser.
2 Click Logical Switch drop down and select logical switch with FID = 5.
3 Click Zone Admin under the Manage section in the main GUI Window
Click New Zone. Use the following format for the zone name:
pod#_<hostname>_<hba####>_<storage array>_<port ####>
6 From the Member Selection List expand WWNs and select the WWNs which will
be added to the newly created zone.
Note: The devices shown are represented by their Node WWN. Expand the
device which you want to zone and select its Port WWN.
9 Click on the Name drop down and select the zone config created in the last lab
exercise (b_series).
10 Expand the Zone folder and select the ESX server zones.
12 When the zones are in the Zone Config, click Save Config.
15 A window pops up asking you to select a config. Select the recently created
config (b_series) from the drop-down and click OK.
17 Make sure the changes are committed successfully. Close the Zone
Administration window and Web Tools.
Step Action
6 Click OK
7 An “Undiscovered Seed Switch” window pops up. Select your logical switch 5 as
your seed switch. Click OK.
9 On the left hand side, expand the fabric to verify the switch is discovered.
10
Click the Zoning icon.
14 We will create a zone between your Linux host and VMAX storage:
16 In the Potential Members area, select the WWN corresponding to the host in
17 Select the WWN corresponding to the VMAX array port in the zone and click the
18 Repeat Steps 14 to 17 until you have zoned all your hosts to all the VMAX ports.
19 Under Zone Configurations, click on the active config. The active config is
identified by the green mark.
20
Select all your new zones and click the Add Zone icon .
27 Close CMCNE.
Step Action
1 If you closed the SSH session, open an SSH session to your MDS-Series switch.
2 Check the hosts and storage are logged in the name server.
# config
4 Zone the Windows and ESXi hosts to all the storage ports (VNX and VMAX).
Make a different zone for every initiator. Use the following format for the zone
name:
Note: To avoid mistyping, copy the member WWN from the name server output.
6 Repeat Steps 4 and 5 until all the Windows and ESXi HBAs are zoned to all the
storage ports.
# end
# config
12 Repeat Step 11 for all the zones you created in steps 4-6.
# end
# config
Step Action
1 From your Windows management host, open Data Center Network Manager
DCNM and select your MDS-Series switch.
3 Right-click Host-to-Storage (VSAN 5) and select Edit Local Full Zone Database.
4 From the Edit Local Full Zone Database window, click Zones, then click the
insert icon:
5 We will zone the Linux host ports with all the VMAX ports. Remember to use
single initiator zoning.
Make sure all the checkboxes are unchecked and click OK.
6 Expand the Zones folder and click on the recently created Zone. Select the host
and storage port for the zone and click Add to Zone.
7 Expand ZoneSets and select the zoneset created in the last lab exercise step 10.
(mds_config) then click the insert icon:
8 Repeat the above steps until all previously unzoned host initiators are zoned to
see all storage (both VNX and VMAX)
9 The Select Zone window pops up. Select all the zones you created and click Add.
11 Click Yes to review the differences and verify the zones you created are included
in this report. Click Close when finished.
14 Verify the activation is successful; close the Edit Local Full Zone Database
window.
15 Close DCNM.
Note: Prior to beginning this lab exercise, all zoning must be complete and
active/enabled from the previous lab. If your zoning is not complete, finish that before
beginning this lab exercise.
Step Action
1 From your Windows management station, log into your local VNX Array through
EMC Unisphere. To do this, open a browser and enter http://<SP-A IP address>
in the address bar.
Note: You may be asked to download and install Java. If so, proceed with the
download and install, before continuing. (You can treat the site as a trusted site.)
2 Log in to EMC Unisphere using the username and password provided by the Lab
Configuration guide. Otherwise, ask your instructor.
Login: xxxxxx
Password: xxxxxxx
Scope: global
3 Select your local VNX array from the All Systems drop down list.
5 From the menu on the right, under System Management, select System
Properties.
6 Select the Software tab and verify the following packages are active:
VNX-Block-Operating-Environment
UnisphereBlock
Unisphere
8 Create a new Storage Pool. To do so, click the Storage big button.
10 Select the Pools tab and click Create to create a storage pool.
Performance
RAID Configuration RAID 1/0 (Number of SAS Disks: 2)
Capacity
RAID Configuration Number of NL SAS Disks: 0
Note: Refer to the Lab Configuration guide to check what disks can be selected. If this
information is not available, ask your instructor what disks can be chosen.
12 Click Apply.
14 If prompted with a warning about not following best practices, click Yes to
continue. Monitor the Creation Progress.
Note: You can also check the Storage Pool properties by clicking Properties.
19 Now create LUNs from your Storage Pool. Click Storage on the main menu bar
again.
20
21 Within the LUNs section, select the LUNs tab to create and manage LUNs.
User Capacity 2 GB
24 Click Apply.
25 Click Yes to confirm that you want to initiate a Create LUN Operation.
26 Monitor the LUN Creation Progress. Verify that LUN creation was successful.
Write down the LUN ID for your LUNs:
_________________________ ________________________
_________________________ ________________________
_________________________ ________________________
28 Now you need to create a Storage Group. To do this, click Hosts on the main
menu bar.
31 Label the Storage Group POD#WindowsSG where “#” is your pod number and
click OK to continue.
33 When asked if you want to add LUNs or connect hosts, select Yes.
34 From the storage group properties window, select the LUN tab.
35 In the Available LUNs pane expand each SP to view the LUNs that are available.
36 Click on the lowest number LUN listed on step 26 and then Add.
39 Click the arrow pointing to the right to move the host into the Hosts to be
Connected pane.
40 Click OK.
Note: If you get an error saying the initiator is not registered, perform actions
in step 41a, otherwise move on to step 42.
Find your host HBA WWN. The Registered column will say No if it is not
registered. Click on the initiator and then click Register. Fill in the following
information:
Click OK, Click Yes to continue. Click OK for success and OK for manually
registered.
Repeat the above steps for your other unregistered host initiators.
Return to Host > Storage Groups, and select the storage group you just created
and click Connect Hosts. Then complete steps 37-41 above.
42 Click OK.
43 To verify the storage group, click on your recently created Storage Group.
44 In the Details view below, click through the Hosts tab and verify your Host was
added.
45 Next click the LUNs tab and verify your LUN was added.
46 Repeat steps 30 to 45 for the ESX server and your Linux hosts. Label your
Storage Groups as follows:
Pod#ESXSG
Pod#LinuxSG
Step Action
User: smc
Password: smc
3 Click your local VMAX. If there are multiple arrays, click on the VMAX assigned to
you.
Note: Alternatively, you can click on the storage icon that appears under the
EMC Unisphere for VMAX title, and then select your VMAX from the list.
4 Hold your mouse over the System tab on the main menu, and then click on
System Dashboard.
5 Click on Symmetrix Details. Observe the VMAX Model number and microcode
version.
6 Click Hosts > Initiators. Notice the host’s HBAs that are zoned and logged into
the array. There are several student hosts connected to this array. Find the
WWNs for the initiators that are logged in from your Windows, Linux, and ESXi
hosts.
7 Click System > Dashboard. In the Hardware section click Front End Directors.
Verify the number of Front-End Directors, and their state.
8 Since the storage array installed in the lab setup is a VMAX100K, virtual
provisioning (TDEV or Thin devices) must be used.
9 Click Storage > Volumes. Find TDEV volumes that are equal to 4 GBs. Select
TDEV for volume configuration, with capacity equal to 4 GB. Then click on Find.
Note: Volumes that are not provisioned to any host have zero host paths.
10 Verify that there are many 4 GB volumes available to provision to the host in this
class.
12 Identify the Windows, Linux and ESXi HBAs, and what ports they belong to.
The naming scheme for each host is shown below. Use these names when
provisioning storage to your host.
14 Start with the Windows host. Identify the host name from the table above.
16 Click Add.
17 Under Add to Job List, select the drop down and click Run Now.
19 Now create a storage group with the device(s) associated to your Windows host.
20 Select Storage and under Common Tasks, select Provision Storage to Host.
21 We will start with Windows. Create a storage group with the following
parameters:
22 Select Next.
Note that if you had not previously created a host, you have the option to do it
here by selecting Create Host.
24 Under select Port Group leave the default selections and click Next.
25 Rename the masking view to the name stated in the table above.
26 Select the Add to Job List dropdown and click Run Now.
31 Verify your masking view is configured successfully. You can also see which
VMAX volume was assigned to your host.
23 Close UNIVMAX
Step Action
3 Select all the available switches and add to the selected switches.
6 Now we will prepare logical switch FID 5 for a merger. Click on your virtual
switch to select it.
7 Navigate to: Configure > Virtual Fabric > Logical Switches
9 Make sure the following values are configured in the Fabric tab:
10 Make sure the following values are configured in the Switch tab:
Name: pod#_host_storage
Preferred Domain ID*: <pod#>5
Insistent Domain ID: checked
*Note: For example, if you are pod 1, your domain ID will be 15 (decimal).
Step Action
1 Now we will configure the base switch for ISL connectivity. If you logged out of
CMCNE, log in again.
2 Select your chassis and click Configure > Virtual Fabric > Logical Switches.
6 From the Ports list, select the port(s) connected to your peer pod’s B-Series
switch and add them to the base switch you created. Click the Add icon .
7 Expand your new fabric and select the logical switch, then click Edit.
9 Now set the following parameters in your logical switch’s switch tab:
Name: pod#_fabric_connectivity
Preferred Domain ID*: <pod#>6
Insistent Domain ID: Checked
*Note: For example, if you are pod 1, your domain ID will be 16.
11 When the confirmation and status window opens, uncheck the Re-Enable ports
after moving them.
12 Click Start.
15 Now rediscover the newly created fabric. Click Discover > Fabrics.
20 Now enable the port containing the ISL. To do this, right-click the fabric
connectivity logical switch 10, then select Element Manager > Ports.
24 Wait for your peer pod to enable their ports, when they do so, verify the fabric
merger.
25 Open a SSH session to the B-Series switch and login into the logical switch with
FID = 10
# setcontext 10
26 Verify the XISL has been established and base switches have merged
# fabricshow
# switchshow
______________________________________________________________
Note: If your base switch has not merged yet, verify with your peer pod that all
the steps have been completed successfully on both pods.
27 If you have a fabric segmentation issue due to a zoning problem, perform the
following steps:
Do not continue to next step until your base switches have merged.
28 Now login into the logical switch with FID = 5 and verify the logical switches
have also merged.
# setcontext 5
# switchshow
What is the role of your logical switch in the fabric, principal or subordinate?
______________________________________________________________
Note: If your logical switches have not merged yet, verify with your peer pod
that all the steps have been completed successfully on both pods. With
switchshow command you can determine the merger failure.
Step Action
1 From your Pod’s Windows host, log in to Data Center Network Manager
(DCNM-SAN).
3 Backup the existing configuration. Steps 4a to 4d show how to copy using Device
Manager; however, some versions of this GUI tool present a code bug,
preventing the copy. If during the execution of steps 4a-to-4d you experience
this issue, use steps 5a- to-5c as a workaround.
Follow steps 4a-to-4d to copy a configuration using Device Manager
From: runningConfig
To: serverFile
ServerAddress: FTP Server in the lab configuration guide
FileName: <switchname>_yyyymmdd_config.txt
Protocol: ftp
Username:<FTP Username>
UserPassword: <FTP Password>
4c Click Apply.
This is a workaround to copy the configuration using CLI. Go through steps 5a-
to-5c only in case the steps 3a-to-3d did not work.
5a From your Windows host open an SSH session to the MDS-Series switch.
5b Upload the configuration to your FTP server listed in the lab configuration
guide. The file name should be the name as the one used in the previous lab.
# copy running-config
ftp://<IPAddress>/<switchname>_yyyymmdd_config.txt
Enter username: <ftp username>
Password: <ftp password>
5c Verify the “Copy Complete” message appears and close the SSH session
6 Now we will verify the VSAN values, from Device Manager click:
FC > Advanced > VSAN Timers
R_A_TOV: 10000
E_D_TOV: 2000
Step Action
VSAN Id: 10
Name: isl_connectivity
Static Domain Ids*: Checked
Static Domain Ids*: pod# 7(Click Apply)
6 Click Physical.
8 Set the following parameters for your ISLs in the General tab:
Mode Admin: E
Port VSAN: 10
Speed Admin: 4 Gb
Rate Mode: Dedicated
Status: down
10 If you are presented with the warning: Changing the Port VSAN may affect I/O.
Continue? Click Yes.
12 Set the following parameters for the port(s) ISL to your peer’s MDS-Series
switch.
Admin: Trunk
Allowed VSANs:5,10
14 Go back to the General tab and set Status Admin to “up” for the port(s) ISL to
your peer’s MDS-Series switch.
15 Click Apply.
16 Wait for your peer pod to enable their ports, when they do so, verify the fabric
merger. The topology view should show the two switches ISL together.
Step Action
1 We will configure FCIP in the MDS-Series switch. If you logged out of DCNM-
SAN, log in again.
2
Click the FCIP wizard in the toolbar:
3 Select both your Pod’s switches from the drop down lists and click Next.
4 Select your gigE port(s) used for FCIP for both switches and click Next. The gigE
ports to use are specified in your documentation.
5 Set the IP address specified in your documentation for your gigE port(s) for both
switches. Click Next to continue.
6 Set the following parameters for the tunnel properties and click Next:
Now from the physical attributes pane navigate to Switches > FC Interfaces >
Physical.
Disable the fibre channel ISL ports connecting the switches together by setting
Status Admin to “down”.
Step Action
1 From your Pod’s management server, log into your local VNX Array through EMC
Unisphere.
2 Select your local VNX array from the All Systems drop down list.
4 From the Port Management window, click your assigned iSCSI port and click
Properties.
5 If there is already a virtual port defined in the Virtual Port Properties section,
select it and then click Properties to verify the IP address, Gateway and Subnet
(as described in steps 6 and 7 below). Otherwise Click Add in the Virtual Port
Properties section.
8 When the virtual port is created, click OK to close the iSCSI Port Properties
window and OK to close the Port Management window.
Step Action
# rpm –q iscsi-initiator-utils
# ifconfig
# cat /etc/iscsi/initiatorname.iscsi
# vi /etc/iscsi/iscsid.conf
node.startup = automatic
node.session.iscsi.InitialR2T = Yes
node.session.iscsi.ImmediateData = No
node.session.timeo.replacement_timeout = 60
# chkconfig iscsid on
# chkconfig iscsi on
7 Verify iSCSI service has started correctly by looking at the messages file.
# tail –f /var/log/messages
Step Action
1 If you closed the session to the Linux host, telnet back into your Linux host.
Note: The –t option specifies what type of discovery is executed. In our case we
are using send targets.
2 Verify discovery has been successful. The following command should output the
IP address of the target.
# iscsiadm -m discovery
3 Now we need to log into our target. To do this we must find the target IQN. Run
the following command to find this information.
# iscsiadm -m node
4 Use the target IQN gathered in the last step, together with the target IP address,
to log in. The target IP address is the IP Address of your Storage iSCSI Port.
5 When the command above is executed, make sure the output is successful. To
verify the target is logged in run the command below. This will also show all the
configuration parameters for the connection.
Normally you would proceed to mount discovered iSCSI drives after this step.
That is beyond the scope of this course. We simply want to verify that we have
communication between iSCSI host and target.
Step Action
1 Before beginning this lab, verify port 1 on your B-Series switch is persistently
disabled. This is the port that is connected to the MDS-Series switch.
2 Login to the Windows host you have been using as your management station,
open Web Tools and login to theDS-5100B switch for your pod.
Once logged into your switch, click on the Name Server link and record which
physical ports on the switch have host HBAs logged in.
3 Close the Name server window and click on the Web Tools Switch Admin link.
On the Switch tab, go to the box that says Access Gateway Mode, click Enable,
and then click Apply.
You may have to disable virtual fabrics first. Do that through CLI commands:
Move all ports into the default switch: lscfg --config 128 –p 2-10
4 Read the warning in the Switch: Confirm Action dialog. Note that changing to
Access Gateway mode will wipe out any existing configuration and reboot the
switch. If you have previous labs that you have not completed, you should save
your existing configuration before proceeding.
(Note that you will lose communication with the switch until the reboot is
completed. You will need to close Web Tools and re-open it when the switch
finishes rebooting.)
5 Using Web Tools, log back into your switch. Under switch events, click on the
tab for Access Gateway Information. Verify that the mode is set to Access
Gateway Mode.
What happened to all of the switch ports when you put the switch into Access
Gateway mode?
______________________________________________________________
______________________________________________________________
On the Web Tools main screen, click Access Gateway Devices. If you scroll all
the way to the right on this window, you can see the existing port mappings for
your switch. By default, groups of four U-Ports are mapped to each N Port.
Review your ports from step 2 above. Which N Ports are they mapped to?
______________________________________________________________
______________________________________________________________
6 Look at the Tasks pane in Web Tools. Why were the management links for Zone
Admin and the Name Server removed?
______________________________________________________________
______________________________________________________________
switchshow
______________________________________________________________
ag --mapshow
Ports 0 – 3 _______________
Ports 4 – 7 _______________
9 Type: portcfgnport.
______________________________________________________________
______________________________________________________________
10 To change port 1 to an N_Port, you must first delete it from its N_Port mapping:
ag --mapdel 32 “1”
ag --mapshow
portcfgnport 1 1
portcfgnport
ag --mapshow
Step Action
1 To check or modify the default mapping, login to your B-Series switch through
SSH.
Note: Normally the mapping step is not needed with a new installation. You
simply plug cables between the default N Ports on the AG switches and the NPIV
switch ports. Then you plug your host into the ports that are mapped by default
to each N Port. On blade servers, the processor blades are connected to the
blade switch through the back plane, and you don’t have to do any cabling.
ag --mapdel 32 "2;3"
ag --mapdel 33 "4;5;6;7"
ag --mapshow
Verify that F_Ports have been removed from N_Ports 32 and 33.
From the Web Tools main screen, click on the Port Admin link.
ag --mapadd 1 "2;3;4;5;6;7"
ag --mapshow
Verify
4 Create a new port group with Port Group ID = 1; named podx (where x is your
pod number) and add N_Port 1 to the group:
ag --mapshow
Verify that you have successfully mapped your host F-Ports to the N-Port that
connects to your MDS switch.
5 Leave Web Tools open, you will need it for the next part of the lab.
Step Action
____________________________ _____________________________
____________________________ _____________________________
____________________________ _____________________________
____________________________ _____________________________
3 On the Device Manager menu bar, click on Admin > Feature Control.
Enable the NPIV feature. Do this by clicking in the action column on the entry
next to NPIV. From the drop-down list, choose enable.
4 Using Device Manager, enable port fc1/1. To do this, right-click on the port and
choose enable.
5 Using Web Tools, enable your N-Port (port 1) on your B-Series switch. To do this,
right click on the port and select Configure > Persistent Enable.
_____________________________________________________________
_____________________________________________________________
(the N-Port and several of its mapped F-Ports should come online and show
green on Web Tools)
6 Using Device Manager, look at the name server information again. What has
changed?
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
(You should see the host attached to the B-Series switch logged in now. Each of
them should be logged in on fc1/1)
7 If time allows, you now have the option of creating zones for your host HBAs
attached to your B-Series switch, and testing the host-to-storage connection.
Why? _______________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
8 When using Access Gateway mode on the B-Series switch, does a fabric form
with other switches? Why or Why not?
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________
_____________________________________________________________