Sponsored Content
Operating Systems Solaris Solaris 10 installing on Cisco UCS doesn't see HBAs Post 302988710 by achenle on Saturday 31st of December 2016 09:13:10 PM
Old 12-31-2016
What's the output from running scanpci?
 

6 More Discussions You Might Find Interesting

1. Solaris

Connect Solaris 10 to NetApp filer using Emulex single port HBAs.

Hi, I'm connecting a Solaris 10 server to a Netapp filer with two single port Emulex (Sun StorageTek PCI-X Enterprise 4GB FC HBA) HBAs. After physically installing both these HBAs what do I ned to do within Solaris 10 to enable them and configure them with persistent bindings. Do I need... (6 Replies)
Discussion started by: gwhelan
6 Replies

2. Slackware

latex-ucs

Hi! I am using Slackware 12.1 and I have a question regarding LaTeX. I am trying to use the package ucs, so that I can write in greek, but with no success. In Debian there is a package latex-ucs.deb that does the trick. Is there something similar in Slackware? Thanks in advance (1 Reply)
Discussion started by: kerb41
1 Replies

3. Shell Programming and Scripting

Perl variables inside Net::Telnet::Cisco Module doesn't work

I am writing perl script to configure Cisco device but Variables inside Net::Telnet::Cisco Module doesn't work and passed to device without resolving. Please advise. here is a sample of script: use Net::Telnet::Cisco; $device = "10.14.199.1"; ($o1, $o2, $o3, $o4) = split(/\./,$device);... (5 Replies)
Discussion started by: ahmed_zaher
5 Replies

4. Solaris

Connecting Solaris 10 to Cisco PIX with IPsec tunnel

I having problem connecting to a Cisco PIX Log from IKE # /usr/lib/inet/in.iked -f /etc/inet/ike/config -d Jan 16 00:40:57: 2012 (+0800) *** in.iked started *** Jan 16 00:40:57: Loading configuration... Jan 16 00:40:57: Checking lifetimes in "nullrule" Jan 16 00:40:57: Using default value... (0 Replies)
Discussion started by: conandor
0 Replies

5. Red Hat

UCS installation issues

I am installing RHEL6 on a Cisco UCS blade and the GUI isn't showing up. Curious!!!!! I have installed it on 5 of the other blades and the GUI is there. However, there are many issues that I am having and I am going crazy with this thing. I have issues where the network adapters are not showing... (1 Reply)
Discussion started by: styehimba
1 Replies

6. IP Networking

How to stack Cisco 2960-S and Cisco 2960X?

Is there an easy way to stack Cisco 2960-S and Cisco 2960X switches? If you have no idea, follow this: 1. Stacking is not supported on switches running the LAN Lite image. All switches in the stack must be running the LAN Base image. 2. In a mixed stack of Catalyst 2960-X and Catalyst 2960-S... (0 Replies)
Discussion started by: Ayaerlee
0 Replies
HBA_GetFcpTargetMapping(3HBAAPI)	      Common Fibre Channel HBA Information Library Functions		  HBA_GetFcpTargetMapping(3HBAAPI)

NAME
HBA_GetFcpTargetMapping, HBA_GetFcpTargetMappingV2 - retrieve mapping between FCP-2 discovered devices and operating system SCSI informa- tion SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_GetFcpTargetMapping(HBA_HANDLE handle, HBA_FCPTARGETMAPPING *mapping); HBA_STATUS HBA_GetFcpTargetMappingV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_FCPTARGETMAPPINGV2 *mapping); PARAMETERS
handle an open handle returned from HBA_OpenAdapter(3HBAAPI) mapping a buffer in which to store the mapping entries. The mapping->NumberOfEntries member must indicate the maximum number of entries that will fit within the buffer. On completion, the mapping->NumberOfEntries member indicates the actual number of mapping entries for the HBA. This value can be greater than the number of entries the buffer can store. hbaPortWWN the Port Name of the local HBA Port for which the caller is requesting target mappings. DESCRIPTION
The HBA_GetFcpTargetMapping() function retrieves the current set of mappings between FCP LUNs and SCSI LUNs for a given HBA port. The HBA_GetFcpTargetMappingV2() function retrieves the current set of mappings between FCP LUNs and SCSI LUNs for a given HBA. The mapping also includes a Logical Unit Unique Identifier for each logical unit. RETURN VALUES
The HBA_GetFcpTargetMappingV2() function returns the following values: HBA_STATUS_ERROR_ILLEGAL_WWN The port WWN specified by hbaPortWWN is not a valid port WWN on the specified HBA HBA_STATUS_ERROR_NOT_SUPPORTED Target mappings are not supported on the HBA. HBA_STATUS_ERROR An error occurred. The HBA_GetFcpTargetMapping() and HBA_GetFcpTargetMappingV2() functions return the following values: HBA_STATUS_OK The HBA was able to retrieve information. HBA_STATUS_ERROR_MORE_DATA A larger buffer is required. The value of mapping->NumberOfEntries after the call indicates the total number of entries available. The caller should reallocate the buffer large enough to accomodate the indicated number of entries and reissue the routine. In the event that other error values are returned, the value of mapping->NumberOfEntries after the call should be checked, and if greater than the value before the call, a larger buffer should be allocated for a retry of the routine. ERRORS
See libhbaapi(3LIB) for general error status values. EXAMPLES
Example 1: Return target mapping data. The following example returns target mapping data. It initially allocates space for one target mapping. If the number of entries returned is greater than the allocated space, a new buffer with sufficient space is allocated and HBA_GetFcpTargetMapping() is called again. map = (HBA_FCPTARGETMAPPING *)calloc(1, sizeof (HBA_FCPTARGETMAPPING)); status = HBA_GetFcpTargetMapping(handle, map); if (map->NumberOfEntries > 0) { HBA_UINT32 noe = map->NumberOfEntries; free(map); map = (HBA_FCPTARGETMAPPING *)calloc (1, sizeof (HBA_FCPTARGETMAPPING) + (sizeof (HBA_FCPSCSIENTRY)*(noe - 1))); map->NumberOfEntries = noe; if ((status = HBA_GetFcpTargetMapping(handle, map)) != HBA_STATUS_OK) { fprintf(stderr, " Failed to get target " "mappings %d", status); free(map); } else { printf(" FCP Mapping entries: "); for (cntr = 0; cntr < map->NumberOfEntries; cntr ++) { printf(" Path(%d): "%s" ", cntr, map->entry[cntr].ScsiId.OSDeviceName); } } } 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_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5) T11 FC-MI Specification BUGS
The HBA_GetFcpTargetMapping() routine does not take a portindex to define which port of a multi-ported HBA the command should apply to. The behavior on multi-ported HBAs is vendor specific, and may result in mappings or bindings for all ports being intermixed in the response buffer. SNIA version 2 defines a HBA_GetFcpTargetMappingV2() which takes a Port WWN as an argument. This fixes the bug with multi-ported HBAs in HBA_GetFcpTargetMapping(). SunOS 5.10 1 Sep 2003 HBA_GetFcpTargetMapping(3HBAAPI)
All times are GMT -4. The time now is 03:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy