LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-06-2017, 08:20 AM   #1
ahemdalssafi
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
how to install Qlogic network fiber card in redhat 7.4


Please i need your help urgently..
i inserted Qlogic network fiber card into HP gen9 slot and when i issue the command:
# lspci
I got the following:
Code:
08:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
08:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
and when i issue command:
# smod | grep qla2xxx
i got:
Code:
qla2xxx               681245  0 
scsi_transport_fc      64007  1 qla2xxx
but the fiber card not appear in linux GUI beside other Ethernet card ..
my question is how to enable this fiber card and how to assign ip for it? i want to connect the server to SAN storage through this fiber card.
Please with some details, i'm a DBA and my experience in network is weak
 
Old 11-06-2017, 09:50 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Qlogic Fiber channel 8GB is a SAN (Storage Area Network) card NOT a LAN (Local Area Network) card. It is used to do fiber connections to DISKS via SCSI protocol NOT to networks via Ethernet. Typically a SAN uses connections from the Qlogic HBA to a fiber enabled disk array (or more commonly via a fiber SAN switch that is attached to the disk array and the server HBA). SAN relies on WWN (World Wide Name) rather than IPs.

There ARE Fiber cards that do Ethernet. We've used Broadcom and Intel 10 GB ethernet that use the same type of fiber cables as the Qlogic SAN HBAs. The switch for those however would need 10 GB ethernet ports. We've used both Cisco and Juniper for that. Our Juniper can also do 40 GB ethernet but the fiber cables for that are different.

I have seen mention of HBAs that have ports for SAN and for LAN on the same HBA but haven't used any.

Your lspci and smod confirm you are using SAN cards from Qlogic.

What kind of disk array are you trying to use?

What kind of SAN switches are you trying to use?

Do you have a storage engineer that configures the disk array and SAN switches?

Last edited by MensaWater; 11-06-2017 at 09:56 AM.
 
Old 11-07-2017, 01:17 AM   #3
ahemdalssafi
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi MensaWater, thanks for your helpful reply,
My san storage is HP msa2000 and i don't have SAN egineer.
San Switch is SMC (SMCGS24)
Now my question that when i connect the fiber card to SAN switch no private ip needed (because i'm preparing for Oracle RAC environment and it need private ip to communicate between the oracle RAC nodes)
and how to configure this connection between fiber card and SAN switch, i tried to connect them but no indication they are connected ( maybe some configuration in SAN switch is needed)
 
Old 11-07-2017, 08:56 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
I've not worked with the SMCGS24 but from what I can see on a quick search it appears to me that is an ethernet (LAN) switch NOT a SAN switch. There is a PDF for it at:
https://www.edge-core.com/temp/edm/o...4_20111213.pdf

On the other hand, your HP MSA 20000 does appear to support FC SAN.
http://www.hp.com/hpinfo/newsroom/pr...hite_Paper.pdf

In general for a Fiber Channel SAN:
1) Add the disk array to the SAN switch over 2 or more FC ports for redundancy and throughput.
2) Add the server FC HBA ports (ideally at least 2 for redundancy) to the the same SAN switch.
3) Create zoning so the server ports are in zones with the disk array ports.
3) In the disk array setup RAID sets and then create LUNs of the size(s) needed for your server.
4) In the disk array add the server FC HBA ports (using the same WWNs as used for the server in the SAN switch).
5) In the disk array "map" the LUNs created for the server to the server.

For the server side if you have multiple ports to the disk array (as ideally you do) you should set up multipathing. Linux has a native multipathing but there are also 3rd party products such as EMC PowerPath provided by some disk array manufacturers. Since I've not worked with your MSA array I don't know if it supports native multipathing. If so reviewing the documents should tell you.

There is a SAN setup that uses networking called iSCSI which you might be able to configure via your MSA switch but it can't use your Qlogic FC HBA ports. As noted previously the Qlogic FC are purely for fiber SAN and NOT for iSCSI.

If you were going to use iSCSI rather than FC you'd want to isolate the networking for it to prevent the possibility of regular LAN traffic impacting your SAN traffic either in performance or in disk corruption due to dropped packets.

Since you mention Oracle RAC you do need to do LAN networking between the nodes. You'll need local IPs, Virtual IPs and GRID IPs. This is spelled out in the Oracle documentation. Also Oracle RAC/GRID requires you to do ASM setup which is different than the normal disk layouts most people do.

Before going any further you'll have to investigate getting a SAN switch. It may be possible to instead do direct connects from the server to the disk array but since you're doing RAC you'd need to connect all your nodes to the array.

I'd recommend doing that first then focus on each of the general steps mentioned. Open a new thread for each specific question you have as you go along. You're much more likely to get help that way than by asking for a step by step for what is a fairly sophisticated setup.
 
1 members found this post helpful.
Old 11-10-2017, 10:04 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,480

Rep: Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939
Quote:
Originally Posted by ahemdalssafi View Post
Please i need your help urgently.. i inserted Qlogic network fiber card into HP gen9 slot and when i issue the command:
# lspci
I got the following:
Code:
08:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
08:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
and when i issue command:
# smod | grep qla2xxx
i got:
Code:
qla2xxx               681245  0 
scsi_transport_fc      64007  1 qla2xxx
but the fiber card not appear in linux GUI beside other Ethernet card ..
Right..because it is NOT an ethernet card.
Quote:
my question is how to enable this fiber card and how to assign ip for it? i want to connect the server to SAN storage through this fiber card.Please with some details, i'm a DBA and my experience in network is weak
So...you're using RHEL 7.4, with a fairly expensive SAN and a not-too-cheap HBA. So have you contacted Red Hat support? The SAN support folks? Look on Qlogics website and download the appropriate drive for RHEL (which you have to do), and install it following their instructions? Has your SAN team partitioned and presented the disks for you, and given you the LUN's?

This is a fiber channel card..it isn't going to be an ethernet adapter, but a SCSI disk controller. Since you start out by saying this is 'urgent', that you're a DBA and not a systems administrator, calling the support you're paying for is going to be the best way to get this done, short of leaving it to the actual systems administrator, rather than the DBA trying to get this done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Create A Fiber Channel SAN Using SCST With QLogic HBA On Linux Debian 6 LXer Syndicated Linux News 0 07-01-2013 01:50 PM
Debian and qlogic 2300 fiber channel adapter bouilbouil Debian 1 01-17-2005 03:53 PM
Operativsystem cannot detect new SAN devices using Qlogic fiber channel adapters sjensen Linux - Software 1 11-25-2003 06:51 AM
SCSI generic, RedHat 9.0, Qlogic Fibre Channel card niverson Linux - Hardware 2 07-12-2003 02:15 PM
QLogic FC + Redhat 8 paradox606 Linux - Hardware 1 06-16-2003 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration