If these are Cisco UCS standalone servers, then yes, use the CIMC, Network adapters section, and go into the vHBA section to retrieve (or create) vHBAs which also allow you to modify the WWPNs for each vHBA.
OSs, assuming correct drivers are loaded should also be able to query the vHBA configs, but your CIMCs adapter vHBA configs should be your source of truth.
Kirk...