Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2242604.1
Update Date:2017-03-13
Keywords:

Solution Type  Problem Resolution Sure

Solution  2242604.1 :   Unable to create NPIV Ports. Error: Fail To Get Random WWN.  


Related Items
  • Solaris Operating System
  •  
  • SPARC T4-4
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Storage Drivers>SN-DK: Storage Drivers
  •  




In this Document
Symptoms
Cause
Solution
References


Created from <SR 3-14302565711>

Applies to:

SPARC T4-4 - Version All Versions and later
Solaris Operating System - Version 11 11/11 and later
Information in this document applies to any platform.

Symptoms

Unable to create NPIV ports using the following command.

# fcadm create-npiv-port 21xxxxxxxxxxxx46
Error: Fail to get Random WWN

Cause

This behaviour has been documented in Bug 25701864 - fcadm create-npiv-port fails (Error: Fail to get Random WWN).

In summary:

All libraries in /etc/hba.conf should be checked.
However, currently only the last listed library in /etc/hba.conf is checked for symbol Sun_fcAdapterCreateWWN.
If this symbol is not found in that library then the command will fail.
This symbol is present in the libsun_fc libraries.

Check /etc/hba.conf and make sure there have been no entries appended to this file.
 

Solution

If after reviewing /etc/hba.conf it is determined that the last entry is not a libsun_fc library then edit the file.
A reboot is not necessary to effect this change.

For example.

/etc/hba.conf which results in this behaviour:

<extract>
com.sun.fchba /usr/lib/libsun_fc.so.1
com.sun.fchba64 /usr/lib/64/libsun_fc.so.1
qla2x00 /usr/lib/libqlsdm.so <--- last entry
<extract>

/etc/hba.conf that has been edited to resolve this behaviour:

<extract>
com.sun.fchba /usr/lib/libsun_fc.so.1
com.sun.fchba64 /usr/lib/64/libsun_fc.so.1 <--- last entry
#qla2x00 /usr/lib/libqlsdm.so
<extract>

Please note, in this example the qla2x00 entry was superfluous.
If there is a requirement for whatever the last entry is, then relocate it elsewhere in the file.
The objective of the workaround is to make sure a libsun_fc library is the last entry in /etc/hba.conf.


 

References

<BUG:25701864> - FCADM CREATE-NPIV-PORT FAILS
<BUG:18892143> - WWN SPECIFIED TO FCADM IS OMITTED WHEN CREATING AN NPIV PORT

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback