Target Storage Device Requiring LUN Mapping Example
This example scenario 2 assumes the following configuration:
Detailed Steps
To configure this example, follow these steps:
- Configure null authentication for all iSCSI hosts.
- Configure iSCSI to dynamically import all Fibre Channel targets into the iSCSI SAN using auto-generated iSCSI target names.
- Configure the Gigabit Ethernet interface in slot 7 port 1 with an IPv4 address and enable the interface.
- In Cisco DCNM-SAN, choose Switches > Interfaces > Gigabit Ethernet in the Physical Attributes pane.
- Select the IP Address tab in the Information pane and click Create Row.
- Set the IP address and subnet mask for the Gigabit Ethernet interface in slot 7 port 1.
- Click Create.
- Click the General tab and select up from the Admin drop-down menu for the Gigabit Ethernet interface in slot 7 port 1.
- Click the Apply Changes icon.
- Configure the iSCSI interface in slot 7 port 1 to identify all dynamic iSCSI initiators by their IP address and enable the interface.
- In Cisco DCNM-SAN, choose Switches > Interfaces > FC Logical in the Physical Attributes pane.
- Select the iSCSI tab in the Information pane.
- Select ipaddress from the Initiator ID Mode drop-down menu and click the Apply Changes icon.
- In Device Manager, choose Interfaces > Ethernet and iSCSI.
- Click the iSCSI tab.
- Select up from the Admin drop-down menu for the iSCSI interface in slot 7 port 1.
- Click Apply.
- Configure the Gigabit Ethernet interface in slot 7 port 5 with the IPv4 address and enable the interface.
- In Cisco DCNM-SAN, choose Switches > Interfaces > Gigabit Ethernet in the Physical Attributes pane.
- Click the IP Address tab in the Information pane and click Create Row.
- Set the IP address and subnet mask for the Gigabit Ethernet interface in slot 7 port 5.
- Click Create.
- Select the General tab and select up from the Admin drop-down menu for the Gigabit Ethernet interface in slot 7 port 5.
- Click the Apply Changes icon.
- Configure the iSCSI interface in slot 7 port 5 to identify all dynamic iSCSI initiators by IP address and enable the interface.
- In Cisco DCNM-SAN, choose Switches > Interfaces > FC Logical in the Physical Attributes pane.
- Click the iSCSI tab in the Information pane.
- Select ipaddress from the Initiator ID Mode drop-down menu and click the Apply Changes icon.
- In Device Manager, choose Interfaces > Ethernet and iSCSI.
- Click the iSCSI tab.
- Select up from the Admin drop-down menu for the iSCSI interface in slot 7 port 5.
- Click Apply.
- Configure for static pWWN and nWWN for host 1.
- Configure for static pWWN for Host 2.
- View the configured WWNs.
Note The WWNs are assigned by the system. The initiators are members of different VSANs.
- Create a zone for Host 1 and the iSCSI target in VSAN 1.
Note Use the IP address of the host in zone membership configuration because the iSCSI interface is configured to identify all hosts based on IP address.
- In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database.
- Select VSAN 1 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.
- Select the Zones folder in the left navigation pane and click Insert.
- Set the Zone Name field to iscsi-zone-1 and click OK.
- Select the iscsi-zone-1 folder in the left navigation pane and click Insert.
- Set the ZoneBy radio button to WWN.
- Set the Port WWN to the pWWN for the Fibre Channel target (that is, 21:00:00:20:37:6f:fd:97). and click Add.
- Set the ZoneBy radio button to iSCSI IP Address/Subnet.
- Set the IP Address/Mask field to the IP Address for Host 1 iSCSI initiator (10.11.1.10) and click Add.
Note Fibre Channel storage for zone membership for the iSCSI initiator, either the iSCSI symbolic node name or the pWWN, can be used. In this case, the pWWN is persistent.
- Create a zone set in VSAN 1 and activate it.
- In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database.
- Select VSAN 1 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.
- Select the Zoneset folder in the left navigation pane and click Insert.
- Set the Zoneset Name to zonset-iscsi-1 and click OK.
- Click on the zoneset-iscsi-1 folder and click Insert.
- Set the Zone Name field to iscsi-zone-1 and click OK.
- Click Activate to activate the new zone set.
- Click Continue Activation to finish the activation.
- Create a zone with host 2 and two Fibre Channel targets.
Note If the host is in VSAN 2, the Fibre Channel targets and zone must also be in VSAN 2.
Note iSCSI interface is configured to identify all hosts based on node name.
- In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database.
- Select VSAN 2 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.
- Select the Zones folder in the left navigation pane and click Insert.
- Set the Zone Name field to iscsi-zone-2 and click OK.
- Select the iscsi-zone-2 folder in the left navigation pane and click Insert.
- Set the ZoneBy radio button toWWN.
- Set the Port WWN to the pWWN for one of the Fibre Channel targets (for example, 21:00:00:20:37:6f:fe:5) and click Add.
- Set the Port WWN to the pWWN for another of the Fibre Channel targets (for example, 21:00:00:20:37:a6:a6:5d) and click Add.
- Set the ZoneBy radio button to iSCSI IP Address/Subnet.
- Set the IP Address/Mask field to the IP Address for Host 2 iSCSI initiator (10.15.1.11) and click Add.
- Create a zone set in VSAN 2 and activate it.
- In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database.
- Select VSAN 2 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.
- Select the Zoneset folder in the left navigation pane and click Insert.
- Set the Zoneset Name to zonset-iscsi-2 and click OK.
- Click on the zoneset-iscsi-2 folder and click Insert.
- Set the Zone Name field to iscsi-zone-2 and click OK.
- Click Activate to activate the new zone set.
- Click Continue Activation to finish the activation.
- Start the iSCSI clients on both hosts.
- Show all the iSCSI sessions.
- In Cisco DCNM- SAN, choose End Devices > iSCSI in the Physical Attributes pane to verify the details of the two iSCSI initiators.
- In Cisco DCNM-SAN, choose Zones > Edit Local Full Zone Database to view the active zone set. The iSCSI initiators' FC IDs are resolved.
- In Device Manager, choose FC > Name Server. The Fibre Channel name server shows the virtual N ports created for the iSCSI hosts.
- In Device Manager, Choose FC > Name Server.
- Click the Advanced tab. Verify the detailed output of the iSCSI initiator nodes in the Fibre Channel name server.
Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.