Visit Our UNIX and Linux User Community

Operating Systems Solaris How to find port number wwn of particular port on dual port HBA,? Post 302947966 by hicksd8 on Wednesday 24th of June 2015 08:34:08 AM
Old 06-24-2015
You have two port wwn and two node wwn listed there.

You want to know which port is which?

I suggest connecting a device to one of the ports and then listing devices.

Also, have you downloaded Qlogic's scli utility. Seriously good.
Test Your Knowledge in Computers #749
Difficulty: Medium
The ZX81 had a base configuration of 1 KB of on-board memory that could officially be expanded externally to 64 KB.
True or False?

9 More Discussions You Might Find Interesting

1. HP-UX

To find pid from port number

Hi, I am working on HP-UX Release 11i. I want to find the process id (PID) of the process running on a particular port. lsof command fuser does not work on this system. Please suggest some alternative. Thanks (6 Replies)
Discussion started by: gmat
6 Replies

2. UNIX for Advanced & Expert Users

find out unix port number

Please could some advise me the command to find out the unix port number. regards venhart (4 Replies)
Discussion started by: venhart
4 Replies

3. UNIX for Dummies Questions & Answers

Find what process on port number

Hi, I am on a Sun Solaris and I want to find out which process is allocated on a certain port. How can I do that? BR Andreas (4 Replies)
Discussion started by: mr_andrew
4 Replies

4. IP Networking

4GB Dual Port HBA

I have one 4GB, dual port HBA. Is each port rated for 4GB, or is it the whole HBA rated for 4GB? Also, how do I determine which is port0 / port1 with "lscfg -vl fcs0" command. Thanks. (0 Replies)
Discussion started by: jwholey
0 Replies

5. Shell Programming and Scripting

Find port number being used by a given process id

Unix gurus, I have a requirement wherein I want to find the port number for a given process id. Is it possible? If so how? TIA, Regards, Praveen (3 Replies)
Discussion started by: sunpraveen
3 Replies

6. Solaris

How to enable hba port of a two port hba card

Hi, i have a two port hba card in solaris 10 system one of which is disabled. How to enable and configure the other port. ---------- Post updated at 08:17 AM ---------- Previous update was at 03:40 AM ---------- please help :( (7 Replies)
Discussion started by: rishiraaz
7 Replies

7. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

8. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

9. UNIX for Beginners Questions & Answers

Bash script, find the next closed (not in use) port from some port range.

hi, i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010). the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file. my code is: ... (2 Replies)
Discussion started by: yossi
2 Replies
HBA_OpenAdapter(3HBAAPI)		      Common Fibre Channel HBA Information Library Functions			  HBA_OpenAdapter(3HBAAPI)

HBA_OpenAdapter, HBA_OpenAdapterByWWN, HBA_CloseAdapter - open and close a specific adapter SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_HANDLE HBA_OpenAdapter(char *adaptername); HBA_STATUS HBA_OpenAdapterByWWN(HBA_HANDLE *handle, HBA_WWN wwn); void HBA_CloseAdapter(HBA_HANDLE handle); PARAMETERS
adaptername the name of the adapter to open, as returned by HBA_GetAdapterName(3HBAAPI) handle HBA_OpenAdapterByWWN() a pointer to an HBA_HANDLE HBA_CloseAdapter() the open handle of the adapter to close, as returned by HBA_OpenAdapter(3HBAAPI) wwn the WWN to match the Node WWN or Port WWN of the HBA to open DESCRIPTION
The HBA_OpenAdapter() function opens the adapter specified by adaptername and returns a handle used for subsequent operations on the HBA. The HBA_OpenAdapterByWWN() function opens a handle to the HBA whose Node or Port WWN matches the wwn argument. The HBA_CloseAdapter() function closes the open handle. RETURN VALUES
Upon successful completion, HBA_OpenAdapter() returns a valid HBA_HANDLE with a numeric value greater than 0. Otherwise, 0 is returned. The HBA_OpenAdapterByWWN() function returns the following values: HBA_STATUS_OK The handle argument contains a valid HBA handle. HBA_STATUS_ERROR_ILLEGAL_WWN The wwn argument is not a valid port WWN on the specified HBA. HBA_STATUS_ERROR_AMBIGUOUS_WWN The WWN is matched to multiple adapters. HBA_STATUS_ERROR An error occurred while opening the adapter. EXAMPLES
Example 1: Open an adapter. The following example opens the specified adapter. handle = HBA_OpenAdapter(adaptername); if (handle == 0) { fprintf(stderr, "Unable to open HBA %d with name " ""%s". ", hbaCount, adaptername); continue; } ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard: FC-MI 1.92 (API | | |version 1) | +-----------------------------+-----------------------------+ | |Standard: FC-HBA Version 4 | | |(API version 2) | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
HBA_GetAdapterName(3HBAAPI), HBA_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5) T11 FC-MI Specification SunOS 5.10 1 Sep 2003 HBA_OpenAdapter(3HBAAPI)

Featured Tech Videos

All times are GMT -4. The time now is 10:05 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy