Sponsored Content
Operating Systems AIX GPFS initial setup, but perhaps this is a SAN/VIO question Post 302739193 by kneemoe on Monday 3rd of December 2012 04:47:55 PM
Old 12-03-2012
GPFS initial setup, but perhaps this is a SAN/VIO question

I'm having some trouble getting a POC of GPFS up and running. I've read a couple install guides including a couple IBM pdfs but I'm getting stumped on something I think is fairly fundamental.... I'm trying to do this all on a single 795, right now only the VIOs have HBAs so all LUNs are pointed to those HBAs. Can I simply go into the HMC and double allocate the LUN (assign the slot to two or more LPARs) and expect that to work? Do I need to install a few more HBAs, allocate them to the individual LPARs and then have the SAN folks double or triple assign the LUNs to corresponding HBAs that way?
I tried the first way and received an error, but I'm not sure if that was because of something I'm doing wrong, or if the HMC will try to make sure I'm not doing something it thinks I don't want to do.

Thanks for your help all!
 

9 More Discussions You Might Find Interesting

1. AIX

AIX virtualization: IVM initial network setup

I have a system model 505 p server. I am trying to virtualize my server. My network admin has given me 10 IP addresses (with the DNS already updated with names that map onto each ip). E.g.: IP1 maps to m1.lab, IP2 maps to m2.lab, etc I have been following the redpaper "Integrated Virtualization... (0 Replies)
Discussion started by: apsaix
0 Replies

2. AIX

VIO SAN STORAGE LPAR ( Dynamically increasing size )

Hi, Is there a way to dynamically increase the size of virtual disk on the LPAR. The virtual disk is coming from my VIO Server. From my SAN I have allocated a disk to VIO Server and from VIO Server to my LPAR....If I increase the space of the logical SAN DISK (DS 4700 using IBM TotalStorage... (0 Replies)
Discussion started by: filosophizer
0 Replies

3. AIX

JS23 VIO setup.

I hope there is someone out there that understands VIO settings on a JS23. The problem I have is the VIO server already exists but I need to increase the number of VSCSI adapters (VHOST). If this was a normal LAPR on a p series using an HMC I would simply create a virtual SCSI adapter and... (3 Replies)
Discussion started by: johnf
3 Replies

4. AIX

AIX GPFS Setup

:cool:Hello, can someone guide me how to create a GPFS filesystem, I've read a couple of redbooks however certain things are still not certain, like if you require to download files or licenses... any help would be appreciated! (2 Replies)
Discussion started by: ollie01
2 Replies

5. AIX

How to configure new hdisk such that it has a gpfs fs on it and is added to a running gpfs cluster?

Hi, I have a running GPFS cluster. For one every mountpoint that i have created i have one disk assigned to it. That disk is converted to an NSD and is a part of the GPFS Cluster. Now i have a new disk and there is this requirement to add it to the GPFS cluster, such that this becomes an NSD.... (1 Reply)
Discussion started by: aixromeo
1 Replies

6. Shell Programming and Scripting

initial setup for iconv

hi I am trying iconv on my linux machine for conversion of RUSSIAN to ENGLISH, but i am not able to get exact result. i want to know what initial setting in linux machine we need to do to get desired output I created sample russian file using google translate in CP866 endcoding and full... (5 Replies)
Discussion started by: peeyushgehlot
5 Replies

7. IP Networking

DNS question about initial Master/Slave setup

Hey everyone. I'm creating a DNS master/slave server set up. I have the configurations all done I believe, the master has the required zone file, and the named.conf file has the allow transfer and allow query stuff set. The slave has it's own configs set. My question is that when initially... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies

8. AIX

New IBM Power8 (S822) and StorWiz V3700 SAN, best practices for production setup/config?

Hello, Got a IBM Power8 box (S822) that I am configuring for replacement of our existing IBM machine. Wanted to touch base with the expert community here to ensure I don't miss anything critical in my setup/config of AIX. Did a fresh AIX 7.1 install on the internal scsi hdisk, mirror'ed... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

9. HP-UX

SAN Migration question

Hi, I am very new to HP-UX, and we're going to be doing a SAN migration. We're going to take down the machine, and zone it to the new SAN. My question is, will the device names change and will that interfere with the LVM? If the new disks come in with different device names, how would I... (3 Replies)
Discussion started by: BG_JrAdmin
3 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 ver- | | |sion 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.11 1 Sep 2003 HBA_GetFcpTargetMapping(3HBAAPI)
All times are GMT -4. The time now is 09:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy