Sponsored Content
Operating Systems Solaris Problems fetching EMC disks to Solaris OS. Post 302225304 by incredible on Friday 15th of August 2008 05:38:29 AM
Old 08-15-2008
Is the LUN ids populated in the sd.conf file, wwn and its target reflected correctly in the lpfc.conf file?Smilie
 

9 More Discussions You Might Find Interesting

1. Solaris

Reclaiming EMC disks after losing paths

First time writer....take it easy on me. I had a situation where I lost all paths to EMC disk. There was a failure on the EMC frame. After that was repaired, my server had a difficult time reclaiming all disks and veritas had marked the disks as failed. Veritas was confused. What are some of... (3 Replies)
Discussion started by: Sowser
3 Replies

2. AIX

Configurin EMC SAN disks on AIX

This may sound like an absolute rookie question, and it is. I have been working on Migrating our HP and Solaris servers to the new EMC SAN and know the routines backwards. Now we've suddenly got a new IBM server and I don't even know how to check if it is connected to the switch. Can someone... (1 Reply)
Discussion started by: ronellevan
1 Replies

3. Web Development

Tricky mod_rewrite for clean urls problems when fetching external sources

Hi, I have problems with mod rewrite. I will try to describe... I want clean urls but fail to make it work propperly. Maybe I have problems, because the content displayed is fetched from my other site... There is a lot of stuff I already red about this, but somehow I can not find a solution... (2 Replies)
Discussion started by: lowmaster
2 Replies

4. Solaris

Documentation on connecting EMC storage to Solaris servers

Hi Can anyone suggest me some documents for EMC clarion documents which I am going to use in the servers with solaris environments. (1 Reply)
Discussion started by: ningy
1 Replies

5. UNIX for Advanced & Expert Users

Removing EMC LUN from Solaris 10 host without a reboot

I have seen a few threads / posts on the forum's but nothing specific to what Iam after. So Iam hoping you can help. Issue : Iam hoping to remove unused emc luns from my solaris servers , T2000 (5.10 Generic_142900-02). I have a list of the process I have followed for the removal of the luns.... (3 Replies)
Discussion started by: furby
3 Replies

6. Shell Programming and Scripting

Solaris Server dectects EMC dead path and send mail immediately

taus-itcapp1#powermt display dev=all Pseudo name=emcpower0a CLARiiON ID=APM00105201788 Logical device ID=60060160B2202B001094F0E0AF5CE011 state=alive; policy=CLAROpt; priority=0; queued-IOs=0; Owner: default=SP A, current=SP A Array failover mode: 1 ... (6 Replies)
Discussion started by: orafup
6 Replies

7. Solaris

Solaris 10 booting from EMC SAN DISK

Hi All, I have server : Sun-Fire-V490 configured with Solaris 10 zfs .. and I have configured three mirror the third one from EMC storage. root@server # zpool status -v pool: rpool state: ONLINE status: The pool is formatted using an older on-disk format. The pool can ... (8 Replies)
Discussion started by: top.level
8 Replies

8. Shell Programming and Scripting

Problems with fetching data from Oracle database

Here's a database query which looks up the NAME column of PRODUCT table SELECT NAME FROM PRODUCT ; And this query retrieves me the following output SUGAR COCOA HONEY WHEAT CABBAGE CAULI FLOWER Please note the last record CAULI FLOWER contains TWO blank spaces between the two words. ... (4 Replies)
Discussion started by: kumarjt
4 Replies

9. Solaris

Solaris/vxvm/EMC Lun configuration

Hello all, i try to allocate the same LUN to two server (or more in the future) i use solaris 10, vxvm (vxfs) for data and solaris zones and EMC DMX-4, i try to migrate solaris zones between servers in case of problem. and this is what i want to do - affect LUN to srv00124 and srv10155 -... (5 Replies)
Discussion started by: mat_solaris
5 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 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy