On 02/29/2016 02:21 PM, Rothman, Peter wrote:
This is per our Linux sysadmin.
I have asked him about the WWPN - FYI this was the posted.

We need the target WWPN which typically the storage and or SAN admin knows about.

The loaddev portname looks like the initiator WWPN of your local FCP=20
device 0.0.2000, so the open port fails as expected.
Portname should be (one of) the storage target WWPN(s) behind which your =

LUN is reachable (it must be the LUN that contains the "zipl target",=20
which is /boot with RHEL, and thus the zipl boot record).

Is there a way I can query the wwpn 'behind' the LUN?

From the host / Linux perspective, the LUNs are behind the target port WWPN.

In a running Linux, you can use "lszfcp -P" to see all target ports that zfcp could discover
[http://www-01.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.lgdd/lgdd_t_fcp_wrk_pinfo.html
http://www-01.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.ldsg/ldsg_r_scsiipl_sanaddr.html]
If you don't have Linux running, you could use the z/VM tool SCSIDISC to discover target ports
[http://www-01.ibm.com/support/knowledgecenter/SSB27U_6.3.0/com.ibm.zvm.v630.hcpb7/scsidisc.htm],
or you can use "FCP SAN Explorer" on the HMC/SE
[presentation I referenced in an earlier mail].

Depending on your zoning and LUN masking you need to chose the correct target port if multiple ports were discovered.

Earlier you wrote that you could successfully install and reboot.
Alternatively, you can use such a running Linux instance and run "lsreipl" to figure out the necessary FCP addressing parameters for a manual IPL. The Linux distribution installer figured this out already.
[http://www-01.ibm.com/support/knowledgecenter/linuxonibm/com.ibm.linux.z.lgdd/lgdd_r_lsreipl_cmd.html]

Our storage guys always zone the storage to/for the WWPN that CP displays via 
the Q FCP command.

The zone also contains the storage target port(s) which the host / initiator needs for accessing the LUNs.


--
Mit freundlichen Grüßen / Kind regards
Steffen Maier

Linux on z Systems Development

IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

----------------------------------------------------------------------
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