Sponsored Content
Full Discussion: SAN Connected RedHat Server
Operating Systems Linux Red Hat SAN Connected RedHat Server Post 302172613 by sallender on Tuesday 4th of March 2008 08:56:48 AM
Old 03-04-2008
SAN Connected RedHat Server

I received 4 pre-loaded ready-to-go intel servers running RedHat Enterprise Linux 3 kernel version 2.6.9-22.18 build date june 29, 2006. They are equiped with QLOGIC 2400 dual-port HBA cards. I need to know what utilities or command-sets are available to check these cards out? How do I get their WWN's/port? I see they are connected to the SAN, but I want some sort of utilities on the server side to administer. ANy help is appreciated!

sa

Last edited by sallender; 03-04-2008 at 10:19 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to know how many user's connected to ftp and http server

i need to write a program to know how many users are presently connected to my ftp server and http server . i need to keep a count of this and this count should be available to other different software . how to make this GLOBAL so that other softwares can access this count value (7 Replies)
Discussion started by: hariprasad
7 Replies

2. Solaris

2 x HBA, connected to a SAN, but no Multi path software - What happens ?

Hi there Now, Ive always support servers that used multi path software with dual cards, e.g. powerpath (emc ) / MPXIO. I got asked a question today, that if a solaris 8/9/10 host had 2 HBA cards, but no multipathing software, what would happen ?? Does the HBA card with the highest id on the... (2 Replies)
Discussion started by: sbk1972
2 Replies

3. UNIX for Dummies Questions & Answers

a lot of Buffer I/O error on device connected to SAN

hi guys I have a server(x3650 M2) connected to a SAN...it takes a long time to boot with a lot errors like these any idea how to fix that? Suse Enterprise 10 SP3 update as soon as I disconnect the HBAs boots up normal and fast and no messages sdi:end_request: I/O error, dev sdh,... (0 Replies)
Discussion started by: kopper
0 Replies

4. Solaris

ALOM wont work when KVM connected to Sun Fire V440 server

Hi, I was asked to connect a KVM screen to a Sun Fire V440 last night so I connected it up but no joy and nothing on the KVM screen. I was told that a reboot may fix the problem so connected to the ALOM and rebooted. On the plus side, the KVM screen now works but I lost the ALOM connection. ... (0 Replies)
Discussion started by: jimmy54321
0 Replies

5. Red Hat

San Basics for Redhat

Hi All, Need few answers 1) How to check HBA Card in rhel4/5/6. 2) How to HBA is faulty? 3) How to replace an HBA ? 4) How to reconfigure an HBA (3 Replies)
Discussion started by: Devendra.Sachde
3 Replies

6. Solaris

SAN/Solaris: luxadm shows NOT CONNECTED

Hi, I have a question regarding HBA configuration. Here are the commands' output: # cfgadm -al | grep fc c1 fc-fabric connected unconfigured unknown c2 fc connected unconfigured unknown c5 ... (11 Replies)
Discussion started by: aixlover
11 Replies

7. Solaris

Command see all devices connected to Sun server

Hi All, How to view all devices connected to Sun E2900. I wan to view all components attached to it. Please help Regards, NSkumar (3 Replies)
Discussion started by: nskumar
3 Replies

8. Shell Programming and Scripting

Unix server to Hard-drive connected on the machine

Hi, I have an external hard drive connected to my iMac. I am logged into a Linux_x86_64 server. Now, if I want to download files directly to the hard drive, is there a way to do it. Currently, I am chasing cyberduck to download content to the hard drive. (3 Replies)
Discussion started by: jacobs.smith
3 Replies

9. Red Hat

Redhat server is not connected via putty

i have a redhat linux 5.3 machine. i can ping that machine remotely from my laptop. but when i connect that server via putty after providing username and password there is wait for some minutes and then i get error message "server unexpectedly closed network connection" Please guide... (2 Replies)
Discussion started by: rehantayyab82
2 Replies

10. UNIX for Beginners Questions & Answers

Sun Ray 3 UNIX Lab not connected to Solaris 10 Server

All 30 of my students in the Linux Lab here at school have the same message showing on their screen when they try to log into the server. How can we Authenticate the Server and fix the missing specific parameters on the Solaris Server to fix this issue ?? (6 Replies)
Discussion started by: mwilliams21z
6 Replies
HBA_GetAdapterPortAttributes(3HBAAPI)         Common Fibre Channel HBA Information Library Functions         HBA_GetAdapterPortAttributes(3HBAAPI)

NAME
HBA_GetAdapterPortAttributes, HBA_GetDiscoveredPortAttributes, HBA_GetPortAttributesByWWN - retrieve Fibre Channel port attributes for a specific device SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_GetAdapterPortAttributes(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_PORTATTRIBUTES *portattributes); HBA_STATUS HBA_GetDiscoveredPortAttributes(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_UINT32 discoveredportindex, HBA_PORTATTRIBUTES *portattributes); HBA_STATUS HBA_GetPortAttributesByWWN(HBA_HANDLE handle, HBA_WWN PortWWN, HBA_PORTATTRIBUTES *portattributes); PARAMETERS
handle an open handle returned from HBA_OpenAdapter(3HBAAPI) portindex the index of a specific port on the HBA as returned by a call to HBA_GetAdapterAttributes(3HBAAPI). The maximum value specified should be (HBA_ADAPTERATTRIBUTES.NumberOfPorts - 1). portattributes a pointer to an HBA_PORTATTRIBUTES structure. Upon successful completion, this structure contains the specified port attributes. discoveredportinthe index of a specific discovered port on the HBA as returned by HBA_GetAdapterPortAttributes(3HBAAPI). The maximum value specified should be (HBA_PORTATTRIBUTES.NumberOfDiscoveredPorts - 1). PortWWN the port WWN of the device for which port attributes are retrieved. DESCRIPTION
The HBA_GetAdapterPortAttributes() function retrieves Port Attributes for a specific port on the HBA. The HBA_GetDiscoveredPortAttributes() function retrieves Port Attributes for a specific discovered device connected to the HBA. The HBA_GetPortAttributesByWWN() function retrieves Port Attributes for a specific device based on the PortWWN argument. RETURN VALUES
Upon successful completion, HBA_STATUS_OK is returned. Otherwise, an error value is returned from the underlying VSL and the values in hbaattributes are undefined. ERRORS
See libhbaapi(3LIB) for general error status values. EXAMPLES
Example 1: Retrieve the port attributes for each port on the HBA. The following example retrieves the port attributes for each port on the HBA. for (hbaPort = 0; hbaPort < hbaAttrs.NumberOfPorts; hbaPort++) { if ((status = HBA_GetAdapterPortAttributes(handle, hbaPort, &hbaPortAttrs)) != HBA_STATUS_OK) { fprintf(stderr, "Unable to get adapter port %d " "attributes for HBA %d with name "%s". ", hbaPort, hbaCount, adaptername); HBA_CloseAdapter(handle); continue; } memcpy(&wwn, hbaPortAttrs.PortWWN.wwn, sizeof (wwn)); printf(" Port %d: WWN=%016llx ", hbaPort, wwn); /* ... */ } Example 2: Retrieve the discovered port target attributes for each discovered target port on the HBA. The following example retrieves the discovered port target attributes for each discovered target port on the HBA. for (discPort = 0; discPort < hbaPortAttrs.NumberofDiscoveredPorts; discPort++) { if ((status = HBA_GetDiscoveredPortAttributes( handle, hbaPort, discPort, &discPortAttrs)) != HBA_STATUS_OK) { fprintf(stderr, "Unable to get " "discovered port %d attributes for " "HBA %d with name "%s". ", discPort, hbaCount, adaptername); continue; } memcpy(&wwn, discPortAttrs.PortWWN.wwn, sizeof (wwn)); printf(" Discovered Port %d: WWN=%016llx ", discPort, wwn); /* ... */ } 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_GetAdapterPortAttributes(3HBAAPI), HBA_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5) T11 FC-MI Specification SunOS 5.10 1 Sep 2003 HBA_GetAdapterPortAttributes(3HBAAPI)
All times are GMT -4. The time now is 08:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy