Configuring VLAN for iSCSI hosts

Follow these guidelines when you plan to configure a virtual local area network (VLAN) for iSCSI-attached hosts.

Configuring VLAN tags on existing host sessions

Complete these steps to configure VLAN tags on existing host sessions:
  1. On the hosts, configure VLAN on the host ports that are used for iSCSI or iSER connections. Consult appropriate host documentation to complete this step.
  2. On all intervening switches, configure the switches with the VLAN tags per port connectivity. Consult appropriate switch documentation to complete this step.
  3. Verify that the port on which you are configuring VLAN tags is used for host attachment. In the management GUI, select Settings > Network > Ethernet Ports. Ensure that Yes is displayed in the host attach column for the selected port. If No is displayed, right-click the port and select Modify iSCSI hosts and select Enabled.
  4. Configure ports on the system with appropriate VLAN tags by completing these steps:
    1. In the management GUI, select Settings > Network > Ethernet Ports.
    2. Right-click the port on which to configure VLAN and select Actions > Modify VLAN.
    3. On the Modify VLAN page, select to enable VLAN for IP connections.
    4. Enter the VLAN tag and select whether to use the same VLAN tag for the failover port. If the failover port does not have the same VLAN tag, a host can lose access to the volumes. To prevent a loss of access, select to use the same VLAN tag for the failover port.
    5. Click Modify.
  5. For iSCSI-attached hosts only, you can use priority flow control (PFC) on the switch. If you are using PFC with this VLAN configuration, complete the following steps on the PFC-supported switch:
    1. On the switch, set the priority tag for iSCSI.
    2. On the switch, enable the PFC for iSCSI priority tag.
    3. On the switch, enable Data Center Bridging Exchange (DCBx). DCBx enables switch and adapter ports to exchange parameters that describe traffic classes and PFC capabilities. For these steps, consult your switch documentation for details.