Alternatively if one knows the WWPN and WWNN of the FC port (perhaps from a label on the FC adapter, or from information displayed from the switch menus), one can also derive the AIX 7.2 TL 5 (SP1- SP4) host NQN for the FC port. The AIX 7.2 TL 5 (SP1- SP4) host NQN has the following format:
nqn.2018-04.com.ibm:aix.fc.pn.<WWPN>.nn.<WWNN>
where <WWPN> is the World Wide Port Name of that port with the prefix 0x, and <WWNN> is the World Wide Node Name of that port
with the prefix 0x
For AIX 7.3, AIX 7.2 TL5 SP5 (and later) and VIOS 3.1.4 each fcvnme device's host_nqn attribute will have the same host NQN, which has the following format:
nqn.2014-08.org.nvmexpress:uuid:<partition_UUID>
where <partition_UUID> is the partition UUID for that LPAR.
The partition UUID can be found from the following AIX command: lsattr -El sys0 -a partition_uuid, which will show an output similar to the following:
partition_uuid 58afdbc5-ce61-4406-a508-826ff1fc3efd Partition UUID False
Updating from AIX 7.2 TL 5 (SP1 - SP4) to AIX 7.2 TL 5 SP5 (or later)
If one does a update install from AIX 7.2 TL 5 (SP 1 - SP 4) to AIX 7.2 TL 5 SP5 (or later), then the the host NQNs assigned in AIX 7.2 TL5 (SP1 - SP4) will be preserved. (i.e. one NQN per FC port) Any new FC HBAs added after the update, will use the new AIX 7.2 TL 5 SP 5 format (i.e. one host NQN per LPAR using the partition ID).
Migration from AIX 7.2 TL 5 to AIX 7.3
If one does a migration install from AIX 7.2 TL 5 to AIX 7.3, then the migration install will update all fcnvme device host NQN attributes on that LPAR to the new AIX 7.3 format (i.e. one host NQN per LPAR using the partition ID). Thus if one is using an FC-NVMe boot disk, the storage subsystem needs to add the new AIX 7.3 host NQN to prior to the migration install. After the migration install the old AIX host NQNs per FC port can be removed from the storage subsystem's host access list.
Partition Firmware
Partition Firmware displays its host NQN per FC port via the SMS IO Device Information menus. On the main SMS menu, select the I/O Device Information option which will display the following menu then select the SAN option, then select the FC NVMe over Fabric option:
1) SAN
2) FC NVMe over Fabric
The “FC NVMe over Fabric” option will display the Partition FW host NQNs for each FC adapter port. For Power 10, the Partition FW host NQN will be the same for all FC adapter ports assigned to an LPAR, where in Power 9 they are unique per FC adapter port. The below example shows Power 9 host NQN format.
PowerPC Firmware
Version FW950.00 (VL950_021)
SMS (c) Copyright IBM Corp. 2000,2020 All rights reserved.
-------------------------------------------------------------------------------
Select Media Adapter
1. U78D2.001.WZS0012-P1-C3-T1 /pci@800000020000022/fibre-channel@0