Got it

Use Huawei 5300 V3 to configure FC-SAN

Latest reply: Jul 12, 2021 00:36:03 408 16 8 0 3


Use Huawei 5300 V3 to configure FC-SAN

Hello everyone, today I'm going to introduce how to configure FC-SAN with Huawei 5300 V3. Let's learn about it together.

1 FC-SAN networking mode

Divided into the following three types:

  1. Direct

  2. Single exchange

  3. Double exchange

2 HBA card for WWN type

WWNN node name

WWPN port name

To query the WWPN number on Linux:

 cat /sys/class/fc_host/host3/node_name

Specifically, the common operating system FC HBA card port WWN view method such as under Windows,

In Windows system, you can use the management software provided by the FC HBA card manufacturer to view the WWN number of the fiber adapter, as follows:

 Qlogic:SANsurfer
 Emulex:HBAnyware

For other operating systems, refer to the following information [1].

3 Fiber Optic Switch

3.1 Port types of optical fiber switches

The F_Port: F port is also known as the fiber-optic network port and is used to connect servers and storage devices to switches.

The E_Port: E port is also known as the extension port and is used for connections between switches.

FL_PORT: A switch port of an FC switch can be used as part of a loop, and data can be transferred from the switch to the ring. A switch port that works well in a loop environment is called "FL_port";

G_Port: universal port G;

A device that is connected to port F of the switch is a node, which in fibre channel terminology is considered to be an N port or, in the case of an arbitrator loop topology, an NL port. The switch identifies these Fibre Channel nodes by a specific N port or NL port name;

3.2 The concept of Zone and the principle of Zone division

Zone is similar to VLAN; A Zone is a collection of port or device names that can be interchanged; Devices in a Zone can only communicate with devices in a Zone; A device can be in more than one Zone at a time.

When the switch plans the zones, it divides them into small zones, that is, each Zone contains only one starter and one target.

A ZONE contains only one storage port, one storage port, one storage port Principle of mainframe side ports.

3.3 Log in to the switch using the console port

Switch default user name: admin password: Huawei12#$

View the admin IP address: iPaddrShow

Configuration management IP address: ipaddrset

Eg: IPADDRSET - IPv4-Add-Ethip X.X.X.X-Ethmask 255.255.255.0 - GWYIP X.X.X.X

Note: You can use IE browser to access the IP properly configured. You need to install Java plugin

3.4 Configure SAN on storage

To create a host group, select the initiator type "FC" and do the same as in iSCSI.

4 LUN

In SAN (Storage Area Network), the Logical Unit Number (LUN) is the Number used to identify a Logical Unit that is a device addressed by SCSI. In other words, the storage system partitions the physical hard disk into logical addresses that allow access by the host. Such a partition is called a LUN. The term LUN is also commonly used to refer to logical disks created on SAN storage. [3]

5 mount the LUN on Windows and Linux

5.1 Windows

Open Device Manager - Disk Management and scan the disk.

5.2 Linux

5.2.1 Scan the disk first

hot_add
Fdisk -l # View the disk

5.2.2 mount the LUN

Fdisk /dev/sde # partition the disk
Mkfs.ext3 /dev/sde1 # Create a file system
Mkdir test # Create a directory
Mount /dev/sde1 / MNT /test # mount disk to test directory

At the same time, users can also query the corresponding relationship between the storage LUN and the disk on the Linux host.

References

[1]EKB1000056458.FAQ-Checking the WWN of FC HBA Ports in Common Operating Systems[EB/OL].https://support.huawei.com/enterprise/zh/knowledge/EKB1000056458#contentDesc,2014-10-17.

[2]EKB1000056593.FAQ-Querying the Mapping Between Storage LUNs and Disks on Linux Hosts[EB/OL].https://support.huawei.com/enterprise/zh/knowledge/EKB1000056593,2014-10-17

Thank you for your patience in reading this article. Thank you.

t_0002.gift_0002.gif

Use Huawei 5300 V3 to configure FC-SAN-4027769-1
View more
  • x
  • convention:

GOOD
View more
  • x
  • convention:

user_4147187
user_4147187 Created Jul 10, 2021 11:58:00 (0) (0)
Thanks.  
andersoncf1
MVE Author Created Jul 10, 2021 11:53:30

Thanks for sharing
View more
  • x
  • convention:

user_4147187
user_4147187 Created Jul 10, 2021 11:58:09 (0) (0)
Thanks.  
The article is very helpful.
View more
  • x
  • convention:

user_4147187
user_4147187 Created Jul 11, 2021 03:12:00 (0) (0)
Thank you for your support.  
Good, thanks for sharing
View more
  • x
  • convention:

user_4147187
user_4147187 Created Jul 11, 2021 03:11:51 (0) (0)
Thank you for your support. Thank you.  
nice one!!!
View more
  • x
  • convention:

user_4147187
user_4147187 Created Jul 12, 2021 05:48:08 (1) (0)
Thank you for your support, I will continue to work hard. Thanks.  
little_fish
little_fish Reply user_4147187  Created Jul 12, 2021 05:51:43 (0) (0)
Me too. I will take the HCIE Intelligent Computing Lab exam in this year. I will share my learning experience here too.  
little_fish
little_fish Reply user_4147187  Created Jul 12, 2021 05:55:58 (0) (0)
Dear, I just change your refer from Chinese to English.  
user_4147187
user_4147187 Reply little_fish  Created Jul 12, 2021 05:59:27 (1) (0)
Thanks for your advice, and I'll pay attention to this next time.  
little_fish
little_fish Reply user_4147187  Created Jul 13, 2021 00:55:28 (0) (0)
very glad that you can share your learning material here.  
user_4147187
user_4147187 Reply little_fish  Created Jul 13, 2021 05:04:16 (1) (0)
This is what I should do.  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.