Skip to main content
Hitachi Vantara Knowledge

Configuring Fibre Channel ports

Read the important rules and guidelines for LU mapping operations

Fibre Channel topology

The term Fibre Channel topology indicates how devices are connected to each other. Fibre channel provides the following types of topology:

  • Fabric: Uses a fabric switch to connect a large number of devices (up to 16 million) together.
  • FC-AL (Fibre Channel-Arbitrated Loop): A shared interface that can connect up to 126 devices (AL-ports) together.
  • Point-to-point: The simplest fibre topology connects two devices directly together.

When configuring your storage system, use the LUN Manager window to specify whether the hosts and the storage system are connected using a fabric switch.

If a fabric switch is used, specify FC-AL or point-to-point in the LUN Manager window. If a fabric switch is used, consult the documentation for the fabric switch to learn whether FC-AL or point-to-point should be used. Some fabric switches require you to specify point-to-point to get the system running.

If no fabric switch is used, specify FC-AL.

The combination of the topology which is specified in Connection Type and the port speed which is specified in Port Speed is restricted. For details, see Available data-transfer speeds for FC ports.

Example of FC-AL and point-to-point topology

GUID-862DF501-AE4F-46D3-8F1B-8B9F6C76ABD2-low.gif

Setting the Fibre Channel topology

Use this procedure to set the topology (FC-AL or P-to-P) of a Fibre Channel port.

CautionWhen a port has a path defined for an LDEV with the GAD reserve attribute and you need to change the topology, the operation might fail if you configure more than one port at a time. For ports that have a path defined for an LDEV with the GAD reserve attribute, perform this operation on one port at a time.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. In the Ports/Host Groups/iSCSI Targets window, click the Ports tab.

  4. Select the desired port, and then click Edit Ports.

  5. Under Connection Type, select FC-AL or P-to-P.

  6. Click Finish.

    The Confirm window opens.
  7. In the Task Name text box, type a unique name for the task or accept the default.

    You can enter up to 32 ASCII characters and symbols, with the exception of: \ / : , ; * ? " < > |. The value <date>-<window name> is entered by default.
  8. Click Apply.

    If the Go to tasks window for status check box is selected, the Tasks window appears.

Available data-transfer speeds for FC ports

The available data-transfer speeds for the Fibre Channel ports depend on the port type and the connection type.

The following table shows the available data-transfer speeds for 16-Gbps Fibre Channel ports on the 4-port FC 32-Gbps package.

Data transfer speeds for 16-Gbps ports/SFPs

Connection type

4 Gbps

8 Gbps

16 Gbps

32 Gbps

Auto

FC-AL

Available

Available

Not available

Not available

Available1

P-to-P

Available

Available

Available

Not available

Available (default2)

Fabric

Available

Available

Available

Not available

Available

Notes:

  1. If this combination is specified, the maximum transfer speed that is automatically specified is 8 Gbps.
  2. If this default value is set, Fabric is set to ON automatically.

The following table shows the available data-transfer speeds for 32-Gbps ports (32-Gbps SFPs on the 4-port FC 32-Gbps package).

Data transfer speeds for 32-Gbps ports

Connection type

4 Gbps

8 Gbps

16 Gbps

32 Gbps

Auto

FC-AL

Not available

Available

Not available

Not available

Available1

P-to-P

Not available

Available

Available

Available

Available (default2)

Fabric

Available

Available

Available

Available

Available

Notes:

  1. If this combination is specified, the maximum transfer speed that is automatically specified is 8 Gbps.
  2. If this default value is set, Fabric is set to ON automatically.

Setting the data transfer speed on a Fibre Channel port

As system operations continue, you might notice that a large amount of data is transferred at some ports, but a small amount of data is transferred at other ports. You can optimize system performance on a Fibre Channel port by setting a faster data transfer speed on ports where a large amount of data is transferred, and setting a slower data transfer speed on ports where a smaller amount of data is transferred.

CautionWhen a port has a path defined for an LDEV with the GAD reserve attribute and you need to change the transfer speed, the operation might fail if you configure more than one port at a time. For ports that have a path defined for an LDEV with the GAD reserve attribute, perform this operation on one port at a time.

Before you begin

The Storage Administrator (Provisioning) role is required to perform this task.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. In the Ports/Host Groups/iSCSI Targets window, click the Ports tab.

  4. Select the desired port, and then click Edit Ports.

  5. In the Edit Ports window, select the Port Speed check box, and then select the desired port speed.

    Select the speed of the Fibre Channel port in the unit of Gbps (Gigabit per second). If Auto is selected, the storage system automatically sets the speed to 4, 8, 16 or 32 Gbps.
    CautionObserve the following cautions when setting speed on a Fibre Channel port:
    • If they support 4, 8, 16 or 32 Gbps, use 4, 8, 16 or 32 Gbps for the CHB(FC) port speed, respectively.
    • If the Auto Negotiation setting is required, some links might not be up when the server is restarted. Check the channel lamp. If it is flashing, disconnect the cable, and then reconnect it to recover from the link-down state.
    • If the CHB(FC) port speed is set to Auto, some equipment might not be able to transfer data at the maximum speed.
    • When you start a storage system, HBA, or switch, check the host speed appearing in the Port list. If the transfer speed is different from the maximum speed, select the maximum speed from the list on the right, or disconnect, and then reconnect the cable.
    • The available port speed which is specified in Port Speed is limited due to the combination of the type of the Fibre Channel port and the topology which is specified in Connection Type.

  6. Click Finish.

    The Confirm window appears.
  7. In the Task Name text box, type a unique name for the task or accept the default.

    You can enter up to 32 ASCII characters and symbols, with the exception of: \ / : , ; * ? " < > |. The value <date>-<window name> is entered by default.
  8. Click Apply.

    If the Go to tasks window for status check box is selected, the Tasks window appears.

Addresses for Fibre Channel ports

The following addresses are available for setting Fibre Channel ports.

AL-PA

Loop ID

(0~29)

AL-PA

Loop ID

(30~59

AL-PA

Loop ID

(60~89)

AL-PA

Loop ID

(90~119)

AL-PA

Loop ID

(120~125)

EF

0

B4

30

76

60

49

90

10

120

E8

1

B3

31

75

61

47

91

0F

121

E4

2

B2

32

74

62

46

92

08

122

E2

3

B1

33

73

63

45

93

04

123

E1

4

AE

34

72

64

43

94

02

124

E0

5

AD

35

71

65

3C

95

01

125

DC

6

AC

36

6E

66

3A

96

-

-

DA

7

AB

37

6D

67

39

97

-

-

D9

8

AA

38

6C

68

36

98

-

-

D6

9

A9

39

6B

69

35

99

-

-

D5

10

A7

40

6A

70

34

100

-

-

D4

11

A6

41

69

71

33

101

-

-

D3

12

A5

42

67

72

32

102

-

-

D2

13

A3

43

66

73

31

103

-

-

D1

14

9F

44

65

74

2E

104

-

-

CE

15

9E

45

63

75

2D

105

-

-

CD

16

9D

46

5C

76

2C

106

-

-

CC

17

9B

47

5A

77

2B

107

-

-

CB

18

98

48

59

78

2A

108

-

-

CA

19

97

49

56

79

29

109

-

-

C9

20

90

50

55

80

27

110

-

-

C7

21

8F

51

54

81

26

111

-

-

C6

22

88

52

53

82

25

112

-

-

C5

23

84

53

52

83

23

113

-

-

C3

24

82

54

51

84

1F

114

-

-

BC

25

81

55

4E

85

1E

115

-

-

BA

26

80

56

4D

86

1D

116

-

-

B9

27

7C

57

4C

87

1B

117

-

-

B6

28

7A

58

4B

88

18

118

-

-

B5

29

79

59

4A

89

17

119

-

-

Setting the Fibre Channel port address

When configuring your storage system, set addresses for Fibre Channel ports. When addressing Fibre Channel ports, use AL-PA (arbitrated-loop physical address) or loop IDs as the addresses.

Before you begin

The Storage Administrator (Provisioning) role is required to perform this task.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. In the Ports/Host Groups/iSCSI Targets window, click the Ports tab.

  4. Select the desired port, and then click Edit Ports.

  5. In the Edit Ports window, select the Address (Loop ID) check box, and then select the address.

  6. Click Finish.

    The Confirm window appears.
  7. In the Task Name text box, type a unique name for the task or accept the default.

    You can enter up to 32 ASCII characters and symbols, with the exception of: \ / : , ; * ? " < > |. The value "date-window name" is entered by default.
  8. Click Apply.

    If the Go to tasks window for status check box is selected, the Tasks window appears.

Setting the fabric switch

When you configure your storage system, specify whether the hosts and the storage system are connected via a fabric switch.

Before you begin

The Storage Administrator (Provisioning) role is required to perform this task.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. In the Ports/Host Groups/ISCSI Targets window, click the Ports tab.

  4. Select the desired port, and then click Edit Ports.

  5. Select a check box of Fabric, and select ON if you set the fabric switch. If you do not set the fabric switch, select OFF.

  6. Click Finish.

    The Confirm window appears.
  7. In the Task Name text box, type a unique name for the task or accept the default.

    You can enter up to 32 ASCII characters and symbols, with the exception of: \ / : , ; * ? " < > |. The value "date-window name" is entered by default.
  8. Click Apply.

    If the Go to tasks window for status check box is selected, the Tasks window appears.

LUN security on ports

To protect mission-critical data in your storage system from illegal access, apply security policies to logical volumes. Use LUN Manager to enable LUN security on ports to safeguard LUs from illegal access.

If LUN security is enabled on ports, host groups affect which host can access which LUs. Hosts can access only the LUs associated with the host group to which the hosts belong. Hosts cannot access LUs associated with other host groups. For example, hosts in the hp-ux host group cannot access LUs associated with the windows host group. Also, hosts in the windows host group cannot access LUs associated with the hp-ux host group.

Examples of enabling and disabling LUN security on ports

Enabling LUN security

In the following example, LUN security is enabled on port CL1-A. The two hosts in the hg-lnx host group can access only three LUs (00:00:00, 00:00:01, and 00:00:02). The two hosts in the hg-hpux host group can access only two LUs (00:02:01 and 00:02:02). The two hosts in the hg-solar host group can access only two LUs (00:01:05 and 00:01:06).

GUID-E0CE7729-1AE7-480C-A3EF-3EA69EEB4E69-low.gif
Disabling LUN security

Typically, you do not need to disable LUN security on ports. For example, if LUN security is disabled on a port, the connected hosts can access only the LUs associated with host group 0, and cannot access LUs associated with any other host group.

GUID-A8678732-5EA7-4FBB-BD46-0BF2A45B4CB2-low.png

Host group 0 is the only host group reserved, by default, for each port. If you use the LUN Manager window to view a list of host groups in a port, host group 0, indicated by the number 00, usually appears at the top of the list.

The default name of host group 0 consists of the port name, a hyphen, and the number 00. For example, the default name of host group 0 for port 1A is 1A-G00. However, you can change the default name of the host group 0.

LUN security is disabled, by default, on each port. When you configure your storage system, you must enable LUN security on each port to which hosts are connected.

Enabling LUN security on a port

Before you begin

One of the following roles is required to perform this task:

  • Storage Administrator (System Resource Management)
  • Storage Administrator (Provisioning)

To protect mission-critical data in your storage system from illegal access, secure the logical volumes in the storage system. Use LUN Manager to secure LUs from illegal access by enabling LUN security on ports.

By default, LUN security is disabled on each port. When registering hosts in multiple host groups, you must enable LUN security (set the switch to enabled). When you change LUN security from disabled to enabled, you must specify the WWN of the host bus adapter.

CautionIt is best to enable LUN security on each port when configuring your storage system. Although you can enable LUN security on a port when host I/O is in progress, I/O is rejected with a security guard after enabling.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. In the Ports/Host Groups/iSCSI Targets window, click the Ports tab.

  4. Select the desired port, and then click Edit Ports.

  5. Select the Port Security check box, and then select Enable.

  6. Click Finish. A message appears, confirming whether to switch the LUN security. Clicking OK opens the Confirm window.

  7. In the Confirm window, confirm the settings, in Task Name type a unique name for this task or accept the default, and then click Apply.

    If Go to tasks window for status is checked, the Tasks window opens.

Disabling LUN security on a port

Before you begin

One of the following roles is required to perform this task:

  • Storage Administrator (System Resource Management)
  • Storage Administrator (Provisioning)
CautionDo not disable LUN security on a port when host I/O is in progress.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. In the Ports/Host Groups/iSCSI Targets window, click the Ports tab.

  4. Select the desired port, and then click Edit Ports.

  5. Select the Port Security check box, and then select Disable.

  6. Click Finish. If disabling LUN security, a message appears, indicating that only host group 0 (the group whose number is 00) is to be enabled. Clicking OK opens the Confirm window.

  7. In the Confirm window, confirm the settings, in Task Name type a unique name for this task or accept the default, and then click Apply.

    If Go to tasks window for status is checked, the Tasks window opens.

Setting the T10 PI mode on a port

Before you begin

  • The Storage Administrator (Provisioning) role is required to perform this task.
  • Access to the CHB(FC) Fibre Channel board port is required.
  • The port speed must be 16 Gbps or 32 Gbps.
Caution

If you change the T10 PI mode of one port, the T10 PI mode of the other port paired with changed port also needs to be changed. You must verify the mode of each port in the pair before changing the T10 PI mode. Make sure the ports in each pair are the same in the resource group. The following shows pairs of port IDs.

If you change the setting on one of the ports in the pair, the setting on the other port in the pair will also be changed:

  • Port IDs 1x, 3x, 5x, and 7x (where x is a letter from A to M) are collectively changed. For example, if 1A of the port ID is changed, 3A, 5A, 7A of port IDs are also changed.
  • Port IDs 2x, 4x, 6x, and 8x (where x is a letter from A to M) are collectively changed. For example, if 2B of the port ID is changed, 4B, 6B, 8B of port IDs are also changed.
NoteIf the T10 PI mode is enabled between the path of the target port and LDEV, you cannot disable the T10 PI mode of the port.

Procedure

  1. Click Storage Systems, and then expand the Storage Systems tree.

  2. Click Ports/Host Groups/iSCSI Targets.

  3. Select the Ports tab.

  4. Select the desired port.

    To collectively change the T10 PI mode of ports, do not intermix ports with enabled or disabled T10 PI modes.
  5. Click Edit Ports.

  6. Click OK on the message window.

  7. Select Enable or Disable on the Edit T10 PI Mode window.

  8. Click Finish. The Confirm window appears.

  9. In the Confirm window, confirm the settings. In the Task Name, type a unique name for this task or accept the default, then click Apply. If Go to tasks window for status is checked, the Tasks window opens.