New HMC commands: chnportlogin and lsnportlogin - Login in Virtual Fibre Channel adapters for NPIV client LPARs.There are two new HMC (V7.7.3.0) commands that can force a client Virtual Fibre Channel adapter to log into a SAN. This should make the life of the AIX and SAN administrator easier, as they will no longer need to install AIX in order for the new VFC adapters to log into the SAN. Although there was an unsupported method* for doing this already (see links below). Nor will the SAN admins need to “blind” zone the WWPNs.There was some indication of this in the latest VIOS FP readme:
http
· Enabled SAN login from VIOS
And there was this:
IZ95569: ENABLE SAN LOGIN FROM VIOS FOR IMPROVED UABILITY http
Problem summary · Customer will be able to instruct the VIOS to login to the SAN · for a given WWPN on a given virtual adapter to allow the · customer to see the WWPN in SAN management tools and easing · the task of configuring new NPIV client · partitions. · Problem conclusion · add commands to VIOS manager interface to allow the HMC to · login, logout and query virtual adapters.
And finally this:
http
1. The chnportlogin command allows you to perform N Port login and logout operations for virtual fibre channel client adapters that are configured in a partition or a partition profile. Use this command to help you in zoning WWPNs on a Storage Area Network (SAN). A login operation activates all inactive WWPNs, including the second WWPN in the pair assigned to each virtual fibre channel client adapter. This feature is particularly useful for Logical Partition Migration. A logout operation deactivates all WWPNs not in use. A successful login of a virtual fibre channel adapter requires that the corresponding virtual fiber channel server adapter must exist and that it must be mapped.
2. The lsnportlogin command also allows you to list WWPN login status information for virtual fibre channel client adapters configured in partitions or partition profiles.
I found a lot of this information on the IBM developerWorks PowerVM forum:
http
Thanks to http
Here’s an example of using the lsnportlogin command on one of my systems:
hscroot@HMC1:~> lsnportlogin -m 770-1-Rack_D191 --filter "pro lpar lpar lpar lpar lpar lpar lpar lpar lpar lpar lpar lpar lpar lpar lpar lpar
Descriptions of selected command attributes: wwpn_status
Some related links:
lsnportlogin http
chnportlogin http
*How to force a vfc-client device to log in to the SAN (The OLD way)! http
How to Capture SAN Boot Debug for Virtual I/O Server and AIX on P6 Systems
http
Disk path design for AIX including SAN zoning http
|
If you are doing first build of a vio, boot it to open-firmware and use ioscan. Nice summary how to at http://ibmsystemsmag.blogs.com/aixchange/2011/09/logging-fibre-cards-into-a-switch.html. More detailed stuff at https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power+Systems/page/How+to+force+virtual+Fibre+to+login+to+SAN <https: www.ibm.com="www.ibm.com" developerworks="developerworks" community="community" wikis="wikis" home="home" lang="en#%21/wiki/Power+Systems/page/How+to+force+virtual+Fibre+to+login+to+SAN"></https:>
Hi rgpr_pravin, this feature was added to VIOS 2.2.0.13 FixPack 24 SP03. It's listed under Miscellaneous Enhancements as Enabled SAN login from VIOS.
Chris, I see this error, for all the LPARs, while listing the port information using lsnportlogin command HSCLB024 This operation is not supported by Virtual I/O Server partition Is there any dependency with the VIOS level as well?? my vios level is 2.2.0.10-FP-24 Thanks, Prav