Nikoismusic.com Other How to check hba-port in Solaris?

How to check hba-port in Solaris?

How to check hba-port in Solaris?

Step 1 Run the fcinfo hba-port command to the HBA WWN in Solaris 10. Manufacturer: QLogic Corp. Manufacturer: QLogic Corp. Step 2 Run the prtpicl -v -c scsi-fcp |grep -i wwn command to view the HBA WWN in Solaris 8 and 9.

Where is hba model in Solaris 10?

How do I scan a LUN in Solaris 10?

Let’s see how we can re-scan the SAN/FC luns on solaris 10/11 hosts. To scan new FC luns, Just execute the below commands. “luxadm probe” also used to scan FC luns but i am happy to use cfgadm….

  1. List the connected HBA.
  2. Reset the HBA using forcelip option.
  3. Verify the controller status using “cfgadm -al”.

What is hba card Linux?

Fibre Channel (FC) Host Bus Adapters(HBA) are interface cards that connects the host system to a fibre channel network or devices. The two major manufacturers of FC HBAs are QLogic and Emulex and the drivers for many HBAs are distributed in-box with the Operating Systems.

How do I know how many HBA adapters I have?

HBA card wwn number can be manually identified by filtering the associated files under the “/sys” file system. The files under sysfs provide information about devices, kernel modules, filesystems, and other kernel components, which are typically mounted automatically by the system at /sys.

How do I know if HBA is installed on Linux?

Check HBA card and its driver’s info in linux(RHEL6)

  1. To check if the host has HBA card installed and which type of card installed, physiical slot, driver, module information. # lspci | grep -i fibre.
  2. check if the driver/module loaded in kernel.
  3. check author,description,mdule file name, license, driver version.

How do I check disks in Solaris 10?

To identify disks, launch the Format utility by issuing the format command. The command displays the disks in the system similar to the following example: # format AVAILABLE DISK SELECTIONS: 0.

How do I scan a LUN?

Follow the steps below to scan the new LUN in OS and then in multipath.

  1. Rescan SCSI hosts: # for host in ‘ls /sys/class/scsi_host’ do echo ${host}; echo “- – -” > /sys/class/scsi_host/${host}/scan done.
  2. Issue LIP to FC hosts:
  3. Run rescan script from sg3_utils:

How can I check my HBA status?

Instructions

  1. #lspci -vvv | grep -I HBA. We can see following entries in the output 03:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
  2. #systool -v. Or. To check WWNN , run the following command.
  3. #cat /sys/class/fc_host/hostN/node_name. To check port state, run.

What is the difference between HBA and NIC?

The main difference is the type of storage/switch you are connecting to. HBA stands for Host Bus Adapter and is used to connect to block level storage such as Fibre Channel, SATA or SCSI. NIC stands for Network Interface Adapter and is used to connect ethernet storage to a switch or server.

How do I find the HBA card and WWN port in Linux?

How do I get HBA WWN on Linux?

How to find WWN number of HBA and scan the FC Luns in LINUX

  1. Identify the number of HBA adapters.
  2. To get the WWNN (World Wide Node Number) of HBA or FC card in Linux.
  3. To get the WWPN (World Wide Port Number) of HBA or FC card in Linux.
  4. Scan the newly added or rescan the existing LUNs in Linux.

How to identify the HBA cards / ports and WWN in Solaris?

The fcinfo command give us more info on the HBA ports (model, manufactures etc) and the WWN numbers of the HBA ports.

How can I get list of HbA ports?

We can get a list of HBA ports using the luxadm command. Remember that luxadm command only work on hba’s that are bound to the Oracle drivers. So if native (non oracle) Emulex driver is in use then the luxadm command will not work.

How to get the target port WWN in Solaris?

To get information on target port WWN use the “remote-port -p” option with fcinfo. The syntax for the same is : Another way to get the target port WWNs is using the luxadm command with the dump_map option : Port_ID ending with “00” or “13” indicates a FC switch attached storage.

Can you use luxadm on a HBA card?

Remember that luxadm command only work on hba’s that are bound to the Oracle drivers. So if native (non oracle) Emulex driver is in use then the luxadm command will not work. In that case use the fcinfo command.