World Wide Name (FLEX)

Does anyone know how to find the Worl Wide Name (WWN) on a IBM flex system ?

Yup, easy.
Where are you looking - where can you look?
FSM / HMC / OS / LPAR?
What are you after and where are you allowed to look?
Sorry but you cannot just come here and ask "how long is a piece of string" because all you'll get is "twice as long as half its length"
;0)
What have you tried?
Why do you need to know?
What, exactly, are you after?
Any host OS may have several WWNs....
Please take the time to explain what you know about the system, why you are asking and what you have tried so far, or you are not going to get much help.
HTH

for HBA in $(lsdev -Cc adapter | grep fcs | awk '{print $1}')
do
     HOST=$(uname -n)
     WWN=$(lscfg -vl $HBA | grep Network)
     echo $HOST $HBA $WWN
done

Great answer akitafan, if AIX is installed, the user has access to the shell, Etc.
If they are trying to zone for a SAN install then your answer is clearly well wide of the mark!

Tharsan,

There is a pretty easy solution, and that is the command line from the Chassis Management Module of the Flex System.

Logon to the CMM via ssh, and then (for the purposes of the example) we assume that the fibre card you are interested in is in Slot Bay 3, and I/O Card 2:

info -T system:blade[3]:exp[2]

If the node is a p460 then the 2nd card would be in:

info -T system:blade[3]:exp[4]

This is how I would add an node to an existing Flex system where it has no internal disk and would need SAN Zoning for its VIO Server.

Hope that helps
Ross