Qlogic HBA WWN’s in SLES 9/10
If using Qlogic HBAs in SLES 9, the recommended driver is the vendors own driver. In this case wwn's as well as wwpn's could be found by looking in /proc/scsi/qla2xxx
# cat /proc/scsi/qla2xxx/* | grep node
or
# cat /proc/scsi/qla2xxx/* | grep adapter-port
In SLES 10 the native HBA driver is the recommended. You can find WWNs and WWPNs by looking in /sys/class/fc_host or using the systool
# cat /sys/class/fc_host/host?/node_name
or
# systool -c fc_host -A "node_name"