Rick,
  Are FCP adapters that you are referring to the same as the physical fcp 
channels (or CHPIDs)  that are defined to the vm lpar through HCD? If so, I 
have (4) physical FCP channels defined on the lpar, and I am using a different 
channel for each linux guest. This is the same configuration for both RedHat 
and SUSE. When I used the same FCP channel for both guests, I received an 
additional "path in use" error message, which I should have expected. We have 
reversed the order in which the guests are brought up with the RedHat guests, 
and the 1st guest that comes up will successfully access the lun, and the 2nd 
guest will receive the error. 
                Thank you,     Bob  

-----Original Message-----
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Richard 
Troth
Sent: Thursday, June 24, 2010 10:56 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Shared fcp between two linux guests

Bob --

You said:

> NPIV is not turned on at the lpar level, but it is turned on at the 
> SAN level.

If you're sharing the same physical FCP adapter(s) between the two Linux 
guests, then you probably need NPIV (at the LPAR level).

I cannot imagine how your other Linux guests are able to share a LUN if the 
storage frame sees the same Linux-side WWPN (FCP WWPN).  Since you indicated 
that your SuSE guests *can* share a LUN between them, I have to ask if they are 
using different physical FCP adapters or if there is NPIV in play for the FCP 
adapter(s) they are using.  What's the deal there?

The only time I have been able to share a LUN, the storage frame has always 
seen different "HBA-side" WWPNs, whether physically different FCP adapters or 
with NPIV.

Try reversing the order in qhich the guests are brought up to test things.

-- Rick;   <><





On Thu, Jun 24, 2010 at 10:43, Bob McCarthy <bob.mccar...@custserv.com> wrote:
> We are planning to setup an Oracle RAC environment with two linux 
> guests on the same vm lpar. They will be accessing fcp disk. The 
> problem is as
> follows:
> 1. Guest 1 is brought up. "lszfcp -D" command will show the wwpn and 
> lun as expected 2. Guest 2 is brought up. "lszfcp -D" command shows 
> nothing. "lszfcp -P"
> command will show the wwpn
> Looking at the error log in linux we see the following messages :
> Jun 21 15:36:52 tdcrac02 kernel: zfcp: The adapter 0.0.8001 reported 
> the following characteristics:
> Jun 21 15:36:52 tdcrac02 kernel: zfcp: Switched fabric fibrechannel 
> network detected at adapter 0.0.8001.
> Jun 21 15:36:52 tdcrac02 kernel: zfcp: unit erp failed on unit 
> 0x0020000000000000 on port 0x5001738001820141  on adapter 0.0.8001 We 
> are running zVM V5.4 and RedHat linux v5.5. The fcp disk is assigned 
> separate channel paths in each guest through DEDICATE statements in vm.
> NPIV is not turned on at the lpar level, but it is turned on at the 
> SAN level. Additionally, we have set up two guests with the exact same 
> configuration, but using SUSE 10SP2. This configuration has no 
> problems sharing the SAN disk. Is there configuration in RedHat that 
> must be done that would be different from SUSE ?
>                                              Thank you,    Bob
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send 
> email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit 
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to