How to check fc port status in Solaris?

How to check fc port status 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.

How check port is open in Solaris 11?

Best Answer

  1. Open a terminal session.
  2. Type the command “netstat -an” to obtain a list of all the open ports.
  3. Type the command “netstat -an | grep 8080” to determine whether port “8080” is open. You can replace “8080” with any specific port that you are looking for.
  4. Type the command “exit” to close the terminal session.

How do I use Fcinfo on Windows?

Obtaining the WWPN using Microsoft fcinfo.exe

  1. If it is not already installed, download and install the fcinfo.exe program from the Microsoft Download Center.
  2. Open a command prompt and enter the following command: fcinfo /ports /details.
  3. Record the value of the Port WWN field for each HBA port.

Where is hba model in Solaris 10?

How do I know how many HBA adapters I have?

  1. Find WWN in Linux is easy using existing commands and installing few systools will help us in getting the FC HBA adapter WWN in Linux.
  2. We can use lspci command to find the FC HBA adapter details first.
  3. Method 1 # lspci |grep -i hba 0e:04.0 Fibre Channel: QLogic Corp.

How do I reset HBA?

HBA reset on Linux System

  1. Determine if the driver supports resetting the HBA.
  2. Verify the driver parameter is configured as needed.
  3. This parameter is enabled by default:
  4. The actual reset parameter is available under scsi_host class within sysfs:
  5. Reset the HBA via the SCSI host/driver:

How do I know if my ports are unused?

netstat -lat gives the complete list of listening and established ports. When a port is not on any of those states doesn’t exist for the system, so you won’t find a command that shows the list of unused ports. Keep in mind that there are 65535 ports, so anything that isn’t on netstat -lat is an unused port.

How do I get a WWN?

You can use PowerShell to find the WWN in Windows Server 2012, 2012 R2 and 2016 as shown below. Run “Get-InitiatorPort” command from PowerShell prompt (Click on picture below to enlarge it).

What is the difference between Wwpn and Wwnn?

A WWPN (World Wide Port Name) is physically assigned to a part in a Fibre Channel device, such as a FC HBA or SAN. The WWNN (World Wide Node Name) is a World Wide Name assigned to a node in a Fibre Channel fabric.

How do I find disk path in Solaris?

How to Monitor a Disk Path

  1. Become superuser or assume a role that provides solaris. cluster. modify RBAC authorization on any node in the cluster.
  2. Monitor a disk path. # cldevice monitor -n node disk.
  3. Verify that the disk path is monitored. # cldevice status device.

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 fcinfo command in Solaris 11?

The following examples show the most common administration operations that can be performed by using the fcinfo command: To list information of the HBA ports and their link statistics use the fcinfo hba-port -l command. To list all the remote ports on all the HBAs, use the fcinfo remote-port command.

Are there Fibre Channel Luns in Oracle Solaris?

Oracle Solaris 10 and Oracle Solaris 11 come with a Fibre Channel initiator stack you can configure to integrate Fibre Channel (FC) LUNs presented by the Sun ZFS Storage Appliance into the Oracle Solaris environment.

When to use cfgadm 1m in Solaris?

This command is used most frequently to configure storage devices on a SAN. This command also provides configuration administration operations on dynamically reconfigurable hardware resources. For more information, see the cfgadm (1M) man page.