On 06/17/2015 07:45 AM, Mainframe Mainframe wrote:
We are using SUSE 11.2 z/Linux system with FCP channels. There are  issues
with one host that WWPN  being dropped .
So, now we want to use different WWPN number for this host and bring up
again.

Do you really mean the WWPN for host as in Fibre Channel host (Linunx fc_host), i.e. the initiator WWPN of the FCP device itself?

Why?

It's the machine (not the OS) that automatically manages initiator WWPNs;
both the physical WWPN of the FCP channel as well as all the virtual WWPNs of NPIV-enabled FCP devices of FCP channels. Both contain an IBM OUI prefix and something derived from the CEC's I/O serial.
NPIV WWPNs also contain an automatically generated suffix.
Physical Channel WWPNs also contain the PCHID followed by 1 as 4 trailing hex digits (as of z196).
http://www.redbooks.ibm.com/redbooks/SG247266/wwhelp/wwhimpl/api.htm?href=10-1-1.htm

For doing this, as per my knowledge we have to change entries in two places

1) z/VM text file, which is used while z/Linux comes up and have network
related information etc.

If you refer to the parm file used to pass kernel parameters at boot/IPL, then this does not deal with initiator WWPNs. Only for some distro installers it can be used to configure LUNs but that involves storage target WWPNs.

2) Somewhere in z/Linux kernel. I am not sure the exact location

Can anybody help me making this WWPN changes in z/Linux kernel  .

Linux configuration only deals with storage target WWPNs.
Pointers are in a presentation I referred to earlier:
http://www.mail-archive.com/linux-390@vm.marist.edu/msg67433.html

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

Linux on System z 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