(Optional) Switch Configuration
Skip this section if you use direct-attached connections.
The following uses a Brocade switch as an example to explain how to configure switches.
If Cisco MDS switches are used, ensure that the persistent FC_ID feature is enabled on them. For details, see https://www.cisco.com/en/US/docs/storage/san_switches/mds9000/sw/san-os/quick/guide/qcg_ids.html.
Querying the Switch Model and Version
- Log in to the Brocade switch from a web page.
- On the web browser, enter the IP address of the Brocade switch, and press Enter.
- In the Web Tools login dialog box displayed, enter the account and password.
The default account and password are admin and password.
Web Tools works properly only when Java is installed on the host. Java 1.6 or later is recommended.
- On the switch management page that is displayed, click Switch Information.
Figure 5-2 displays example information.
Major parameters are described as follows:
- Fabric OS version indicates the switch version. The interoperability between switches and storage systems varies with the switch version. Use only switches with verified interoperability.
- Type is a decimal consisting of an integer and a decimal fraction. The integer indicates the switch model and the decimal fraction indicates the switch template version. You only need to pay attention to the switch model. Table 5-1 describes switch model mapping.
- Ethernet IPv4 indicates the switch IP address.
- Effective Configuration indicates the currently effective configurations. This parameter is critical to subsequent zone configurations. In this example, the currently effective configuration is fyc.
Table 5-1 Mapping between switch types and namesSwitch Type
B-Series Switch Model
Switch Type
B-Series Switch Model
12
3900
61
4424
16
3200
62
Brocade DCX
21
24000
64
5300
26
3850
66
5100
27
3250
67
Brocade Encryption Switch
29
4012
69
5410
34
200E
71
300
37
4020
72
5480
43
4024
75
M5424
44
4900
76
8000
45
4016
77
Brocade DCX-4S
51
4018
83
7800
Configuring Zones
Zone configuration is important for Fibre Channel switches. The configurations differ with the switch vendor, model, and version. For details, refer to the configuration guide specific to the switch used in your layout. The following uses the Brocade 4100 switch as an example to explain the zone configuration procedure.
- Log in to the Brocade switch on a web browser.
- On the web browser, enter the IP address of the Brocade switch, and press Enter.
The Web Tools switch login dialog box is displayed.
- Enter the account and password (admin and password by default) to log in.
- On the web browser, enter the IP address of the Brocade switch, and press Enter.
- Check the port status on the switch.
In normal conditions, port indicators on the switch are steady green after the corresponding ports have been connected to hosts and storage arrays using optical fibers.
Each port on a Brocade 4100 has two indicators. The left one indicates the port status and the right one indicates the port rate. In Figure 5-3, all ports are normal and work at 4 Gbit/s.
If any port is abnormal, verify that the topology modes and rates are consistently configured. Go to the next step only if you verify that all ports are working properly.
- Choose Manage > Zone Admin from the main menu of Web Tools to navigate to the Zone Admin page.Figure 5-4 Navigating to the Zone Admin page
- Check whether the switch has identified hosts and storage systems.
On the Zone Admin page, click the Zone tab. In Member Selection List, check whether all related ports have been identified.
Figure 5-5 Identified portsIn this example, the hosts use ports 0 and 1, while the storage systems use ports 4 and 5. The display indicates that the switch has correctly identified the devices connected by the four ports.
- Create zones.
On the Zone tab page, click New Zone and enter a name (Zone001 in this example). Add port 0 (connecting to port P0 of a host) and port 4 (connecting to controller A of a storage system) to this zone.
Figure 5-6 Creating a zoneUse the same method to create Zone002 to Zone004. Add ports 1 and 5 to Zone0002, ports 0 and 5 to Zone003, and ports 1 and 4 to Zone004.
- Add the new zones to the configuration file and activate them.
On the Switch View tab page, identify the effective configuration file.
Figure 5-7 Effective configuration fileOn the Zone Admin page, click the Zone Config tab. In the Name drop-down list, choose the effective configuration file fyc.
In Member Selection List, select Zone001 to Zone004 and add them to the configuration file.
Click Save Config to save the configuration and then click Enable Config for the configuration to take effect.
Figure 5-8 Adding zones to the configuration file - Verify that the configuration has taken effect.
In the navigation tree of Web Tools, choose Task > Monitor > Name Server to go to the Name Server page. You can also choose Monitor > Name Server in the navigation bar.
Figure 5-9 Name Server pageThe preceding figure shows that corresponding ports have been added to the zone that is now effective. An effective zone is marked by an asterisk (*).
Precautions
If a Brocade switch connects to a storage system at a rate of 8 Gbit/s:
- The topology mode of the storage system must be set to switch.
- fill word of ports through which the switch is connected to the storage system must be set to 0. To configure this parameter, run the portcfgfillword <port number> 0 command on the switch.
If a Brocade switch connects to a host at a rate of 8 Gbit/s:
- When the switch is connected to module HP VC 8Gb 20-port FC or HP VC FlexFabric 10Gb/24-port, change the switch configuration. For details, see configuration documents.