identify wwn on js21 lpar

hello, this is my first post please be gentle...

im running aix 5.3 on a js21 lpar (that machine has another lpar and the vios), however i can't seem to find the wwn of the card when i:

lscfg					+ sys0                                                      System Object
+ sysplanar0                                                System Planar
* vio0                                                      Virtual I/O Bus
* ent0            U7988.J21.0612C2A-V3-C4-T1                Virtual I/O EthernetAdapter (l-lan)
* vscsi0          U7988.J21.0612C2A-V3-C2-T1                Virtual SCSI Client Adapter
* hdisk0          U7988.J21.0612C2A-V3-C2-T1-L810000000000  Virtual SCSI Disk Drive
* vsa0            U7988.J21.0612C2A-V3-C0                   LPAR Virtual Serial Adapter
* vty0            U7988.J21.0612C2A-V3-C0-L0                Asynchronous Terminal
+ L2cache0                                                  L2 Cache
+ mem0                                                      Memory
+ proc0                                                     Processor

now i connected to the other lpar

						Lscfg


+ sys0                                                      System Object
+ sysplanar0                                                System Planar
* vio0                                                      Virtual I/O Bus
* ent0            U7988.J21.0612C2A-V2-C4-T1                Virtual I/O EthernetAdapter (l-lan)
* vscsi0          U7988.J21.0612C2A-V2-C2-T1                Virtual SCSI Client Adapter
* hdisk0          U7988.J21.0612C2A-V2-C2-T1-L810000000000  Virtual SCSI Disk Drive
* vsa0            U7988.J21.0612C2A-V2-C0                   LPAR Virtual Serial Adapter
* vty0            U7988.J21.0612C2A-V2-C0-L0                Asynchronous Terminal
+ L2cache0                                                  L2 Cache
+ mem0                                                      Memory
+ proc0                                                     Processor

but on the vios

						# lscfg | grep fc
+ fcs0            U788D.001.0612C2A-P1-C5-T1                                    FCAdapter
+ fcs1            U788D.001.0612C2A-P1-C5-T2                                    FCAdapter

so, as you can see im new to aix, but i know my way around linux, im guessing:
"the cards are atached to the js21 but not configured to any of the lpars"

now my questions are:

1.- why (if those are the cards) i cant see a wwn?
2.- how can i atach one card to one lpar? - please i have looked on google a lot, and i mean... a lot, i even downloaded the ibm redbook for js21

one other thing... i see kind of strange the output of the lscfg | grep fs so i did a

						# lscfg | grep FC
+ fcs0            U788D.001.0612C2A-P1-C5-T1                                    FCAdapter
* fscsi0          U788D.001.0612C2A-P1-C5-T1                                    FC SCSII/O Controller Protocol Device
* hdisk1          U788D.001.0612C2A-P1-C5-T1-W5006048452A5CFB7-L0               EMCSymmetrix FCP Raid1
* hdisk3          U788D.001.0612C2A-P1-C5-T1-W5006048452A5CFB7-L15000000000000  EMCSymmetrix FCP Raid5
* hdisk5          U788D.001.0612C2A-P1-C5-T1-W5006048452A5CFB7-L14000000000000  EMCSymmetrix FCP Raid5
+ fcs1            U788D.001.0612C2A-P1-C5-T2                                    FCAdapter
* fscsi1          U788D.001.0612C2A-P1-C5-T2                                    FC SCSII/O Controller Protocol Device
* hdisk2          U788D.001.0612C2A-P1-C5-T2-W5006048452A5CFB8-L0               EMCSymmetrix FCP Raid1
* hdisk4          U788D.001.0612C2A-P1-C5-T2-W5006048452A5CFB8-L15000000000000  EMCSymmetrix FCP Raid5
* hdisk6          U788D.001.0612C2A-P1-C5-T2-W5006048452A5CFB8-L14000000000000  EMCSymmetrix FCP Raid5

well anyway i hope someone can help me with this...

somebody?...please!!!!

edit by bakunin: set aside the fact that your behavior - bumping up threads - is explicitly against the rules which you, with your registration, have agreed to abide by. Do you think that giving us merely 2 hours to react before starting to urge us is going to win you any sympathy here?

This is just plain bad manners on your side. We are here in our spare time and helping you is no requirement for us. If you need a responsible, always alert and ready for you expert, please hire one. We, on the other side, are not responsible for you being tasked with a job you are not qualified for.

I will spare you the infraction this time for being new - sort of cubs protection. This doesn't mean i haven't noticed or i do condone it.

Note sure but I think you can not assigne the HBA to LPAR in VIOS/IVM. What you can do is you can directly assigne the Hdisk which are on the HBA to LPAR through vhost mapping.

I don't know much about the VIOS and IBM. May be this redbook can help you.

You can get the wwn of HBA by lscfg command

Hi

What type of blade center are you using? If it is an IBM (I presume as you are running a Pseries blade) then the fiber connections, on the new blade centers, all run through 2 Brocade fiber switches at the back of the blade center. I am not a blade center specialist but if memory servers me correct there is a certain sequence to the way the blade slot numbers tie up to the port numbers on the internal Brocade switch. It might also be possible to get ww names from the blade center manager console. But if you need to connect to SAN disk, I presume you will use the internal Brocade switch and zone the corresponding ports/wwn with each blade and the relative storage controller.
As for assigning a fiber adapter to an LPAR through VIO, that is not possible. There are only 2 things that VIO can do (pre-PowerVM):

  1. Virtualized network
  2. Virtualized disk

So you will assign disks to the VIOS and then map them accordingly to the client LPAR's. The client LPAR wont see any fcs/fiber adapters.

As Mayank Shah correctly stated "lscfg -vl fcs0" is the correct command to check the ww names. But I am not sure if that works on the Pseries blades, but try it. If that fiber adapter is part of the blade then it should work, but if the fiber connection is done through the blade center then I don't think it will work? Not sure though, let us know what you find

Hope that sorts you out

Banned.